Sha256: 6174d7ac073e8e2d3ba11d0689eddde418a38d9587201d9466ca01de031acb1d

Contents?: true

Size: 1.14 KB

Versions: 11

Compression:

Stored size: 1.14 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: #d1d1d1 !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

11 entries across 11 versions & 1 rubygems

Version Path
patternfly-sass-2.6.0 assets/stylesheets/patternfly/_buttons.scss
patternfly-sass-2.5.0 assets/stylesheets/patternfly/_buttons.scss
patternfly-sass-2.4.0 assets/stylesheets/patternfly/_buttons.scss
patternfly-sass-2.3.0 assets/stylesheets/patternfly/_buttons.scss
patternfly-sass-2.2.0 assets/stylesheets/patternfly/_buttons.scss
patternfly-sass-2.1.0 assets/stylesheets/patternfly/_buttons.scss
patternfly-sass-2.0.0 assets/stylesheets/patternfly/_buttons.scss
patternfly-sass-1.3.1 assets/stylesheets/patternfly/_buttons.scss
patternfly-sass-1.3.0 assets/stylesheets/patternfly/_buttons.scss
patternfly-sass-1.2.1 assets/stylesheets/patternfly/_buttons.scss
patternfly-sass-1.2.0 assets/stylesheets/patternfly/_buttons.scss