1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-30 00:29:52 +02:00

adds hover state to the button element for background color utilities (#24813)

* adds a hover state to the button element on the backrgound color utitility

* Adjust z-index to fix hover/focus overlaps
This commit is contained in:
Andres Galante
2017-12-23 00:41:13 -03:00
committed by Mark Otto
parent 5621c800aa
commit aacfcc248d
2 changed files with 4 additions and 2 deletions

View File

@@ -6,7 +6,8 @@
#{$parent} {
background-color: $color !important;
}
a#{$parent} {
a#{$parent},
button#{$parent} {
@include hover-focus {
background-color: darken($color, 10%) !important;
}