Skip to content

Commit 8725a2c

Browse files
authored
Sidebars: add support for Adw.NavigationSplitView (#1327)
* Sidebars: add support for Adw.NavigationSplitView * Update stylesheet.appdata.xml.in
1 parent a460315 commit 8725a2c

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

data/stylesheet.appdata.xml.in

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,12 @@
2424

2525
<releases>
2626
<release version="8.2.2" date="2025-07-07" urgency="medium">
27+
<description>
28+
<p>Improve support for LibAdwaita widgets:</p>
29+
<ul>
30+
<li>Add Adw.NavigationSplitView styles</li>
31+
</ul>
32+
</description>
2733
<issues>
2834
<issue url="https://github.com/elementary/stylesheet/issues/1244">The primary text in Granite.HeaderLabel misaligned when placed in Gtk.Popover</issue>
2935
</issues>

src/gtk-4.0/widgets/_sidebars.scss

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
}
1616
}
1717

18+
.sidebar-pane,
1819
.sidebar,
1920
.sidebar.view,
2021
.source-list {
@@ -29,6 +30,7 @@
2930
}
3031
}
3132

33+
.sidebar-pane,
3234
.sidebar {
3335
&:dir(ltr) {
3436
border-right: 1px solid #{'@menu_separator'};
@@ -56,6 +58,11 @@
5658
}
5759
}
5860

61+
// Nested Adw.NavigationSplitView
62+
.sidebar-pane .content-pane {
63+
background: bg_color(1);
64+
}
65+
5966
placessidebar.frame,
6067
placessidebar viewport.frame {
6168
border: none;

0 commit comments

Comments
 (0)