]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
revert 1db5082
authorGijs Boddeus <botje_gijs@hotmail.com>
Wed, 4 Oct 2017 08:57:02 +0000 (10:57 +0200)
committerGitHub <noreply@github.com>
Wed, 4 Oct 2017 08:57:02 +0000 (10:57 +0200)
scss/mixins/_buttons.scss

index 49d8d18be95c49fffd07b67fa85b7a91b5015968..ef623ccd55e1a0c1d806e0be6dc4a8182debb3e8 100644 (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,