-
Notifications
You must be signed in to change notification settings - Fork 275
/
tables.less
88 lines (71 loc) · 1.52 KB
/
tables.less
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
/*! 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;
}
.comment-col {
padding-top: 0.5em;
vertical-align: top;
width: 3em;
}
.comment-content {
line-height: 1.5em;
padding-top: 0.4em;
padding-bottom: 0.7em;
max-width: 15em;
color: @text-color-light;
}
.comment-header {
line-height: 1.8em;
}