* adds a hover state to the button element on the backrgound color utitility
* Adjust z-index to fix hover/focus overlaps
}
@include hover-focus {
+ z-index: 1; // Place hover/active items above their siblings for proper border styling
text-decoration: none;
}
// Include both here for `<a>`s and `<button>`s
&.active {
- z-index: 1; // Place active items above their siblings for proper border styling
+ z-index: 2; // Place active items above their siblings for proper border styling
color: $list-group-active-color;
background-color: $list-group-active-bg;
border-color: $list-group-active-border-color;
#{$parent} {
background-color: $color !important;
}
- a#{$parent} {
+ a#{$parent},
+ button#{$parent} {
@include hover-focus {
background-color: darken($color, 10%) !important;
}