-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathDark.less
208 lines (162 loc) · 4.13 KB
/
Dark.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
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
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
/*! Michael Süß | GPLv2+ | theme based on solarized-dark.less */
@base01: #494949;
@base00: #657b83;
@base03: #33373A;
@base0: #cacaca;
@body-bg-color: @base03;
@text-color: @base0;
@text-color-light: @base0;
@text-color-on-icinga-blue: @base0;
@text-color-inverted: @base01;
@link-color: @base0;
@gray: @base0;
@gray-light: @base01;
@gray-lighter: #00222b;
@gray-lightest: @base01;
@tr-active-color: @base01;
@tr-hover-color: @base01;
.action-link {
color: @link-color;
}
input, select {
background-color: @body-bg-color;
}
#menu {
background-color: @base01;
input.search {
color: @text-color;
background-image: url(../img/icons/search_white.png);
&:focus {
background-image: url(../img/icons/search_white.png) !important;
}
}
.nav-level-1 > .nav-item {
color: @text-color;
&.active, &:hover {
color: #ffffff;
background-color: @base03;
}
}
.nav-level-2 > .nav-item {
color: @text-color;
background-color: @base03;
&.active, &:hover {
a {
color: #ffffff;
}
background-color: @base01;
}
}
.nav-itemxx{
&:hover,
&:hover > a,
&.active,
&.active > a {
color: #ffffff !important;
//background-color: @base01 !important;
}
}
}
.boxview a:focus {
color: @text-color;
text-decoration: underline;
}
.icinga-module.module-monitoring {
@timeline-notification-color: #1650CF;
@timeline-hard-state-color: #A24600;
@timeline-comment-color: #346964;
@timeline-ack-color: #855D18;
@timeline-downtime-start-color: #515151;
@timeline-downtime-end-color: #5e5e2f;
// Unfortunately it does not suffice to only override the timeline colors here, because our less compiler seems to
// have the related style block in module.less already evaluated
.timeline-notification {
background-color: @timeline-notification-color;
&.extrapolated {
background-color: lighten(@timeline-notification-color, 20%);
}
}
.timeline-hard-state {
background-color: @timeline-hard-state-color;
&.extrapolated {
background-color: lighten(@timeline-hard-state-color, 20%);
}
}
.timeline-comment {
background-color: @timeline-comment-color;
&.extrapolated {
background-color: lighten(@timeline-comment-color, 20%);
}
}
.timeline-ack {
background-color: @timeline-ack-color;
&.extrapolated {
background-color: lighten(@timeline-ack-color, 20%);
}
}
.timeline-downtime-start {
background-color: @timeline-downtime-start-color;
&.extrapolated {
background-color: lighten(@timeline-downtime-start-color, 20%);
}
}
.timeline-downtime-end {
background-color: @timeline-downtime-end-color;
&.extrapolated {
background-color: lighten(@timeline-downtime-end-color, 20%);
}
}
}
.icinga-module.module-monitoring {
.tactical {
.box {
border-color: @body-bg-color !important;
}
div.box.contents {
background: @body-bg-color;
}
}
}
.nav-item > a:hover {
color: #ffffff !important;
}
#toggle-sidebar {
color: #ffffff !important;
}
#mobile-menu-toggle {
color: #ffffff !important;
}
#main div.filter form.editor ul.tree li.active {
background-color: @base03 !important;
}
.badge {
color: #ffffff !important;
}
input.search {
background: transparent url(../img/icons/search_white.png) no-repeat scroll 0.1em center !important;
background-size: 1em 1em !important;
padding-left: 1.5em !important;
}
textarea {
background: transparent;
}
.search-reset {
color: @base0;
}
.button-link {
color: #ffffff;
background: @base01;
}
.button-link:hover {
background: @base01;
text-decoration: none;
}
.icinga-module.module-director ul.main-actions li a {
color: @base0;
}
.icinga-controls input[type="text"], .icinga-controls input[type="password"], .icinga-controls input[type="number"], .icinga-controls input[type="datetime-local"], .icinga-controls input[type="date"], .icinga-controls input[type="time"], .icinga-controls textarea, .icinga-controls select {
background-color: @base01;
}
.icinga-module.module-monitoring .service-grid-table td {
color: @base0;
}