From 644148e9ac2975bbb43dc61033e3ad7ad97d780a Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Mon, 7 Sep 2015 11:07:08 +0200 Subject: [PATCH] monitoring/css: Add atomic definitions for foreground colors according to states refs #8378 --- modules/monitoring/public/css/colors.less | 42 +++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/modules/monitoring/public/css/colors.less b/modules/monitoring/public/css/colors.less index c7e5ef5c6..a8b314426 100644 --- a/modules/monitoring/public/css/colors.less +++ b/modules/monitoring/public/css/colors.less @@ -41,3 +41,45 @@ .bg-state-pending { background-color: @colorPending; } + +.fg-color-ok, +.fg-color-up { + color: @colorOk; +} + +.fg-color-warning { + color: @colorWarning; + + &.handled { + color: @colorWarningHandled; + } +} + +.fg-color-critical, +.fg-color-down { + color: @colorCritical; + + &.handled { + color: @colorCriticalHandled; + } +} + +.fg-color-unreachable { + color: @colorUnreachable; + + &.handled { + color: @colorUnreachableHandled; + } +} + +.fg-color-unknown { + color: @colorUnknown; + + &.handled { + color: @colorUnknownHandled; + } +} + +.fg-color-pending { + color: @colorPending; +}