]> git.proxmox.com Git - pve-manager.git/blob - www/css/ext6-pve.css
ui: nav: move bg-color override to CSS class
[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 grey '?' */
144 .x-tree-icon-custom.unknown:after,
145 .x-grid-icon-custom.unknown:after {
146 content: "\f059";
147 color: #888;
148 }
149
150 /* the play symbol */
151 .x-tree-icon-custom.running:after,
152 .x-grid-icon-custom.running:after {
153 content: "\f04b";
154 color: #21BF4B;
155 }
156
157 /* the pause symbol */
158 .x-tree-icon-custom.paused:after,
159 .x-grid-icon-custom.paused:after {
160 content: "\f04c";
161 color: #CC8E00;
162 font-size: 0.6em;
163 }
164
165 /* the suspend symbol */
166 .x-tree-icon-custom.suspended:after,
167 .x-grid-icon-custom.suspended:after {
168 content: "\f04c";
169 color: #CC8E00;
170 font-size: 0.6em;
171 }
172
173 /* lock icons */
174 .x-tree-icon-custom.locked:after,
175 .x-grid-icon-custom.locked:after {
176 content: "\f023";
177 color: #000000;
178 }
179
180 .x-tree-icon-custom.lock-backup:after,
181 .x-grid-icon-custom.lock-backup:after {
182 content: "\f0c7";
183 color: #000000;
184 }
185
186 .x-tree-icon-custom.lock-migrate:after,
187 .x-grid-icon-custom.lock-migrate:after {
188 content: "\f1d9";
189 /* color: #21BF4B; */
190 color: #000000;
191 font-size: 0.75em;
192 }
193
194
195 .x-tree-icon-custom.lock-suspending:after,
196 .x-grid-icon-custom.lock-suspending:after {
197 content: "\f019";
198 color: #CC8E00;
199 font-size: 0.75em;
200 }
201
202 .x-tree-icon-custom.lock-suspended:after,
203 .x-grid-icon-custom.lock-suspended:after {
204 content: "\f019";
205 color: #000000;
206 font-size: 0.75em;
207 }
208
209 /* yellow ! triangle */
210 .x-tree-icon-custom.pending:after,
211 .x-grid-icon-custom.pending:after,
212 .x-tree-icon-custom.io-error:after,
213 .x-grid-icon-custom.io-error:after,
214 .x-tree-icon-custom.internal-error:after,
215 .x-grid-icon-custom.internal-error:after,
216 .x-tree-icon-custom.guest-panicked:after,
217 .x-grid-icon-custom.guest-panicked:after {
218 content: "\f071";
219 color: #FFCC00;
220 }
221
222 /* the red x */
223 .x-tree-icon-custom.error:after,
224 .x-grid-icon-custom.error:after,
225 .x-tree-icon-custom.offline:after,
226 .x-grid-icon-custom.offline:after,
227 .x-tree-icon-custom.ha-error:after,
228 .x-grid-icon-custom.ha-error:after {
229 content: "\f057";
230 color: #CC1800;
231 }
232
233 /*
234 * using background-image doesn't work for treelist-items, so use content. See:
235 * https://forum.sencha.com/forum/showthread.php?339656-extjs-6-treelist-custom-iconcls-can-not-working
236 */
237 .pve-itype-treelist-item-icon-cdrom {
238 top: 50%;
239 transform: translateY(-50%);
240 content: url(../images/icon-cd.png);
241 }
242
243 /* the lxc template */
244 .x-tree-icon-custom.lxc:after,
245 .x-grid-icon-custom.lxc:after {
246 content: "\f1b2";
247 background: #fff;
248 }
249
250 .x-treelist-item-icon.lxc:after {
251 content: "\f1b2";
252 background: #fff;
253 font-size: 0.75em;
254 margin-left: -25%;
255 }
256
257 /* the qemu template */
258 .x-tree-icon-custom.qemu:after,
259 .x-grid-icon-custom.qemu:after {
260 content : "\f108";
261 background: #fff;
262 }
263
264 /* fixes background on mouseover and selected items */
265 .x-treelist-item-over .lxc:after,
266 .x-grid-item-over .qemu:after,
267 .x-grid-item-over .lxc:after {
268 background-color: #e2eff9;
269 text-shadow: -1px 0px 2px #e2eff9;
270 }
271
272 .x-treelist-item-selected .lxc:after,
273 .x-grid-item-selected .qemu:after,
274 .x-grid-item-selected .lxc:after {
275 background-color: #c2ddf2;
276 text-shadow: -1px 0px 2px #c2ddf2;
277 }
278
279 .pve-itype-icon-virt-viewer,
280 .pve-itype-icon-tigervnc,
281 .pve-itype-icon-novnc,
282 .pve-itype-icon-xtermjs,
283 .pve-itype-icon-display,
284 .pve-itype-icon-network,
285 .pve-itype-icon-network-server,
286 .pve-itype-icon-keyboard,
287 .pve-itype-icon-cdrom,
288 .pve-itype-icon-qemu,
289 .pve-itype-icon-qemu-template,
290 .pve-itype-icon-qemu-running,
291 .pve-itype-icon-lxc,
292 .pve-itype-icon-lxc-template,
293 .pve-itype-icon-lxc-running,
294 .pve-itype-icon-swap,
295 .pve-itype-icon-node,
296 .pve-itype-icon-node-running,
297 .pve-itype-icon-storage,
298 .pve-itype-icon-pool,
299 .pve-itype-icon-itype,
300 .pve-itype-icon-usb,
301 .pve-itype-icon-serial,
302 .pve-itype-icon-cloud,
303 .pve-itype-icon-pci,
304 .pve-itype-icon-die
305 {
306 background-repeat: no-repeat;
307 background-position:3px center;
308 padding-left: 20px;
309 }
310
311 /* fix alignment for VM hardware add menu */
312 .pve-add-hw-menu .x-menu-item-icon:not(.fa) {
313 left: 1px;
314 }
315
316 .pve-itype-fa > .x-grid-cell-inner{
317 padding-left: 3px;
318 }
319
320 .pve-grid-fa {
321 margin-right: 10px;
322 }
323
324 .pve-itype-icon-qemu,
325 .x-tree-node-computer,
326 .x-grid-tree-node-expanded .x-tree-node-computer
327 {
328 background-image:url(../images/icon-display.png);
329 }
330
331 .pve-itype-icon-lxc,
332 .x-tree-node-lxc,
333 .x-grid-tree-node-expanded .x-tree-node-lxc
334 {
335 background-image:url(../images/lxc-off.png);
336 }
337
338 .pve-itype-icon-swap,
339 .x-tree-node-lxc-swap,
340 .x-grid-tree-node-expanded .x-tree-lxc-swap
341 {
342 background-image:url(../images/icon-swap.png);
343 }
344
345 .pve-itype-icon-lxc-running,
346 .x-tree-node-lxc-running,
347 .x-grid-tree-node-expanded .x-tree-node-lxc-running
348 {
349 background-image:url(../images/lxc-on.png);
350 }
351
352 .pve-itype-icon-storage,
353 .x-tree-node-harddisk,
354 .x-grid-tree-node-expanded .x-tree-node-harddisk
355 {
356 background-image:url(../images/icon-harddisk.png);
357 }
358
359 .x-tree-node-snapshot,
360 .x-grid-tree-node-expanded .x-tree-node-snapshot
361 {
362 background-image:url(../images/snapshot.png);
363 }
364
365 .pve-itype-icon-itype
366 {
367 background-image:url(../ext6/theme-classic/resources/images/tree/folder.gif);
368 }
369
370 .pve-itype-icon-network-server
371 {
372 background-image:url(../images/network-server.png);
373 }
374
375 .pve-itype-icon-network
376 {
377 background-image:url(../images/icon-network.png);
378 }
379
380 .pve-itype-icon-keyboard
381 {
382 background-image:url(../images/icon-keyboard.png);
383 }
384
385 .pve-itype-icon-cdrom
386 {
387 background-image:url(../images/icon-cd.png);
388 }
389
390 .pve-itype-icon-display
391 {
392 background-image:url(../images/icon-display.png);
393 }
394
395 .pve-itype-icon-tigervnc
396 {
397 background-image:url(../images/tigervnc.png);
398 }
399
400 .pve-itype-icon-novnc
401 {
402 background-image:url(../images/novnc.png);
403 }
404
405 .pve-itype-icon-virt-viewer
406 {
407 background-image:url(../images/virt-viewer.png);
408 }
409
410 .pve-itype-icon-xtermjs
411 {
412 background-image:url(../images/xtermjs.png);
413 }
414
415 .pve-itype-icon-usb
416 {
417 background-image:url(../images/icon-usb.png);
418 }
419
420 .pve-itype-icon-pci
421 {
422 background-image:url(../images/icon-pci.png);
423 }
424
425 .pve-itype-icon-serial
426 {
427 background-size: 16px;
428 background-image:url(../images/icon-serial.svg);
429 }
430
431 .pve-itype-icon-cloud
432 {
433 background-size: 16px;
434 background-image:url(../images/icon-cloud.svg);
435 }
436
437 .pve-itype-icon-die
438 {
439 background-size: 16px;
440 background-image:url(../images/icon-die.svg);
441 }
442
443 .pve-icon {
444 height: 16px;
445 background-position: bottom;
446 vertical-align: bottom;
447 padding: 0;
448 }
449
450 /* displayfield minheight is wrong */
451 .x-form-display-field-default {
452 min-height: 20px;
453 }
454
455 .x-button-reset:before {
456 font-size: 16px;
457 }
458
459 /* for resetcolumnsbutton */
460 .x-button-reset:after{
461 content: "\f0e7 ";
462 position: relative;
463 text-shadow: 0 0 2px #fff;
464 left: -3px;
465 top: 2px;
466 }
467
468 .proxmox-inline-button .x-btn-inner {
469 color: black;
470 }
471
472 /* for info widget */
473 div.left-aligned {
474 float: left;
475 }
476
477 div.right-aligned {
478 float: right;
479 }
480
481 .x-progress.critical .x-progress-bar{
482 background-color: #FF8888;
483 }
484
485 .x-progress.warning .x-progress-bar{
486 background-color: #FFCC00;
487 }
488
489 .x-treelist-nav {
490 background-color: #f5f5f5;
491 }
492
493 .x-treelist-row {
494 margin-top: 5px;
495 }
496
497 .x-treelist-item-icon {
498 color: #000;
499 margin-left: 2px;
500 }
501
502 .x-treelist-item-text {
503 color: #000;
504 padding-left: 5px;
505 padding-right: 5px;
506 }
507
508 .fa-ceph:before {
509 width: 14px;
510 height: 14px;
511 position: absolute;
512 left: 1px;
513 top: 4px;
514 background-image:url(../images/logo-ceph.png);
515 background-size: 14px 14px;
516 content: ' ';
517 }
518
519 .fa-sdn:before {
520 width: 14px;
521 height: 14px;
522 position: absolute;
523 left: 1px;
524 top: 4px;
525 background-image:url(../images/icon-sdn.svg);
526 background-size: 14px 14px;
527 content: ' ';
528 }
529
530 .fa-network-wired:before {
531 width: 14px;
532 height: 14px;
533 position: absolute;
534 left: 1px;
535 top: 4px;
536 background-image:url(../images/icon-fa-network-wired.svg);
537 background-size: 14px 14px;
538 content: ' ';
539 }
540
541 .x-treelist-row-over > * > .x-treelist-item-icon,
542 .x-treelist-row-over > * > .x-treelist-item-text{
543 color: #000;
544 }
545
546 /* for the ceph monitor widgets */
547 div.monitor {
548 text-align:left;
549 border:#cfcfcf solid 1px;
550 border-radius:2px;
551 margin: 2px;
552 padding: 5px 8px;
553 }
554
555 /* for auto layout */
556 div.inline-block {
557 display: inline-block;
558 vertical-align: top;
559 }
560
561 /* ceph dashboard osd table styling */
562 table.osds {
563 border-collapse: collapse;
564 margin: auto;
565 }
566
567 table.osds td {
568 padding: 4px;
569 text-align: right;
570 border-right: 1px solid #cfcfcf;
571 }
572
573 table.osds td:last-of-type {
574 border-right: 0;
575 }
576
577 table.osds tr {
578 border-bottom: 1px solid #cfcfcf;
579 }
580
581 table.osds tr:last-of-type {
582 border-bottom: 0;
583 }
584
585 table.osds td:first-of-type {
586 text-align: left;
587 }
588
589 .pointer {
590 cursor: pointer;
591 }
592
593 .cursor-move {
594 cursor: move;
595 }
596
597 .x-grid-filters-filtered-column {
598 font-style: italic;
599 font-weight: bold;
600 }
601
602 .x-grid-filters-filtered-column .x-column-header-text:after {
603 font: normal normal normal 14px/1 FontAwesome;
604 text-rendering: auto;
605 -webkit-font-smoothing: antialiased;
606 -moz-osx-font-smoothing: grayscale;
607 content: " \f0b0 ";
608 color: #555;
609 float: right;
610 padding-right: 1em;
611 }
612
613 .proxmox-invalid-row {
614 background-color: #f3d6d7;
615 }
616
617 .pve-static-mask div.x-mask-msg-text {
618 padding: 10px;
619 background-image: none;
620 }
621
622 .pve-toolbar-bg {
623 background-color: #f5f5f5;
624 }
625
626 .x-fa {
627 diplay: inline-block;
628 font: normal normal normal 14px/1 FontAwesome;
629 text-rendering: auto;
630 -webkit-font-smoothing: antialiased;
631 -moz-osx-font-smoothing: grayscale;
632 }
633
634 .usage-wrapper {
635 margin-left: -7px;
636 vertical-align: text-bottom;
637 display: inline-block;
638 width: 8px;
639 height: 1.2em;
640 border: 1px solid #555;
641 border-radius: 1px;
642 padding: 1px;
643 }
644
645 .usage-negative {
646 left: 0px;
647 right:0px;
648 }
649
650 .usage {
651 left: 0px;
652 right: 0px;
653 background-color: #555;
654 }
655
656 .install-mask {
657 background-color: rgb(245, 245, 245);
658 color: #000;
659 }