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.46.2 dist/sass/patternfly/dependencies/bootstrap-switch/mixins/list-group.scss
patternfly-sass-3.46.1 dist/sass/patternfly/dependencies/bootstrap-switch/mixins/list-group.scss
patternfly-sass-3.46.0 dist/sass/patternfly/dependencies/bootstrap-switch/mixins/list-group.scss
patternfly-sass-3.45.3 dist/sass/patternfly/dependencies/bootstrap-switch/mixins/list-group.scss
patternfly-sass-3.45.2 dist/sass/patternfly/dependencies/bootstrap-switch/mixins/list-group.scss
patternfly-sass-3.45.1 dist/sass/patternfly/dependencies/bootstrap-switch/mixins/list-group.scss
patternfly-sass-3.45.0 dist/sass/patternfly/dependencies/bootstrap-switch/mixins/list-group.scss
patternfly-sass-3.44.0 dist/sass/patternfly/dependencies/bootstrap-switch/mixins/list-group.scss
patternfly-sass-3.43.0 dist/sass/patternfly/dependencies/bootstrap-switch/mixins/list-group.scss
patternfly-sass-3.42.0 dist/sass/patternfly/dependencies/bootstrap-switch/mixins/list-group.scss
patternfly-sass-3.41.7 dist/sass/patternfly/dependencies/bootstrap-switch/mixins/list-group.scss
patternfly-sass-3.41.6 dist/sass/patternfly/dependencies/bootstrap-switch/mixins/list-group.scss
patternfly-sass-3.41.5 dist/sass/patternfly/dependencies/bootstrap-switch/mixins/list-group.scss
patternfly-sass-3.41.4 dist/sass/patternfly/dependencies/bootstrap-switch/mixins/list-group.scss
patternfly-sass-3.41.3 dist/sass/patternfly/dependencies/bootstrap-switch/mixins/list-group.scss
patternfly-sass-3.41.2 dist/sass/patternfly/dependencies/bootstrap-switch/mixins/list-group.scss
patternfly-sass-3.41.1 dist/sass/patternfly/dependencies/bootstrap-switch/mixins/list-group.scss
patternfly-sass-3.39.0 dist/sass/patternfly/dependencies/bootstrap-switch/mixins/list-group.scss
patternfly-sass-3.38.2 dist/sass/patternfly/dependencies/bootstrap-switch/mixins/list-group.scss
patternfly-sass-3.38.1 dist/sass/patternfly/dependencies/bootstrap-switch/mixins/list-group.scss