]> git.proxmox.com Git - proxmox-widget-toolkit.git/commitdiff
fix #4617: dark-mode: increase brightness of tree arrows
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Sun, 26 Mar 2023 15:51:26 +0000 (17:51 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Sun, 26 Mar 2023 15:51:51 +0000 (17:51 +0200)
Increase brightness of tree expand/collapse arrows to avoid overly
low contrast

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/proxmox-dark/scss/other/_icons.scss

index 9aef5112ab3d34420265660177b00d611ce02c0a..691ea75d42e4ba8dd01fb0504f59f3034f4ee597 100644 (file)
   filter: none;
 }
 
+/* a bit of a hack, but otherwise the expanders and collapsers are barely visible */
+.x-tree-arrows .x-tree-expander {
+    filter: brightness(200%);
+}
+.x-tree-arrows .x-tree-expander-over .x-tree-expander {
+    filter: brightness(0);
+}
+
 // checkboxes and radio buttons
 .x-form-checkbox-default,
 .x-form-radio-default,