zotero/scss/win/_menupopup.scss
2024-01-24 04:03:12 -05:00

41 lines
836 B
SCSS

menupopup, panel {
--panel-border-radius: 8px;
--panel-background: var(--material-toolbar);
--menuitem-hover-background-color: var(--fill-quinary);
--menuitem-disabled-hover-background-color: var(--fill-quinary);
@include light-dark(--panel-border-color, #dddddd, #1c1c1c);
}
menupopup {
menu, menuitem {
margin-left: 4px;
margin-right: 4px;
border-radius: 4px;
}
menu {
menupopup {
padding-left: 6px;
margin-top: -4px;
}
}
menuseparator {
margin: 4px 0px 4px 0px;
}
}
.menu-accel {
color: var(--fill-secondary);
font-size: 11px;
}
.menu-iconic-left[disabled="true"] {
opacity: 50%;
}
@media (-moz-windows-non-native-menus) {
menuitem:is([checked="true"]):is([type="radio"]) > .menu-iconic-left {
list-style-image: url("chrome://zotero/skin/win/menu-radio.svg");
width: 4px;
height: 4px;
}
}