From: Andy Cochran Date: Thu, 21 Apr 2016 19:16:54 +0000 (-0400) Subject: prevent hover/focus effects on disabled buttons X-Git-Tag: v6.2.2-rc1~41^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F8650%2Fhead;p=thirdparty%2Ffoundation%2Ffoundation-sites.git prevent hover/focus effects on disabled buttons --- diff --git a/scss/components/_button.scss b/scss/components/_button.scss index 9675abb7b..ce558e558 100644 --- a/scss/components/_button.scss +++ b/scss/components/_button.scss @@ -139,6 +139,10 @@ $button-opacity-disabled: 0.25 !default; @mixin button-disabled { opacity: $button-opacity-disabled; cursor: not-allowed; + &:hover, &:focus { + background-color: $background; + color: $color; + } } /// Adds a dropdown arrow to a button.