# HG changeset patch # User IBBoard # Date 1540654578 -3600 # Node ID d71147e95c97fdc06a1ff405aedcbf0cbbf7746a # Parent 84a6e9aa7c8f621a755b8ad0999e20b66ec2c26f 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+ diff -r 84a6e9aa7c8f -r d71147e95c97 gtk-3.20/nautilus.css --- 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;