Skip to content

Commit

Permalink
monitoring/CSS: Add tables.less
Browse files Browse the repository at this point in the history
refs #5543
  • Loading branch information
lippserd committed Sep 24, 2015
1 parent 103daf1 commit e114227
Showing 1 changed file with 65 additions and 0 deletions.
65 changes: 65 additions & 0 deletions modules/monitoring/public/css/tables.less
@@ -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;
}

0 comments on commit e114227

Please sign in to comment.