main
Last change
on this file was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago |
Update repo after prototype presentation
|
-
Property mode
set to
100644
|
File size:
581 bytes
|
Line | |
---|
1 | @include deprecate("`list-group-item-variant()`", "v5.3.0", "v6.0.0");
|
---|
2 |
|
---|
3 | // List Groups
|
---|
4 |
|
---|
5 | // scss-docs-start list-group-mixin
|
---|
6 | @mixin list-group-item-variant($state, $background, $color) {
|
---|
7 | .list-group-item-#{$state} {
|
---|
8 | color: $color;
|
---|
9 | background-color: $background;
|
---|
10 |
|
---|
11 | &.list-group-item-action {
|
---|
12 | &:hover,
|
---|
13 | &:focus {
|
---|
14 | color: $color;
|
---|
15 | background-color: shade-color($background, 10%);
|
---|
16 | }
|
---|
17 |
|
---|
18 | &.active {
|
---|
19 | color: $white;
|
---|
20 | background-color: $color;
|
---|
21 | border-color: $color;
|
---|
22 | }
|
---|
23 | }
|
---|
24 | }
|
---|
25 | }
|
---|
26 | // scss-docs-end list-group-mixin
|
---|
Note:
See
TracBrowser
for help on using the repository browser.