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