[gtk: 1/3] Adwaita: rich-list styling




commit 2f0a4c7128ac31541c830b7ed223ce6417964bff
Author: Jakub Steiner <jimmac gmail com>
Date:   Mon Aug 17 13:18:07 2020 +0200

    Adwaita: rich-list styling
    
    FIXME: why is the second list in Demo>List Box>Controls taller?

 gtk/theme/Adwaita/_common.scss | 9 +++++++++
 1 file changed, 9 insertions(+)
---
diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss
index 45c62efe8a..7543fa754b 100644
--- a/gtk/theme/Adwaita/_common.scss
+++ b/gtk/theme/Adwaita/_common.scss
@@ -3096,6 +3096,15 @@ list  {
   }
 }
 
+.rich-list { /* rich lists usually containing other widgets than just labels/text */
+  & > row {
+    padding: 6px;
+    & > box {
+      margin: 12px;
+    }
+  }
+}
+
 row {
   transition: all 150ms $ease-out-quad;
 


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