2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-20 20:00:36 +03:00

Remove hover states on background utilities (#28457)

This commit is contained in:
Martijn Cuppens
2019-03-14 18:36:02 +01:00
committed by XhmikosR
parent 837ff0cc11
commit a88d58605a
3 changed files with 4 additions and 16 deletions
-14
View File
@@ -1,19 +1,5 @@
// stylelint-disable declaration-no-important
// Contextual backgrounds
@mixin bg-variant($parent, $color) {
#{$parent} {
background-color: $color !important;
}
a#{$parent},
button#{$parent} {
@include hover-focus {
background-color: darken($color, 10%) !important;
}
}
}
@mixin bg-gradient-variant($parent, $color) {
#{$parent} {
background: $color linear-gradient(180deg, mix($body-bg, $color, 15%), $color) repeat-x !important;