update both themes for suite classic changes up to 2010-08-13
[themes.git] / LCARStrek / global / menulist.css
... / ...
CommitLineData
1/* ***** BEGIN LICENSE BLOCK *****
2 * Version: MPL 1.1/GPL 2.0/LGPL 2.1
3 *
4 * The contents of this file are subject to the Mozilla Public License Version
5 * 1.1 (the "License"); you may not use this file except in compliance with
6 * the License. You may obtain a copy of the License at
7 * http://www.mozilla.org/MPL/
8 *
9 * Software distributed under the License is distributed on an "AS IS" basis,
10 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
11 * for the specific language governing rights and limitations under the
12 * License.
13 *
14 * The Original Code is "Classic" theme of mozilla.org code.
15 *
16 * The Initial Developer of the Original Code is
17 * the Mozilla Organization.
18 * Portions created by the Initial Developer are Copyright (C) 1998-2001
19 * the Initial Developer. All Rights Reserved.
20 *
21 * Contributor(s):
22 * Robert Kaiser <KaiRo@KaiRo.at>
23 *
24 * Alternatively, the contents of this file may be used under the terms of
25 * either the GNU General Public License Version 2 or later (the "GPL"), or
26 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
27 * in which case the provisions of the GPL or the LGPL are applicable instead
28 * of those above. If you wish to allow use of your version of this file only
29 * under the terms of either the GPL or the LGPL, and not to allow others to
30 * use your version of this file under the terms of the MPL, indicate your
31 * decision by deleting the provisions above and replace them with the notice
32 * and other provisions required by the GPL or the LGPL. If you do not delete
33 * the provisions above, a recipient may use your version of this file under
34 * the terms of any one of the MPL, the GPL or the LGPL.
35 *
36 * ***** END LICENSE BLOCK ***** */
37
38/* ===== menulist.css ===================================================
39 == Styles used by the XUL menulist element.
40 ======================================================================= */
41
42@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
43@namespace html url("http://www.w3.org/1999/xhtml"); /* namespace for HTML elements */
44
45/* :::::::::: menulist :::::::::: */
46
47menulist {
48 -moz-border-radius: 3px;
49 margin: 2px 4px;
50 border: 1px solid #9C9CFF;
51 background-color: #000000;
52 color: #E7ADE7;
53 text-shadow: none;
54}
55
56menulist[menuactive="true"],
57menulist:hover {
58 background-color: #FFCF00;
59 color: #000000;
60 border: 1px solid #9C9CFF;
61}
62
63menulist[open="true"] {
64 background-color: #FF9F00;
65 color: #000000;
66 border: 1px solid #FFCF00;
67}
68
69.menulist-label-box {
70 -moz-box-align: center;
71 -moz-box-pack: center;
72/* margin: 1px; */
73 color: inherit;
74}
75
76.menulist-label {
77 margin: 1px 3px !important;
78}
79
80.menulist-description {
81 font-style: italic;
82 color: #9C9CFF;
83 -moz-margin-start: 1ex !important;
84}
85
86menulist:focus:not(.menulist-compact) > .menulist-label-box {
87 background-color: #008484;
88 color: #FFCF00;
89}
90
91menulist:-moz-focusring:not([open="true"]):not(.menulist-compact) > .menulist-label-box {
92/* border: 1px dotted #FFCF00; */
93}
94
95menulist[disabled="true"] {
96 background-color: #000000;
97 color: #8050B0;
98 border: 1px solid #8050B0;
99}
100
101/* ..... dropmarker ..... */
102
103.menulist-dropmarker {
104 -moz-border-radius: 0px 3px 3px 0px;
105 min-width: 15px;
106 border: none;
107 border-left: 1px solid #9C9CFF;
108}
109
110.menulist-dropmarker,
111menulist[disabled="true"]:hover:active > .menulist-dropmarker {
112 padding: 1px;
113 border: none;
114 border-left: 1px solid #9C9CFF;
115}
116
117menulist[menuactive="true"] > .menulist-dropmarker,
118menulist[open="true"] > .menulist-dropmarker,
119menulist:hover > .menulist-dropmarker,
120menulist:hover:active > .menulist-dropmarker {
121 list-style-image: url("chrome://global/skin/arrow/arrow-down-hover.gif");
122}
123
124menulist[menuactive="true"] > .menulist-dropmarker,
125menulist:hover > .menulist-dropmarker {
126 background-color: #FFCF00;
127}
128
129menulist:hover:active > .menulist-dropmarker,
130menulist[open="true"] > .menulist-dropmarker {
131 padding-top: 2px;
132 padding-bottom: 0;
133 -moz-padding-start: 2px;
134 -moz-padding-end: 0;
135 border: none;
136 border-left: 1px solid #FFCF00;
137 background-color: #FF9F00;
138}
139
140/* ::::: editable menulists ::::: */
141
142menulist[editable="true"] {
143 color: #E7ADE7;
144}
145
146.menulist-editable-box {
147 background-color: #000000;
148 padding: 2px;
149}
150
151html|*.menulist-editable-input {
152 margin: 0px !important;
153 border: none !important;
154 padding: 0px !important;
155 font: inherit;
156}
157
158/* ::::: compact menulists ::::: */
159
160.menulist-compact {
161 -moz-box-align: center;
162 -moz-box-pack: center;
163 margin: 0px;
164 color: #E7ADE7;
165 border: 1px solid #9C9CFF;
166 list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
167}
168
169.menulist-compact > .menulist-label-box > .menulist-label {
170 margin: 0 3px !important;
171 text-align: end;
172}
173
174.menulist-compact > .menulist-label-box > .menulist-icon {
175 -moz-margin-start: 2px;
176}
177
178.menulist-compact[open="true"] {
179 border: 1px solid #FFCF00;
180}
181
182.menulist-compact:hover,
183.menulist-compact[open="true"] {
184 list-style-image: url("chrome://global/skin/arrow/arrow-down-hover.gif");
185}
186
187.menulist-compact[disabled="true"] {
188 list-style-image: url("chrome://global/skin/arrow/arrow-down-disabled.gif");
189}