]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Fix for button hover colors 5454/head
authorRichard LaFranchi <rlafranchi@serenethemes.com>
Wed, 16 Jul 2014 19:58:03 +0000 (13:58 -0600)
committerRichard LaFranchi <rlafranchi@serenethemes.com>
Wed, 16 Jul 2014 19:58:03 +0000 (13:58 -0600)
fixes hover color per issue #5451

scss/foundation/components/_buttons.scss

index 60fd0c83c561debdbfc7b75ec1fb81ceb50e0dae..791469305421ac1cc5313c0d12b81dc863ae73c6 100755 (executable)
@@ -133,9 +133,9 @@ $button-disabled-opacity: 0.7 !default;
     $bg-lightness: lightness($bg);
 
     background-color: $bg;
-    border-color: $bc;
+    border-color: scale-color($bg, $lightness: $button-function-factor);
     &:hover,
-    &:focus { background-color: $bh; }
+    &:focus { background-color: scale-color($bg, $lightness: $button-function-factor); }
 
     // We control the text color for you based on the background color.
     @if $bg-lightness > 70% {