Sha256: cfe0bc7b28fc78f625121566965cd8c5c9c915644e92139709a2dfa2b8fa39d5

Contents?: true

Size: 533 Bytes

Versions: 123

Compression:

Stored size: 533 Bytes

Contents

// List Groups

.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

123 entries across 123 versions & 20 rubygems

Version Path
twbs_less_rails-2.11.1 vendor/assets/stylesheets/twbs/bootstrap/mixins/list-group.less
bootstrap-on-rails-3.2.0 app/assets/stylesheets/bootstrap/mixins/list-group.less
twitter-bootswatch-rails-3.2.0.0 vendor/toolkit/twitter/bootstrap/mixins/list-group.less