[pve-devel] [PATCH widget-toolkit 3/3] dark-mode: style checkboxes that don't use blueish active states

Stefan Sterz s.sterz at proxmox.com
Wed Mar 22 12:08:00 CET 2023


e.g., in the backup job creation window the filter column checkmark

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

diff --git a/src/proxmox-dark/scss/other/_icons.scss b/src/proxmox-dark/scss/other/_icons.scss
index aa36b54..d492e2e 100644
--- a/src/proxmox-dark/scss/other/_icons.scss
+++ b/src/proxmox-dark/scss/other/_icons.scss
@@ -108,7 +108,10 @@
 .x-form-checkbox-default,
 .x-form-radio-default,
 .x-column-header-checkbox .x-column-header-checkbox::after,
-.x-grid-checkcolumn::after {
+.x-grid-checkcolumn::after,
+// checkboxes without the extra "blueish" active states
+.x-menu-item-checked .x-menu-item-icon-default.x-menu-item-checkbox,
+.x-menu-item-unchecked .x-menu-item-icon-default.x-menu-item-checkbox {
   filter: invert($icon-brightness) hue-rotate(180deg) brightness(125%);
 }
 
-- 
2.30.2






More information about the pve-devel mailing list