changeset 78:d71147e95c97

Make Nautilus path bar changes only apply to new bar This allows us to keep the same CSS for GTK 3.20+ and at least Gnome 3.22+
author IBBoard <dev@ibboard.co.uk>
date Sat, 27 Oct 2018 16:36:18 +0100
parents 84a6e9aa7c8f
children e5535c7832a7
files gtk-3.20/nautilus.css
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/gtk-3.20/nautilus.css	Sat Oct 27 14:07:41 2018 +0100
+++ b/gtk-3.20/nautilus.css	Sat Oct 27 16:36:18 2018 +0100
@@ -67,10 +67,10 @@
   padding: 4px;
 }
 
-/* Path bar */
+/* New style path bar */
 
-.nautilus-window .path-bar button, .nautilus-window .path-bar button:checked, .nautilus-window .path-bar button:active, .nautilus-window .path-bar button:hover,
-.nautilus-window .path-bar button:backdrop, .nautilus-window .path-bar button:backdrop:checked, .nautilus-window .path-bar button:backdrop:active, .nautilus-window .path-bar button:backdrop:hover
+.nautilus-window .path-bar:not(.linked) button, .nautilus-window .path-bar:not(.linked) button:checked, .nautilus-window .path-bar:not(.linked) button:active, .nautilus-window .path-bar:not(.linked) button:hover,
+.nautilus-window .path-bar:not(.linked) button:backdrop, .nautilus-window .path-bar:not(.linked) button:backdrop:checked, .nautilus-window .path-bar:not(.linked) button:backdrop:active, .nautilus-window .path-bar:not(.linked) button:backdrop:hover
  { /* undecorate the buttons */
   background-image: none;
   background-color: transparent;
@@ -80,9 +80,9 @@
   box-shadow: none;
 }
 
-.nautilus-window .path-bar button:not(:checked) image { opacity: 0.8; } /* dim the icon when not checked */
+.nautilus-window .path-bar:not(.linked) button:not(:checked) image { opacity: 0.8; } /* dim the icon when not checked */
 
-.nautilus-window .path-bar button:not(:backdrop):hover { box-shadow: inset 0 -3px @borders; }
+.nautilus-window .path-bar:not(.linked) button:not(:backdrop):hover { box-shadow: inset 0 -3px @borders; }
 
 .nautilus-window .path-bar-box {
   transition: border 200ms;