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.52.3 dist/sass/patternfly/dependencies/bootstrap-switch/mixins/list-group.scss
patternfly-sass-3.52.2 dist/sass/patternfly/dependencies/bootstrap-switch/mixins/list-group.scss
patternfly-sass-3.52.1 dist/sass/patternfly/dependencies/bootstrap-switch/mixins/list-group.scss
patternfly-sass-3.52.0 dist/sass/patternfly/dependencies/bootstrap-switch/mixins/list-group.scss
patternfly-sass-3.51.3 dist/sass/patternfly/dependencies/bootstrap-switch/mixins/list-group.scss
patternfly-sass-3.51.2 dist/sass/patternfly/dependencies/bootstrap-switch/mixins/list-group.scss
patternfly-sass-3.51.1 dist/sass/patternfly/dependencies/bootstrap-switch/mixins/list-group.scss
patternfly-sass-3.51.0 dist/sass/patternfly/dependencies/bootstrap-switch/mixins/list-group.scss
patternfly-sass-3.50.0 dist/sass/patternfly/dependencies/bootstrap-switch/mixins/list-group.scss
patternfly-sass-3.49.0 dist/sass/patternfly/dependencies/bootstrap-switch/mixins/list-group.scss
patternfly-sass-3.48.4 dist/sass/patternfly/dependencies/bootstrap-switch/mixins/list-group.scss
patternfly-sass-3.48.3 dist/sass/patternfly/dependencies/bootstrap-switch/mixins/list-group.scss
patternfly-sass-3.48.2 dist/sass/patternfly/dependencies/bootstrap-switch/mixins/list-group.scss
patternfly-sass-3.48.1 dist/sass/patternfly/dependencies/bootstrap-switch/mixins/list-group.scss
patternfly-sass-3.48.0 dist/sass/patternfly/dependencies/bootstrap-switch/mixins/list-group.scss
patternfly-sass-3.47.2 dist/sass/patternfly/dependencies/bootstrap-switch/mixins/list-group.scss
patternfly-sass-3.47.1 dist/sass/patternfly/dependencies/bootstrap-switch/mixins/list-group.scss
patternfly-sass-3.47.0 dist/sass/patternfly/dependencies/bootstrap-switch/mixins/list-group.scss
patternfly-sass-3.46.4 dist/sass/patternfly/dependencies/bootstrap-switch/mixins/list-group.scss
patternfly-sass-3.46.3 dist/sass/patternfly/dependencies/bootstrap-switch/mixins/list-group.scss