mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-09-26 03:09:10 +02:00
Revert colorblind theme to c348524e50981cf8efbfc65b4ba0a0d1193803cd
This commit is contained in:
parent
9b53beb7ab
commit
62a3a40c12
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user