[pve-devel] [PATCH widget-toolkit 1/6] dark-theme: fix summary row background

Stefan Sterz s.sterz at proxmox.com
Fri Mar 10 14:08:32 CET 2023


previously an "!important" was missing from the `background-color`
property. this meant that the background color wasn't properly
overridden. the "!important" is necessary as it is also used in the
light theme.

Signed-off-by: Stefan Sterz <s.sterz at proxmox.com>
---
 src/proxmox-dark/scss/extjs/_grid.scss | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/proxmox-dark/scss/extjs/_grid.scss b/src/proxmox-dark/scss/extjs/_grid.scss
index 77872b0..3719fdc 100644
--- a/src/proxmox-dark/scss/extjs/_grid.scss
+++ b/src/proxmox-dark/scss/extjs/_grid.scss
@@ -96,8 +96,10 @@
   .x-grid-cell,
   .x-grid-rowwrap,
   .x-grid-cell-rowbody {
+    // the "!important" is needed here, because crisp also sets this
+    // as important
+    background-color: $background-darker !important;
     border-color: $border-color-alt;
-    background-color: $background-darker;
   }
 }
 
-- 
2.30.2






More information about the pve-devel mailing list