summaryrefslogtreecommitdiffstats
path: root/comm/mail/themes/shared/mail/menulist.css
diff options
context:
space:
mode:
Diffstat (limited to 'comm/mail/themes/shared/mail/menulist.css')
-rw-r--r--comm/mail/themes/shared/mail/menulist.css24
1 files changed, 24 insertions, 0 deletions
diff --git a/comm/mail/themes/shared/mail/menulist.css b/comm/mail/themes/shared/mail/menulist.css
new file mode 100644
index 0000000000..72a4fb1763
--- /dev/null
+++ b/comm/mail/themes/shared/mail/menulist.css
@@ -0,0 +1,24 @@
+/* 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/. */
+
+@namespace html url("http://www.w3.org/1999/xhtml");
+
+menulist[is="menulist-editable"]:not([editable="true"])::part(text-input),
+menulist[is="menulist-editable"][editable="true"]::part(label-box) {
+ display: none;
+}
+
+menulist > html|input {
+ margin: 0;
+}
+
+menulist::part(text-input) {
+ appearance: none;
+ background: transparent;
+ flex: 1;
+ margin: 0;
+ border: none;
+ padding: 0;
+ font: inherit;
+}