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




commit 5e9057f4bf1e9405b2c3dd0dcc5081a5fc94d0e2
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]