mirror of
https://github.com/twbs/bootstrap.git
synced 2024-11-28 10:24:19 +01:00
890c6041f3
* Fixed some linting issues
* Run npm tasks after scss cleanup
* Revert "Run npm tasks after scss cleanup"
This reverts commit 1103a0da68
.
* Property sort order for grid
* Let's respest the property order in the mixins
* Respect property sort order in reboot file
* ::-ms-expand is a vendor-prefix, add it to the scss-lint disable
* Revert hover mixin comment
* Fixed missing mixin hover-focus
27 lines
546 B
SCSS
27 lines
546 B
SCSS
// List Groups
|
|
|
|
@mixin list-group-item-variant($state, $background, $color) {
|
|
.list-group-item-#{$state} {
|
|
color: $color;
|
|
background-color: $background;
|
|
}
|
|
|
|
//scss-lint:disable QualifyingElement
|
|
a.list-group-item-#{$state},
|
|
button.list-group-item-#{$state} {
|
|
color: $color;
|
|
|
|
@include hover-focus {
|
|
color: $color;
|
|
background-color: darken($background, 5%);
|
|
}
|
|
|
|
&.active {
|
|
color: #fff;
|
|
background-color: $color;
|
|
border-color: $color;
|
|
}
|
|
}
|
|
// scss-lint:enable QualifyingElement
|
|
}
|