[gtk/list-widget-styles: 2/2] Adwaita: Make gridview styling match flowbox



commit cc5474301a72c2bade945c623ba85c7ccee8a197
Author: Matthias Clasen <mclasen redhat com>
Date:   Thu Jun 4 08:50:23 2020 -0400

    Adwaita: Make gridview styling match flowbox

 gtk/theme/Adwaita/_common.scss | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
---
diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss
index 7314efa8d2..b30e0e28a3 100644
--- a/gtk/theme/Adwaita/_common.scss
+++ b/gtk/theme/Adwaita/_common.scss
@@ -123,6 +123,23 @@ flowbox {
   }
 }
 
+gridview {
+  > rubberband { @extend rubberband; }
+
+  > child {
+    padding: 3px;
+    transition: $focus_transition;
+
+    @include focus-ring();
+
+    &:selected {
+      outline-color: $alt_focus_border_color;
+
+      @extend %selected_items;
+    }
+  }
+}
+
 coverflow cover {
   color: $text_color;
   background-color: $base_color;


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