]> 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 d40b42372ec65905c5f46396d918466d51302c09..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,
 .pve-itype-icon-usb,
 .pve-itype-icon-serial,
 .pve-itype-icon-cloud,
-.pve-itype-icon-pci
+.pve-itype-icon-pci,
+.pve-itype-icon-die
 {
     background-repeat: no-repeat;
     background-position:3px center;
     padding-left: 20px;
 }
 
+/* fix alignment for VM hardware add menu */
+.pve-add-hw-menu .x-menu-item-icon:not(.fa) {
+    left: 1px;
+}
+
 .pve-itype-fa > .x-grid-cell-inner{
     padding-left: 3px;
 }
     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);
     background-image:url(../images/icon-cloud.svg);
 }
 
+.pve-itype-icon-die
+{
+    background-size: 16px;
+    background-image:url(../images/icon-die.svg);
+}
+
 .pve-icon {
     height: 16px;
     background-position: bottom;
@@ -463,7 +486,7 @@ div.right-aligned {
     background-color: #FFCC00;
 }
 
-.x-treelist-nav {
+.x-treelist-pve-nav {
     background-color: #f5f5f5;
 }
 
@@ -493,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 */
@@ -570,11 +590,26 @@ table.osds td:first-of-type {
     cursor: pointer;
 }
 
-.x-grid-filters-filtered-column{
+.cursor-move {
+    cursor: move;
+}
+
+.x-grid-filters-filtered-column {
     font-style: italic;
     font-weight: bold;
 }
 
+.x-grid-filters-filtered-column .x-column-header-text:after {
+    font: normal normal normal 14px/1 FontAwesome;
+    text-rendering: auto;
+    -webkit-font-smoothing: antialiased;
+    -moz-osx-font-smoothing: grayscale;
+    content: " \f0b0 ";
+    color: #555;
+    float: right;
+    padding-right: 1em;
+}
+
 .proxmox-invalid-row {
     background-color: #f3d6d7;
 }
@@ -584,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;