summaryrefslogtreecommitdiffstats
path: root/comm/mail/themes/osx/mail/contextMenu.css
blob: 017001f801f9caea45fdd96ee6fc24967d9c9f9c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
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;
}