From 7b262561a5b1f8c6163fcc57c04cf6561a98a958 Mon Sep 17 00:00:00 2001 From: sachaaaaa Date: Mon, 2 Sep 2019 10:19:09 +1000 Subject: [PATCH] simplify scss for disabled button --- stylesheets/_global.scss | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/stylesheets/_global.scss b/stylesheets/_global.scss index e8cbafeb1..cd3628cd0 100644 --- a/stylesheets/_global.scss +++ b/stylesheets/_global.scss @@ -715,12 +715,9 @@ $loading-height: 16px; background: $color-loki-green-gradient; border-radius: 100px; - &[disabled='disabled'] { - &, - &:hover { - background: $color-loki-dark-gray; - cursor: default; - } + &:disabled, &:disabled:hover { + background: $color-loki-dark-gray; + cursor: default; } }