summaryrefslogtreecommitdiffstats
path: root/toolkit/themes/windows/global/menulist.css
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/themes/windows/global/menulist.css')
-rw-r--r--toolkit/themes/windows/global/menulist.css29
1 files changed, 29 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..c89fc73616
--- /dev/null
+++ b/toolkit/themes/windows/global/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://global/skin/menulist-shared.css");
+
+:host([native]) {
+ margin: 2px 4px;
+ color: FieldText;
+}
+
+@media (prefers-contrast) {
+ :host([native]:not([open="true"]):focus) > #label-box {
+ background-color: SelectedItem;
+ color: SelectedItemText;
+ }
+}
+
+:host([native]:not([open="true"]):focus-visible) > #label-box {
+ outline: var(--default-focusring);
+}
+
+:host([native]) :is(image, label) {
+ margin-block: -1px;
+}
+
+:host([native]) dropmarker {
+ margin-inline: 3px -3px;
+}