From: Richard LaFranchi Date: Wed, 16 Jul 2014 19:58:03 +0000 (-0600) Subject: Fix for button hover colors X-Git-Tag: v5.3.2~32^2~4^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F5454%2Fhead;p=thirdparty%2Ffoundation%2Ffoundation-sites.git Fix for button hover colors fixes hover color per issue #5451 --- diff --git a/scss/foundation/components/_buttons.scss b/scss/foundation/components/_buttons.scss index 60fd0c83c..791469305 100755 --- a/scss/foundation/components/_buttons.scss +++ b/scss/foundation/components/_buttons.scss @@ -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% {