]> git.proxmox.com Git - pve-manager.git/blame - www/css/ext6-pve.css
ui: qemu: switch CD drive icon to SVG
[pve-manager.git] / www / css / ext6-pve.css
CommitLineData
9a55d9a2
EK
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;
06076ea0
TL
15}
16
4dce6073
TL
17/* make the upper window end visible */
18.x-css-shadow {
19 box-shadow: rgb(136,136,136) 0px -1px 15px !important;
20}
21
06076ea0
TL
22/* reduce tree space */
23.x-grid-cell-inner-treecolumn { /* vertical padding */
131cd85a 24 padding: 4px 0px 3px 0px;
06076ea0
TL
25}
26
27/* horizontal distance between parent and child leaf */
28.x-tree-elbow-img {
29 width: 14px;
30}
131cd85a
DC
31
32/* adjust horizontal position of menu icons */
33.x-menu-item-icon-default {
d9fd02eb
DC
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;
131cd85a
DC
42}
43
a991a203
DC
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
131cd85a 54/* icons for tree/snapshots/menus/etc.. */
a991a203
DC
55
56/* overwrite folder icons of theme */
57.x-tree-icon-parent,
2fa8270b
DC
58.x-tree-icon-parent-expanded,
59.x-tree-icon-leaf {
a991a203
DC
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 */
131cd85a
DC
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
a991a203 87/* console icon in task list */
131cd85a
DC
88.x-grid-row-console {
89 background: no-repeat center center;
a991a203
DC
90 background-image:url(../images/icon-display.png);
91}
92
93/* for font-awesome colors */
94/* tree icons */
95
96/* big symbols */
2fa8270b 97.x-tree-icon-custom {
a991a203
DC
98 font-size: 1.25em;
99 line-height: 1.6em;
100 color: #555;
101 margin-right: 5px;
102}
103
104/* grid icons (resources, etc) */
2fa8270b 105.x-grid-icon-custom {
a991a203
DC
106 font-size: 1.25em;
107 color: #555;
108 margin-right: 5px;
109}
110
111/* the running vms are darker */
2fa8270b
DC
112.x-tree-icon-custom.running,
113.x-grid-icon-custom.running {
a991a203
DC
114 color: #000;
115}
116
2fa8270b
DC
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
a991a203 125/* the small icons */
2fa8270b
DC
126.x-tree-icon-custom:after,
127.x-grid-icon-custom:after {
a991a203
DC
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
2fa8270b
DC
136/* the green check */
137.x-tree-icon-custom.online:after,
138.x-grid-icon-custom.online:after {
a991a203 139 content: "\f058";
6d453a84 140 color: #21BF4B;
a991a203
DC
141}
142
2fa8270b
DC
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 {
a991a203 153 content: "\f04b";
6d453a84 154 color: #21BF4B;
a991a203
DC
155}
156
2fa8270b
DC
157/* the pause symbol */
158.x-tree-icon-custom.paused:after,
159.x-grid-icon-custom.paused:after {
a991a203
DC
160 content: "\f04c";
161 color: #CC8E00;
162 font-size: 0.6em;
163}
164
77d23320
OB
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
3cc3b67d
DC
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
9ba642dd
TL
186.x-tree-icon-custom.lock-migrate:after,
187.x-grid-icon-custom.lock-migrate:after {
188 content: "\f1d9";
90f2d251 189 /* color: #21BF4B; */
9ba642dd
TL
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
3cc3b67d 209/* yellow ! triangle */
90f7cb68
AD
210.x-tree-icon-custom.pending:after,
211.x-grid-icon-custom.pending:after,
3cc3b67d
DC
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 */
90f7cb68
AD
223.x-tree-icon-custom.error:after,
224.x-grid-icon-custom.error:after,
3cc3b67d
DC
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
49580299
FE
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
2fa8270b
DC
243/* the lxc template */
244.x-tree-icon-custom.lxc:after,
245.x-grid-icon-custom.lxc:after {
a991a203
DC
246 content: "\f1b2";
247 background: #fff;
248}
249
49580299
FE
250.x-treelist-item-icon.lxc:after {
251 content: "\f1b2";
252 background: #fff;
253 font-size: 0.75em;
254 margin-left: -25%;
255}
256
2fa8270b
DC
257/* the qemu template */
258.x-tree-icon-custom.qemu:after,
259.x-grid-icon-custom.qemu:after {
a991a203
DC
260 content : "\f108";
261 background: #fff;
262}
263
2fa8270b 264/* fixes background on mouseover and selected items */
49580299 265.x-treelist-item-over .lxc:after,
2fa8270b
DC
266.x-grid-item-over .qemu:after,
267.x-grid-item-over .lxc:after {
a991a203
DC
268 background-color: #e2eff9;
269 text-shadow: -1px 0px 2px #e2eff9;
270}
271
49580299 272.x-treelist-item-selected .lxc:after,
2fa8270b
DC
273.x-grid-item-selected .qemu:after,
274.x-grid-item-selected .lxc:after {
a991a203
DC
275 background-color: #c2ddf2;
276 text-shadow: -1px 0px 2px #c2ddf2;
131cd85a
DC
277}
278
279.pve-itype-icon-virt-viewer,
280.pve-itype-icon-tigervnc,
281.pve-itype-icon-novnc,
d0f7ae46 282.pve-itype-icon-xtermjs,
131cd85a 283.pve-itype-icon-display,
131cd85a
DC
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,
77c95181 299.pve-itype-icon-itype,
8eb6f213 300.pve-itype-icon-usb,
7235d619 301.pve-itype-icon-serial,
e9a7094d 302.pve-itype-icon-cloud,
4ba4c7c6 303.pve-itype-icon-pci,
f9698f62 304.pve-itype-icon-cpu,
64bef820 305.pve-itype-icon-memory,
449d346f 306.pve-itype-icon-die {
131cd85a
DC
307 background-repeat: no-repeat;
308 background-position:3px center;
309 padding-left: 20px;
310}
311
e08c2321
SR
312/* fix alignment for VM hardware add menu */
313.pve-add-hw-menu .x-menu-item-icon:not(.fa) {
314 left: 1px;
315}
316
6a040799
DC
317.pve-itype-fa > .x-grid-cell-inner{
318 padding-left: 3px;
319}
320
321.pve-grid-fa {
322 margin-right: 10px;
323}
324
131cd85a
DC
325.pve-itype-icon-qemu,
326.x-tree-node-computer,
449d346f 327.x-grid-tree-node-expanded .x-tree-node-computer {
a991a203 328 background-image:url(../images/icon-display.png);
131cd85a
DC
329}
330
331.pve-itype-icon-lxc,
332.x-tree-node-lxc,
449d346f 333.x-grid-tree-node-expanded .x-tree-node-lxc {
131cd85a
DC
334 background-image:url(../images/lxc-off.png);
335}
336
131cd85a
DC
337.pve-itype-icon-swap,
338.x-tree-node-lxc-swap,
449d346f 339.x-grid-tree-node-expanded .x-tree-lxc-swap {
a991a203 340 background-image:url(../images/icon-swap.png);
131cd85a
DC
341}
342
343.pve-itype-icon-lxc-running,
344.x-tree-node-lxc-running,
449d346f 345.x-grid-tree-node-expanded .x-tree-node-lxc-running {
131cd85a
DC
346 background-image:url(../images/lxc-on.png);
347}
348
131cd85a
DC
349.pve-itype-icon-storage,
350.x-tree-node-harddisk,
449d346f 351.x-grid-tree-node-expanded .x-tree-node-harddisk {
a991a203 352 background-image:url(../images/icon-harddisk.png);
131cd85a
DC
353}
354
355.x-tree-node-snapshot,
449d346f 356.x-grid-tree-node-expanded .x-tree-node-snapshot {
131cd85a
DC
357 background-image:url(../images/snapshot.png);
358}
359
449d346f 360.pve-itype-icon-itype {
131cd85a
DC
361 background-image:url(../ext6/theme-classic/resources/images/tree/folder.gif);
362}
363
449d346f 364.pve-itype-icon-network-server {
131cd85a
DC
365 background-image:url(../images/network-server.png);
366}
367
449d346f 368.pve-itype-icon-network {
a991a203 369 background-image:url(../images/icon-network.png);
131cd85a
DC
370}
371
449d346f 372.pve-itype-icon-keyboard {
a991a203 373 background-image:url(../images/icon-keyboard.png);
131cd85a
DC
374}
375
449d346f 376.pve-itype-icon-cdrom {
ad40b4a3
TL
377 background-size: 16px;
378 background-image:url(../images/icon-cd-drive.svg);
131cd85a
DC
379}
380
449d346f 381.pve-itype-icon-display {
a991a203 382 background-image:url(../images/icon-display.png);
131cd85a
DC
383}
384
449d346f 385.pve-itype-icon-tigervnc {
131cd85a
DC
386 background-image:url(../images/tigervnc.png);
387}
388
449d346f 389.pve-itype-icon-novnc {
131cd85a
DC
390 background-image:url(../images/novnc.png);
391}
392
449d346f 393.pve-itype-icon-virt-viewer {
131cd85a
DC
394 background-image:url(../images/virt-viewer.png);
395}
396
449d346f 397.pve-itype-icon-xtermjs {
d0f7ae46
EK
398 background-image:url(../images/xtermjs.png);
399}
400
449d346f 401.pve-itype-icon-usb {
77c95181
DC
402 background-image:url(../images/icon-usb.png);
403}
5ca0c804 404
449d346f 405.pve-itype-icon-pci {
8eb6f213
DC
406 background-image:url(../images/icon-pci.png);
407}
408
449d346f 409.pve-itype-icon-serial {
7235d619
DC
410 background-size: 16px;
411 background-image:url(../images/icon-serial.svg);
412}
413
449d346f 414.pve-itype-icon-cloud {
e9a7094d
DC
415 background-size: 16px;
416 background-image:url(../images/icon-cloud.svg);
4ba4c7c6
SR
417}
418
449d346f 419.pve-itype-icon-die {
4ba4c7c6
SR
420 background-size: 16px;
421 background-image:url(../images/icon-die.svg);
e9a7094d
DC
422}
423
f9698f62
TL
424.pve-itype-icon-cpu {
425 background-size: 16px;
426 background-image:url(../images/icon-cpu.svg);
427}
428
429
64bef820
TL
430.pve-itype-icon-memory {
431 background-size: 16px;
432 background-image:url(../images/icon-memory.svg);
433}
434
3ff9bf5a
DC
435.pve-icon {
436 height: 16px;
437 background-position: bottom;
438 vertical-align: bottom;
439 padding: 0;
440}
441
5ca0c804
DC
442/* displayfield minheight is wrong */
443.x-form-display-field-default {
444 min-height: 20px;
445}
df6345f9
DC
446
447.x-button-reset:before {
448 font-size: 16px;
449}
450
451/* for resetcolumnsbutton */
452.x-button-reset:after{
453 content: "\f0e7 ";
454 position: relative;
455 text-shadow: 0 0 2px #fff;
456 left: -3px;
457 top: 2px;
458}
285403bf 459
672a6270 460.proxmox-inline-button .x-btn-inner {
285403bf
EK
461 color: black;
462}
23fd6c53
DC
463
464/* for info widget */
465div.left-aligned {
466 float: left;
467}
468
469div.right-aligned {
470 float: right;
471}
472
473.x-progress.critical .x-progress-bar{
474 background-color: #FF8888;
475}
476
477.x-progress.warning .x-progress-bar{
478 background-color: #FFCC00;
479}
9a4c279d 480
c8d72c05 481.x-treelist-pve-nav {
9a4c279d
DC
482 background-color: #f5f5f5;
483}
484
485.x-treelist-row {
486 margin-top: 5px;
487}
488
489.x-treelist-item-icon {
490 color: #000;
491 margin-left: 2px;
492}
493
494.x-treelist-item-text {
495 color: #000;
496 padding-left: 5px;
497 padding-right: 5px;
498}
499
332581a8 500.fa-ceph:before {
cc183d88
DC
501 width: 14px;
502 height: 14px;
503 position: absolute;
504 left: 1px;
505 top: 4px;
506 background-image:url(../images/logo-ceph.png);
507 background-size: 14px 14px;
508 content: ' ';
332581a8
DC
509}
510
12ae2ddd
AD
511.fa-sdn:before {
512 width: 14px;
513 height: 14px;
514 position: absolute;
515 left: 1px;
516 top: 4px;
517 background-image:url(../images/icon-sdn.svg);
518 background-size: 14px 14px;
519 content: ' ';
520}
521
522.fa-network-wired:before {
523 width: 14px;
524 height: 14px;
525 position: absolute;
526 left: 1px;
527 top: 4px;
528 background-image:url(../images/icon-fa-network-wired.svg);
529 background-size: 14px 14px;
530 content: ' ';
531}
532
9a4c279d
DC
533.x-treelist-row-over > * > .x-treelist-item-icon,
534.x-treelist-row-over > * > .x-treelist-item-text{
535 color: #000;
536}
ce11a8af 537
195c7c8c
DC
538/* for the ceph monitor widgets */
539div.monitor {
540 text-align:left;
541 border:#cfcfcf solid 1px;
542 border-radius:2px;
543 margin: 2px;
544 padding: 5px 8px;
545}
546
547/* for auto layout */
548div.inline-block {
549 display: inline-block;
550 vertical-align: top;
551}
552
553/* ceph dashboard osd table styling */
554table.osds {
555 border-collapse: collapse;
556 margin: auto;
557}
558
559table.osds td {
560 padding: 4px;
561 text-align: right;
562 border-right: 1px solid #cfcfcf;
563}
564
565table.osds td:last-of-type {
566 border-right: 0;
567}
568
569table.osds tr {
570 border-bottom: 1px solid #cfcfcf;
571}
572
573table.osds tr:last-of-type {
574 border-bottom: 0;
575}
576
577table.osds td:first-of-type {
578 text-align: left;
579}
580
c359b437
DC
581.pointer {
582 cursor: pointer;
583}
33739115 584
1cc7c672
SR
585.cursor-move {
586 cursor: move;
587}
588
da5fb609 589.x-grid-filters-filtered-column {
33739115
DC
590 font-style: italic;
591 font-weight: bold;
592}
7553d760 593
da5fb609
TL
594.x-grid-filters-filtered-column .x-column-header-text:after {
595 font: normal normal normal 14px/1 FontAwesome;
596 text-rendering: auto;
597 -webkit-font-smoothing: antialiased;
598 -moz-osx-font-smoothing: grayscale;
599 content: " \f0b0 ";
600 color: #555;
ca0f293f
TL
601 float: right;
602 padding-right: 1em;
da5fb609
TL
603}
604
3ab7e0ec 605.proxmox-invalid-row {
c0f75e23
DC
606 background-color: #f3d6d7;
607}
9058a478
DC
608
609.pve-static-mask div.x-mask-msg-text {
610 padding: 10px;
611 background-image: none;
612}
d0b1e570 613
df22311b
TL
614.pve-toolbar-bg {
615 background-color: #f5f5f5;
616}
617
d0b1e570 618.x-fa {
8874fcb5 619 display: inline-block;
d0b1e570
DC
620 font: normal normal normal 14px/1 FontAwesome;
621 text-rendering: auto;
622 -webkit-font-smoothing: antialiased;
623 -moz-osx-font-smoothing: grayscale;
624}
a19652db
DC
625
626.usage-wrapper {
627 margin-left: -7px;
628 vertical-align: text-bottom;
629 display: inline-block;
630 width: 8px;
631 height: 1.2em;
632 border: 1px solid #555;
633 border-radius: 1px;
634 padding: 1px;
635}
636
637.usage-negative {
638 left: 0px;
639 right:0px;
640}
641
642.usage {
643 left: 0px;
644 right: 0px;
645 background-color: #555;
646}
4616a55b
TM
647
648.install-mask {
649 background-color: rgb(245, 245, 245);
650 color: #000;
9ba642dd 651}