[nautilus/antoniof/hide-path-border-on-small-windows: 7/8] css: Add background color to path-bar-box



commit 78456f945fead35e94493159e32dee550ff53133
Author: António Fernandes <antoniof gnome org>
Date:   Fri Aug 3 13:00:12 2018 +0100

    css: Add background color to path-bar-box
    
    The bare outline around the pathbar feels unfinished.
    
    So, fill the area with the theme's background color.
    
    Related to https://gitlab.gnome.org/GNOME/nautilus/issues/548

 src/resources/css/Adwaita.css | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/src/resources/css/Adwaita.css b/src/resources/css/Adwaita.css
index 635fe5795..119d019a4 100644
--- a/src/resources/css/Adwaita.css
+++ b/src/resources/css/Adwaita.css
@@ -70,11 +70,15 @@
 
 .path-bar-box {
   transition: border 200ms;
+  transition: background-color 200ms;
 }
 .path-bar-box.width-maximized {
   border: 1px @borders solid;
   border-radius: 3px;
 }
+.path-bar-box.width-maximized:not(:backdrop) {
+  background-color: @theme_bg_color;
+}
 
 /* Make the tags fit into the box */
 entry.search > * {
@@ -220,4 +224,3 @@ flowboxchild:selected > .icon-item-background {
   border-width:0px;
   border-radius:4px 4px 4px 4px;
 }
-


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