summaryrefslogtreecommitdiffstats
path: root/toolkit/themes/windows/global/menulist.css
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 17:32:43 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 17:32:43 +0000
commit6bf0a5cb5034a7e684dcc3500e841785237ce2dd (patch)
treea68f146d7fa01f0134297619fbe7e33db084e0aa /toolkit/themes/windows/global/menulist.css
parentInitial commit. (diff)
downloadthunderbird-6bf0a5cb5034a7e684dcc3500e841785237ce2dd.tar.xz
thunderbird-6bf0a5cb5034a7e684dcc3500e841785237ce2dd.zip
Adding upstream version 1:115.7.0.upstream/1%115.7.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'toolkit/themes/windows/global/menulist.css')
-rw-r--r--toolkit/themes/windows/global/menulist.css58
1 files changed, 58 insertions, 0 deletions
diff --git a/toolkit/themes/windows/global/menulist.css b/toolkit/themes/windows/global/menulist.css
new file mode 100644
index 0000000000..44198fb6f0
--- /dev/null
+++ b/toolkit/themes/windows/global/menulist.css
@@ -0,0 +1,58 @@
+/* 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://global/skin/menulist-shared.css");
+
+@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
+
+label {
+ margin: 0 3px;
+}
+
+:host([native]) {
+ appearance: auto;
+ -moz-default-appearance: menulist;
+ margin: 2px 4px;
+ color: FieldText;
+ text-shadow: none;
+}
+
+:host([native][disabled="true"]) {
+ background-color: -moz-Dialog;
+ color: GrayText;
+}
+
+/* Label box */
+
+#label-box[native] {
+ align-items: center;
+ justify-content: center;
+}
+
+:host([native]:not([open="true"]):focus) > #label-box {
+ background-color: SelectedItem;
+ color: SelectedItemText;
+}
+
+:host([native]:not([open="true"]):-moz-focusring) > #label-box {
+ outline: var(--default-focusring);
+}
+
+
+@media (-moz-windows-default-theme) {
+ #label-box[native] {
+ background-color: transparent !important;
+ color: inherit !important;
+ }
+
+ image[native],
+ label[native] {
+ margin-block: -1px !important;
+ }
+
+ dropmarker[native] {
+ margin-top: -2px;
+ margin-inline: 3px -3px;
+ }
+}