monitoring: Add colors.less

Colors.less includes atomic definitions for background-colors related to different states at the moment. These definitions should be used when coloring backgrounds according to host and service states.

refs #9538
This commit is contained in:
Eric Lippmann 2015-08-25 14:47:16 +02:00
parent 403f7016ca
commit d8c7c216f1
1 changed files with 43 additions and 0 deletions

View File

@ -0,0 +1,43 @@
/*! Icinga Web 2 | (c) 2013-2015 Icinga Development Team | GPLv2+ */
.bg-state-ok,
.bg-state-up {
background-color: @colorOk;
}
.bg-state-warning {
background-color: @colorWarning;
&.handled {
background-color: @colorWarningHandled;
}
}
.bg-state-critical,
.bg-state-down {
background-color: @colorCritical;
&.handled {
background-color: @colorCriticalHandled;
}
}
.bg-state-unreachable {
background-color: @colorUnreachable;
&.handled {
background-color: @colorUnreachableHandled;
}
}
.bg-state-unknown {
background-color: @colorUnknown;
&.handled {
background-color: @colorUnknownHandled;
}
}
.bg-state-pending {
background-color: @colorPending;
}