summaryrefslogtreecommitdiffstats
path: root/comm/mail/themes/linux/mail
diff options
context:
space:
mode:
Diffstat (limited to 'comm/mail/themes/linux/mail')
-rw-r--r--comm/mail/themes/linux/mail/accountCentral.css9
-rw-r--r--comm/mail/themes/linux/mail/accountManage.css5
-rw-r--r--comm/mail/themes/linux/mail/activity/activity.css5
-rw-r--r--comm/mail/themes/linux/mail/activity/addItemIcon.pngbin0 -> 601 bytes
-rw-r--r--comm/mail/themes/linux/mail/activity/compactMailIcon.pngbin0 -> 1668 bytes
-rw-r--r--comm/mail/themes/linux/mail/activity/copyMailIcon.pngbin0 -> 1162 bytes
-rw-r--r--comm/mail/themes/linux/mail/activity/defaultEventIcon.pngbin0 -> 1203 bytes
-rw-r--r--comm/mail/themes/linux/mail/activity/defaultProcessIcon.pngbin0 -> 2148 bytes
-rw-r--r--comm/mail/themes/linux/mail/activity/deleteMailIcon.pngbin0 -> 2324 bytes
-rw-r--r--comm/mail/themes/linux/mail/activity/indexMailIcon.pngbin0 -> 2070 bytes
-rw-r--r--comm/mail/themes/linux/mail/activity/moveMailIcon.pngbin0 -> 1250 bytes
-rw-r--r--comm/mail/themes/linux/mail/activity/removeItemIcon.pngbin0 -> 317 bytes
-rw-r--r--comm/mail/themes/linux/mail/activity/sendMailIcon.pngbin0 -> 1536 bytes
-rw-r--r--comm/mail/themes/linux/mail/activity/syncMailIcon.pngbin0 -> 2138 bytes
-rw-r--r--comm/mail/themes/linux/mail/activity/undoIcon.pngbin0 -> 1532 bytes
-rw-r--r--comm/mail/themes/linux/mail/activity/warning.pngbin0 -> 1447 bytes
-rw-r--r--comm/mail/themes/linux/mail/addrbook/abContactsPanel.css31
-rw-r--r--comm/mail/themes/linux/mail/addrbook/cardDialog.css14
-rw-r--r--comm/mail/themes/linux/mail/attachmentList.css7
-rw-r--r--comm/mail/themes/linux/mail/chat.css94
-rw-r--r--comm/mail/themes/linux/mail/common.css56
-rw-r--r--comm/mail/themes/linux/mail/compacttheme.css5
-rw-r--r--comm/mail/themes/linux/mail/compose/messengercompose.css157
-rw-r--r--comm/mail/themes/linux/mail/contextMenu.css19
-rw-r--r--comm/mail/themes/linux/mail/customizeToolbar.css13
-rw-r--r--comm/mail/themes/linux/mail/downloads/aboutDownloads.css9
-rw-r--r--comm/mail/themes/linux/mail/filterDialog.css47
-rw-r--r--comm/mail/themes/linux/mail/folderMenus.css22
-rw-r--r--comm/mail/themes/linux/mail/folderPane.css19
-rw-r--r--comm/mail/themes/linux/mail/glodaFacetView.css9
-rw-r--r--comm/mail/themes/linux/mail/icons/arrow/arrow-down-dim.pngbin0 -> 668 bytes
-rw-r--r--comm/mail/themes/linux/mail/icons/arrow/arrow-down.pngbin0 -> 394 bytes
-rw-r--r--comm/mail/themes/linux/mail/icons/arrow/arrow-left.pngbin0 -> 413 bytes
-rw-r--r--comm/mail/themes/linux/mail/icons/arrow/arrow-right-dim.pngbin0 -> 814 bytes
-rw-r--r--comm/mail/themes/linux/mail/icons/arrow/arrow-right.pngbin0 -> 391 bytes
-rw-r--r--comm/mail/themes/linux/mail/icons/arrow/arrow-up.pngbin0 -> 209 bytes
-rw-r--r--comm/mail/themes/linux/mail/icons/connecting.pngbin0 -> 8540 bytes
-rw-r--r--comm/mail/themes/linux/mail/icons/error.pngbin0 -> 666 bytes
-rw-r--r--comm/mail/themes/linux/mail/icons/identity.pngbin0 -> 7822 bytes
-rw-r--r--comm/mail/themes/linux/mail/icons/multicolor.pngbin0 -> 160 bytes
-rw-r--r--comm/mail/themes/linux/mail/imAccounts.css13
-rw-r--r--comm/mail/themes/linux/mail/input-fields.css19
-rw-r--r--comm/mail/themes/linux/mail/junkMail.css18
-rw-r--r--comm/mail/themes/linux/mail/mailWindow1.css67
-rw-r--r--comm/mail/themes/linux/mail/menulist.css29
-rw-r--r--comm/mail/themes/linux/mail/message-bar.css13
-rw-r--r--comm/mail/themes/linux/mail/messageBody.css10
-rw-r--r--comm/mail/themes/linux/mail/messageHeader.css16
-rw-r--r--comm/mail/themes/linux/mail/messageIcons.css57
-rw-r--r--comm/mail/themes/linux/mail/messageWindow.css25
-rw-r--r--comm/mail/themes/linux/mail/messenger.css421
-rw-r--r--comm/mail/themes/linux/mail/multimessageview.css11
-rw-r--r--comm/mail/themes/linux/mail/newsblog/feed-subscriptions.css7
-rw-r--r--comm/mail/themes/linux/mail/panelUI.css21
-rw-r--r--comm/mail/themes/linux/mail/popupPanel.css20
-rw-r--r--comm/mail/themes/linux/mail/preferences/alwaysAsk.pngbin0 -> 575 bytes
-rw-r--r--comm/mail/themes/linux/mail/preferences/applications.css25
-rw-r--r--comm/mail/themes/linux/mail/preferences/preferences.css23
-rw-r--r--comm/mail/themes/linux/mail/preferences/saveFile.pngbin0 -> 791 bytes
-rw-r--r--comm/mail/themes/linux/mail/primaryToolbar.css15
-rw-r--r--comm/mail/themes/linux/mail/searchBox.css24
-rw-r--r--comm/mail/themes/linux/mail/searchDialog.css41
-rw-r--r--comm/mail/themes/linux/mail/spacesToolbar.css11
-rw-r--r--comm/mail/themes/linux/mail/tabmail.css91
-rw-r--r--comm/mail/themes/linux/mail/themeableDialog.css80
-rw-r--r--comm/mail/themes/linux/mail/variables.css18
66 files changed, 1596 insertions, 0 deletions
diff --git a/comm/mail/themes/linux/mail/accountCentral.css b/comm/mail/themes/linux/mail/accountCentral.css
new file mode 100644
index 0000000000..e70d790323
--- /dev/null
+++ b/comm/mail/themes/linux/mail/accountCentral.css
@@ -0,0 +1,9 @@
+/* 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/. */
+
+/* ===== accountCentral.css ==========================================
+ == Styles for the Messenger Account Central panel.
+ ======================================================================= */
+
+@import url("chrome://messenger/skin/shared/accountCentral.css");
diff --git a/comm/mail/themes/linux/mail/accountManage.css b/comm/mail/themes/linux/mail/accountManage.css
new file mode 100644
index 0000000000..1e90c9dd0f
--- /dev/null
+++ b/comm/mail/themes/linux/mail/accountManage.css
@@ -0,0 +1,5 @@
+/* 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/accountManage.css");
diff --git a/comm/mail/themes/linux/mail/activity/activity.css b/comm/mail/themes/linux/mail/activity/activity.css
new file mode 100644
index 0000000000..bf348bdf7c
--- /dev/null
+++ b/comm/mail/themes/linux/mail/activity/activity.css
@@ -0,0 +1,5 @@
+/* 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/activity/activity.css");
diff --git a/comm/mail/themes/linux/mail/activity/addItemIcon.png b/comm/mail/themes/linux/mail/activity/addItemIcon.png
new file mode 100644
index 0000000000..2acdd8f514
--- /dev/null
+++ b/comm/mail/themes/linux/mail/activity/addItemIcon.png
Binary files differ
diff --git a/comm/mail/themes/linux/mail/activity/compactMailIcon.png b/comm/mail/themes/linux/mail/activity/compactMailIcon.png
new file mode 100644
index 0000000000..e62682ac1b
--- /dev/null
+++ b/comm/mail/themes/linux/mail/activity/compactMailIcon.png
Binary files differ
diff --git a/comm/mail/themes/linux/mail/activity/copyMailIcon.png b/comm/mail/themes/linux/mail/activity/copyMailIcon.png
new file mode 100644
index 0000000000..92cd9e584b
--- /dev/null
+++ b/comm/mail/themes/linux/mail/activity/copyMailIcon.png
Binary files differ
diff --git a/comm/mail/themes/linux/mail/activity/defaultEventIcon.png b/comm/mail/themes/linux/mail/activity/defaultEventIcon.png
new file mode 100644
index 0000000000..033e7ec1b3
--- /dev/null
+++ b/comm/mail/themes/linux/mail/activity/defaultEventIcon.png
Binary files differ
diff --git a/comm/mail/themes/linux/mail/activity/defaultProcessIcon.png b/comm/mail/themes/linux/mail/activity/defaultProcessIcon.png
new file mode 100644
index 0000000000..addf20dcf7
--- /dev/null
+++ b/comm/mail/themes/linux/mail/activity/defaultProcessIcon.png
Binary files differ
diff --git a/comm/mail/themes/linux/mail/activity/deleteMailIcon.png b/comm/mail/themes/linux/mail/activity/deleteMailIcon.png
new file mode 100644
index 0000000000..c04529dc9e
--- /dev/null
+++ b/comm/mail/themes/linux/mail/activity/deleteMailIcon.png
Binary files differ
diff --git a/comm/mail/themes/linux/mail/activity/indexMailIcon.png b/comm/mail/themes/linux/mail/activity/indexMailIcon.png
new file mode 100644
index 0000000000..4babd39aa6
--- /dev/null
+++ b/comm/mail/themes/linux/mail/activity/indexMailIcon.png
Binary files differ
diff --git a/comm/mail/themes/linux/mail/activity/moveMailIcon.png b/comm/mail/themes/linux/mail/activity/moveMailIcon.png
new file mode 100644
index 0000000000..3a8217c5f2
--- /dev/null
+++ b/comm/mail/themes/linux/mail/activity/moveMailIcon.png
Binary files differ
diff --git a/comm/mail/themes/linux/mail/activity/removeItemIcon.png b/comm/mail/themes/linux/mail/activity/removeItemIcon.png
new file mode 100644
index 0000000000..c5524f7284
--- /dev/null
+++ b/comm/mail/themes/linux/mail/activity/removeItemIcon.png
Binary files differ
diff --git a/comm/mail/themes/linux/mail/activity/sendMailIcon.png b/comm/mail/themes/linux/mail/activity/sendMailIcon.png
new file mode 100644
index 0000000000..3488a6e7b2
--- /dev/null
+++ b/comm/mail/themes/linux/mail/activity/sendMailIcon.png
Binary files differ
diff --git a/comm/mail/themes/linux/mail/activity/syncMailIcon.png b/comm/mail/themes/linux/mail/activity/syncMailIcon.png
new file mode 100644
index 0000000000..12b2004769
--- /dev/null
+++ b/comm/mail/themes/linux/mail/activity/syncMailIcon.png
Binary files differ
diff --git a/comm/mail/themes/linux/mail/activity/undoIcon.png b/comm/mail/themes/linux/mail/activity/undoIcon.png
new file mode 100644
index 0000000000..18664b3f73
--- /dev/null
+++ b/comm/mail/themes/linux/mail/activity/undoIcon.png
Binary files differ
diff --git a/comm/mail/themes/linux/mail/activity/warning.png b/comm/mail/themes/linux/mail/activity/warning.png
new file mode 100644
index 0000000000..42d053a9c4
--- /dev/null
+++ b/comm/mail/themes/linux/mail/activity/warning.png
Binary files differ
diff --git a/comm/mail/themes/linux/mail/addrbook/abContactsPanel.css b/comm/mail/themes/linux/mail/addrbook/abContactsPanel.css
new file mode 100644
index 0000000000..db220ae467
--- /dev/null
+++ b/comm/mail/themes/linux/mail/addrbook/abContactsPanel.css
@@ -0,0 +1,31 @@
+/* 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/. */
+
+/* ===== sidebarPanel.css ===============================================
+ == Styles for the Address Book sidebar panel.
+ ======================================================================= */
+
+@import url("chrome://messenger/skin/shared/abContactsPanel.css");
+
+#AbPickerHeader > label {
+ margin-block: 3px 0;
+}
+
+#abContextMenuButton {
+ margin: -4px 4px 0;
+ padding-inline: 4px 2px;
+}
+
+#abContextMenuButton > .toolbarbutton-icon {
+ margin-inline-end: 0;
+}
+
+:root:not([lwt-tree]) #abResultsTree {
+ border-inline-start: 1px solid ThreeDShadow;
+ border-bottom: 1px solid ThreeDShadow;
+}
+
+#GeneratedName {
+ padding-inline-start: 24px;
+}
diff --git a/comm/mail/themes/linux/mail/addrbook/cardDialog.css b/comm/mail/themes/linux/mail/addrbook/cardDialog.css
new file mode 100644
index 0000000000..e960578770
--- /dev/null
+++ b/comm/mail/themes/linux/mail/addrbook/cardDialog.css
@@ -0,0 +1,14 @@
+/* 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/. */
+
+/* ===== cardViewOverlay.css ============================================
+ == Styles for Address Book dialogs.
+ ======================================================================= */
+
+@import url("chrome://messenger/skin/shared/cardDialog.css");
+
+panel[type="autocomplete-richlistbox"],
+panel[type="autocomplete-richlistbox"]::part(content) {
+ margin: 0;
+}
diff --git a/comm/mail/themes/linux/mail/attachmentList.css b/comm/mail/themes/linux/mail/attachmentList.css
new file mode 100644
index 0000000000..bfb960281b
--- /dev/null
+++ b/comm/mail/themes/linux/mail/attachmentList.css
@@ -0,0 +1,7 @@
+/* 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/attachmentList.css");
+
+/* styles for the attachment list */
diff --git a/comm/mail/themes/linux/mail/chat.css b/comm/mail/themes/linux/mail/chat.css
new file mode 100644
index 0000000000..0b93ded3f5
--- /dev/null
+++ b/comm/mail/themes/linux/mail/chat.css
@@ -0,0 +1,94 @@
+/* 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/chat.css");
+
+.convUnreadTargetedCount {
+ padding: 2px 7px;
+}
+
+.convUnreadCount,
+.contactDisplayName,
+.convDisplayName,
+.contactStatusText,
+.convStatusText {
+ margin-top: 2px;
+}
+
+#listSplitter,
+#contextSplitter,
+.splitter[orient="vertical"],
+ #logsSplitter {
+ appearance: none;
+}
+
+.im-placeholder-button-box > button {
+ padding-inline: 8px;
+}
+
+/* Adaptation from #folderTree */
+:root:not([lwt-tree]) #listPaneBox {
+ background-color: -moz-OddTreeRow;
+}
+
+#listPaneBox > * {
+ background: transparent !important;
+ appearance: none !important;
+ border: none;
+}
+
+.conv-textbox > .textbox-input-box {
+ background: inherit;
+}
+
+.conv-counter {
+ padding-bottom: 0;
+ padding-inline-end: 5px;
+ margin-inline-end: 2px;
+ margin-bottom: 2px !important; /* override 4px from description */
+}
+
+:root:not([lwt-tree]) #conv-top-info {
+ appearance: none;
+ background-color: -moz-Dialog;
+ color: -moz-DialogText;
+}
+
+.conv-nicklist-header,
+.conv-logs-header-label {
+ color: -moz-DialogText;
+ background-color: -moz-Dialog;
+ padding-inline-start: 3px;
+}
+
+.conv-nicklist-header-label {
+ font-weight: bold;
+ margin-inline: 0 2px !important;
+}
+
+#nicklist > richlistitem[inactive][selected] > label {
+ color: -moz-cellhighlighttext !important;
+}
+
+richlistitem[is="chat-group-richlistitem"] .twisty {
+ margin-inline-end: 2px;
+}
+
+.startChatBubble > .button-box > .button-icon,
+.closeConversationButton > .button-box > .button-icon {
+ margin-inline-end: 0;
+}
+
+.conv-hbox {
+ align-items: center;
+}
+
+#setStatusTypeMenupopup .menu-iconic-icon,
+#imAccountsStatus .menu-iconic-icon {
+ visibility: visible;
+}
+
+.encryption-button:hover {
+ color: inherit;
+}
diff --git a/comm/mail/themes/linux/mail/common.css b/comm/mail/themes/linux/mail/common.css
new file mode 100644
index 0000000000..ac25ade240
--- /dev/null
+++ b/comm/mail/themes/linux/mail/common.css
@@ -0,0 +1,56 @@
+/* - 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/common.css");
+
+@namespace html "http://www.w3.org/1999/xhtml";
+@namespace xul "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul";
+@media not (prefers-contrast) {
+ @media (prefers-color-scheme: dark) {
+ :host,
+ :root {
+ /* Don't apply scrollbar-color since it removes the native scrollbar style on Linux */
+ scrollbar-color: initial;
+ }
+ }
+}
+
+xul|tab[visuallyselected] {
+ /* Override styles for tab[selected] from
+ toolkit/themes/linux/global/tabbox.css */
+ margin-bottom: 0;
+}
+
+/* Overriding appearance also avoids incorrect selection background color with
+ light text. */
+xul|menulist::part(label-box),
+xul|*.radio-label-box,
+xul|*.checkbox-label-box {
+ appearance: none;
+}
+
+xul|button[type="menu"] > xul|*.button-box > xul|*.button-menu-dropmarker {
+ appearance: none !important;
+}
+
+xul|menulist {
+ font-size: inherit;
+}
+
+html|button {
+ /* XUL button min-width */
+ min-width: 6.3em;
+}
+
+xul|tab {
+ min-height: 2.5em;
+}
+
+:host(dialog[subdialog]) .dialog-button-box > button {
+ min-height: var(--in-content-button-height);
+ padding-block: initial;
+ padding-inline: 15px;
+ border-color: transparent;
+ border-radius: var(--in-content-button-border-radius);
+}
diff --git a/comm/mail/themes/linux/mail/compacttheme.css b/comm/mail/themes/linux/mail/compacttheme.css
new file mode 100644
index 0000000000..a958e0bc8f
--- /dev/null
+++ b/comm/mail/themes/linux/mail/compacttheme.css
@@ -0,0 +1,5 @@
+/* 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/compacttheme.css");
diff --git a/comm/mail/themes/linux/mail/compose/messengercompose.css b/comm/mail/themes/linux/mail/compose/messengercompose.css
new file mode 100644
index 0000000000..58a9fedfda
--- /dev/null
+++ b/comm/mail/themes/linux/mail/compose/messengercompose.css
@@ -0,0 +1,157 @@
+/* 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/. */
+
+/* ===== messengercompose.css ===========================================
+ == Styles for the main Messenger Compose window.
+ ======================================================================= */
+
+@import url("chrome://messenger/skin/messenger.css");
+@import url("chrome://messenger/skin/shared/messengercompose.css");
+
+@namespace html url("http://www.w3.org/1999/xhtml");
+
+#mail-menubar:-moz-lwtheme {
+ color: inherit;
+}
+
+#compose-toolbox {
+ border-bottom: 1px solid var(--chrome-content-separator-color);
+}
+
+/* ::::: special toolbar colors ::::: */
+
+#subjectLabel {
+ margin-bottom: 0;
+ margin-inline-end: 6px;
+}
+
+/* ::::: autocomplete icons ::::: */
+
+.autocomplete-richlistitem[type$="-abook"] > .ac-site-icon {
+ display: flex;
+ margin: 1px 5px;
+}
+
+#composeContentBox {
+ background-color: -moz-dialog;
+ box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2) inset;
+}
+
+#composeContentBox:-moz-window-inactive {
+ box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1) inset;
+}
+
+#MsgHeadersToolbar {
+ appearance: none !important;
+ color: WindowText;
+ text-shadow: none;
+ padding-block-start: 7px;
+}
+
+.address-container {
+ padding: 1px 4px;
+}
+
+.address-label-container {
+ padding-top: 6px;
+}
+
+#msgIdentity,
+.address-container {
+ min-height: 30px;
+}
+
+#msgSubject {
+ min-height: 28px;
+}
+
+.address-pill {
+ padding-block: 2px;
+}
+
+.address-pill label {
+ margin-block: 0;
+}
+
+.pill-indicator {
+ margin-top: -2px;
+}
+
+#identityLabel-box {
+ margin-top: 1px;
+}
+
+#msgIdentity {
+ margin-block: 2px 0;
+ padding-block: 4px;
+ padding-inline: 2px 20px;
+}
+
+#msgIdentity::part(label-box) {
+ background: none;
+ padding-inline-end: initial;
+}
+
+#msgIdentity::part(text-input) {
+ appearance: none;
+ padding-block: 1px 2px;
+ padding-inline: 3px 12px;
+ background-color: transparent;
+ color: inherit;
+}
+
+#msgIdentity[editable="true"]::part(dropmarker) {
+ margin-inline-end: 0;
+ width: 12px;
+}
+
+#msgIdentity[open="true"] {
+ color: FieldText;
+}
+
+:root[lwt-tree] #msgIdentity[open="true"] {
+ color: var(--lwt-toolbar-field-color);
+}
+
+/* ::::: format toolbar ::::: */
+
+#FormatToolbar {
+ appearance: none;
+ color: WindowText;
+ margin-inline: 3px;
+ padding-block: 4px;
+}
+
+toolbarbutton.formatting-button {
+ margin: 1px;
+}
+
+.formatting-button > .toolbarbutton-menu-dropmarker {
+ appearance: none !important;
+ margin-inline-start: 3px;
+}
+
+/* ::::: address book sidebar ::::: */
+
+#contactsBrowser {
+ background-color: Window;
+}
+
+menu[command="cmd_attachCloud"] .menu-iconic-left,
+menu[command="cmd_convertCloud"] .menu-iconic-left {
+ /* Ensure that the provider icons are visible even if the Gnome theme says
+ menus shouldn't have icons. */
+ visibility: visible;
+}
+
+/* Styles for the default system dark theme */
+
+:root[lwt-tree] #MsgHeadersToolbar {
+ background-image: none;
+}
+
+:root[lwt-tree] #FormatToolbar {
+ color: inherit;
+ background-image: none;
+}
diff --git a/comm/mail/themes/linux/mail/contextMenu.css b/comm/mail/themes/linux/mail/contextMenu.css
new file mode 100644
index 0000000000..621241722d
--- /dev/null
+++ b/comm/mail/themes/linux/mail/contextMenu.css
@@ -0,0 +1,19 @@
+/* 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 > menuitem:is([type="checkbox"],[type="radio"],[checked="true"]) {
+ appearance: none !important;
+}
+
+menupopup > menuitem:is([type="checkbox"],[type="radio"]) .menu-iconic-icon {
+ appearance: none;
+}
+
+menupopup > menu > .menu-text,
+menuitem:not(:is([type="checkbox"],[type="radio"])) > .menu-text {
+ /* Align with the checkbox and radio menuitems. */
+ padding-inline-start: 21px;
+}
diff --git a/comm/mail/themes/linux/mail/customizeToolbar.css b/comm/mail/themes/linux/mail/customizeToolbar.css
new file mode 100644
index 0000000000..a3825bda32
--- /dev/null
+++ b/comm/mail/themes/linux/mail/customizeToolbar.css
@@ -0,0 +1,13 @@
+/* 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/customizeToolbar.css");
+
+#palette-box {
+ margin: 0 4px 10px;
+}
+
+#titlebarSettings {
+ margin-inline-start: 4px;
+}
diff --git a/comm/mail/themes/linux/mail/downloads/aboutDownloads.css b/comm/mail/themes/linux/mail/downloads/aboutDownloads.css
new file mode 100644
index 0000000000..bd2a29934b
--- /dev/null
+++ b/comm/mail/themes/linux/mail/downloads/aboutDownloads.css
@@ -0,0 +1,9 @@
+/* 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/aboutDownloads.css");
+
+.downloadButton > .button-box > .button-icon {
+ list-style-image: url("chrome://global/skin/icons/folder.svg");
+}
diff --git a/comm/mail/themes/linux/mail/filterDialog.css b/comm/mail/themes/linux/mail/filterDialog.css
new file mode 100644
index 0000000000..3df96b5a06
--- /dev/null
+++ b/comm/mail/themes/linux/mail/filterDialog.css
@@ -0,0 +1,47 @@
+/* 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/. */
+
+/* ===== filterDialog.css ===============================================
+ == Styles for the Mail Filters dialog.
+ ======================================================================= */
+
+@import url("chrome://messenger/skin/shared/filterDialog.css");
+
+/* ::::: columns :::::: */
+
+#gray_horizontal_splitter {
+ margin-inline: -6px;
+}
+
+#filterHeader,
+#filterListGrid {
+ margin: 8px 6px 0;
+}
+
+#FilterEditor {
+ padding-inline: 4px;
+}
+
+.search-menulist,
+.search-value-menulist {
+ width: 16em;
+}
+
+.small-button {
+ min-width: 3em;
+ padding: 0;
+ margin: 2px;
+}
+
+.small-button + .small-button {
+ margin-inline: 0 4px;
+}
+
+toolbarbutton[is="toolbarbutton-menu-button"] {
+ padding-inline-end: 8px !important;
+}
+
+toolbarbutton[is="toolbarbutton-menu-button"] > dropmarker {
+ padding-inline-start: 6px;
+}
diff --git a/comm/mail/themes/linux/mail/folderMenus.css b/comm/mail/themes/linux/mail/folderMenus.css
new file mode 100644
index 0000000000..d3b1d61974
--- /dev/null
+++ b/comm/mail/themes/linux/mail/folderMenus.css
@@ -0,0 +1,22 @@
+/* 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/. */
+
+/* ===== folderMenus.css ================================================
+ == Icons for menus which represent mail folder.
+ ======================================================================= */
+
+@import url("chrome://messenger/skin/shared/folderMenus.css");
+
+.folderMenuItem .menu-iconic-left {
+ display: flex;
+}
+
+menulist.folderMenuItem::part(icon) {
+ width: 16px;
+ height: 16px;
+}
+
+.menulist-menupopup[is="folder-menupopup"] {
+ list-style-image: none;
+}
diff --git a/comm/mail/themes/linux/mail/folderPane.css b/comm/mail/themes/linux/mail/folderPane.css
new file mode 100644
index 0000000000..ef1de33e42
--- /dev/null
+++ b/comm/mail/themes/linux/mail/folderPane.css
@@ -0,0 +1,19 @@
+/* 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/folderPane.css");
+
+/* UI Density customization */
+
+#folderTree > treechildren::-moz-tree-row {
+ min-height: 1.8rem;
+}
+
+:root[uidensity="compact"] #folderTree > treechildren::-moz-tree-row {
+ min-height: 1.6rem;
+}
+
+:root[uidensity="touch"] #folderTree > treechildren::-moz-tree-row {
+ min-height: 2.4rem;
+}
diff --git a/comm/mail/themes/linux/mail/glodaFacetView.css b/comm/mail/themes/linux/mail/glodaFacetView.css
new file mode 100644
index 0000000000..3ad1c777c2
--- /dev/null
+++ b/comm/mail/themes/linux/mail/glodaFacetView.css
@@ -0,0 +1,9 @@
+/* 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/glodaFacetView.css");
+
+.facets-sidebar {
+ font-size: 0.95rem;
+}
diff --git a/comm/mail/themes/linux/mail/icons/arrow/arrow-down-dim.png b/comm/mail/themes/linux/mail/icons/arrow/arrow-down-dim.png
new file mode 100644
index 0000000000..4f7fcd5784
--- /dev/null
+++ b/comm/mail/themes/linux/mail/icons/arrow/arrow-down-dim.png
Binary files differ
diff --git a/comm/mail/themes/linux/mail/icons/arrow/arrow-down.png b/comm/mail/themes/linux/mail/icons/arrow/arrow-down.png
new file mode 100644
index 0000000000..d2df341a58
--- /dev/null
+++ b/comm/mail/themes/linux/mail/icons/arrow/arrow-down.png
Binary files differ
diff --git a/comm/mail/themes/linux/mail/icons/arrow/arrow-left.png b/comm/mail/themes/linux/mail/icons/arrow/arrow-left.png
new file mode 100644
index 0000000000..6607869ad0
--- /dev/null
+++ b/comm/mail/themes/linux/mail/icons/arrow/arrow-left.png
Binary files differ
diff --git a/comm/mail/themes/linux/mail/icons/arrow/arrow-right-dim.png b/comm/mail/themes/linux/mail/icons/arrow/arrow-right-dim.png
new file mode 100644
index 0000000000..49dc2d55e4
--- /dev/null
+++ b/comm/mail/themes/linux/mail/icons/arrow/arrow-right-dim.png
Binary files differ
diff --git a/comm/mail/themes/linux/mail/icons/arrow/arrow-right.png b/comm/mail/themes/linux/mail/icons/arrow/arrow-right.png
new file mode 100644
index 0000000000..f9e33978e7
--- /dev/null
+++ b/comm/mail/themes/linux/mail/icons/arrow/arrow-right.png
Binary files differ
diff --git a/comm/mail/themes/linux/mail/icons/arrow/arrow-up.png b/comm/mail/themes/linux/mail/icons/arrow/arrow-up.png
new file mode 100644
index 0000000000..1eb4d4ceb2
--- /dev/null
+++ b/comm/mail/themes/linux/mail/icons/arrow/arrow-up.png
Binary files differ
diff --git a/comm/mail/themes/linux/mail/icons/connecting.png b/comm/mail/themes/linux/mail/icons/connecting.png
new file mode 100644
index 0000000000..3c8e71f5db
--- /dev/null
+++ b/comm/mail/themes/linux/mail/icons/connecting.png
Binary files differ
diff --git a/comm/mail/themes/linux/mail/icons/error.png b/comm/mail/themes/linux/mail/icons/error.png
new file mode 100644
index 0000000000..628cf2dae3
--- /dev/null
+++ b/comm/mail/themes/linux/mail/icons/error.png
Binary files differ
diff --git a/comm/mail/themes/linux/mail/icons/identity.png b/comm/mail/themes/linux/mail/icons/identity.png
new file mode 100644
index 0000000000..8d4f3bc327
--- /dev/null
+++ b/comm/mail/themes/linux/mail/icons/identity.png
Binary files differ
diff --git a/comm/mail/themes/linux/mail/icons/multicolor.png b/comm/mail/themes/linux/mail/icons/multicolor.png
new file mode 100644
index 0000000000..b96853cf37
--- /dev/null
+++ b/comm/mail/themes/linux/mail/icons/multicolor.png
Binary files differ
diff --git a/comm/mail/themes/linux/mail/imAccounts.css b/comm/mail/themes/linux/mail/imAccounts.css
new file mode 100644
index 0000000000..37b68cef40
--- /dev/null
+++ b/comm/mail/themes/linux/mail/imAccounts.css
@@ -0,0 +1,13 @@
+/* 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/imAccounts.css");
+
+richlistitem .account-buttons {
+ margin-inline-start: 32px;
+}
+
+#statusTypeIcon .button-box {
+ padding: 0;
+}
diff --git a/comm/mail/themes/linux/mail/input-fields.css b/comm/mail/themes/linux/mail/input-fields.css
new file mode 100644
index 0000000000..f999d553c4
--- /dev/null
+++ b/comm/mail/themes/linux/mail/input-fields.css
@@ -0,0 +1,19 @@
+/* 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/input-fields.css");
+@namespace html url("http://www.w3.org/1999/xhtml");
+
+html|input.input-inline {
+ padding-inline-start: 4px;
+}
+
+html|input.input-filefield {
+ padding-inline-start: 25px !important;
+ background: center left 6px / 16px no-repeat;
+}
+
+html|input.input-filefield:-moz-locale-dir(rtl) {
+ background-position-x: right 6px;
+}
diff --git a/comm/mail/themes/linux/mail/junkMail.css b/comm/mail/themes/linux/mail/junkMail.css
new file mode 100644
index 0000000000..5a4b3b3336
--- /dev/null
+++ b/comm/mail/themes/linux/mail/junkMail.css
@@ -0,0 +1,18 @@
+/*
+#
+# 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/.
+*/
+
+/*===== junkMail=======.css ==============================================
+ == Styles for the junk mail dialog
+ ======================================================================== */
+
+@import url("chrome://messenger/skin/messenger.css");
+
+/* ::::: account manager :::::: */
+
+.specialFolderPickerGrid {
+ margin-inline-start: 20px;
+}
diff --git a/comm/mail/themes/linux/mail/mailWindow1.css b/comm/mail/themes/linux/mail/mailWindow1.css
new file mode 100644
index 0000000000..c78e870e13
--- /dev/null
+++ b/comm/mail/themes/linux/mail/mailWindow1.css
@@ -0,0 +1,67 @@
+/*
+# 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/.
+*/
+
+/* ===== mailWindow1.css ================================================
+ == Styles for the main Mail window in the default layout scheme.
+ ======================================================================= */
+
+@import url("chrome://messenger/skin/messenger.css");
+@import url("chrome://messenger/skin/primaryToolbar.css");
+@import url("chrome://messenger/skin/folderPane.css");
+@import url("chrome://messenger/skin/messageIcons.css");
+@import url("chrome://messenger/skin/shared/mailWindow1.css");
+
+#messengerBox {
+ background-color: -moz-Dialog;
+}
+
+:root:not([lwt-tree]) #folderTree {
+ background-color: -moz-OddTreeRow;
+}
+
+#mailContent {
+ appearance: auto;
+ -moz-default-appearance: toolbox;
+ background-color: -moz-Dialog;
+}
+
+/* ..... status bar adjustments ..... */
+
+#threadTree > treechildren::-moz-tree-row(odd) {
+ background-color: transparent;
+}
+
+#threadTree > treechildren::-moz-tree-row(dummy, odd) {
+ background-color: var(--row-grouped-header-bg-color);
+}
+
+#threadTree > treechildren::-moz-tree-row(odd, hover),
+#threadTree > treechildren::-moz-tree-row(dummy, odd, hover) {
+ background-color: hsla(0, 0%, 50%, 0.15);
+}
+
+#threadTree > treechildren::-moz-tree-row(selected) {
+ color: -moz-cellhighlighttext;
+ background-color: -moz-cellhighlight;
+}
+
+#threadTree > treechildren::-moz-tree-row(selected, focus) {
+ color: var(--selected-item-text-color);
+ background-color: var(--selected-item-color);
+}
+
+/* ..... tabs ..... */
+
+#tabpanelcontainer {
+ appearance: none;
+}
+
+/* Global notification popup */
+
+#notification-popup {
+ background-color: transparent;
+ border: none;
+}
diff --git a/comm/mail/themes/linux/mail/menulist.css b/comm/mail/themes/linux/mail/menulist.css
new file mode 100644
index 0000000000..3a12b2ed12
--- /dev/null
+++ b/comm/mail/themes/linux/mail/menulist.css
@@ -0,0 +1,29 @@
+/* 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/menulist.css");
+@namespace html url("http://www.w3.org/1999/xhtml");
+
+menulist::part(text-input) {
+ padding: 2px 2px 3px;
+}
+
+menulist[is="menulist-editable"][editable="true"] {
+ padding-inline-end: 2.4em;
+}
+
+menulist[is="menulist-editable"][editable="true"]::part(dropmarker) {
+ width: 2em;
+ margin-top: -2px;
+ margin-bottom: -2px;
+ margin-inline-end: -2.4em;
+}
+
+menulist[is="menulist-editable"][editable="true"]::part(text-input) {
+ margin-inline-end: 6px;
+}
+
+menulist[open="true"]::part(text-input) {
+ color: FieldText;
+}
diff --git a/comm/mail/themes/linux/mail/message-bar.css b/comm/mail/themes/linux/mail/message-bar.css
new file mode 100644
index 0000000000..669a7ea81a
--- /dev/null
+++ b/comm/mail/themes/linux/mail/message-bar.css
@@ -0,0 +1,13 @@
+/* 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/message-bar.css");
+
+.notification-button.small-button {
+ padding-block: 2px;
+}
+
+#reminderBarPopup {
+ margin-top: -4px;
+}
diff --git a/comm/mail/themes/linux/mail/messageBody.css b/comm/mail/themes/linux/mail/messageBody.css
new file mode 100644
index 0000000000..a8c696fd37
--- /dev/null
+++ b/comm/mail/themes/linux/mail/messageBody.css
@@ -0,0 +1,10 @@
+/* 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/messageBody.css");
+
+.moz-txt-formfeed {
+ display: block;
+ height: 100%;
+}
diff --git a/comm/mail/themes/linux/mail/messageHeader.css b/comm/mail/themes/linux/mail/messageHeader.css
new file mode 100644
index 0000000000..70b5fdf0d0
--- /dev/null
+++ b/comm/mail/themes/linux/mail/messageHeader.css
@@ -0,0 +1,16 @@
+/* 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/. */
+
+/* ===== messageHeader.css ==============================================
+ == Styles for the header toolbars of a mail message.
+ ======================================================================= */
+
+@import url("chrome://messenger/skin/shared/messageHeader.css");
+
+/* ::::: expanded header pane ::::: */
+
+.inline-toolbox {
+ appearance: none;
+ padding-inline-end: 2px;
+}
diff --git a/comm/mail/themes/linux/mail/messageIcons.css b/comm/mail/themes/linux/mail/messageIcons.css
new file mode 100644
index 0000000000..4741ce1725
--- /dev/null
+++ b/comm/mail/themes/linux/mail/messageIcons.css
@@ -0,0 +1,57 @@
+/* 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/messageIcons.css");
+
+/* ..... read column ..... */
+
+.readColumnHeader {
+ padding-inline-start: 3px;
+}
+
+/* ..... attachment column ..... */
+
+.attachmentColumnHeader {
+ padding-inline: 2px 5px;
+}
+
+treechildren::-moz-tree-image(attachmentCol) {
+ margin-inline-start: 3px;
+}
+
+/* ..... junkStatus column ..... */
+
+treechildren::-moz-tree-image(junkStatusCol) {
+ margin-inline-start: 1px;
+}
+
+/* ..... junkStatus column ..... */
+
+.junkStatusHeader {
+ padding-inline-end: 3px;
+}
+
+/* ..... correspondent column ..... */
+
+#correspondentCol {
+ padding-inline-start: 17px;
+}
+
+/* ..... subject column ..... */
+
+#subjectCol {
+ padding-inline-start: 15px;
+}
+
+#subjectCol[primary="true"] {
+ padding-inline-start: 35px;
+}
+
+treechildren::-moz-tree-image(subjectCol) {
+ margin-inline-end: 2px;
+}
+
+:root[uidensity="compact"] treechildren::-moz-tree-image {
+ margin-block-start: -1px;
+}
diff --git a/comm/mail/themes/linux/mail/messageWindow.css b/comm/mail/themes/linux/mail/messageWindow.css
new file mode 100644
index 0000000000..2f66037dec
--- /dev/null
+++ b/comm/mail/themes/linux/mail/messageWindow.css
@@ -0,0 +1,25 @@
+/* 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/. */
+
+/* ===== messageWindow.css ==============================================
+ == Styles for the message window.
+ ======================================================================= */
+
+@import url("chrome://messenger/skin/messenger.css");
+@import url("chrome://messenger/skin/primaryToolbar.css");
+
+.mail-toolbox {
+ margin-top: 0;
+ padding-top: 0;
+}
+
+#messagepaneboxwrapper {
+ overflow: hidden;
+ min-height: 0;
+}
+
+#messagepanebox {
+ flex: 3 3;
+ text-shadow: none;
+}
diff --git a/comm/mail/themes/linux/mail/messenger.css b/comm/mail/themes/linux/mail/messenger.css
new file mode 100644
index 0000000000..fdff68aacf
--- /dev/null
+++ b/comm/mail/themes/linux/mail/messenger.css
@@ -0,0 +1,421 @@
+/* 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/. */
+
+/* ===== messenger.css ==================================================
+ == Styles shared throughout the Messenger application.
+ ======================================================================= */
+
+@import url("chrome://messenger/skin/shared/messenger.css");
+
+/* Special rules for dark system theme and default TB theme */
+
+:root[lwt-tree-brighttext]:not([lwt-tree]) {
+ --sidebar-background-color: var(--color-gray-80);
+ --sidebar-text-color: var(--color-gray-10);
+}
+
+:root[lwt-tree-brighttext]:not([lwt-tree]) treechildren::-moz-tree-row(current, focus) {
+ --sidebar-highlight-background-color: var(--selected-item-color);
+ --sidebar-highlight-text-color: var(--selected-item-text-color);
+}
+
+#tabs-toolbar {
+ --toolbarbutton-hover-background: var(--lwt-toolbarbutton-hover-background,
+ hsla(240, 5%, 5%, .1));
+ --toolbarbutton-hover-bordercolor: var(--lwt-toolbarbutton-hover-background,
+ hsla(240, 5%, 5%, .1));
+ --toolbarbutton-active-background: var(--lwt-toolbarbutton-active-background,
+ hsla(240, 5%, 5%, .15));
+ --toolbarbutton-active-bordercolor: var(--lwt-toolbarbutton-active-background,
+ hsla(240, 5%, 5%, .15));
+}
+
+#tabs-toolbar[brighttext] {
+ --toolbarbutton-hover-background: var(--lwt-toolbarbutton-hover-background,
+ hsla(0, 0%, 70%, .4));
+ --toolbarbutton-hover-bordercolor: var(--lwt-toolbarbutton-hover-background,
+ hsla(0, 0%, 70%, .4));
+ --toolbarbutton-active-background: var(--lwt-toolbarbutton-active-background,
+ hsla(0, 0%, 70%, .6));
+ --toolbarbutton-active-bordercolor: var(--lwt-toolbarbutton-active-background,
+ hsla(0, 0%, 70%, .6));
+}
+
+#navigation-toolbox {
+ appearance: none;
+ background-color: transparent;
+ border-top: none;
+}
+
+.titlebar-buttonbox-container {
+ margin-inline-end: 6px;
+}
+
+/**
+ * Titlebar drawing:
+ *
+ * We draw to titlebar when Gkt+ CSD is available. This is mostly
+ * straight-forward, but getting the window corners to look perfect is a bit
+ * tricky, as there are different variables to take into account.
+ *
+ * GTK windows have both a window radius (exposed via the
+ * `-moz-gtk-csd-titlebar-radius`) environment variable, and a window shadow
+ * (which we can't read back from GTK). Note that the native drawing does draw
+ * the shadow already.
+ *
+ * So there are multiple configurations to consider:
+ *
+ * * Whether we're using Wayland vs. X11
+ * * Whether we're using a lightweight theme or not.
+ *
+ * Consider the simple case (default system theme). We render the titlebar
+ * using `-moz-default-appearance: -moz-window-titlebar;`, then don't draw
+ * anything else. Success!
+ *
+ * Now consider lightweight themes: We need to render the native titlebar
+ * behind the "theme" titlebar in order to render the native shadow on X11. But
+ * we can't just use the #navigation-toolbox as that's where the lightweight
+ * theme background goes, so we need to use the #navigation-toolbox-background.
+ * We still have to apply the corner radii to #navigation-toolbox of course, so
+ * the lightweight theme background doesn't overflow the titlebar radius.
+ *
+ * In a Wayland-only world, the setup could be much simpler: We could apply the
+ * titlebar appearance to #navigation-toolbox, and just apply the border radius
+ * on the <body> or #navigation-toolbox-background to clip the extra shadow when
+ * using the system theme. For the lightweight theme, we could use
+ * appearance: none and the titlebar radius on the toolbox. In X11 however, we
+ * do need the native titlebar behind at all times.
+ */
+@media (-moz-gtk-csd-available) {
+ :root[tabsintitlebar][sizemode="normal"] {
+ background-color: transparent;
+ }
+
+ :root[tabsintitlebar] #titlebar {
+ color: CaptionText;
+ }
+
+ :root[tabsintitlebar] #titlebar:-moz-window-inactive {
+ color: InactiveCaptionText;
+ }
+
+ :root[tabsintitlebar] #titlebar:-moz-lwtheme {
+ color: inherit;
+ }
+
+ :root[tabsintitlebar] #navigation-toolbox-background {
+ appearance: auto;
+ -moz-default-appearance: -moz-window-titlebar-maximized;
+ }
+
+ :root[tabsintitlebar][sizemode="normal"]:not([gtktiledwindow="true"]) #navigation-toolbox-background {
+ -moz-default-appearance: -moz-window-titlebar;
+ }
+
+ :root[tabsintitlebar][sizemode="normal"]:not([gtktiledwindow="true"]) #navigation-toolbox:-moz-lwtheme,
+ :root[tabsintitlebar][sizemode="normal"]:not([gtktiledwindow="true"]) ::backdrop {
+ border-top-left-radius: env(-moz-gtk-csd-titlebar-radius);
+ border-top-right-radius: env(-moz-gtk-csd-titlebar-radius);
+ }
+
+ /* Make #tabs-toolbar transparent as we style underlying #titlebar with
+ * -moz-window-titlebar (Gtk+ theme). */
+ :root[tabsintitlebar] #tabs-toolbar,
+ :root[tabsintitlebar] #toolbar-menubar {
+ appearance: none;
+ color: inherit;
+ }
+
+ :root[tabsintitlebar] #mail-menubar {
+ color: inherit;
+ }
+
+ /* The button box must appear on top of the navigation-toolbox in order for
+ * click and hover mouse events to work properly for the button in the restored
+ * window state. Otherwise, elements in the navigation-toolbox, like the menubar,
+ * can swallow those events. */
+ .titlebar-buttonbox {
+ position: relative;
+ z-index: 1;
+ align-items: center;
+ }
+
+ /* Render titlebar command buttons according to system config.
+ * Use full scale icons here as the Gtk+ does. */
+ .titlebar-min {
+ appearance: auto;
+ -moz-default-appearance: -moz-window-button-minimize;
+ order: env(-moz-gtk-csd-minimize-button-position);
+ }
+ .titlebar-max {
+ appearance: auto;
+ -moz-default-appearance: -moz-window-button-maximize;
+ order: env(-moz-gtk-csd-maximize-button-position);
+ }
+ .titlebar-restore {
+ appearance: auto;
+ -moz-default-appearance: -moz-window-button-restore;
+ order: env(-moz-gtk-csd-maximize-button-position);
+ }
+ .titlebar-close {
+ appearance: auto;
+ -moz-default-appearance: -moz-window-button-close;
+ order: env(-moz-gtk-csd-close-button-position);
+ }
+
+ /* When using lightweight themes, use our own buttons since native ones might
+ * assume a native background in order to be visible. */
+ .titlebar-button:-moz-lwtheme {
+ appearance: none !important;
+ border-radius: 100%;
+ margin-inline: 5px;
+ padding: 1px;
+ }
+ .titlebar-button > .toolbarbutton-icon:-moz-lwtheme {
+ display: inline-flex;
+ padding: 3px;
+ -moz-context-properties: stroke;
+ stroke: currentColor;
+ }
+ .titlebar-min:-moz-lwtheme {
+ list-style-image: url(chrome://messenger/skin/window-controls/minimize.svg);
+ }
+ .titlebar-max:-moz-lwtheme {
+ list-style-image: url(chrome://messenger/skin/window-controls/maximize.svg);
+ }
+ .titlebar-restore:-moz-lwtheme {
+ list-style-image: url(chrome://messenger/skin/window-controls/restore.svg);
+ }
+ .titlebar-close:-moz-lwtheme {
+ list-style-image: url(chrome://messenger/skin/window-controls/close.svg);
+ }
+ .titlebar-button:-moz-lwtheme:hover {
+ background-color: color-mix(in srgb, currentColor 20%, transparent);
+ }
+ .titlebar-button:-moz-lwtheme:hover:active {
+ background-color: color-mix(in srgb, currentColor 28%, transparent);
+ }
+ .titlebar-close:-moz-lwtheme:hover {
+ background-color: #d70022;
+ color: white;
+ }
+ .titlebar-close:-moz-lwtheme:hover:active {
+ background-color: #ff0039;
+ }
+
+ @media not (-moz-gtk-csd-minimize-button) {
+ .titlebar-min {
+ display: none;
+ }
+ }
+ @media not (-moz-gtk-csd-maximize-button) {
+ .titlebar-restore,
+ .titlebar-max {
+ display: none;
+ }
+ }
+ @media not (-moz-gtk-csd-close-button) {
+ .titlebar-close {
+ display: none;
+ }
+ }
+
+ @media (-moz-gtk-csd-reversed-placement) {
+ .titlebar-buttonbox-container {
+ margin-inline-start: 6px;
+ }
+ }
+}
+
+toolbar:not(.inline-toolbar,.contentTabToolbar,:-moz-lwtheme) {
+ appearance: auto;
+ -moz-default-appearance: menubar;
+}
+
+.inline-toolbar,
+.contentTabToolbar {
+ appearance: none;
+ min-height: 15px;
+ padding: 0;
+}
+
+.inline-toolbar > toolbarseparator {
+ height: 28px;
+}
+
+menulist {
+ padding: 1px 6px !important;
+}
+
+/*
+ * Override the menulist icon forbidding in menu.css so that we can show
+ * check-marks. radio-marks and folder icons. bug 443516
+ */
+.menulist-menupopup > menuitem > .menu-iconic-left,
+menulist > menupopup >
+ menuitem:is(.menuitem-iconic,[type="radio"],[type="checkbox"]) >
+ .menu-iconic-left,
+.menulist-menupopup > menu > .menu-iconic-left,
+menulist > menupopup >
+ menu:is(.menuitem-iconic,[type="radio"],[type="checkbox"]) >
+ .menu-iconic-left {
+ display: flex;
+}
+
+/* ::::: Toolbar customization ::::: */
+
+toolbarpaletteitem[place="toolbar"] > toolbarspacer {
+ width: 11px;
+}
+
+/* ::::: toolbarbutton menu-button ::::: */
+
+toolbarbutton[is="toolbarbutton-menu-button"] {
+ align-items: stretch;
+ appearance: auto;
+ -moz-default-appearance: dualbutton;
+ flex-direction: row !important;
+ padding: 0 !important;
+}
+
+/* .......... dropmarker .......... */
+
+.toolbarbutton-menubutton-dropmarker {
+ appearance: auto;
+ -moz-default-appearance: toolbarbutton-dropdown !important;
+ list-style-image: none;
+}
+
+/* ::::: toolbarbutton ::::: */
+
+.toolbarbutton-1,
+.toolbarbutton-menubutton-button,
+.toolbarbutton-1[is="toolbarbutton-menu-button"],
+.toolbarbutton-1 .toolbarbutton-menu-dropmarker,
+.toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker {
+ appearance: none;
+}
+
+.toolbarbutton-1 .toolbarbutton-menu-dropmarker {
+ margin-inline-start: 3px;
+}
+
+toolbar[mode="text"] .toolbarbutton-text {
+ margin: 0 !important;
+ padding-inline: 2px !important;
+}
+
+.toolbarbutton-1[disabled=true] .toolbarbutton-icon,
+.toolbarbutton-1[disabled=true] .toolbarbutton-text,
+.toolbarbutton-1[disabled=true] .toolbarbutton-menu-dropmarker,
+.toolbarbutton-1[disabled=true] > .toolbarbutton-menubutton-dropmarker {
+ opacity: .4;
+}
+
+.sidebar-header .toolbarbutton-text:not([value]) {
+ display: none;
+}
+
+button[is="toolbarbutton-menu-button"] > .button-box > button {
+ margin-block: -5px;
+}
+
+/* message column icons */
+
+.treecol-sortdirection {
+ appearance: none;
+ -moz-context-properties: fill;
+ fill: currentColor;
+}
+
+treecol[sortDirection="ascending"]:not([hideheader="true"]) > .treecol-sortdirection {
+ list-style-image: url("chrome://global/skin/icons/arrow-down-12.svg");
+}
+
+treecol[sortDirection="descending"]:not([hideheader="true"]) > .treecol-sortdirection {
+ list-style-image: url("chrome://global/skin/icons/arrow-up-12.svg");
+}
+
+:root[lwt-tree] treecol:not([hideheader="true"]),
+:root[lwt-tree] .tree-columnpicker-button:not([hideheader="true"]) {
+ padding-inline-start: 7px;
+ padding-inline-end: 6px;
+}
+
+:root[lwt-tree] treechildren::-moz-tree-row(odd) {
+ background-color: transparent;
+}
+
+:root[lwt-tree] treechildren::-moz-tree-row(hover) {
+ background-color: hsla(0, 0%, 50%, 0.15);
+}
+
+treechildren::-moz-tree-cell-text {
+ padding-inline-start: 5px;
+}
+
+/* Status panel */
+
+.statuspanel-label {
+ margin: 0;
+ padding: 2px 4px;
+ background-color: -moz-dialog;
+ border: 1px none ThreeDShadow;
+ border-top-style: solid;
+ color: -moz-dialogText;
+ text-shadow: none;
+}
+
+.statuspanel-label:-moz-locale-dir(ltr):not([mirror]),
+.statuspanel-label:-moz-locale-dir(rtl)[mirror] {
+ border-right-style: solid;
+ border-top-right-radius: .3em;
+ margin-right: 1em;
+}
+
+.statuspanel-label:-moz-locale-dir(rtl):not([mirror]),
+.statuspanel-label:-moz-locale-dir(ltr)[mirror] {
+ border-left-style: solid;
+ border-top-left-radius: .3em;
+ margin-left: 1em;
+}
+
+.contentTabInstance {
+ background-color: -moz-dialog;
+}
+
+.contentTabInstance:-moz-lwtheme {
+ background-color: transparent;
+ background-image: linear-gradient(transparent 40px, -moz-dialog 40px);
+}
+
+fieldset {
+ margin: 5px;
+ padding: 5px;
+ border: none;
+}
+
+legend {
+ font-weight: bold;
+}
+
+fieldset > hbox,
+fieldset > vbox,
+fieldset > radiogroup {
+ width: -moz-available;
+}
+
+/* UI Density customization */
+
+treechildren::-moz-tree-row {
+ min-height: 1.6rem;
+}
+
+:root[uidensity="compact"] treechildren::-moz-tree-row {
+ min-height: 1.3rem;
+}
+
+:root[uidensity="touch"] treechildren::-moz-tree-row {
+ min-height: 2.4rem;
+}
diff --git a/comm/mail/themes/linux/mail/multimessageview.css b/comm/mail/themes/linux/mail/multimessageview.css
new file mode 100644
index 0000000000..aaea75ae57
--- /dev/null
+++ b/comm/mail/themes/linux/mail/multimessageview.css
@@ -0,0 +1,11 @@
+/* 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/multimessageview.css");
+
+/* linux-specific overrides for multimessageview.css*/
+
+.star {
+ top: 0.5em;
+}
diff --git a/comm/mail/themes/linux/mail/newsblog/feed-subscriptions.css b/comm/mail/themes/linux/mail/newsblog/feed-subscriptions.css
new file mode 100644
index 0000000000..482b11b8da
--- /dev/null
+++ b/comm/mail/themes/linux/mail/newsblog/feed-subscriptions.css
@@ -0,0 +1,7 @@
+/* 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/. */
+
+/* ::::: Feed Subscription styling :::::: */
+
+@import url("chrome://messenger/skin/shared/feedSubscribe.css");
diff --git a/comm/mail/themes/linux/mail/panelUI.css b/comm/mail/themes/linux/mail/panelUI.css
new file mode 100644
index 0000000000..51517dee4a
--- /dev/null
+++ b/comm/mail/themes/linux/mail/panelUI.css
@@ -0,0 +1,21 @@
+/* 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/panelUI.css");
+
+#appMenu-popup {
+ margin-top: -1px;
+}
+
+#appMenu-popup {
+ margin-inline: 0 -13px;
+}
+
+.subviewradio > .radio-label-box {
+ appearance: none;
+}
+
+.subviewbutton-iconic > .menu-text {
+ margin-inline-start: 21px !important;
+}
diff --git a/comm/mail/themes/linux/mail/popupPanel.css b/comm/mail/themes/linux/mail/popupPanel.css
new file mode 100644
index 0000000000..433df17ab7
--- /dev/null
+++ b/comm/mail/themes/linux/mail/popupPanel.css
@@ -0,0 +1,20 @@
+/* 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/popupPanel.css");
+
+@namespace html url("http://www.w3.org/1999/xhtml");
+
+#contactMoveDisabledText {
+ margin-top: 5px;
+}
+
+html|input.editContactTextbox {
+ padding: 3px 6px;
+}
+
+#messageHeaderCustomizationPanel {
+ margin-top: -10px;
+ margin-inline-end: 1px;
+}
diff --git a/comm/mail/themes/linux/mail/preferences/alwaysAsk.png b/comm/mail/themes/linux/mail/preferences/alwaysAsk.png
new file mode 100644
index 0000000000..45256d4e76
--- /dev/null
+++ b/comm/mail/themes/linux/mail/preferences/alwaysAsk.png
Binary files differ
diff --git a/comm/mail/themes/linux/mail/preferences/applications.css b/comm/mail/themes/linux/mail/preferences/applications.css
new file mode 100644
index 0000000000..c58ae9fdf5
--- /dev/null
+++ b/comm/mail/themes/linux/mail/preferences/applications.css
@@ -0,0 +1,25 @@
+/* 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/preferences/applications.css");
+
+/**
+ * Used by the cloudFile manager
+ */
+
+.cloudfileAccount > label {
+ margin-inline-start: 1px;
+ margin-block: initial;
+}
+
+.cloudfileAccount > input {
+ min-height: unset !important;
+ margin: 0 !important;
+ padding-block: 2px 3px !important;
+ padding-inline: 4px 3px !important;
+}
+
+.actionsMenu > menupopup > menuitem {
+ padding-inline-start: 12px;
+}
diff --git a/comm/mail/themes/linux/mail/preferences/preferences.css b/comm/mail/themes/linux/mail/preferences/preferences.css
new file mode 100644
index 0000000000..1797a762a7
--- /dev/null
+++ b/comm/mail/themes/linux/mail/preferences/preferences.css
@@ -0,0 +1,23 @@
+/* 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/preferences/preferences.css");
+@namespace html "http://www.w3.org/1999/xhtml";
+
+.treecol-sortdirection {
+ /* override the Linux only toolkit rule */
+ appearance: none;
+}
+
+tab + tab {
+ margin-inline-start: 0;
+}
+
+/**
+ * Dialog
+ */
+
+#defaultWebSearchPopup > menuitem > .menu-iconic-left {
+ margin-inline: 5px !important;
+}
diff --git a/comm/mail/themes/linux/mail/preferences/saveFile.png b/comm/mail/themes/linux/mail/preferences/saveFile.png
new file mode 100644
index 0000000000..c210e8473f
--- /dev/null
+++ b/comm/mail/themes/linux/mail/preferences/saveFile.png
Binary files differ
diff --git a/comm/mail/themes/linux/mail/primaryToolbar.css b/comm/mail/themes/linux/mail/primaryToolbar.css
new file mode 100644
index 0000000000..6e0a76b4d1
--- /dev/null
+++ b/comm/mail/themes/linux/mail/primaryToolbar.css
@@ -0,0 +1,15 @@
+/* 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/primaryToolbar.css");
+
+/* ::::: Mail Toolbars and Menubars ::::: */
+
+.mail-toolbox::after,
+.contentTabToolbox::after {
+ content: "";
+ display: flex;
+ height: 1px;
+ border-bottom: 1px solid var(--chrome-content-separator-color);
+}
diff --git a/comm/mail/themes/linux/mail/searchBox.css b/comm/mail/themes/linux/mail/searchBox.css
new file mode 100644
index 0000000000..d638743e12
--- /dev/null
+++ b/comm/mail/themes/linux/mail/searchBox.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/. */
+
+@import url("chrome://messenger/skin/shared/searchBox.css");
+
+.search-icon {
+ margin-inline-start: 7px;
+}
+
+.remote-gloda-search-container {
+ padding-block: 3px 2px;
+}
+
+.searchBox,
+.themeableSearchBox {
+ padding-block: 3px;
+ padding-inline: 4px 2px;
+ margin: 0 3px;
+}
+
+.autocomplete-richlistitem[type^="gloda-"] {
+ padding-inline-start: 10px;
+}
diff --git a/comm/mail/themes/linux/mail/searchDialog.css b/comm/mail/themes/linux/mail/searchDialog.css
new file mode 100644
index 0000000000..7504aa73a0
--- /dev/null
+++ b/comm/mail/themes/linux/mail/searchDialog.css
@@ -0,0 +1,41 @@
+/* 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/. */
+
+/* ===== searchDialog.css ===============================================
+ == Styles for the Mail Search dialog.
+ ======================================================================= */
+
+@import url("chrome://messenger/skin/shared/searchDialog.css");
+
+.search-menulist,
+.search-value-menulist {
+ width: 16em;
+}
+
+.small-button {
+ min-width: 3em;
+ margin: 2px;
+}
+
+.small-button + .small-button {
+ margin-inline-start: 0;
+ margin-inline-end: 4px;
+}
+
+treechildren::-moz-tree-cell-text(subjectCol) {
+ padding-inline-start: 0;
+}
+
+#checkSearchSubFolders,
+#checkSearchOnline {
+ margin-inline-start: 6px;
+}
+
+#booleanAndGroup {
+ margin-inline-start: 2px;
+}
+
+#gray_horizontal_splitter {
+ appearance: none;
+}
diff --git a/comm/mail/themes/linux/mail/spacesToolbar.css b/comm/mail/themes/linux/mail/spacesToolbar.css
new file mode 100644
index 0000000000..00e9471e10
--- /dev/null
+++ b/comm/mail/themes/linux/mail/spacesToolbar.css
@@ -0,0 +1,11 @@
+/* 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/spacesToolbar.css");
+
+@media (-moz-gtk-csd-available) {
+ :root[tabsintitlebar]:not([gtktiledwindow="true"]) .spaces-toolbar:not([hidden]) {
+ border-start-start-radius: env(-moz-gtk-csd-titlebar-radius);
+ }
+}
diff --git a/comm/mail/themes/linux/mail/tabmail.css b/comm/mail/themes/linux/mail/tabmail.css
new file mode 100644
index 0000000000..9e72bbf66a
--- /dev/null
+++ b/comm/mail/themes/linux/mail/tabmail.css
@@ -0,0 +1,91 @@
+/* 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/tabmail.css");
+
+/**
+ * Tabmail Tabs
+ */
+
+:root:not([tabsintitlebar]) #navigation-toolbox:not(:-moz-lwtheme) {
+ appearance: auto;
+ -moz-default-appearance: menubar;
+}
+
+#tabs-toolbar {
+ -moz-window-dragging: drag;
+ padding-block-end: 0;
+}
+
+#tabs-toolbar:not(:-moz-lwtheme) {
+ color: -moz-menubartext;
+}
+
+#tabpanelcontainer:-moz-lwtheme {
+ color: inherit;
+}
+
+tabpanels {
+ appearance: none;
+ background-color: transparent;
+}
+
+/**
+ * Tab
+ */
+
+.tabmail-tab .tab-label-container {
+ /* tabmail-tab focus ring */
+ border: 1px dotted transparent;
+ margin: -1px !important; /* let the border not consume any space, like outline */
+}
+
+.tabmail-tab[selected]:focus .tab-label-container {
+ border-color: -moz-DialogText;
+}
+
+/**
+ * Tab Scrollbox Arrow Buttons
+ */
+
+#tabmail-arrowscrollbox::part(scrollbutton-up),
+#tabmail-arrowscrollbox::part(scrollbutton-down) {
+ padding: 3px !important;
+ border-style: none !important;
+}
+
+#tabmail-arrowscrollbox:not([scrolledtostart=true])::part(scrollbutton-up):hover,
+#tabmail-arrowscrollbox:not([scrolledtoend=true])::part(scrollbutton-down):hover {
+ background: var(--toolbarbutton-active-background);
+}
+
+#tabmail-arrowscrollbox[scrolledtostart=true]::part(scrollbutton-up),
+#tabmail-arrowscrollbox[scrolledtoend=true]::part(scrollbutton-down) {
+ --toolbarbutton-icon-fill-opacity: .4;
+}
+
+/**
+ * All Tabs Menupopup
+ */
+
+.tabs-alltabs-button {
+ min-width: 24px;
+ padding-right: 1px;
+ padding-left: 1px;
+}
+
+.tabs-alltabs-button > .toolbarbutton-icon {
+ margin-inline-end: 0;
+}
+
+.alltabs-item > .menu-iconic-left {
+ visibility: visible !important;
+}
+
+/* Content Tabs */
+.contentTabAddress {
+ height: 32px;
+ padding-left: 10px;
+ padding-right: 10px;
+}
diff --git a/comm/mail/themes/linux/mail/themeableDialog.css b/comm/mail/themes/linux/mail/themeableDialog.css
new file mode 100644
index 0000000000..73537a5701
--- /dev/null
+++ b/comm/mail/themes/linux/mail/themeableDialog.css
@@ -0,0 +1,80 @@
+/* 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/themeableDialog.css");
+
+@namespace html url("http://www.w3.org/1999/xhtml");
+
+:root:-moz-lwtheme {
+ appearance: none;
+}
+
+button > .button-box {
+ appearance: none;
+ padding-block: 4px;
+}
+
+#resetColor > .button-box {
+ padding-block: 0;
+}
+
+.button-menu-dropmarker {
+ appearance: none;
+ padding: 0;
+ border: none;
+ background-color: transparent;
+ list-style-image: var(--icon-nav-down-sm);
+ -moz-context-properties: stroke;
+ stroke: currentColor;
+}
+
+menulist::part(dropmarker) {
+ display: flex;
+}
+
+html|input {
+ padding: 4px;
+}
+
+html|input[type="number"]::-moz-number-spin-up,
+html|input[type="number"]::-moz-number-spin-down {
+ min-height: 0.7em;
+}
+
+menulist[is="menulist-editable"][editable="true"] {
+ appearance: none;
+ margin-inline-end: 4px;
+ padding: 0;
+}
+
+menulist[is="menulist-editable"][editable="true"]::part(text-input) {
+ padding: 5px 4px;
+ margin-block: -2px;
+ margin-inline: -7px 7px;
+}
+
+menulist[is="menulist-editable"][editable="true"]::part(dropmarker) {
+ width: initial;
+ min-width: 0;
+ margin-block: 0;
+ margin-inline-end: 3px;
+}
+
+menulist menupopup menu,
+menulist menupopup menuitem,
+button menupopup menu,
+button menupopup menuitem {
+ appearance: none;
+ padding: 5px 8px;
+}
+
+.menu-right {
+ height: 1em;
+ margin-inline-end: 3px;
+ transform: scale(0.7);
+}
+
+tab + tab {
+ margin-inline-start: 0;
+}
diff --git a/comm/mail/themes/linux/mail/variables.css b/comm/mail/themes/linux/mail/variables.css
new file mode 100644
index 0000000000..f8bb95f640
--- /dev/null
+++ b/comm/mail/themes/linux/mail/variables.css
@@ -0,0 +1,18 @@
+/* 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/variables.css");
+
+:root {
+ --tabline-color: var(--selected-item-color);
+ --toolbar-non-lwt-bgcolor: color-mix(in srgb, -moz-dialog 85%, white);
+ --toolbar-non-lwt-textcolor: -moz-dialogtext;
+ --toolbar-non-lwt-bgimage: linear-gradient(rgba(255, 255, 255, 0.15),
+ rgba(255, 255, 255, 0.15));
+ --chrome-content-separator-color: ThreeDShadow;
+ --row-grouped-header-bg-color: -moz-dialog;
+ --row-grouped-header-bg-color-selected: var(--selected-item-color);
+ --panel-separator-color: ThreeDShadow;
+ --autocomplete-popup-url-color: -moz-nativehyperlinktext;
+}