From: Andres Galante Date: Mon, 11 Sep 2017 03:53:40 +0000 (-0300) Subject: changes active state color X-Git-Tag: v4.0.0-beta.2~23^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8e56145e45e9d58e23c5f339b6cac50e751e36a7;p=thirdparty%2Fbootstrap.git changes active state color --- diff --git a/scss/mixins/_buttons.scss b/scss/mixins/_buttons.scss index 44ce4f72e2..03305de65b 100644 --- a/scss/mixins/_buttons.scss +++ b/scss/mixins/_buttons.scss @@ -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%)) { +@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 { - @include 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,