Gtk-4: Fix missing separator in lists rows

This commit is contained in:
EliverLara
2021-12-05 14:15:32 -06:00
parent 0aa0ad8703
commit 7ef050bece
3 changed files with 22 additions and 5 deletions

View File

@@ -2677,13 +2677,17 @@ button:visited {
/*********
* Lists *
*********/
list {
list, listview {
color: #C3C7D1;
background-color: #181b28;
border-color: rgba(12, 14, 21, 0.8); }
list:backdrop {
list:backdrop, listview:backdrop {
background-color: #1a1d2b;
border-color: rgba(13, 16, 23, 0.82); }
list.horizontal row.separator, list.separators.horizontal > row:not(.separator), listview.horizontal row.separator, listview.separators.horizontal > row:not(.separator) {
border-left: 1px solid rgba(12, 14, 21, 0.8); }
list:not(.horizontal) row.separator, list.separators:not(.horizontal) > row:not(.separator), listview:not(.horizontal) row.separator, listview.separators:not(.horizontal) > row:not(.separator) {
border-bottom: 1px solid rgba(12, 14, 21, 0.8); }
row {
padding: 5px 11px;

View File

@@ -2677,13 +2677,17 @@ button:visited {
/*********
* Lists *
*********/
list {
list, listview {
color: #C3C7D1;
background-color: #181b28;
border-color: rgba(12, 14, 21, 0.8); }
list:backdrop {
list:backdrop, listview:backdrop {
background-color: #1a1d2b;
border-color: rgba(13, 16, 23, 0.82); }
list.horizontal row.separator, list.separators.horizontal > row:not(.separator), listview.horizontal row.separator, listview.separators.horizontal > row:not(.separator) {
border-left: 1px solid rgba(12, 14, 21, 0.8); }
list:not(.horizontal) row.separator, list.separators:not(.horizontal) > row:not(.separator), listview:not(.horizontal) row.separator, listview.separators:not(.horizontal) > row:not(.separator) {
border-bottom: 1px solid rgba(12, 14, 21, 0.8); }
row {
padding: 5px 11px;

View File

@@ -1,7 +1,7 @@
/*********
* Lists *
*********/
list {
list, listview {
color: $text_color;
background-color: $base_color;
border-color: $borders_color;
@@ -10,6 +10,15 @@ list {
background-color: $backdrop_base_color;
border-color: $backdrop_borders_color;
}
&.horizontal row.separator,
&.separators.horizontal > row:not(.separator) {
border-left: 1px solid $borders_color;
}
&:not(.horizontal) row.separator,
&.separators:not(.horizontal) > row:not(.separator) {
border-bottom: 1px solid $borders_color;
}
}
row {