From 01caefcca5c13064321ff50c0d8c9de5d0d952d3 Mon Sep 17 00:00:00 2001 From: Pablo Vazquez Date: Thu, 3 Nov 2016 14:54:25 +0100 Subject: [PATCH] Style disabled buttons --- src/styles/_app_utils.sass | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/src/styles/_app_utils.sass b/src/styles/_app_utils.sass index 24fe04f..fa20716 100644 --- a/src/styles/_app_utils.sass +++ b/src/styles/_app_utils.sass @@ -56,6 +56,21 @@ 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