[nautilus/wip/antoniof/new-pathbar: 39/43] pathbar: Fade overlow




commit e1c7e8b522df8121cc74c2bdd84b4596e8c5a26f
Author: António Fernandes <antoniof gnome org>
Date:   Sat Nov 27 17:29:04 2021 +0000

    pathbar: Fade overlow

 src/resources/css/Adwaita.css | 7 +++++++
 1 file changed, 7 insertions(+)
---
diff --git a/src/resources/css/Adwaita.css b/src/resources/css/Adwaita.css
index ff0e48d9f..c9b276282 100644
--- a/src/resources/css/Adwaita.css
+++ b/src/resources/css/Adwaita.css
@@ -62,6 +62,13 @@
   border-right-width: 0px;
   background-color: @theme_bg_color;
 }
+.path-bar-box scrolledwindow undershoot.left {
+  border-radius: 5px 0px 0px 5px;
+  background: linear-gradient(to right, @theme_bg_color 6px, alpha(@theme_bg_color, 0) 24px);
+}
+.path-bar-box scrolledwindow undershoot.right {
+  background: linear-gradient(to left, @theme_bg_color 6px, alpha(@theme_bg_color, 0) 24px);
+}
 
 .nautilus-path-bar > button,
 .path-buttons-box button {


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