]>
Commit | Line | Data |
---|---|---|
31f18b77 FG |
1 | // List Groups |
2 | ||
3 | .list-group-item-variant(@state; @background; @color) { | |
4 | .list-group-item-@{state} { | |
5 | color: @color; | |
6 | background-color: @background; | |
7 | ||
8 | a&, | |
9 | button& { | |
10 | color: @color; | |
11 | ||
12 | .list-group-item-heading { | |
13 | color: inherit; | |
14 | } | |
15 | ||
16 | &:hover, | |
17 | &:focus { | |
18 | color: @color; | |
19 | background-color: darken(@background, 5%); | |
20 | } | |
21 | &.active, | |
22 | &.active:hover, | |
23 | &.active:focus { | |
24 | color: #fff; | |
25 | background-color: @color; | |
26 | border-color: @color; | |
27 | } | |
28 | } | |
29 | } | |
30 | } |