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

rearrange properties in _borders.scss mixins

This commit is contained in:
Gijs Boddeus 2017-10-04 08:52:48 +02:00 committed by GitHub
parent a77c13c403
commit 1db5082c3f

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,