Sha256: 58da6da1f7fa129c42140562af75a341eddfba0371540578efffc9e6005cca00

Contents?: true

Size: 1.15 KB

Versions: 9

Compression:

Stored size: 1.15 KB

Contents

//
// Buttons
// --------------------------------------------------

.btn {
  @include box-shadow(0 2px 3px rgba(0,0,0,.1));
  &:active {
    @include box-shadow(inset 0 2px 8px rgba(0,0,0,.2));
  }
  &.disabled,
  &[disabled],
  fieldset[disabled] & {
    background-color: #f8f8f8 !important;
    background-image: none !important;
    border-color: $color-pf-black-300 !important;
    color: #969696 !important;
    opacity: 1;
    &:active {
      @include box-shadow(none);
    }
    &.btn-link {
      background-color: transparent !important;
      border: 0;
    }
  }
}

.btn-danger {
  @include button-variant($btn-danger-color, $btn-danger-bg, $btn-danger-bg-img-start, $btn-danger-bg-img-stop, $btn-danger-border);
}

.btn-default {
  @include button-variant($btn-default-color, $btn-default-bg, $btn-default-bg-img-start, $btn-default-bg-img-stop, $btn-default-border);
}

.btn-link {
  &,
  &:active {
    @include box-shadow(none);
  }
}

.btn-primary {
  @include button-variant($btn-primary-color, $btn-primary-bg, $btn-primary-bg-img-start, $btn-primary-bg-img-stop, $btn-primary-border);
}

.btn-xs,
.btn-group-xs .btn {
  font-weight: $btn-xs-font-weight;
}

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
patternfly-sass-3.3.6 assets/stylesheets/patternfly/_buttons.scss
patternfly-sass-3.3.6.pre.alpha assets/stylesheets/patternfly/_buttons.scss
patternfly-sass-3.3.5 assets/stylesheets/patternfly/_buttons.scss
patternfly-sass-3.3.4 assets/stylesheets/patternfly/_buttons.scss
patternfly-sass-3.3.3 assets/stylesheets/patternfly/_buttons.scss
patternfly-sass-3.3.2 assets/stylesheets/patternfly/_buttons.scss
patternfly-sass-3.3.1 assets/stylesheets/patternfly/_buttons.scss
patternfly-sass-3.3.0 assets/stylesheets/patternfly/_buttons.scss
patternfly-sass-3.2.0 assets/stylesheets/patternfly/_buttons.scss