monitoring/CSS: Add tables.less

refs #5543
This commit is contained in:
Eric Lippmann 2015-09-24 14:21:57 +02:00
parent 103daf1a7b
commit e114227c37
1 changed files with 65 additions and 0 deletions

View File

@ -0,0 +1,65 @@
/*! Icinga Web 2 | (c) 2013-2015 Icinga Development Team | GPLv2+ */
@border-left-width: 6px;
.state-col {
&.state-critical-handled,
&.state-down-handled {
border-left: @border-left-width solid @color-critical-handled;
}
&.state-ok,
&.state-ok-handled,
&.state-up,
&.state-up-handled {
border-left: @border-left-width solid @color-ok;
.state-label {
color: @color-ok;
}
}
&.state-pending {
border-left: @border-left-width solid @color-pending;
}
&.state-warning-handled {
border-left: @border-left-width solid @color-warning-handled;
}
&.state-unknown-handled {
border-left: @border-left-width solid @color-unknown-handled;
}
&.state-unreachable-handled {
border-left: @border-left-width solid @color-unreachable-handled;
}
&.state-critical,
&.state-down {
.bg-color-critical();
color: @text-color-inverted;
}
&.state-warning {
.bg-color-warning();
color: @text-color-inverted;
}
&.state-unknown {
.bg-color-unknown();
color: @text-color-inverted;
}
&.state-unreachable {
.bg-color-unreachable();
color: @text-color-inverted;
}
* {
color: inherit;
}
text-align: center;
width: 100px;
}