icingaweb2/modules/monitoring/public/css/tables.less

71 lines
1.3 KiB
Plaintext

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