blob: 25097a840cfa4fcbe9181561d3b546a05e121d9b (
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
|
.state-badge {
.rounded-corners();
color: var(--default-text-color-inverted, @default-text-color-inverted);
display: inline-block;
font-size: 1em;
min-width: 2em;
padding: .25em;
text-align: center;
&.handled {
opacity: .8;
}
&.state-critical {
background-color: var(--state-critical, @state-critical);
}
&.state-down {
background-color: var(--state-down, @state-down);
}
&.state-ok {
background-color: var(--state-ok, @state-ok);
}
&.state-pending {
background-color: var(--state-pending, @state-pending);
}
&.state-unknown {
background-color: var(--state-unknown, @state-unknown);
}
&.state-up {
background-color: var(--state-up, @state-up);
}
&.state-warning {
background-color: var(--state-warning, @state-warning);
}
&.state-none {
background-color: var(--state-none, @state-none);
color: var(--text-color-light, @text-color-light);
}
}
a .state-badge {
&:not(.disabled):hover {
filter: brightness(80%);
}
}
|