[nautilus/ux-review-3.29.90: 4/12] pathbar: Remove highlight for current selected location



commit 4f549150a6dcd7c3ce60f0aec3db861e4224108b
Author: Carlos Soriano <csoriano redhat com>
Date:   Wed Jul 25 13:23:59 2018 +0200

    pathbar: Remove highlight for current selected location
    
    Since the current location is always the last one, there is no need
    to highlight it.
    
    Related: https://gitlab.gnome.org/GNOME/nautilus/issues/548

 src/resources/css/Adwaita.css | 11 +----------
 1 file changed, 1 insertion(+), 10 deletions(-)
---
diff --git a/src/resources/css/Adwaita.css b/src/resources/css/Adwaita.css
index f41854302..4276533db 100644
--- a/src/resources/css/Adwaita.css
+++ b/src/resources/css/Adwaita.css
@@ -66,16 +66,7 @@
 
 .path-bar button:not(:checked) image { opacity: 0.8; } /* dim the icon when not checked */
 
-.path-bar button:not(:checked) { /* Undecorate unchecked highlight */
-    box-shadow:none;
-}
-
-.path-bar button:not(.slider-button):not(:backdrop):hover > * { box-shadow: 0 3px @borders; }
-
-.path-bar button:not(.slider-button):not(:backdrop):checked > *,
-.path-bar button.text-button:not(.slider-button):backdrop:checked > * {
-  box-shadow: 0 3px @theme_selected_bg_color;
-}
+.path-bar button:not(:backdrop):hover > * { box-shadow: 0 3px @borders; }
 
 .path-bar-box {
   border: 1px @borders solid;


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