0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-11-28 10:24:19 +01:00
This commit is contained in:
Gijs Boddeus 2017-10-04 10:57:02 +02:00 committed by GitHub
parent 48676f0e2b
commit df6a8f7d81

View File

@ -4,15 +4,15 @@
// and disabled options for all buttons
@mixin button-variant($background, $border, $active-background: darken($background, 7.5%), $active-border: darken($border, 10%)) {
color: color-yiq($background);
background-color: $background;
border-color: $border;
color: color-yiq($background);
@include box-shadow($btn-box-shadow);
@include hover {
color: color-yiq($active-background);
background-color: $active-background;
border-color: $active-border;
color: color-yiq($active-background);
}
&:focus,