From 0a0db88701b5920e1574fe9eec4a64d7b0346287 Mon Sep 17 00:00:00 2001 From: Pablo Vazquez Date: Thu, 3 Nov 2016 15:35:00 +0100 Subject: [PATCH] Style disabled buttons --- src/styles/_utils.sass | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/styles/_utils.sass b/src/styles/_utils.sass index c9a736da..9802ba23 100644 --- a/src/styles/_utils.sass +++ b/src/styles/_utils.sass @@ -68,6 +68,20 @@ small font-size: .6em + &:disabled + cursor: not-allowed + color: $color-text-dark-secondary + border-color: $color-text-dark-hint + + &:hover + @if $filled + background: rgba($color-text-dark-hint, .2) + @else + background-color: rgba($color-text-dark-hint, .1) + + @if $filled + background: rgba($color-text-dark-hint, .1) + text-shadow: none @mixin overlay($from-color, $from-percentage, $to-color, $to-percentage) position: absolute