Welcome to mirror list, hosted at ThFree Co, Russian Federation.

_list-group.scss « mixins « bootstrap « stylesheets « assets - github.com/twbs/bootstrap-rubygem.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: ba27b5041da1f01a70ff4e9de3484cd981714e02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// List Groups

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

  //scss-lint:disable QualifyingElement
  a.list-group-item-#{$state},
  button.list-group-item-#{$state} {
    color: $color;

    @include hover-focus {
      color: $color;
      background-color: darken($background, 5%);
    }

    &.active {
      color: #fff;
      background-color: $color;
      border-color: $color;
    }
  }
  // scss-lint:enable QualifyingElement
}