Last change
on this file since fa375fe was fa375fe, checked in by Ema <ema_spirova@…>, 3 years ago |
adding new components
|
-
Property mode
set to
100644
|
File size:
546 bytes
|
Line | |
---|
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 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.