]> git.proxmox.com Git - pve-manager.git/blobdiff - www/css/ext6-pve.css
ui: panel/ConfigPanel: change ui class to pve-nav
[pve-manager.git] / www / css / ext6-pve.css
index 29478930476566ac29d93d1228b23ddd7b2f59d9..0bad29adef3d05b770bdf8e436d365b7fdd050d4 100644 (file)
 }
 
 /* yellow ! triangle */
+.x-tree-icon-custom.pending:after,
+.x-grid-icon-custom.pending:after,
 .x-tree-icon-custom.io-error:after,
 .x-grid-icon-custom.io-error:after,
 .x-tree-icon-custom.internal-error:after,
 }
 
 /* the red x */
+.x-tree-icon-custom.error:after,
+.x-grid-icon-custom.error:after,
 .x-tree-icon-custom.offline:after,
 .x-grid-icon-custom.offline:after,
 .x-tree-icon-custom.ha-error:after,
     color: #CC1800;
 }
 
+/*
+ * using background-image doesn't work for treelist-items, so use content. See:
+ * https://forum.sencha.com/forum/showthread.php?339656-extjs-6-treelist-custom-iconcls-can-not-working
+ */
+.pve-itype-treelist-item-icon-cdrom {
+    top: 50%;
+    transform: translateY(-50%);
+    content: url(../images/icon-cd.png);
+}
+
 /* the lxc template */
 .x-tree-icon-custom.lxc:after,
 .x-grid-icon-custom.lxc:after {
     background: #fff;
 }
 
+.x-treelist-item-icon.lxc:after {
+    content: "\f1b2";
+    background: #fff;
+    font-size: 0.75em;
+    margin-left: -25%;
+}
+
 /* the qemu template */
 .x-tree-icon-custom.qemu:after,
 .x-grid-icon-custom.qemu:after {
 }
 
 /* fixes background on mouseover and selected items */
+.x-treelist-item-over .lxc:after,
 .x-grid-item-over .qemu:after,
 .x-grid-item-over .lxc:after {
     background-color: #e2eff9;
     text-shadow: -1px 0px 2px #e2eff9;
 }
 
+.x-treelist-item-selected .lxc:after,
 .x-grid-item-selected .qemu:after,
 .x-grid-item-selected .lxc:after {
     background-color: #c2ddf2;
 .pve-itype-icon-novnc,
 .pve-itype-icon-xtermjs,
 .pve-itype-icon-display,
-.pve-itype-icon-memory,
-.pve-itype-icon-processor,
 .pve-itype-icon-network,
 .pve-itype-icon-network-server,
 .pve-itype-icon-keyboard,
     background-image:url(../images/icon-cd.png);
 }
 
-.pve-itype-icon-memory
-{
-    background-image:url(../images/icon-ram.png);
-}
-
-.pve-itype-icon-processor
-{
-    background-image:url(../images/icon-cpu.png);
-}
-
 .pve-itype-icon-display
 {
     background-image:url(../images/icon-display.png);
@@ -475,7 +486,7 @@ div.right-aligned {
     background-color: #FFCC00;
 }
 
-.x-treelist-nav {
+.x-treelist-pve-nav {
     background-color: #f5f5f5;
 }
 
@@ -505,34 +516,31 @@ div.right-aligned {
     content: ' ';
 }
 
-.x-treelist-row-over > * > .x-treelist-item-icon,
-.x-treelist-row-over > * > .x-treelist-item-text{
-    color: #000;
-}
-
-/* some icons have to be color manually */
-.black {
-    color: #000;
-}
-
-.normal {
-    color: #c2ddf2;
-}
-
-.faded {
-    color: #cfcfcf;
-}
-
-.good {
-    color: #21BF4B;
+.fa-sdn:before {
+    width: 14px;
+    height: 14px;
+    position: absolute;
+    left: 1px;
+    top: 4px;
+    background-image:url(../images/icon-sdn.svg);
+    background-size: 14px 14px;
+    content: ' ';
 }
 
-.warning {
-    color: #fc0;
+.fa-network-wired:before {
+    width: 14px;
+    height: 14px;
+    position: absolute;
+    left: 1px;
+    top: 4px;
+    background-image:url(../images/icon-fa-network-wired.svg);
+    background-size: 14px 14px;
+    content: ' ';
 }
 
-.critical {
-    color: #FF6C59;
+.x-treelist-row-over > * > .x-treelist-item-icon,
+.x-treelist-row-over > * > .x-treelist-item-text{
+    color: #000;
 }
 
 /* for the ceph monitor widgets */
@@ -582,6 +590,10 @@ table.osds td:first-of-type {
     cursor: pointer;
 }
 
+.cursor-move {
+    cursor: move;
+}
+
 .x-grid-filters-filtered-column {
     font-style: italic;
     font-weight: bold;
@@ -594,6 +606,8 @@ table.osds td:first-of-type {
     -moz-osx-font-smoothing: grayscale;
     content: " \f0b0 ";
     color: #555;
+    float: right;
+    padding-right: 1em;
 }
 
 .proxmox-invalid-row {
@@ -605,6 +619,10 @@ table.osds td:first-of-type {
     background-image: none;
 }
 
+.pve-toolbar-bg {
+    background-color: #f5f5f5;
+}
+
 .x-fa {
     diplay: inline-block;
     font: normal normal normal 14px/1 FontAwesome;