[nautilus/wip/antoniof/gnome-41-highcontrast: 2/2] css: Add backdrop style for pathbar




commit 6c3ad30e6ac40084842211d71ecd5836148c8348
Author: António Fernandes <antoniof gnome org>
Date:   Thu Mar 17 22:54:27 2022 +0000

    css: Add backdrop style for pathbar
    
    The difference between @borders and @unfocused_borders colors is barely
    noticeable with the regular stylesheet, but marked with high contrast.
    The same is true for @theme_bg_color vs. @theme_unfocused_bg_color.
    
    So, under the Adwaita spreadsheet, this change is barely noticeable,
    despite being correct and indeed a bugfix.
    
    The main purpose of this patch is to improve HighContrast support.

 src/resources/css/Adwaita.css | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/src/resources/css/Adwaita.css b/src/resources/css/Adwaita.css
index 68c3e424c..04febdfd0 100644
--- a/src/resources/css/Adwaita.css
+++ b/src/resources/css/Adwaita.css
@@ -55,6 +55,10 @@
   background-color: @theme_bg_color;
   padding-right: 6px;
 }
+.path-bar-box:backdrop {
+  background-color: @theme_unfocused_bg_color;
+  border-color: @unfocused_borders;
+}
 
 .nautilus-path-bar button {
   margin: 0px;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]