[gtk/wip/jimmac/unified-sidebar-styles] Adwaita: unified sidebar styles




commit 35381f8d56ab163091fb5a48c7515b5578db4615
Author: Jakub Steiner <jimmac gmail com>
Date:   Fri Nov 20 11:26:13 2020 +0100

    Adwaita: unified sidebar styles
    
    - stacksidebar
    
    Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/3382

 gtk/theme/Adwaita/_common.scss | 11 +++++++++++
 1 file changed, 11 insertions(+)
---
diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss
index 09b43d09df..6bdd67cd22 100644
--- a/gtk/theme/Adwaita/_common.scss
+++ b/gtk/theme/Adwaita/_common.scss
@@ -3562,8 +3562,10 @@ filechooserbutton:drop(active) {
 }
 
 stacksidebar {
+
   row {
     padding: 10px 4px;
+    border-width: 0;
 
     > label {
       padding-left: 6px;
@@ -3575,6 +3577,15 @@ stacksidebar {
 
       background-size: 6px 6px, 0 0;
     }
+
+    &:selected {
+      background-color: $menu_selected_color;
+      border-radius: $menu_radius;
+      color: $fg_color;
+    }
+    &:selected:hover:dir(ltr), &:selected:hover:dir(rtl) {
+      background-color: darken($menu_selected_color,5%);
+    }
   }
 }
 


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