summaryrefslogtreecommitdiffstats
path: root/public/css/module.less
blob: 1b97a76aee973346919f748ca5703bf9fdc1ed72 (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
// Marker transparency
@cluster-outer-transparency: 70%;
@cluster-inner-transparency: 47%;

[class^="icon-"]:before, [class*=" icon-"]:before {
  margin-right: 0;
}

.awesome-marker i {
  margin-top: 8px;
}

.map {
  width: 100%;
  height: 100%;
  z-index: 0;
}

.content {
  height: 100%;
  padding: 0 !important;
}

.scroll-view {
  max-height: 50vh;
  height: 100%;
  overflow-y: auto;
}

.scroll-view table {
  white-space: nowrap;
  border-collapse: separate;
  border-spacing: 0 1px;
}

.map-popup-services {
  overflow: hidden;
}

#hoststatus {
  color: white;
  text-align: center;
  font-weight: bold;
  background-color: @color-down;
  padding: 0.25em;
  text-transform: uppercase;
}

.marker-cluster span {
  font-weight: normal;
  mix-blend-mode: difference;
}

// cluster OK
.marker-cluster-0 {
  color: @color-ok;
  background-color: fade(@color-ok, @cluster-inner-transparency);
}

.marker-cluster-0 div {
  background-color: fade(@color-ok, @cluster-outer-transparency);
}

.marker-cluster-0 span {
  color: @color-ok;
}

// cluster WARNING
.marker-cluster-1 {
  background-color: fade(@color-warning, @cluster-inner-transparency);
}

.marker-cluster-1 div {
  background-color: fade(@color-warning, @cluster-outer-transparency);
}

.marker-cluster-1 span {
  color: @color-warning;
}

// cluster CRITICAL
.marker-cluster-2 {
  background-color: fade(@color-critical, @cluster-inner-transparency);
}

.marker-cluster-2 div {
  background-color: fade(@color-critical, @cluster-outer-transparency);
}

.marker-cluster-2 span {
  color: @color-critical;
}

// cluster UNKNOWN
.marker-cluster-3 {
  background-color: fade(@color-unknown, @cluster-inner-transparency);
}

.marker-cluster-3 div {
  background-color: fade(@color-unknown, @cluster-outer-transparency);
}

.marker-cluster-3 span {
  color: @color-unknown;
}

// cluster PENDING
.marker-cluster-99 {
  background-color: fade(@color-pending, @cluster-inner-transparency);
}

.marker-cluster-99 div {
  background-color: fade(@color-pending, @cluster-outer-transparency);
}

.marker-cluster-99 span {
  color: @color-pending;
}