Sha256: 740cde6188142b27c575ca25be2c2c9068159394fd65caf2ee09ccbf78b100b6

Contents?: true

Size: 542 Bytes

Versions: 81

Compression:

Stored size: 542 Bytes

Contents

// List Groups

@mixin list-group-item-variant($state, $background, $color){
  .list-group-item-#{$state} {
    color: $color;
    background-color: $background;

    a#{&} {
      color: $color;

      .list-group-item-heading {
        color: inherit;
      }

      &:hover,
      &:focus {
        color: $color;
        background-color: darken($background, 5%);
      }
      &.active,
      &.active:hover,
      &.active:focus {
        color: #fff;
        background-color: $color;
        border-color: $color;
      }
    }
  }
}

Version data entries

81 entries across 81 versions & 1 rubygems

Version Path
patternfly-sass-3.38.0 dist/sass/patternfly/dependencies/bootstrap-switch/mixins/list-group.scss
patternfly-sass-3.37.10 dist/sass/patternfly/dependencies/bootstrap-switch/mixins/list-group.scss
patternfly-sass-3.37.9 dist/sass/patternfly/dependencies/bootstrap-switch/mixins/list-group.scss
patternfly-sass-3.37.8 dist/sass/patternfly/dependencies/bootstrap-switch/mixins/list-group.scss
patternfly-sass-3.37.7 dist/sass/patternfly/dependencies/bootstrap-switch/mixins/list-group.scss
patternfly-sass-3.37.6 dist/sass/patternfly/dependencies/bootstrap-switch/mixins/list-group.scss
patternfly-sass-3.37.5 dist/sass/patternfly/dependencies/bootstrap-switch/mixins/list-group.scss
patternfly-sass-3.37.4 dist/sass/patternfly/dependencies/bootstrap-switch/mixins/list-group.scss
patternfly-sass-3.37.3 dist/sass/patternfly/dependencies/bootstrap-switch/mixins/list-group.scss
patternfly-sass-3.37.2 dist/sass/patternfly/dependencies/bootstrap-switch/mixins/list-group.scss
patternfly-sass-3.37.1 dist/sass/patternfly/dependencies/bootstrap-switch/mixins/list-group.scss
patternfly-sass-3.37.0 dist/sass/patternfly/dependencies/bootstrap-switch/mixins/list-group.scss
patternfly-sass-3.36.0 dist/sass/patternfly/dependencies/bootstrap-switch/mixins/list-group.scss
patternfly-sass-3.35.1 dist/sass/patternfly/dependencies/bootstrap-switch/mixins/list-group.scss
patternfly-sass-3.35.0 dist/sass/patternfly/dependencies/bootstrap-switch/mixins/list-group.scss
patternfly-sass-3.34.1 dist/sass/patternfly/dependencies/bootstrap-switch/mixins/list-group.scss
patternfly-sass-3.34.0 dist/sass/patternfly/dependencies/bootstrap-switch/mixins/list-group.scss
patternfly-sass-3.33.0 dist/sass/patternfly/dependencies/bootstrap-switch/mixins/list-group.scss
patternfly-sass-3.32.1 dist/sass/patternfly/dependencies/bootstrap-switch/mixins/list-group.scss
patternfly-sass-3.31.2 dist/sass/patternfly/dependencies/bootstrap-switch/mixins/list-group.scss