From 01c1c6bfd6313f2503d504e535f5d8c73251f5a8 Mon Sep 17 00:00:00 2001 From: ivan Date: Thu, 13 Oct 2016 18:04:17 -0300 Subject: [PATCH] Ivan - Solve disable button color issue [skip ci] --- client/src/core-components/button.scss | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/client/src/core-components/button.scss b/client/src/core-components/button.scss index 32531824..12ecc71b 100644 --- a/client/src/core-components/button.scss +++ b/client/src/core-components/button.scss @@ -20,19 +20,31 @@ background-color: lighten($primary-red, 5%); outline: none; } + + + &.button_disabled, + &.button_disabled:hover { + background-color: lighten($primary-red, 15%); + } } &_secondary { background-color: $primary-green; + + + &.button_disabled, + &.button_disabled:hover { + background-color: lighten($primary-green, 15%); + } } &_tertiary { background-color: $secondary-blue; - } - &_disabled, - &_disabled:hover { - background-color: #ec9696; + &.button_disabled, + &.button_disabled:hover { + background-color: lighten($secondary-blue, 15%); + } } &_small {