start 2.48 cycle
[themes.git] / LCARStrek / global / menulist.css
... / ...
CommitLineData
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/. */
4
5/* ===== menulist.css ===================================================
6 == Styles used by the XUL menulist element.
7 ======================================================================= */
8
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 */
11
12/* :::::::::: menulist :::::::::: */
13
14menulist {
15 border-radius: 3px;
16 margin: 1px 2px;
17 border: 1px solid #9C9CFF;
18 background-color: #000000;
19 color: #E7ADE7;
20 text-shadow: none;
21}
22
23menulist[menuactive="true"],
24menulist:hover {
25 background-color: #FFCF00;
26 color: #000000;
27 border: 1px solid #9C9CFF;
28}
29
30menulist[open="true"] {
31 background-color: #FF9F00;
32 color: #000000;
33 border: 1px solid #FFCF00;
34}
35
36.menulist-label-box {
37 -moz-box-align: center;
38 -moz-box-pack: center;
39/* margin: 1px; */
40 color: inherit;
41}
42
43.menulist-label {
44 margin: 1px 3px !important;
45}
46
47.menulist-description {
48 font-style: italic;
49 color: #9C9CFF;
50 margin-inline-start: 1ex !important;
51}
52
53menulist:focus > .menulist-label-box {
54 background-color: #008484;
55 color: #FFCF00;
56}
57
58menulist:-moz-focusring:not([open="true"]) > .menulist-label-box {
59/* border: 1px dotted #FFCF00; */
60}
61
62menulist[disabled="true"] {
63 background-color: #000000;
64 color: #8050B0;
65 border-color: #8050B0;
66}
67
68/* ..... dropmarker ..... */
69
70.menulist-dropmarker {
71 border-radius: 0px 3px 3px 0px;
72 min-width: 15px;
73 border: none !important;
74 border-left: 1px solid #9C9CFF !important;
75}
76
77menulist[disabled="true"] > .menulist-dropmarker {
78 padding: 1px;
79 border-left: 1px solid #8050B0 !important;
80}
81
82menulist:not([disabled="true"])[menuactive="true"] > .menulist-dropmarker,
83menulist:not([disabled="true"])[open="true"] > .menulist-dropmarker,
84menulist:not([disabled="true"]):hover > .menulist-dropmarker,
85menulist:not([disabled="true"]):hover:active > .menulist-dropmarker {
86 list-style-image: url("chrome://global/skin/arrow/arrow-down-hover.gif");
87}
88
89menulist[menuactive="true"] > .menulist-dropmarker,
90menulist:hover > .menulist-dropmarker {
91 background-color: #FFCF00;
92}
93
94menulist:hover:active > .menulist-dropmarker,
95menulist[open="true"] > .menulist-dropmarker {
96 padding-top: 2px;
97 padding-bottom: 0;
98 padding-inline-start: 2px;
99 padding-inline-end: 0;
100 border: none;
101 border-left: 1px solid #FFCF00;
102 background-color: #FF9F00;
103}
104
105/* ::::: editable menulists ::::: */
106
107menulist[editable="true"] {
108 color: #E7ADE7;
109}
110
111.menulist-editable-box {
112 background-color: #000000;
113 padding: 2px;
114}
115
116html|*.menulist-editable-input {
117 margin: 0px !important;
118 border: none !important;
119 padding: 0px !important;
120 background-color: inherit;
121 color: inherit;
122 font: inherit;
123}