From 8eabb2c0eb4944380ed91622625e34410473b9cd Mon Sep 17 00:00:00 2001 From: Alex Coles Date: Wed, 4 Jun 2014 14:53:42 +0200 Subject: [PATCH] Only style :hover state for :enabled buttons Signed-off-by: Alex Coles --- app/assets/stylesheets/global/_mixins.sass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/assets/stylesheets/global/_mixins.sass b/app/assets/stylesheets/global/_mixins.sass index 5f1be8ce5f..5ef7d65b82 100644 --- a/app/assets/stylesheets/global/_mixins.sass +++ b/app/assets/stylesheets/global/_mixins.sass @@ -113,7 +113,7 @@ $button_gray_font_color: #222222 background: $button_highlight_background_gradient_ms background: $button_highlight_background_gradient - &:hover + &:enabled:hover border: 1px solid $button_highlight_background_hover_color background: $button_highlight_border_hover_color @@ -127,7 +127,7 @@ $button_gray_font_color: #222222 background: -ms-linear-gradient(top, #ffffff 0%,#eeeeee 74%,#eeeeee 100%) background: linear-gradient(to bottom, #ffffff 0%,#eeeeee 74%,#eeeeee 100%) - &:hover + &:enabled:hover border: 1px solid #777777 background: -moz-linear-gradient(top, #ffffff 0%, #eeeeee 40%, #ddd 100%) background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(40%,#eeeeee), color-stop(100%,#ddd))