[gtk/list-styles: 8/8] Adwaita: Fix hover in navigation sidebars




commit 287c63301b7fca3920b27322449882da3c8ee3da
Author: Matthias Clasen <mclasen redhat com>
Date:   Sun Aug 9 10:29:39 2020 -0400

    Adwaita: Fix hover in navigation sidebars
    
    The placessidebar gets this from somewhere else, but
    it wasn't working in the gtk-demo sidebar, so add it
    explicitly. placessidebar specific styles should be
    dropped from Adwaita as much as possible, but not
    doing that here.

 gtk/theme/Adwaita/_common.scss | 5 +++++
 1 file changed, 5 insertions(+)
---
diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss
index 5622f4dc76..db634af5af 100644
--- a/gtk/theme/Adwaita/_common.scss
+++ b/gtk/theme/Adwaita/_common.scss
@@ -3406,6 +3406,11 @@ placessidebar, .navigation-sidebar {
       }
     }
 
+    &:hover {
+      color: $fg_color;
+      background-color: $menu_selected_color;
+    }
+
     &:disabled { color: $insensitive_fg_color; }
 
     image.sidebar-icon {


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