From e6a858f3febc9cfb0b5f9936cc0559c4300ff40d Mon Sep 17 00:00:00 2001 From: Sunil Mohan Adapa Date: Fri, 18 Dec 2020 15:20:27 -0800 Subject: [PATCH] ui: Fix warning button colors Signed-off-by: Sunil Mohan Adapa Reviewed-by: Veiko Aasa --- static/themes/default/css/main.css | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/static/themes/default/css/main.css b/static/themes/default/css/main.css index 667dfe801..ea84ce8d0 100644 --- a/static/themes/default/css/main.css +++ b/static/themes/default/css/main.css @@ -83,7 +83,17 @@ h1, h2, h3, h4, h5, h6 { .bg-warning, .btn-warning { background-color: #f0ad4e !important; - color: #fff; + color: #fff !important; +} + +.btn-warning:hover, +.btn-warning:active, +.btn-warning:focus, +.btn-warning:disabled, +.btn-warning.disabled, +.btn-warning[disabled] { + background-color: var(--warning-color) !important; + color: #fff !important; } .btn[disabled] {