[nautilus/wip/antoniof/new-pathbar: 23/28] pathbar: Fade overlow




commit 97a6d3178ea813bb5e42ed918df15b00447c168f
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 a9ab269c7..448c2cade 100644
--- a/src/resources/css/Adwaita.css
+++ b/src/resources/css/Adwaita.css
@@ -60,6 +60,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]