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.css62
1 files changed, 62 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..7ca8b28421
--- /dev/null
+++ b/toolkit/themes/windows/global/menulist.css
@@ -0,0 +1,62 @@
+/* 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 url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
+
+:host {
+ appearance: auto;
+ -moz-default-appearance: menulist;
+ margin: 2px 4px;
+ color: FieldText;
+ text-shadow: none;
+}
+
+:host([disabled="true"]) {
+ background-color: -moz-Dialog;
+ color: GrayText;
+}
+
+/* Label box */
+
+#label-box {
+ -moz-box-align: center;
+ -moz-box-pack: center;
+}
+
+:host(:not([open="true"]):focus) > #label-box {
+ background-color: Highlight;
+ color: HighlightText;
+}
+
+:host(:not([open="true"]):-moz-focusring) > #label-box {
+ outline: 1px dotted;
+}
+
+/* Labels */
+
+label {
+ margin: 0 3px !important;
+}
+
+#highlightable-label:not([highlightable="true"]),
+#label[highlightable="true"] {
+ display: none;
+}
+
+@media (-moz-windows-default-theme) {
+ #label-box {
+ background-color: transparent !important;
+ color: inherit !important;
+ }
+
+ image,
+ label {
+ margin-block: -1px !important;
+ }
+
+ dropmarker {
+ margin-top: -2px;
+ margin-inline: 3px -3px;
+ }
+}