]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
changes active state color
authorAndres Galante <agalante@gmail.com>
Mon, 11 Sep 2017 03:53:40 +0000 (00:53 -0300)
committerAndres Galante <agalante@gmail.com>
Mon, 11 Sep 2017 03:53:40 +0000 (00:53 -0300)
scss/mixins/_buttons.scss

index 44ce4f72e264b97535cf10163e822959e2294d62..03305de65b68720b7d58d5227337f2cb3008fe9d 100644 (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%)) {
+@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,