2019-04-12 11:25:07 +02:00
|
|
|
/*! Icinga Web 2 | (c) 2019 Icinga Development Team | GPLv2+ */
|
|
|
|
|
2021-06-14 12:28:28 +02:00
|
|
|
@color-ok: fade(#77E08E, 50%);
|
2019-04-12 11:25:07 +02:00
|
|
|
@color-critical: #FE5566;
|
2021-06-14 12:28:28 +02:00
|
|
|
@color-critical-handled: fade(#FE5566, 50%);
|
2019-04-12 11:25:07 +02:00
|
|
|
@color-warning: #EAD010;
|
2021-06-14 12:28:28 +02:00
|
|
|
@color-warning-handled: fade(#EAD010, 50%);
|
2019-04-12 11:25:07 +02:00
|
|
|
@color-unknown: #7791E0;
|
2021-06-14 12:28:28 +02:00
|
|
|
@color-unknown-handled: fade(#7791E0, 50%);
|
2019-04-12 11:25:07 +02:00
|
|
|
@color-unreachable: @color-unknown;
|
|
|
|
@color-unreachable-handled: @color-unknown-handled;
|
|
|
|
@color-pending: #000000;
|
|
|
|
|
|
|
|
/* Adapt font color to match handled / unhandled states and maintain readability with text-shadows */
|
|
|
|
.badge {
|
|
|
|
font-weight: 800;
|
|
|
|
}
|
|
|
|
|
|
|
|
.state-ok,
|
|
|
|
.state-up {
|
2021-06-14 12:28:28 +02:00
|
|
|
color: @text-color;
|
2019-04-12 11:25:07 +02:00
|
|
|
}
|
|
|
|
.state-warning,
|
|
|
|
.state-critical,
|
|
|
|
.state-down,
|
|
|
|
.state-unknown {
|
|
|
|
&.handled {
|
2021-06-14 12:28:28 +02:00
|
|
|
color: @text-color;
|
2019-04-12 11:25:07 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
.state-warning,
|
|
|
|
.state-critical,
|
|
|
|
.state-down,
|
|
|
|
.state-unknown {
|
2021-06-14 12:28:28 +02:00
|
|
|
color: @text-color-inverted;
|
2019-04-12 11:25:07 +02:00
|
|
|
}
|
|
|
|
.state-warning:not(.handled) {
|
2021-06-14 12:28:28 +02:00
|
|
|
text-shadow: 0 0 3px mix(@text-color, @color-warning, 60);
|
2019-04-12 11:25:07 +02:00
|
|
|
}
|
|
|
|
.state-critical:not(.handled),
|
|
|
|
.state-down:not(.handled) {
|
2021-06-14 12:28:28 +02:00
|
|
|
text-shadow: 0 0 1px mix(@text-color, @color-critical, 20);
|
2019-04-12 11:25:07 +02:00
|
|
|
}
|
|
|
|
.state-unknown:not(.handled),
|
|
|
|
.state-unreachable:not(.handled) {
|
2021-06-14 12:28:28 +02:00
|
|
|
text-shadow: 0 0 1px mix(@text-color, @color-unknown, 20);
|
2019-04-12 11:25:07 +02:00
|
|
|
}
|
2021-06-14 12:28:28 +02:00
|
|
|
:
|
2020-05-15 08:38:36 +02:00
|
|
|
.processinfo .process > div.backend-running {
|
|
|
|
color: @text-color;
|
|
|
|
}
|