Revision control

Copy as Markdown

Other Tools

/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, you can obtain one at http://mozilla.org/MPL/2.0/. */
menupopup {
appearance: none;
background-color: transparent;
&::part(content) {
margin: 1px;
}
& > :is(menu, menuitem)[disabled="true"][_moz-menuactive="true"] {
background-color: transparent !important;
}
& > menu::after {
line-height: 0;
}
&[needsgutter] > :is(menu, menuitem) > .menu-text {
margin-inline-start: 21px;
}
& .menu-iconic-icon {
width: 16px;
margin-inline: 0 5px;
}
& > menuseparator {
margin-inline: 0;
}
& > menuseparator#customizeMailToolbarMenuSeparator {
display: none;
}
& > menuitem {
& > .menu-right {
margin-inline-end: -4px;
appearance: none;
}
&::before,
&::after {
content: none; /* Reset's macOS' checkmark spacing */
}
}
&[needsgutter] > :is(menu, menuitem, menucaption) {
padding-inline-start: 8px;
&::before {
display: none;
}
}
menulist > & > menuitem {
&::before {
margin-inline: 0 -10px;
}
&:is([checked="true"], [selected="true"])::before {
visibility: hidden;
}
&.menuitem-iconic::before {
display: none;
}
}
}
.menu-right,
.menu-accel-container {
margin-inline-end: 0;
}
.menu-accel-container {
opacity: 0.5;
menupopup[type="arrow"] & {
margin-inline-end: 0;
}
menuitem:not([disabled="true"]):hover &,
menuitem:not([disabled="true"]):focus & {
opacity: 1;
}
}
/* Only show the system checkmark on main window menu */
#windowPopup > menuitem[checked="true"] {
list-style-image: none;
}