[gtk/listbox-separators: 2/3] Adwaita: Implement list separators
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/listbox-separators: 2/3] Adwaita: Implement list separators
- Date: Sat, 13 Apr 2019 00:27:12 +0000 (UTC)
commit 4551aef081a467c8832d969324cfd3724e4bc0a9
Author: Matthias Clasen <mclasen redhat com>
Date: Fri Apr 12 20:25:16 2019 -0400
Adwaita: Implement list separators
Just put a top border on every row.
gtk/theme/Adwaita/_common.scss | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss
index dfc6862606..e8f2409442 100644
--- a/gtk/theme/Adwaita/_common.scss
+++ b/gtk/theme/Adwaita/_common.scss
@@ -3715,6 +3715,10 @@ list {
row { padding: 2px; }
row.expander { padding: 0px; }
row.expander .row-header { padding: 2px; }
+
+ &.separators row:not(:first-child) {
+ border-top: 1px solid $borders_color;
+ }
}
row {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]