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