[pve-devel] [PATCH widget-toolkit 3/4] dark-mode: style the icon for the maintenance mode in pbs

Stefan Sterz s.sterz at proxmox.com
Wed Apr 5 10:08:04 CEST 2023


Signed-off-by: Stefan Sterz <s.sterz at proxmox.com>
---
 src/proxmox-dark/scss/other/_icons.scss | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/src/proxmox-dark/scss/other/_icons.scss b/src/proxmox-dark/scss/other/_icons.scss
index df81969..d4dc316 100644
--- a/src/proxmox-dark/scss/other/_icons.scss
+++ b/src/proxmox-dark/scss/other/_icons.scss
@@ -156,6 +156,20 @@
   }
 }
 
+.pmx-tree-icon-custom {
+  &::after {
+    text-shadow: -1px 0 1px $background-darker;
+  }
+
+  &.maintenance::before {
+    color: $icon-color-alt;
+  }
+
+  &.maintenance::after {
+    color: $icon-color;
+  }
+}
+
 // icons for templates in the storages view
 .x-treelist-item-icon {
   &.lxc::after,
-- 
2.30.2






More information about the pve-devel mailing list