Commit 0e19baf3 authored by Adrien Plazas's avatar Adrien Plazas

adwaita: Fix nested list bottom rounding

Fixes #271.
parent b61eefde
Pipeline #55424 passed with stages
in 24 minutes and 42 seconds
......@@ -165,7 +165,7 @@ list.preferences > row:first-child, list.preferences > row.expander:first-child
list.preferences > row:last-child, list.preferences > row.checked-expander-row-previous-sibling, list.preferences > row.expander:checked { border-width: 1px; }
list.preferences > row:last-child, list.preferences > row.checked-expander-row-previous-sibling, list.preferences > row.expander:checked, list.preferences > row.expander:not(:checked):last-child row.header, list.preferences > row.expander:not(:checked).checked-expander-row-previous-sibling row.header, list.preferences > row.expander.empty:checked row.header, list.preferences > row row.expander list.nested > row:last-child { border-bottom-left-radius: 8px; -gtk-outline-bottom-left-radius: 7px; border-bottom-right-radius: 8px; -gtk-outline-bottom-right-radius: 7px; }
list.preferences > row:last-child, list.preferences > row.checked-expander-row-previous-sibling, list.preferences > row.expander:checked, list.preferences > row.expander:not(:checked):last-child row.header, list.preferences > row.expander:not(:checked).checked-expander-row-previous-sibling row.header, list.preferences > row.expander.empty:checked row.header, list.preferences > row.expander list.nested > row:last-child { border-bottom-left-radius: 8px; -gtk-outline-bottom-left-radius: 7px; border-bottom-right-radius: 8px; -gtk-outline-bottom-right-radius: 7px; }
list.preferences > row.expander:checked:not(:first-child), list.preferences > row.expander:checked + row { margin-top: 6px; }
......
......@@ -165,7 +165,7 @@ list.preferences > row:first-child, list.preferences > row.expander:first-child
list.preferences > row:last-child, list.preferences > row.checked-expander-row-previous-sibling, list.preferences > row.expander:checked { border-width: 1px; }
list.preferences > row:last-child, list.preferences > row.checked-expander-row-previous-sibling, list.preferences > row.expander:checked, list.preferences > row.expander:not(:checked):last-child row.header, list.preferences > row.expander:not(:checked).checked-expander-row-previous-sibling row.header, list.preferences > row.expander.empty:checked row.header, list.preferences > row row.expander list.nested > row:last-child { border-bottom-left-radius: 8px; -gtk-outline-bottom-left-radius: 7px; border-bottom-right-radius: 8px; -gtk-outline-bottom-right-radius: 7px; }
list.preferences > row:last-child, list.preferences > row.checked-expander-row-previous-sibling, list.preferences > row.expander:checked, list.preferences > row.expander:not(:checked):last-child row.header, list.preferences > row.expander:not(:checked).checked-expander-row-previous-sibling row.header, list.preferences > row.expander.empty:checked row.header, list.preferences > row.expander list.nested > row:last-child { border-bottom-left-radius: 8px; -gtk-outline-bottom-left-radius: 7px; border-bottom-right-radius: 8px; -gtk-outline-bottom-right-radius: 7px; }
list.preferences > row.expander:checked:not(:first-child), list.preferences > row.expander:checked + row { margin-top: 6px; }
......
......@@ -282,7 +282,7 @@ list.preferences {
&.expander:not(:checked):last-child row.header,
&.expander:not(:checked).checked-expander-row-previous-sibling row.header,
&.expander.empty:checked row.header,
row.expander list.nested > row:last-child {
&.expander list.nested > row:last-child {
@include rounded-border(bottom);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment