1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5 /* ===== menulist.css ===================================================
6 == Styles used by the XUL menulist element.
7 ======================================================================= */
9 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
10 @namespace html url("http://www.w3.org/1999/xhtml"); /* namespace for HTML elements */
12 /* :::::::::: menulist :::::::::: */
17 border: 1px solid #9C9CFF;
18 background-color: #000000;
23 menulist[menuactive="true"],
25 background-color: #FFCF00;
27 border: 1px solid #9C9CFF;
30 menulist[open="true"] {
31 background-color: #FF9F00;
33 border: 1px solid #FFCF00;
37 -moz-box-align: center;
38 -moz-box-pack: center;
44 margin: 1px 3px !important;
47 .menulist-description {
50 -moz-margin-start: 1ex !important;
53 menulist:focus:not(.menulist-compact) > .menulist-label-box {
54 background-color: #008484;
58 menulist:-moz-focusring:not([open="true"]):not(.menulist-compact) > .menulist-label-box {
59 /* border: 1px dotted #FFCF00; */
62 menulist[disabled="true"] {
63 background-color: #000000;
65 border: 1px solid #8050B0;
68 /* ..... dropmarker ..... */
70 .menulist-dropmarker {
71 border-radius: 0px 3px 3px 0px;
74 border-left: 1px solid #9C9CFF;
78 menulist[disabled="true"]:hover:active > .menulist-dropmarker {
81 border-left: 1px solid #9C9CFF;
84 menulist[menuactive="true"] > .menulist-dropmarker,
85 menulist[open="true"] > .menulist-dropmarker,
86 menulist:hover > .menulist-dropmarker,
87 menulist:hover:active > .menulist-dropmarker {
88 list-style-image: url("chrome://global/skin/arrow/arrow-down-hover.gif");
91 menulist[menuactive="true"] > .menulist-dropmarker,
92 menulist:hover > .menulist-dropmarker {
93 background-color: #FFCF00;
96 menulist:hover:active > .menulist-dropmarker,
97 menulist[open="true"] > .menulist-dropmarker {
100 -moz-padding-start: 2px;
103 border-left: 1px solid #FFCF00;
104 background-color: #FF9F00;
107 /* ::::: editable menulists ::::: */
109 menulist[editable="true"] {
113 .menulist-editable-box {
114 background-color: #000000;
118 html|*.menulist-editable-input {
119 margin: 0px !important;
120 border: none !important;
121 padding: 0px !important;
122 background-color: inherit;
127 /* ::::: compact menulists ::::: */
130 -moz-box-align: center;
131 -moz-box-pack: center;
134 border: 1px solid #9C9CFF;
135 list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
138 .menulist-compact > .menulist-label-box > .menulist-label {
139 margin: 0 3px !important;
143 .menulist-compact > .menulist-label-box > .menulist-icon {
144 -moz-margin-start: 2px;
147 .menulist-compact[open="true"] {
148 border: 1px solid #FFCF00;
151 .menulist-compact:hover,
152 .menulist-compact[open="true"] {
153 list-style-image: url("chrome://global/skin/arrow/arrow-down-hover.gif");
156 .menulist-compact[disabled="true"] {
157 list-style-image: url("chrome://global/skin/arrow/arrow-down-disabled.gif");