From e1ed9f10c6b37badc3d99fd349d75f4c43e53d37 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Tue, 11 Apr 2023 04:46:24 +0200 Subject: [PATCH] theme: Add some random CSS for section headers --- gtk/theme/Default/_common.scss | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/gtk/theme/Default/_common.scss b/gtk/theme/Default/_common.scss index 33b7172914..231600ecf8 100644 --- a/gtk/theme/Default/_common.scss +++ b/gtk/theme/Default/_common.scss @@ -3377,7 +3377,7 @@ columnview row:not(:selected) cell editablelabel.editing text selection { .rich-list { /* rich lists usually containing other widgets than just labels/text */ - & > row { + & > row, & > header { padding: 8px 12px; min-height: 32px; /* should be tall even when only containing a label */ @@ -3385,6 +3385,14 @@ columnview row:not(:selected) cell editablelabel.editing text selection { border-spacing: 12px; } } + & > header { + @extend %osd; + background-color: $osd_bg_color; + + border-bottom: 1px solid $borders-color; + border-top: 1px solid $borders-color; + font-weight: bold; + } } /******************************************************** -- 2.30.2