adding files again in right directories
[themes.git] / LCARStrek / global / menu.css
CommitLineData
351107c9 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@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
39
40menu, menuitem
41 {
42 border : none;
43 background-color : #000000;
44 color : #FF9F00;
45 list-style-image : none;
46 }
47
48menuitem
49 {
50 padding : 0px !important;
51 cursor : default !important;
52 }
53
54menu[disabled="true"], menuitem[disabled="true"],
55menu[menuactive="true"][disabled="true"],
56menuitem[menuactive="true"][disabled="true"]
57 {
58 color : #8050B0;
59 }
60
61menuitem[default="true"]
62 {
63 font-weight : bold;
64 }
65
66menupopup > menu,
67menupopup > menuitem,
68popup > menu,
69popup > menuitem
70 {
71 max-width : 42em; /* should move to content */
72 margin : 0px;
73 }
74
75menuseparator
76 {
77 border : 1px solid #9C9CFF;
78 margin : 2px 0px 2px 0px;
79 cursor : default !important;
80 }
81
82menubar > menu
83 {
84 padding : 2px 0px 2px 3px;
85 margin : 0px 0px 0px 2px;
86 border : none;
87 }
88
89menubar > menu[menuactive="true"]
90 {
91 background-color : #FFCF00;
92 color : #000000;
93 border : none;
94 }
95
96menubar > menu[menuactive="true"][open="true"]
97 {
98 background-color : #FF9F00;
99 color : #000000;
100 border : none;
101 }
102
103menupopup > menu[menuactive="true"],
104menupopup > menuitem[menuactive="true"],
105popup > menu[menuactive="true"],
106popup > menuitem[menuactive="true"]
107 {
108 background-color : #FFCF00;
109 color : #000000;
110 }
111
112/**
113 * Atomic sub-parts of standard menus
114 **/
115.menu-right
116 {
117 margin : 0px 0px 0px 3px;
118 width : 8px;
119 list-style-image : url("chrome://global/skin/menu-arrow.gif");
120 }
121
122.menu-iconic-left
123 {
124 color : inherit;
125 margin : 0px 4px 0px 3px;
126 width : 16px;
127 list-style-image : inherit;
128 }
129
130.menubar-left
131 {
132 color : inherit;
133 margin : 0px 2px 0px 0px;
134 }
135
136.menu-iconic-text, .menu-iconic-accel, .menu-text, .menu-accel
137 {
138 color : inherit;
139 }
140
141.menu-iconic-text
142 {
143 margin : 2px 2px 2px 0px;
144 }
145
146.menu-text
147 {
148 margin : 2px 2px 2px 23px;
149 }
150
151.menu-accel
152 {
153 margin : 2px 14px 2px 6px;
154 }
155
156.menu-iconic-accel
157 {
158 margin : 2px 14px 2px 4px;
159 }
160
161.menubar-text
162 {
163 color : inherit;
164 margin-right : 2px;
165 }
166
167menuitem[checked="true"]
168 {
169 list-style-image : url("chrome://global/skin/menu-check.gif");
170 }
171
172menuitem[checked="true"][menuactive="true"]
173 {
174 list-style-image : url("chrome://global/skin/menu-check-hover.gif");
175 }
176
177menuitem[checked="true"][disabled="true"]
178 {
179 list-style-image : url("chrome://global/skin/menu-check-disabled.gif");
180 }
181
182menuitem[checked="true"][type="radio"]
183 {
184 list-style-image : url("chrome://global/skin/menu-radio.gif");
185 }
186
187menuitem[checked="true"][type="radio"][disabled="true"]
188 {
189 list-style-image : url("chrome://global/skin/menu-radio-disabled.gif");
190 }
191
192menuitem[checked="true"][type="radio"][menuactive="true"]
193 {
194 list-style-image : url("chrome://global/skin/menu-radio-hover.gif");
195 }
196
197.menu-right[disabled="true"],
198.menu-right[menuactive="true"][disabled="true"]
199 {
200 list-style-image : url("chrome://global/skin/menu-arrow-disabled.gif");
201 }
202
203.menu-right[menuactive="true"]
204 {
205 list-style-image : url("chrome://global/skin/menu-arrow-hover.gif");
206 }
207
208/* ::::: autocomplete menuitems ::::: */
209
210.autocomplete-history-popup > menuitem
211 {
212 max-width : none !important;
213 font-size : smaller;
214 }
215
216/* ::::: menu/menuitems in a menulist popup ::::: */
217
218 menulist > menupopup > menuitem,
219 menulist > menupopup > menu
220 {
221 border : 1px solid transparent;
222 padding : 0px 7px !important;
223 min-width : 0px; /* should be in content*/
224 max-width : none; /* should be in content*/
225/* font : message-box;
226 color : -moz-FieldText; */
227 }
228
229 menulist > menupopup > menuitem > .menu-iconic-accel,
230 menulist > menupopup > menuitem > .menu-accel,
231 menulist > menupopup > menuitem > .menu-text,
232 menulist > menupopup > menuitem > .menu-iconic-text,
233 menulist > menupopup > menu > .menu-text,
234 menulist > menupopup > menu > .menu-accel,
235 menulist > menupopup > menu > .menu-iconic-text,
236 menulist > menupopup > menu > .menu-iconic-accel
237 {
238 margin-top : 0px;
239 margin-bottom : 0px;
240 }
241
242 menulist > menupopup > menuitem[menuactive="true"]
243 {
244 border : 1px dotted #008484;
245 }
246
247 menulist > menupopup > menuitem > .menu-iconic-left,
248 menulist > menupopup > menuitem > .menu-iconic-left[menuactive="true"]
249 {
250 list-style-image : inherit;
251 width : 0px;
252 border : none;
253 }
254/*
255 menulist > menupopup > menuseparator
256 {
257 border-top: none;
258 border-bottom: 1px solid WindowText;
259 }
260*/
261
262/* ::::: tree column picker ::::: */
263
264 .treecell-popupcell-menu
265 {
266 margin-left: -4px;
267 list-style-image: url("chrome://global/skin/columnselect.gif");
268 }