From 8a3786f3394660acb776e6369fd04f5a2e3bf211 Mon Sep 17 00:00:00 2001 From: Andy Cochran Date: Thu, 21 Apr 2016 15:16:54 -0400 Subject: [PATCH] prevent hover/focus effects on disabled buttons --- scss/components/_button.scss | 4 ++++ 1 file changed, 4 insertions(+) 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. -- 2.47.2