0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-11-28 10:24:19 +01:00

Merge branch 'btn-active' of https://github.com/andresgalante/bootstrap into andresgalante-btn-active

This commit is contained in:
Mark Otto 2017-10-19 00:11:36 -07:00
commit 9501ed8725

View File

@ -3,16 +3,16 @@
// Easily pump out default styles, as well as :hover, :focus, :active,
// 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);
@mixin button-variant($background, $border, $hover-background: darken($background, 7.5%), $hover-border: darken($border, 10%), $active-background: darken($background, 12.5%), $active-border: darken($border, 15%)) {
@include color-yiq($background);
background-color: $background;
border-color: $border;
@include box-shadow($btn-box-shadow);
@include hover {
color: color-yiq($active-background);
background-color: $active-background;
border-color: $active-border;
@include color-yiq($hover-background);
background-color: $hover-background;
border-color: $hover-border;
}
&:focus,