feat(extra-features): improve outline button text color on hover
This commit is contained in:
@@ -15,6 +15,28 @@ $btn-color: (
|
||||
}
|
||||
}
|
||||
|
||||
// Configure btn-outline text color on hover per button. (Same thing as above but for btn-outline and only on hover)
|
||||
$btn-outline-hover: (
|
||||
"primary": $white,
|
||||
"secondary": $white,
|
||||
);
|
||||
|
||||
@each $name, $bg in $btn-outline-hover {
|
||||
$text-color: if(
|
||||
map-has-key($btn-color, $name),
|
||||
map-get($btn-color, $name),
|
||||
$white
|
||||
);
|
||||
|
||||
.btn-outline-#{$name}:hover,
|
||||
.btn-outline-#{$name}:focus,
|
||||
.btn-outline-#{$name}:active,
|
||||
.btn-outline-#{$name}.active,
|
||||
.show > .btn-outline-#{$name}.dropdown-toggle {
|
||||
color: $text-color !important;
|
||||
}
|
||||
}
|
||||
|
||||
// Bootstrap touchspin
|
||||
.bootstrap-touchspin {
|
||||
flex-wrap: nowrap;
|
||||
|
||||
Reference in New Issue
Block a user