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
mumuki-styles-2.0.2 app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_list-group.scss
card-mod-bootstrap-0.11.2 vendor/bootswatch/docs/3/bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_list-group.scss
card-mod-bootstrap-0.11.2 vendor/bootswatch/docs/3/bower_components/bootstrap-sass-official/assets/stylesheets/bootstrap/mixins/_list-group.scss
mumuki-styles-2.0.1 app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_list-group.scss
jekyll-theme-glueckkanja-1.2.29 _sass/bootstrap/mixins/_list-group.scss
card-mod-bootstrap-0.11.1 vendor/bootswatch/docs/3/bower_components/bootstrap-sass-official/assets/stylesheets/bootstrap/mixins/_list-group.scss
card-mod-bootstrap-0.11.1 vendor/bootswatch/docs/3/bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_list-group.scss
jekyll-theme-glueckkanja-1.2.28 _sass/bootstrap/mixins/_list-group.scss
twbs_sass_rails-10.2.0 vendor/assets/stylesheets/twbs/bootstrap/mixins/_list-group.scss
jekyll-theme-glueckkanja-1.2.27 _sass/bootstrap/mixins/_list-group.scss
jekyll-theme-glueckkanja-1.2.26 _sass/bootstrap/mixins/_list-group.scss
jekyll-theme-glueckkanja-1.2.25 _sass/bootstrap/mixins/_list-group.scss
jekyll-theme-glueckkanja-1.2.24 _sass/bootstrap/mixins/_list-group.scss
jekyll-theme-glueckkanja-1.2.23 _sass/bootstrap/mixins/_list-group.scss
jekyll-theme-glueckkanja-1.2.22 _sass/bootstrap/mixins/_list-group.scss
jekyll-theme-glueckkanja-1.2.21 _sass/bootstrap/mixins/_list-group.scss
jekyll-theme-glueckkanja-1.2.20 _sass/bootstrap/mixins/_list-group.scss
mumuki-styles-2.0.0 app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_list-group.scss
jekyll-theme-glueckkanja-1.2.19 _sass/bootstrap/mixins/_list-group.scss
jekyll-theme-glueckkanja-1.2.18 _sass/bootstrap/mixins/_list-group.scss