mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-04-01 03:50:32 +00:00
rearrange properties in _borders.scss mixins
This commit is contained in:
parent
a77c13c403
commit
1db5082c3f
1 changed files with 2 additions and 2 deletions
|
|
@ -4,15 +4,15 @@
|
||||||
// and disabled options for all buttons
|
// and disabled options for all buttons
|
||||||
|
|
||||||
@mixin button-variant($background, $border, $active-background: darken($background, 7.5%), $active-border: darken($border, 10%)) {
|
@mixin button-variant($background, $border, $active-background: darken($background, 7.5%), $active-border: darken($border, 10%)) {
|
||||||
color: color-yiq($background);
|
|
||||||
background-color: $background;
|
background-color: $background;
|
||||||
border-color: $border;
|
border-color: $border;
|
||||||
|
color: color-yiq($background);
|
||||||
@include box-shadow($btn-box-shadow);
|
@include box-shadow($btn-box-shadow);
|
||||||
|
|
||||||
@include hover {
|
@include hover {
|
||||||
color: color-yiq($active-background);
|
|
||||||
background-color: $active-background;
|
background-color: $active-background;
|
||||||
border-color: $active-border;
|
border-color: $active-border;
|
||||||
|
color: color-yiq($active-background);
|
||||||
}
|
}
|
||||||
|
|
||||||
&:focus,
|
&:focus,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue