2023-12-15 09:51:39 +00:00
|
|
|
menupopup, panel, #search-mode-popup {
|
2023-11-15 09:07:54 +00:00
|
|
|
--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 {
|
2024-03-02 07:51:55 +00:00
|
|
|
appearance: none !important;
|
2023-11-15 09:07:54 +00:00
|
|
|
margin-left: 4px;
|
|
|
|
margin-right: 4px;
|
|
|
|
border-radius: 4px;
|
2024-06-04 06:14:20 +00:00
|
|
|
fill: currentColor;
|
|
|
|
-moz-context-properties: fill,fill-opacity;
|
2023-12-07 10:15:00 +00:00
|
|
|
&[_moz-menuactive="true"] {
|
|
|
|
background: var(--fill-quinary);
|
|
|
|
}
|
2023-11-15 09:07:54 +00:00
|
|
|
}
|
|
|
|
menu {
|
|
|
|
menupopup {
|
|
|
|
padding-left: 6px;
|
|
|
|
margin-top: -4px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
menuseparator {
|
|
|
|
margin: 4px 0px 4px 0px;
|
2023-12-07 11:30:37 +00:00
|
|
|
border-top: var(--material-border50);
|
2023-11-15 09:07:54 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.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");
|
|
|
|
}
|
2024-04-30 09:21:11 +00:00
|
|
|
|
2024-05-02 07:19:45 +00:00
|
|
|
menulist {
|
|
|
|
menupopup {
|
|
|
|
menu, menuitem {
|
|
|
|
.menu-iconic-left {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
}
|
2024-04-30 09:21:11 +00:00
|
|
|
|
2024-05-02 07:19:45 +00:00
|
|
|
menu:not([icon], .menu-iconic),
|
|
|
|
menuitem:not([checked="true"], [icon], .menuitem-iconic) {
|
|
|
|
padding-inline-start: 36px;
|
2024-07-02 04:46:34 +00:00
|
|
|
|
2024-05-02 07:19:45 +00:00
|
|
|
.menu-iconic-icon {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
2024-07-02 04:46:34 +00:00
|
|
|
|
2024-05-02 07:19:45 +00:00
|
|
|
menuitem[selected="true"] {
|
|
|
|
padding-inline-start: 12px !important;
|
|
|
|
|
|
|
|
& > .menu-iconic-left {
|
|
|
|
-moz-context-properties: fill, fill-opacity;
|
|
|
|
fill: currentColor;
|
|
|
|
fill-opacity: var(--menu-icon-opacity);
|
|
|
|
list-style-image: url("chrome://zotero/skin/win/menu-radio.svg");
|
|
|
|
width: 16px;
|
|
|
|
margin-inline-end: 8px;
|
|
|
|
|
|
|
|
& > .menu-iconic-icon {
|
|
|
|
display: initial;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2024-04-30 09:21:11 +00:00
|
|
|
}
|