This repository has been archived on 2020-05-08. You can view files and clone it, but cannot push or open issues or pull requests.
2014-12-10 11:36:38 +00:00
|
|
|
// List Groups
|
|
|
|
|
|
|
|
@mixin list-group-item-variant($state, $background, $color) {
|
|
|
|
.list-group-item-#{$state} {
|
|
|
|
color: $color;
|
|
|
|
background-color: $background;
|
|
|
|
|
2015-08-12 07:06:27 +00:00
|
|
|
// [converter] extracted a&, button& to a.list-group-item-#{$state}, button.list-group-item-#{$state}
|
2014-12-10 11:36:38 +00:00
|
|
|
}
|
|
|
|
|
2015-08-12 07:06:27 +00:00
|
|
|
a.list-group-item-#{$state},
|
|
|
|
button.list-group-item-#{$state} {
|
2014-12-10 11:36:38 +00:00
|
|
|
color: $color;
|
|
|
|
|
|
|
|
.list-group-item-heading {
|
|
|
|
color: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
color: $color;
|
|
|
|
background-color: darken($background, 5%);
|
|
|
|
}
|
|
|
|
&.active,
|
|
|
|
&.active:hover,
|
|
|
|
&.active:focus {
|
|
|
|
color: #fff;
|
|
|
|
background-color: $color;
|
|
|
|
border-color: $color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|