zotero/scss/linux/_menu.scss
Adomas Venčkauskas 6dae7037e1 Restore GTK-informed widget styling for menupopups on linux
Firefox restyled Linux menupopups at some point to no longer conform to
the DE defined styles for GTK widgets. This removes that custom firefox
styling and uses DE defined values instead. This is especially apparent
on Linux Unity where menupopups are dark in both light and dark themes
by default for apps.
2024-02-14 06:24:00 -05:00

13 lines
383 B
SCSS

@each $cls, $icon in $menu-icons {
.zotero-menuitem-#{$cls} {
// If icon starts with "light-dark:", use light and dark icon
@if str-slice($icon, 0, 11) == "light-dark:" {
@include focus-states using ($color) {
@include svgicon-menu(str-slice($icon, 12), $color, "16");
}
}
@else {
@include svgicon-menu($icon, "universal", "16", false, false, false);
}
}
};