gnome-shell/menu: Follow upstream separator changes
This is a quick patch and needs further adjustments later...
This is a quick patch and needs further adjustments later...
by roundabout, Thursday, 12 March 2020, 08:54:25 (1584003265), pushed by roundabout, Sunday, 11 May 2025, 13:22:49 (1746969769)
Author identity: nana-4 <hnmaigo@gmail.com>
915b957f4c2331f999b5b8e98beb641619e81156
}
// separator
.popup-separator-menu-item {
// -margin-horizontal: 24px;
height: 1px; // not really the whole box
margin: 8px 64px - 24px;
background-color: $divider;
@if $version >= 3.36 {
.popup-separator-menu-item {
padding: 0;
border-color: transparent;
border-bottom-width: 0;
border-bottom-style: none;
.popup-separator-menu-item-separator {
// -margin-horizontal: 24px;
height: 1px; // not really the whole box
margin: 8px 0;
background-color: $divider;
// submenu separators
.popup-sub-menu & {
margin: 8px 0;
background-color: $divider;
&:ltr {
margin-right: 32px;
}
&:rtl {
margin-left: 32px;
}
}
}
}
} @else {
.popup-separator-menu-item {
// -margin-horizontal: 24px;
height: 1px; // not really the whole box
margin: 8px 64px - 24px;
border: 0;
background-color: $divider;
}
}
// desktop background menu