]> git.proxmox.com Git - pve-manager.git/blob - www/css/ext6-pve.css
add icons to summaries and improve spacing
[pve-manager.git] / www / css / ext6-pve.css
1 /* overwrite to use full black for enabled buttons */
2 .x-btn-inner-default-toolbar-small {
3 font: 300 12px/16px helvetica, arial, verdana, sans-serif;
4 color: #000;
5 padding: 0 5px;
6 max-width: 100%;
7 }
8
9 /* add missing class for context menu header */
10 .x-menu-header {
11 font: 400 13px/20px 'Open Sans', 'Helvetica Neue', helvetica, arial, verdana, sans-serif;
12 color: #fff;
13 padding: 4px;
14 background-color: #3892d4;
15 }
16
17 /* make the upper window end visible */
18 .x-css-shadow {
19 box-shadow: rgb(136,136,136) 0px -1px 15px !important;
20 }
21
22 /* reduce tree space */
23 .x-grid-cell-inner-treecolumn { /* vertical padding */
24 padding: 4px 0px 3px 0px;
25 }
26
27 /* horizontal distance between parent and child leaf */
28 .x-tree-elbow-img {
29 width: 14px;
30 }
31
32 /* adjust horizontal position of menu icons */
33 .x-menu-item-icon-default {
34 top: 5px;
35 left: 3px;
36 font-size: 14px;
37 }
38
39 /* this gives a better placement for the font-awesome icons */
40 .x-btn-icon-el-default-toolbar-small {
41 height: 14px;
42 }
43
44 /* this icon looks weird in sizes not n*14px */
45 .x-btn-icon-el-default-toolbar-small.fa-ellipsis-v {
46 font-size: 14px;
47 }
48
49 .x-btn-icon-el-default-small {
50 height: 14px;
51 font-size: 14px;
52 }
53
54 /* icons for tree/snapshots/menus/etc.. */
55
56 /* overwrite folder icons of theme */
57 .x-tree-icon-parent,
58 .x-tree-icon-parent-expanded,
59 .x-tree-icon-leaf {
60 background: none;
61 display: inline-block;
62 font: normal normal normal 14px/1 FontAwesome;
63 font-size: inherit;
64 text-rendering: auto;
65 -webkit-font-smoothing: antialiased;
66 -moz-osx-font-smoothing: grayscale;
67 font-size: 1.25em;
68 line-height: 1.6em;
69 color: #555;
70 margin-right: 5px;
71 }
72
73 .x-tree-icon-parent:not(.x-tree-icon-custom):before {
74 content: "\f114";
75 }
76
77 .x-tree-icon-parent-expanded:not(.x-tree-icon-custom):before {
78 content: "\f115";
79 }
80
81 /* loading in task list */
82 .x-grid-row-loading {
83 background: no-repeat center center;
84 background-image:url(../ext6/theme-crisp/resources/images/loadmask/loading.gif);
85 }
86
87 /* console icon in task list */
88 .x-grid-row-console {
89 background: no-repeat center center;
90 background-image:url(../images/icon-display.png);
91 }
92
93 /* for font-awesome colors */
94 /* tree icons */
95
96 /* big symbols */
97 .x-tree-icon-custom {
98 font-size: 1.25em;
99 line-height: 1.6em;
100 color: #555;
101 margin-right: 5px;
102 }
103
104 /* grid icons (resources, etc) */
105 .x-grid-icon-custom {
106 font-size: 1.25em;
107 color: #555;
108 margin-right: 5px;
109 }
110
111 /* the running vms are darker */
112 .x-tree-icon-custom.running,
113 .x-grid-icon-custom.running {
114 color: #000;
115 }
116
117 /* stopped and offline items are greyed out */
118 .x-tree-icon-custom.stopped,
119 .x-grid-icon-custom.stopped,
120 .x-tree-icon-custom.offline,
121 .x-grid-icon-custom.offline {
122 color: #cfcfcf;
123 }
124
125 /* the small icons */
126 .x-tree-icon-custom:after,
127 .x-grid-icon-custom:after {
128 position: relative;
129 left: -5px;
130 top: 1px;
131 font-size: 0.75em;
132 text-shadow: -1px 0px 2px #fff;
133 content: "\ ";
134 }
135
136 /* the green check */
137 .x-tree-icon-custom.online:after,
138 .x-grid-icon-custom.online:after {
139 content: "\f058";
140 color: #21BF4B;
141 }
142
143 /* the red x */
144 .x-tree-icon-custom.offline:after,
145 .x-grid-icon-custom.offline:after,
146 .x-tree-icon-custom.ha-error:after,
147 .x-grid-icon-custom.ha-error:after {
148 content: "\f057";
149 color: #CC1800;
150 }
151
152 /* the grey '?' */
153 .x-tree-icon-custom.unknown:after,
154 .x-grid-icon-custom.unknown:after {
155 content: "\f059";
156 color: #888;
157 }
158
159 /* the play symbol */
160 .x-tree-icon-custom.running:after,
161 .x-grid-icon-custom.running:after {
162 content: "\f04b";
163 color: #21BF4B;
164 }
165
166 /* the pause symbol */
167 .x-tree-icon-custom.paused:after,
168 .x-grid-icon-custom.paused:after {
169 content: "\f04c";
170 color: #CC8E00;
171 font-size: 0.6em;
172 }
173
174 /* the lxc template */
175 .x-tree-icon-custom.lxc:after,
176 .x-grid-icon-custom.lxc:after {
177 content: "\f1b2";
178 background: #fff;
179 }
180
181 /* the qemu template */
182 .x-tree-icon-custom.qemu:after,
183 .x-grid-icon-custom.qemu:after {
184 content : "\f108";
185 background: #fff;
186 }
187
188 /* fixes background on mouseover and selected items */
189 .x-grid-item-over .qemu:after,
190 .x-grid-item-over .lxc:after {
191 background-color: #e2eff9;
192 text-shadow: -1px 0px 2px #e2eff9;
193 }
194
195 .x-grid-item-selected .qemu:after,
196 .x-grid-item-selected .lxc:after {
197 background-color: #c2ddf2;
198 text-shadow: -1px 0px 2px #c2ddf2;
199 }
200
201 .pve-itype-icon-virt-viewer,
202 .pve-itype-icon-tigervnc,
203 .pve-itype-icon-novnc,
204 .pve-itype-icon-xtermjs,
205 .pve-itype-icon-display,
206 .pve-itype-icon-memory,
207 .pve-itype-icon-processor,
208 .pve-itype-icon-network,
209 .pve-itype-icon-network-server,
210 .pve-itype-icon-keyboard,
211 .pve-itype-icon-cdrom,
212 .pve-itype-icon-qemu,
213 .pve-itype-icon-qemu-template,
214 .pve-itype-icon-qemu-running,
215 .pve-itype-icon-lxc,
216 .pve-itype-icon-lxc-template,
217 .pve-itype-icon-lxc-running,
218 .pve-itype-icon-swap,
219 .pve-itype-icon-node,
220 .pve-itype-icon-node-running,
221 .pve-itype-icon-storage,
222 .pve-itype-icon-pool,
223 .pve-itype-icon-itype,
224 .pve-itype-icon-usb,
225 .pve-itype-icon-serial,
226 .pve-itype-icon-pci
227 {
228 background-repeat: no-repeat;
229 background-position:3px center;
230 padding-left: 20px;
231 }
232
233 .pve-itype-icon-qemu,
234 .x-tree-node-computer,
235 .x-grid-tree-node-expanded .x-tree-node-computer
236 {
237 background-image:url(../images/icon-display.png);
238 }
239
240 .pve-itype-icon-lxc,
241 .x-tree-node-lxc,
242 .x-grid-tree-node-expanded .x-tree-node-lxc
243 {
244 background-image:url(../images/lxc-off.png);
245 }
246
247 .pve-itype-icon-swap,
248 .x-tree-node-lxc-swap,
249 .x-grid-tree-node-expanded .x-tree-lxc-swap
250 {
251 background-image:url(../images/icon-swap.png);
252 }
253
254 .pve-itype-icon-lxc-running,
255 .x-tree-node-lxc-running,
256 .x-grid-tree-node-expanded .x-tree-node-lxc-running
257 {
258 background-image:url(../images/lxc-on.png);
259 }
260
261 .pve-itype-icon-storage,
262 .x-tree-node-harddisk,
263 .x-grid-tree-node-expanded .x-tree-node-harddisk
264 {
265 background-image:url(../images/icon-harddisk.png);
266 }
267
268 .x-tree-node-snapshot,
269 .x-grid-tree-node-expanded .x-tree-node-snapshot
270 {
271 background-image:url(../images/snapshot.png);
272 }
273
274 .pve-itype-icon-itype
275 {
276 background-image:url(../ext6/theme-classic/resources/images/tree/folder.gif);
277 }
278
279 .pve-itype-icon-network-server
280 {
281 background-image:url(../images/network-server.png);
282 }
283
284 .pve-itype-icon-network
285 {
286 background-image:url(../images/icon-network.png);
287 }
288
289 .pve-itype-icon-keyboard
290 {
291 background-image:url(../images/icon-keyboard.png);
292 }
293
294 .pve-itype-icon-cdrom
295 {
296 background-image:url(../images/icon-cd.png);
297 }
298
299 .pve-itype-icon-memory
300 {
301 background-image:url(../images/icon-ram.png);
302 }
303
304 .pve-itype-icon-processor
305 {
306 background-image:url(../images/icon-cpu.png);
307 }
308
309 .pve-itype-icon-display
310 {
311 background-image:url(../images/icon-display.png);
312 }
313
314 .pve-itype-icon-tigervnc
315 {
316 background-image:url(../images/tigervnc.png);
317 }
318
319 .pve-itype-icon-novnc
320 {
321 background-image:url(../images/novnc.png);
322 }
323
324 .pve-itype-icon-virt-viewer
325 {
326 background-image:url(../images/virt-viewer.png);
327 }
328
329 .pve-itype-icon-xtermjs
330 {
331 background-image:url(../images/xtermjs.png);
332 }
333
334 .pve-itype-icon-usb
335 {
336 background-image:url(../images/icon-usb.png);
337 }
338
339 .pve-itype-icon-pci
340 {
341 background-image:url(../images/icon-pci.png);
342 }
343
344 .pve-itype-icon-serial
345 {
346 background-size: 16px;
347 background-image:url(../images/icon-serial.svg);
348 }
349
350 .pve-icon {
351 height: 16px;
352 background-position: bottom;
353 vertical-align: bottom;
354 padding: 0;
355 }
356
357 /* displayfield minheight is wrong */
358 .x-form-display-field-default {
359 min-height: 20px;
360 }
361
362 .x-button-reset:before {
363 font-size: 16px;
364 }
365
366 /* for resetcolumnsbutton */
367 .x-button-reset:after{
368 content: "\f0e7 ";
369 position: relative;
370 text-shadow: 0 0 2px #fff;
371 left: -3px;
372 top: 2px;
373 }
374
375 .proxmox-inline-button .x-btn-inner {
376 color: black;
377 }
378
379 .pve-hint {
380 background-color: LightYellow;
381 }
382
383 /* for info widget */
384 div.left-aligned {
385 float: left;
386 }
387
388 div.right-aligned {
389 float: right;
390 }
391
392 .x-progress.critical .x-progress-bar{
393 background-color: #FF8888;
394 }
395
396 .x-progress.warning .x-progress-bar{
397 background-color: #FFCC00;
398 }
399
400 .x-treelist-nav {
401 background-color: #f5f5f5;
402 }
403
404 .x-treelist-row {
405 margin-top: 5px;
406 }
407
408 .x-treelist-item-icon {
409 color: #000;
410 margin-left: 2px;
411 }
412
413 .x-treelist-item-text {
414 color: #000;
415 padding-left: 5px;
416 padding-right: 5px;
417 }
418
419 .fa-ceph:before {
420 width: 14px;
421 height: 14px;
422 position: absolute;
423 left: 1px;
424 top: 4px;
425 background-image:url(../images/logo-ceph.png);
426 background-size: 14px 14px;
427 content: ' ';
428 }
429
430 .x-treelist-row-over > * > .x-treelist-item-icon,
431 .x-treelist-row-over > * > .x-treelist-item-text{
432 color: #000;
433 }
434
435 /* some icons have to be color manually */
436 .black {
437 color: #000;
438 }
439
440 .normal {
441 color: #c2ddf2;
442 }
443
444 .faded {
445 color: #cfcfcf;
446 }
447
448 .good {
449 color: #21BF4B;
450 }
451
452 .warning {
453 color: #fc0;
454 }
455
456 .critical {
457 color: #FF6C59;
458 }
459
460 /* for the ceph monitor widgets */
461 div.monitor {
462 text-align:left;
463 border:#cfcfcf solid 1px;
464 border-radius:2px;
465 margin: 2px;
466 padding: 5px 8px;
467 }
468
469 /* for auto layout */
470 div.inline-block {
471 display: inline-block;
472 vertical-align: top;
473 }
474
475 /* ceph dashboard osd table styling */
476 table.osds {
477 border-collapse: collapse;
478 margin: auto;
479 }
480
481 table.osds td {
482 padding: 4px;
483 text-align: right;
484 border-right: 1px solid #cfcfcf;
485 }
486
487 table.osds td:last-of-type {
488 border-right: 0;
489 }
490
491 table.osds tr {
492 border-bottom: 1px solid #cfcfcf;
493 }
494
495 table.osds tr:last-of-type {
496 border-bottom: 0;
497 }
498
499 table.osds td:first-of-type {
500 text-align: left;
501 }
502
503 .pointer {
504 cursor: pointer;
505 }
506
507 .x-grid-filters-filtered-column{
508 font-style: italic;
509 font-weight: bold;
510 }
511
512 /* chrome 56 fix */
513 .x-webkit .x-form-text {
514 height: 100% !important;
515 }
516
517 .x-webkit :not(.x-form-textarea-body) > .x-form-trigger-wrap {
518 height: initial;
519 }
520
521 .proxmox-invalid-row {
522 background-color: #f3d6d7;
523 }
524
525 .pve-static-mask div.x-mask-msg-text {
526 padding: 10px;
527 background-image: none;
528 }
529
530 .x-fa {
531 diplay: inline-block;
532 font: normal normal normal 14px/1 FontAwesome;
533 text-rendering: auto;
534 -webkit-font-smoothing: antialiased;
535 -moz-osx-font-smoothing: grayscale;
536 }
537
538 .usage-wrapper {
539 margin-left: -7px;
540 vertical-align: text-bottom;
541 display: inline-block;
542 width: 8px;
543 height: 1.2em;
544 border: 1px solid #555;
545 border-radius: 1px;
546 padding: 1px;
547 }
548
549 .usage-negative {
550 left: 0px;
551 right:0px;
552 }
553
554 .usage {
555 left: 0px;
556 right: 0px;
557 background-color: #555;
558 }