From 98d3798824f37daf48db0d8a1d2bafdc98b47e15 Mon Sep 17 00:00:00 2001 From: = Date: Wed, 16 Sep 2020 16:00:26 +0200 Subject: [PATCH] fix toggle on error color --- Thermo.Active/wwwroot/assets/styles/base/buttons.less | 3 ++- Thermo.Active/wwwroot/assets/styles/style.css | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Thermo.Active/wwwroot/assets/styles/base/buttons.less b/Thermo.Active/wwwroot/assets/styles/base/buttons.less index be5be3df..aae846df 100644 --- a/Thermo.Active/wwwroot/assets/styles/base/buttons.less +++ b/Thermo.Active/wwwroot/assets/styles/base/buttons.less @@ -378,8 +378,9 @@ fieldset[disabled] .form-group.is-focused .togglebutton label { margin-left: 5px; &.error { - background-color: rgba(255, 0, 0, .7); + background-color: rgba(255, 0, 0, .7) !important; color: #222; + background-image: none !important; } } diff --git a/Thermo.Active/wwwroot/assets/styles/style.css b/Thermo.Active/wwwroot/assets/styles/style.css index 3b0a5eda..92b4987c 100644 --- a/Thermo.Active/wwwroot/assets/styles/style.css +++ b/Thermo.Active/wwwroot/assets/styles/style.css @@ -6001,8 +6001,9 @@ fieldset[disabled] .form-group.is-focused .togglebutton label { margin-left: 5px; } .togglebutton label .toggle.error { - background-color: rgba(255, 0, 0, 0.7); + background-color: rgba(255, 0, 0, 0.7) !important; color: #222; + background-image: none !important; } .togglebutton label .toggle, .togglebutton label input[type=checkbox][disabled] + .toggle {