gtk: Change placessidebar style as per Material Design guidelines
See https://material.io/design/components/sheets-side.html
See https://material.io/design/components/sheets-side.html
by roundabout, Thursday, 6 December 2018, 16:02:47 (1544112167), pushed by roundabout, Sunday, 11 May 2025, 13:22:30 (1746969750)
Author identity: nana-4 <hnmaigo@gmail.com>
6c53c932599aa9594b8e06383d9139fb804e0ea2
row {
// Needs overriding of the GtkListBoxRow padding
min-height: 32px;
margin: -1px 0; // Remove unknown margins
margin: -1px 4px; // Remove unwanted hard-coded vertical margins with -1px
padding: 0;
border-radius: $material_radius;
// Using margins/padding directly in the SidebarRow
// will make the animation of the new bookmark row jump
> revealer { padding: 0 12px; }
> revealer { padding: 0 8px; }
&:selected { color: $primary_color; }
&:selected { font-weight: 500; }
&:disabled { color: $disabled_fg_color; }
&:dir(rtl) { padding-left: 2px; }
}
&:selected image.sidebar-icon { color: inherit; }
&:selected image.sidebar-icon,
&:selected label.sidebar-label { color: inherit; }
@at-root button.sidebar-button {
@extend %simple_flat_button;