mirror of
https://github.com/fmtlib/fmt.git
synced 2024-11-05 02:27:45 +00:00
27 lines
581 B
SCSS
27 lines
581 B
SCSS
|
@include deprecate("`list-group-item-variant()`", "v5.3.0", "v6.0.0");
|
||
|
|
||
|
// List Groups
|
||
|
|
||
|
// scss-docs-start list-group-mixin
|
||
|
@mixin list-group-item-variant($state, $background, $color) {
|
||
|
.list-group-item-#{$state} {
|
||
|
color: $color;
|
||
|
background-color: $background;
|
||
|
|
||
|
&.list-group-item-action {
|
||
|
&:hover,
|
||
|
&:focus {
|
||
|
color: $color;
|
||
|
background-color: shade-color($background, 10%);
|
||
|
}
|
||
|
|
||
|
&.active {
|
||
|
color: $white;
|
||
|
background-color: $color;
|
||
|
border-color: $color;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
// scss-docs-end list-group-mixin
|