]> git.proxmox.com Git - proxmox-widget-toolkit.git/commitdiff
css: add css changes for treelist
authorDominik Csapak <d.csapak@proxmox.com>
Wed, 26 May 2021 08:58:32 +0000 (10:58 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 27 May 2021 11:37:36 +0000 (13:37 +0200)
add a new class 'x-treelist-pve-nav' so that we can use
ui: 'pve-nav'
instead of
ui: 'nav'
which has some default styling we do not want

also overwrite the font to FontAwesome
(extjs 7.0 uses 'FontAwesome 5 Free' which we do not ship)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
src/css/ext6-pmx.css

index 97e5018f5f9f4f943b42210ae1f7a406adc2d397..7cedaa9f0cb39891e81e64560cbdd1e71ce0eb04 100644 (file)
@@ -112,3 +112,13 @@ div.right-aligned {
 {
     background-image:url(../images/icon-cpu.png);
 }
+
+/* change font for config panel back to fontawesome */
+.x-treelist-item-expanded > * > * > .x-treelist-item-expander::after,
+.x-treelist-item-expander::after {
+    font: 16px/1 FontAwesome;
+}
+
+.x-treelist-pve-nav {
+    background-color: #f5f5f5;
+}