blob: f0ed252bdfc9a2589556d570f458de862baa639a (
plain)
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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
|
.monitoring-health {
max-width: 65em;
> section:not(:last-child) {
margin-bottom: 4em;
}
.vertical-key-value .value {
display: inline-block;
margin-bottom: .25em;
}
.check-summary {
padding: .5em 0;
.col {
padding: 0 1em .5em 1em;
}
.col:not(:last-child) {
border-right: 1px solid @gray-light;
}
}
.check-summary,
.instance-features {
.rounded-corners();
border: 1px solid;
border-color: @gray-light;
display: flex;
width: 100%;
}
.check-summary,
.col-content,
.icinga-info {
width: 100%;
display: flex;
flex-wrap: wrap;
justify-content: space-around;
}
.icinga-info {
margin-bottom: -2em;
.vertical-key-value {
margin-bottom: 2em;
}
}
.col {
flex: 1 1 auto;
text-align: center;
> h3 {
margin: 0 0 1em;
}
}
.icinga-health {
.rounded-corners();
margin-bottom: 2em;
padding: 1em;
text-align: center;
width: 100%;
font-weight: bold;
&.up {
border: 1px solid;
border-color: @color-up;
color: @color-up;
}
&.down {
background-color: @color-down;
color: @body-bg-color;
}
}
.instance-features {
.control-group {
flex: 1 1 auto;
margin: .5em 0;
padding: .5em;
width: 0;
display: flex;
align-items: center;
flex-direction: column-reverse;
justify-content: flex-end;
&:not(:last-of-type) {
border-right: 1px solid @gray-light;
}
.control-label-group {
font-size: 10/12em;
margin-right: 0;
margin-top: 1em;
padding: 0;
text-align: center;
width: auto;
label {
text-align: center;
}
}
.toggle-switch {
margin: 0;
}
}
}
}
#layout.minimal-layout {
.icinga-info {
.vertical-key-value {
width: 100%;
}
}
.instance-features {
flex-wrap: wrap;
.control-group {
width: 33%;
&:nth-child(3n) {
border-right: none;
}
}
}
}
|