From 51d8b6c8c1f9088cb3891a32d98849202abf5f66 Mon Sep 17 00:00:00 2001 From: Sebastian Kippe Date: Fri, 20 Sep 2019 15:40:22 +0200 Subject: [PATCH] Respect disabled button color for all buttons --- app/styles/_buttons.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/styles/_buttons.scss b/app/styles/_buttons.scss index 53f1883..4638711 100644 --- a/app/styles/_buttons.scss +++ b/app/styles/_buttons.scss @@ -32,7 +32,7 @@ button, input[type=submit], .button { padding: 0.2rem 0.8rem; } - &.danger { + &.danger:not(:disabled) { color: $red; background-color: rgba(40, 21, 21, 0.6); border-color: rgba(40, 21, 21, 1); @@ -45,7 +45,7 @@ button, input[type=submit], .button { } } - &.green { + &.green:not(:disabled) { color: $green; background-color: rgba(21, 40, 21, 0.6); border-color: rgba(21, 40, 21, 1);