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




commit b49fd472766ef5c590f13ad3923e1c996988cbb6
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 3f7626e7a7..2c30614560 100644
--- a/gtk/theme/Adwaita/_common.scss
+++ b/gtk/theme/Adwaita/_common.scss
@@ -3410,6 +3410,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]