]> arthur.barton.de Git - netdata.git/blob - web/dashboard.css
Merge pull request #465 from ktsaou/master
[netdata.git] / web / dashboard.css
1 html,
2 body {
3         /*font-family: Calibri,"Segoe UI","Helvetica Neue",Helvetica,Arial,sans-serif;*/
4         font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
5         font-style: normal;
6         font-variant: normal;
7 }
8
9 .netdata-chart-alignment {
10         margin-left: 55px;
11 }
12
13 .netdata-chart-row {
14         width: 100%;
15         text-align: center;
16         display: flex;
17         display: -webkit-flex;
18         display: -moz-flex;
19         align-items: baseline;
20         -moz-align-items: baseline;
21         -webkit-align-items: baseline;
22         justify-content: center;
23         -webkit-justify-content: center;
24         -moz-justify-content: center;
25 }
26
27 .netdata-container {
28         display: inline-block;
29         overflow: hidden;
30
31         /* required for child elements to have absolute position */
32         position: relative;
33         
34         /* width and height is given per chart with data-width and data-height */
35 }
36
37 .netdata-aspect {
38         position: relative;
39         width: 100%;
40         padding: 0px;
41         margin: 0px;
42 }
43
44 .netdata-container-with-legend {
45         display: inline-block;
46         overflow: hidden;
47
48         /* fix minimum scrollbar issue in firefox */
49         min-height: 99px;
50
51         /* required for child elements to have absolute position */
52         position: relative;
53         
54         /* width and height is given per chart with data-width and data-height */
55 }
56
57 .netdata-legend-resize-handler {
58         display: block;
59         position: absolute;
60         bottom: 0px;
61         right: 0px;
62         height: 15px;
63         width: 30px;
64         background-color: White;
65         font-size: 12px;
66         vertical-align: middle;
67         line-height: 15px;
68         cursor: ns-resize;
69         color: #DDDDDD;
70         text-align: center;
71         overflow: hidden;
72         z-index: 20;
73         padding: 0px;
74         margin: 0px;
75 }
76
77 .netdata-legend-toolbox {
78         display: block;
79         position: absolute;
80         bottom: 0px;
81         right: 30px;
82         height: 15px;
83         width: 110px;
84         background-color: White;
85         font-size: 12px;
86         vertical-align: middle;
87         line-height: 15px;
88         color: #DDDDDD;
89         text-align: center;
90         overflow: hidden;
91         z-index: 20;
92         padding: 0px;
93         margin: 0px;
94 }
95
96 .netdata-legend-toolbox-button {
97         display: inline-block;
98         position: relative;
99         height: 15px;
100         width: 18px;
101         background-color: White;
102         font-size: 12px;
103         vertical-align: middle;
104         line-height: 15px;
105         color: #CDCDCD;
106         text-align: center;
107         overflow: hidden;
108         z-index: 21;
109         padding: 0px;
110         margin: 0px;
111         cursor: pointer;
112 }
113
114 .netdata-message {
115         display: inline-block;
116         text-align: left;
117         vertical-align: top;
118         font-weight: bold;
119         font-size: x-small;
120         width: 100%;
121         height: 100%;
122         overflow: hidden;
123         background: inherit;
124         z-index: 0;
125 }
126
127 .netdata-message.hidden {
128         display: none;
129 }
130
131 .netdata-message.icon {
132         color: #F8F8F8;
133         text-align: center;
134         vertical-align: middle;
135 }
136
137 .netdata-chart-legend {
138         position: absolute;                     /* within .netdata-container */
139         top: 0;
140         right: 0;
141         background-color: white;
142         overflow: hidden;
143         text-overflow: ellipsis;
144         line-height: 14px;
145         display: block;
146         width: 140px;                           /* --legend-width */
147         height: calc(100% - 15px);      /* 10px for the resize handler and 5px for the top margin */
148         font-size: 10px;
149         margin-top: 5px;
150         text-align: left;
151         /* width and height is calculated (depends on the appearance of the legend) */
152 }
153
154 .netdata-legend-title-date {
155         font-size: 10px;
156         font-weight: normal;
157         margin-top: 0px;
158 }
159 .netdata-legend-title-time {
160         font-size: 11px;
161         font-weight: bold;
162         margin-top: 0px;
163 }
164 .netdata-legend-title-units {
165         position: absolute;
166         right: 5px;
167         float: right;
168         font-size: 10px;
169         vertical-align: top;
170         font-weight: normal;
171         margin-top: 0px;
172 }
173 .netdata-legend-series {
174         position: absolute;
175         width: 140px;                           /* --legend-width */
176         height: calc(100% - 50px);
177         overflow: hidden;
178         text-overflow: ellipsis;
179         line-height: 14px;
180         display: block;
181         font-size: 10px;
182         margin-top: 0px;
183 }
184
185 .netdata-legend-series > .netdata-legend-series-content {
186         position      : absolute;
187         overflow      : scroll;
188         overflow-x    : hidden;
189         top           : 0;
190         right         : 0;
191         bottom        : 0;
192         left          : 0;
193         text-overflow: ellipsis;
194 }
195 .netdata-legend-series > .netdata-legend-series-content:focus {
196         outline: thin dotted;
197 }
198 .netdata-legend-series > .netdata-legend-series-content::-webkit-scrollbar {
199         display: block; /* was 'none', but chrome was hidding content with it */
200 }
201 .has-scrollbar > .netdata-legend-series-content::-webkit-scrollbar {
202         display: block;
203 }
204 .netdata-legend-series > .netdata-legend-series-pane {
205 /*      background : rgba(0,0,0,.25);*/
206         background : #DDD;
207         position   : absolute;
208         width      : 4px;
209         right      : 0;
210         top        : 0;
211         bottom     : 0;
212 /*      visibility : hidden\9; */ /* Target only IE7 and IE8 with this hack */
213 /*      opacity    : .01; */
214 /*      -webkit-transition    : .2s; */
215 /*      -moz-transition       : .2s; */
216 /*      -o-transition         : .2s; */
217 /*      transition            : .2s; */
218         -moz-border-radius    : 4px;
219         -webkit-border-radius : 4px;
220         border-radius         : 4px;
221 }
222 .netdata-legend-series > .netdata-legend-series-pane > .netdata-legend-series-slider {
223         background            : #444;
224 /*      background            : rgba(0,0,0,.5);*/
225         position              : relative;
226         margin                : 0 1px;
227         -moz-border-radius    : 2px;
228         -webkit-border-radius : 2px;
229         border-radius         : 2px;
230 }
231 .netdata-legend-series:hover > .netdata-legend-series-pane, .netdata-legend-series-pane.active, .netdata-legend-series-pane.flashed {
232 /*  visibility : visible\9; */ /* Target only IE7 and IE8 with this hack */
233 /*  opacity    : 0.99;*/
234 }
235
236 .netdata-legend-name-table-line {
237         display: inline-block;
238         width: 13px;
239         height: 4px;
240         border-width: 0px;
241         border-bottom-width: 2px;
242         border-bottom-style: solid;
243         border-bottom-color: white;
244 }
245 .netdata-legend-name-table-area {
246         display: inline-block;
247         width: 13px;
248         height: 5px;
249         border-width: 1px;
250         border-top-width: 1px;
251         border-top-style: solid;
252         border-top-color: inherit;
253 }
254 .netdata-legend-name-table-stacked {
255         display: inline-block;
256         width: 13px;
257         height: 5px;
258         border-width: 1px;
259         border-top-width: 1px;
260         border-top-style: solid;
261         border-top-color: inherit;
262 }
263 .netdata-legend-name-tr {
264 }
265 .netdata-legend-name-td {
266 }
267 .netdata-legend-name {
268         text-align: left;
269         font-size: 10px;
270         font-weight: bold;
271         vertical-align: bottom;
272         margin-top: 0px;
273         z-index: 9;
274         padding: 0px;
275         width: 80px !important;
276         max-width: 80px !important;
277         text-overflow: ellipsis;
278         overflow: hidden;
279         white-space: nowrap;
280         display: inline-block;
281         cursor: pointer;
282 }
283
284 .netdata-legend-value {
285         /*margin-left: 14px;*/
286         position: absolute;
287         right: 5px;
288         float: right;
289         text-align: right;
290         font-size: 10px;
291         font-weight: bold;
292         vertical-align: bottom;
293         background-color: White;
294         margin-top: 0px;
295         z-index: 10;
296         padding: 0px;
297         padding-left: 15px;
298         cursor: pointer;
299         /* -webkit-font-smoothing: none; */
300 }
301 .netdata-legend-name.not-selected {
302         font-weight: normal;
303         opacity: 0.3;
304 }
305
306 .netdata-chart {
307         position: absolute;             /* within .netdata-container */
308         top: 0;                                 /* within .netdata-container */
309         left: 0;                                /* within .netdata-container */
310         display: inline-block;
311         overflow: hidden;
312         width: 100%;
313         height: 100%;
314         z-index: 5;
315
316         /* width and height is calculated (depends on the appearance of the legend) */
317 }
318
319 .netdata-chart-with-legend-right {
320         position: absolute;             /* within .netdata-container */
321         top: 0;                                 /* within .netdata-container */
322         left: 0;                                /* within .netdata-container */
323         display: block;
324         overflow: hidden;
325         margin-right: 140px;            /* --legend-width */
326         width: calc(100% - 140px);      /* --legend-width */
327         height: 100%;
328         z-index: 5;
329         flex-grow: 1;
330
331         /* width and height is calculated (depends on the appearance of the legend) */
332 }
333
334 .netdata-peity-chart {
335
336 }
337
338 .netdata-sparkline-chart {
339
340 }
341
342 .netdata-dygraph-chart {
343
344 }
345
346 .netdata-morris-chart {
347
348 }
349
350 .netdata-google-chart {
351
352 }
353
354 .dygraph-ylabel {
355 }
356
357 .dygraph-title {
358         text-indent: 56px;
359         text-align: left;
360         position: absolute;
361         left: 0px;
362         top: 4px;
363         font-size: 11px;
364         font-weight: bold;
365         text-overflow: ellipsis;
366         overflow: hidden;
367         white-space: nowrap;
368 }
369
370 /* fix for sparkline tooltip under bootstrap */
371 .jqstooltip {
372   width: auto !important;
373   height: auto !important;
374 }
375
376 .easyPieChart {
377         position: relative;
378         text-align: center;
379 }
380
381 .easyPieChart canvas {
382         position: absolute;
383         top: 0;
384         left: 0;
385 }
386
387 .easyPieChartLabel {
388         display: inline-block;
389         position: absolute;
390         float: left;
391         left: 0;
392         width: 100%;
393         text-align: center;
394         color: #666;
395         font-weight: normal;
396         text-shadow: #BBB 0px 0px 1px;
397         /* -webkit-font-smoothing: none; */
398 }
399
400 .easyPieChartTitle {
401         display: inline-block;
402         position: absolute;
403         float: left;
404         left: 0;
405         width: 64%;
406         margin-left: 18%;
407         text-align: center;
408         color: #999999;
409         font-weight: normal;
410 }
411
412 .easyPieChartUnits {
413         display: inline-block;
414         position: absolute;
415         float: left;
416         left: 0;
417         width: 60%;
418         margin-left: 20%;
419         text-align: center;
420         color: #999999;
421         font-weight: normal;
422 }
423
424 .gaugeChart {
425         position: relative;
426         text-align: center;
427 }
428
429 .gaugeChart canvas {
430         position: absolute;
431         top: 0;
432         left: 0;
433         z-index: 0;
434 }
435
436 .gaugeChartLabel {
437         display: inline-block;
438         position: absolute;
439         float: left;
440         left: 0;
441         width: 100%;
442         text-align: center;
443         color: #FFFFFF;
444         font-weight: bold;
445         z-index: 1;
446         text-shadow: #777 0px 0px 1px;
447         /* text-shadow: #CCC 1px 1px 0px, #CCC -1px -1px 0px, #CCC 1px -1px 0px, #CCC -1px 1px 0px; */
448         /* -webkit-text-stroke: 1px #777; */
449         /* -webkit-font-smoothing: none; */
450 }
451
452 .gaugeChartTitle {
453         display: inline-block;
454         position: absolute;
455         float: left;
456         left: 0;
457         width: 100%;
458         text-align: center;
459         color: #999999;
460         font-weight: bold;
461 }
462
463 .gaugeChartUnits {
464         display: inline-block;
465         position: absolute;
466         float: left;
467         left: 0;
468         bottom: 0;
469         width: 100%;
470         text-align: left;
471         margin-left: 5%;
472         color: #999999;
473         font-weight: normal;
474 }
475
476 .gaugeChartMin {
477         display: inline-block;
478         position: absolute;
479         float: left;
480         left: 0;
481         bottom: 10%;
482         width: 92%;
483         margin-left: 8%;
484         text-align: left;
485         color: #999999;
486         font-weight: normal;
487 }
488
489 .gaugeChartMax {
490         display: inline-block;
491         position: absolute;
492         float: left;
493         left: 0;
494         bottom: 10%;
495         width: 95%;
496         margin-right: 5%;
497         text-align: right;
498         color: #999999;
499         font-weight: normal;
500 }
501
502 .popover-title {
503         font-weight: bold;
504         font-size: 12px;
505 }
506 .popover-content {
507         font-size: 11px;
508 }