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

Outline button hover color (#25339)

This commit is contained in:
Mark Otto
2018-01-17 15:45:25 -08:00
committed by XhmikosR
parent b1a754863e
commit a0936c326f
2 changed files with 3 additions and 7 deletions

View File

@@ -54,14 +54,14 @@
}
}
@mixin button-outline-variant($color, $color-hover: #fff, $active-background: $color, $active-border: $color) {
@mixin button-outline-variant($color, $color-hover: color-yiq($color), $active-background: $color, $active-border: $color) {
color: $color;
background-color: transparent;
background-image: none;
border-color: $color;
&:hover {
color: color-yiq($color);
color: $color-hover;
background-color: $active-background;
border-color: $active-border;
}