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.59.5 dist/sass/patternfly/dependencies/bootstrap-switch/mixins/list-group.scss
patternfly-sass-3.59.4 dist/sass/patternfly/dependencies/bootstrap-switch/mixins/list-group.scss
patternfly-sass-3.59.3 dist/sass/patternfly/dependencies/bootstrap-switch/mixins/list-group.scss
patternfly-sass-3.59.2 dist/sass/patternfly/dependencies/bootstrap-switch/mixins/list-group.scss
patternfly-sass-3.59.1 dist/sass/patternfly/dependencies/bootstrap-switch/mixins/list-group.scss
patternfly-sass-3.59.0 dist/sass/patternfly/dependencies/bootstrap-switch/mixins/list-group.scss
patternfly-sass-3.58.0 dist/sass/patternfly/dependencies/bootstrap-switch/mixins/list-group.scss
patternfly-sass-3.57.2 dist/sass/patternfly/dependencies/bootstrap-switch/mixins/list-group.scss
patternfly-sass-3.57.1 dist/sass/patternfly/dependencies/bootstrap-switch/mixins/list-group.scss
patternfly-sass-3.57.0 dist/sass/patternfly/dependencies/bootstrap-switch/mixins/list-group.scss
patternfly-sass-3.56.0 dist/sass/patternfly/dependencies/bootstrap-switch/mixins/list-group.scss
patternfly-sass-3.55.0 dist/sass/patternfly/dependencies/bootstrap-switch/mixins/list-group.scss
patternfly-sass-3.54.8 dist/sass/patternfly/dependencies/bootstrap-switch/mixins/list-group.scss
patternfly-sass-0.0.0.pre.semantically.pre.released dist/sass/patternfly/dependencies/bootstrap-switch/mixins/list-group.scss
patternfly-sass-3.54.2 dist/sass/patternfly/dependencies/bootstrap-switch/mixins/list-group.scss
patternfly-sass-3.54.3 dist/sass/patternfly/dependencies/bootstrap-switch/mixins/list-group.scss
patternfly-sass-3.54.1 dist/sass/patternfly/dependencies/bootstrap-switch/mixins/list-group.scss
patternfly-sass-3.54.0 dist/sass/patternfly/dependencies/bootstrap-switch/mixins/list-group.scss
patternfly-sass-3.53.1 dist/sass/patternfly/dependencies/bootstrap-switch/mixins/list-group.scss
patternfly-sass-3.53.0 dist/sass/patternfly/dependencies/bootstrap-switch/mixins/list-group.scss