diff options
Diffstat (limited to 'comm/mail/themes/osx/mail/contextMenu.css')
-rw-r--r-- | comm/mail/themes/osx/mail/contextMenu.css | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/comm/mail/themes/osx/mail/contextMenu.css b/comm/mail/themes/osx/mail/contextMenu.css new file mode 100644 index 0000000000..017001f801 --- /dev/null +++ b/comm/mail/themes/osx/mail/contextMenu.css @@ -0,0 +1,54 @@ +/* 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/. */ + +@import url("chrome://messenger/skin/shared/contextMenu.css"); + +menupopup { + appearance: none; + background-color: transparent; +} + +menupopup::part(content) { + margin: 1px; +} + +menupopup .menu-iconic-icon { + width: 16px; + margin-inline-start: 0; +} + +menupopup > menu::after { + line-height: 0; +} + +menupopup > menu > .menu-text, +menupopup > menuitem > .menu-text { + margin-inline-start: 21px !important; +} + +menupopup > menuitem > .menu-right { + margin-inline-end: -4px; + appearance: none; +} + +/* Only show the system checkmark on main window menu */ +#windowPopup > menuitem[checked="true"] { + list-style-image: none; +} + +menupopup > menuseparator#customizeMailToolbarMenuSeparator { + display: none; +} + +menulist > menupopup > menuitem::before { + margin-inline: 0 -10px; +} + +menulist > menupopup > menuitem:is([checked="true"], [selected="true"])::before { + visibility: hidden; +} + +menulist > menupopup > menuitem.menuitem-iconic::before { + display: none; +} |