summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Steiner <jimmac@gmail.com>2020-08-17 13:18:07 +0200
committerJakub Steiner <jimmac@gmail.com>2020-08-31 11:21:57 +0200
commit2f0a4c7128ac31541c830b7ed223ce6417964bff (patch)
tree34dbf599ad33a393f434628c6b434926a9beb998
parente64b08ab90605b8c1543d825d20bf558a5485f5f (diff)
downloadgtk+-2f0a4c7128ac31541c830b7ed223ce6417964bff.tar.gz
Adwaita: rich-list styling
FIXME: why is the second list in Demo>List Box>Controls taller?
-rw-r--r--gtk/theme/Adwaita/_common.scss9
1 files changed, 9 insertions, 0 deletions
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;