From 62a3a40c12376f9b2fe9be16fe4e1c654df6d935 Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Tue, 29 Jun 2021 14:45:54 +0200 Subject: [PATCH] Revert colorblind theme to c348524e50981cf8efbfc65b4ba0a0d1193803cd --- public/css/themes/colorblind.less | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/public/css/themes/colorblind.less b/public/css/themes/colorblind.less index cf92013e1..1af0c2a32 100644 --- a/public/css/themes/colorblind.less +++ b/public/css/themes/colorblind.less @@ -1,15 +1,15 @@ /*! Icinga Web 2 | (c) 2019 Icinga Development Team | GPLv2+ */ -@color-ok: fade(#77E08E, 50%); +@color-ok: #CCFFD7; @color-critical: #FE5566; -@color-critical-handled: fade(#FE5566, 50%); +@color-critical-handled: #FF99AA; @color-warning: #EAD010; -@color-warning-handled: fade(#EAD010, 50%); +@color-warning-handled: #FFF399; @color-unknown: #7791E0; -@color-unknown-handled: fade(#7791E0, 50%); +@color-unknown-handled: #B8C6FF; @color-unreachable: @color-unknown; @color-unreachable-handled: @color-unknown-handled; -@color-pending:fade(#FFFFFF, 75%); +@color-pending: #000000; /* Adapt font color to match handled / unhandled states and maintain readability with text-shadows */ .badge { @@ -18,32 +18,32 @@ .state-ok, .state-up { - color: @text-color; + color: black; } .state-warning, .state-critical, .state-down, .state-unknown { &.handled { - color: @text-color; + color: black; } } .state-warning, .state-critical, .state-down, .state-unknown { - color: @text-color-inverted; + color: white; } .state-warning:not(.handled) { - text-shadow: 0 0 3px mix(@text-color, @color-warning, 60); + text-shadow: 0 0 3px mix(#000000, @color-warning, 60); } .state-critical:not(.handled), .state-down:not(.handled) { - text-shadow: 0 0 1px mix(@text-color, @color-critical, 20); + text-shadow: 0 0 1px mix(#000000, @color-critical, 20); } .state-unknown:not(.handled), .state-unreachable:not(.handled) { - text-shadow: 0 0 1px mix(@text-color, @color-unknown, 20); + text-shadow: 0 0 1px mix(#000000, @color-unknown, 20); } .processinfo .process > div.backend-running {