Sha256: 6c8a7f3179482f4f52604f3da0ea85246643d5dd68dee0b9b67889b064747541

Contents?: true

Size: 1.83 KB

Versions: 20

Compression:

Stored size: 1.83 KB

Contents

//
// Mixins
// --------------------------------------------------
// Bootstrap overrides and PatternFly-specific mixins

// Bootstrap overrides
// -------------------



// Form control outline
@mixin form-control-outline($color: $input-border-focus) {
  $color-rgba: rgba(red($color), green($color), blue($color), .6);
  &:focus {
    border-color: $color;
    outline: 0 !important;
    @include box-shadow(#{inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px #{$color-rgba}});
  }
}


@mixin gradient-striped($color: rgba(0,0,0,.15), $angle: -45deg) {
  background-image: -webkit-linear-gradient($angle, $color 25%, $color 26%, transparent 27%, transparent 49%, $color 50%, $color 51%, transparent 52%, transparent 74%, $color 75%, $color 76%, transparent 77%);
  background-image: linear-gradient($angle, $color 25%, $color 26%, transparent 27%, transparent 49%, $color 50%, $color 51%, transparent 52%, transparent 74%, $color 75%, $color 76%, transparent 77%);
}

// Horizontal dividers
@mixin nav-divider($color: #e5e5e5, $margin: 4px 1px) {
  background-color: $color;
  height: 1px;
  margin: $margin;
  overflow: hidden;
}

// Placeholder text
@mixin placeholder($color: $input-color-placeholder) {
  &:-moz-placeholder            { color: $color; font-style: italic; } // Firefox 4-18
  &::-moz-placeholder           { color: $color; font-style: italic;} // Firefox 19+
  &:-ms-input-placeholder       { color: $color; font-style: italic; } // Internet Explorer 10+
  &::-webkit-input-placeholder  { color: $color; font-style: italic; } // Safari and Chrome
}

// PatternFly-specific
// -------------------

@mixin tab-indicator($background: $gray-light-pf, $left: 15px, $right: 15px) {
  &:before {
    background: $background;
    bottom: -1px;
    content: '';
    display: block;
    height: 2px;
    left: $left;
    position: absolute;
    right: $right;
  }
}

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
patternfly-sass-3.3.4 assets/stylesheets/patternfly/_mixin_overrides.scss
patternfly-sass-3.3.3 assets/stylesheets/patternfly/_mixin_overrides.scss
patternfly-sass-3.3.2 assets/stylesheets/patternfly/_mixin_overrides.scss
patternfly-sass-3.3.1 assets/stylesheets/patternfly/_mixin_overrides.scss
patternfly-sass-3.3.0 assets/stylesheets/patternfly/_mixin_overrides.scss
patternfly-sass-3.2.0 assets/stylesheets/patternfly/_mixin_overrides.scss
patternfly-sass-3.1.0 assets/stylesheets/patternfly/_mixin_overrides.scss
patternfly-sass-2.10.1 assets/stylesheets/patternfly/_mixin_overrides.scss
patternfly-sass-3.0.0 assets/stylesheets/patternfly/_mixin_overrides.scss
patternfly-sass-2.10.0 assets/stylesheets/patternfly/_mixin_overrides.scss
patternfly-sass-2.9.0 assets/stylesheets/patternfly/_mixin_overrides.scss
patternfly-sass-2.8.0 assets/stylesheets/patternfly/_mixin_overrides.scss
patternfly-sass-2.7.0 assets/stylesheets/patternfly/_mixin_overrides.scss
patternfly-sass-2.6.0 assets/stylesheets/patternfly/_mixin_overrides.scss
patternfly-sass-2.5.0 assets/stylesheets/patternfly/_mixin_overrides.scss
patternfly-sass-2.4.0 assets/stylesheets/patternfly/_mixin_overrides.scss
patternfly-sass-2.3.0 assets/stylesheets/patternfly/_mixin_overrides.scss
patternfly-sass-2.2.0 assets/stylesheets/patternfly/_mixin_overrides.scss
patternfly-sass-2.1.0 assets/stylesheets/patternfly/_mixin_overrides.scss
patternfly-sass-2.0.0 assets/stylesheets/patternfly/_mixin_overrides.scss