Sha256: 2b05b53901f29ccce197542e3f4c4da99d11962018c31fa3f0396207ef1972f9

Contents?: true

Size: 672 Bytes

Versions: 1228

Compression:

Stored size: 672 Bytes

Contents

// List Groups

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

    // [converter] extracted a&, button& to a.list-group-item-#{$state}, button.list-group-item-#{$state}
  }

  a.list-group-item-#{$state},
  button.list-group-item-#{$state} {
    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

1,228 entries across 1,172 versions & 48 rubygems

Version Path
card-mod-bootstrap-0.18.1 vendor/bootswatch/docs/3/bower_components/bootstrap-sass-official/assets/stylesheets/bootstrap/mixins/_list-group.scss
card-mod-bootstrap-0.18.1 vendor/bootswatch/docs/3/bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_list-group.scss
entreprise7pro-bootstrap-sass-3.4.7 assets/stylesheets/bootstrap/mixins/_list-group.scss
entreprise7pro-bootstrap-sass-3.4.6 assets/stylesheets/bootstrap/mixins/_list-group.scss
card-mod-bootstrap-0.18.0 vendor/bootswatch/docs/3/bower_components/bootstrap-sass-official/assets/stylesheets/bootstrap/mixins/_list-group.scss
card-mod-bootstrap-0.18.0 vendor/bootswatch/docs/3/bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_list-group.scss
bravissimo-0.1.0 _sass/bootstrap/mixins/_list-group.scss
radius-rails-3.1.4 app/assets/stylesheets/radius-theme/bootstrap/bootstrap/mixins/_list-group.scss
card-mod-bootstrap-0.17.0 vendor/bootswatch/docs/3/bower_components/bootstrap-sass-official/assets/stylesheets/bootstrap/mixins/_list-group.scss
card-mod-bootstrap-0.17.0 vendor/bootswatch/docs/3/bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_list-group.scss
card-mod-bootstrap-0.16.0 vendor/bootswatch/docs/3/bower_components/bootstrap-sass-official/assets/stylesheets/bootstrap/mixins/_list-group.scss
card-mod-bootstrap-0.16.0 vendor/bootswatch/docs/3/bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_list-group.scss
card-mod-bootstrap-0.15.6 vendor/bootswatch/docs/3/bower_components/bootstrap-sass-official/assets/stylesheets/bootstrap/mixins/_list-group.scss
card-mod-bootstrap-0.15.6 vendor/bootswatch/docs/3/bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_list-group.scss
card-mod-bootstrap-0.15.5 vendor/bootswatch/docs/3/bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_list-group.scss
card-mod-bootstrap-0.15.5 vendor/bootswatch/docs/3/bower_components/bootstrap-sass-official/assets/stylesheets/bootstrap/mixins/_list-group.scss
card-mod-bootstrap-0.15.4 vendor/bootswatch/docs/3/bower_components/bootstrap-sass-official/assets/stylesheets/bootstrap/mixins/_list-group.scss
card-mod-bootstrap-0.15.4 vendor/bootswatch/docs/3/bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_list-group.scss
card-mod-bootstrap-0.15.3 vendor/bootswatch/docs/3/bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_list-group.scss
card-mod-bootstrap-0.15.3 vendor/bootswatch/docs/3/bower_components/bootstrap-sass-official/assets/stylesheets/bootstrap/mixins/_list-group.scss