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 > .menulist-label-box {
54 background-color: #008484;
58 menulist:-moz-focusring:not([open="true"]) > .menulist-label-box {
59 /* border: 1px dotted #FFCF00; */
62 menulist[disabled="true"] {
63 background-color: #000000;
65 border-color: #8050B0;
68 /* ..... dropmarker ..... */
70 .menulist-dropmarker {
71 border-radius: 0px 3px 3px 0px;
73 border: none !important;
74 border-left: 1px solid #9C9CFF !important;
77 menulist[disabled="true"] > .menulist-dropmarker {
79 border-left: 1px solid #8050B0 !important;
82 menulist:not([disabled="true"])[menuactive="true"] > .menulist-dropmarker,
83 menulist:not([disabled="true"])[open="true"] > .menulist-dropmarker,
84 menulist:not([disabled="true"]):hover > .menulist-dropmarker,
85 menulist:not([disabled="true"]):hover:active > .menulist-dropmarker {
86 list-style-image: url("chrome://global/skin/arrow/arrow-down-hover.gif");
89 menulist[menuactive="true"] > .menulist-dropmarker,
90 menulist:hover > .menulist-dropmarker {
91 background-color: #FFCF00;
94 menulist:hover:active > .menulist-dropmarker,
95 menulist[open="true"] > .menulist-dropmarker {
98 -moz-padding-start: 2px;
101 border-left: 1px solid #FFCF00;
102 background-color: #FF9F00;
105 /* ::::: editable menulists ::::: */
107 menulist[editable="true"] {
111 .menulist-editable-box {
112 background-color: #000000;
116 html|*.menulist-editable-input {
117 margin: 0px !important;
118 border: none !important;
119 padding: 0px !important;
120 background-color: inherit;