0
|
1 // List Groups
|
|
2
|
|
3 @mixin list-group-item-variant($state, $background, $color) {
|
|
4 .list-group-item-#{$state} {
|
|
5 color: $color;
|
|
6 background-color: $background;
|
|
7 }
|
|
8
|
|
9 //scss-lint:disable QualifyingElement
|
|
10 a.list-group-item-#{$state},
|
|
11 button.list-group-item-#{$state} {
|
|
12 color: $color;
|
|
13
|
|
14 @include hover-focus {
|
|
15 color: $color;
|
|
16 background-color: darken($background, 5%);
|
|
17 }
|
|
18
|
|
19 &.active {
|
|
20 color: #fff;
|
|
21 background-color: $color;
|
|
22 border-color: $color;
|
|
23 }
|
|
24 }
|
|
25 // scss-lint:enable QualifyingElement
|
|
26 }
|