[pve-devel] [PATCH widget-toolkit 04/11] css: add css changes for treelist

Dominik Csapak d.csapak at proxmox.com
Wed May 26 10:58:32 CEST 2021


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 at proxmox.com>
---
 src/css/ext6-pmx.css | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/src/css/ext6-pmx.css b/src/css/ext6-pmx.css
index 97e5018..7cedaa9 100644
--- a/src/css/ext6-pmx.css
+++ b/src/css/ext6-pmx.css
@@ -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;
+}
-- 
2.20.1






More information about the pve-devel mailing list