1 /* ***** BEGIN LICENSE BLOCK *****
2 * Version: MPL 1.1/GPL 2.0/LGPL 2.1
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/
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
14 * The Original Code is "Classic" theme of mozilla.org code.
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.
22 * Robert Kaiser <KaiRo@KaiRo.at>
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.
36 * ***** END LICENSE BLOCK ***** */
38 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
44 list-style-image : none;
49 padding : 0px !important;
50 cursor : default !important;
53 menu[disabled="true"], menuitem[disabled="true"],
54 menu[menuactive="true"][disabled="true"],
55 menuitem[menuactive="true"][disabled="true"]
60 menuitem[default="true"]
70 max-width : 42em; /* should move to content */
76 border : 1px inset #CCD0DD;
77 margin : 2px 0px 2px 0px;
78 cursor : default !important;
83 padding : 2px 0px 2px 3px;
84 margin : 0px 2px 1px 0px;
85 border : 1px solid #CCD0DD;
88 menubar > menu[menuactive="true"]
90 border : 1px outset #CCD0DD;
93 menubar > menu[menuactive="true"][open="true"]
95 border : 1px inset #CCD0DD;
98 menupopup > menu[menuactive="true"],
99 menupopup > menuitem[menuactive="true"],
100 popup > menu[menuactive="true"],
101 popup > menuitem[menuactive="true"]
103 background-color : #336699;
108 * Atomic sub-parts of standard menus
112 margin : 0px 0px 0px 3px;
114 list-style-image : url("chrome://global/skin/menu-arrow.gif");
120 margin : 0px 4px 0px 3px;
122 list-style-image : inherit;
128 margin : 0px 2px 0px 0px;
131 .menu-iconic-text, .menu-iconic-accel, .menu-text, .menu-accel
138 margin : 2px 2px 2px 0px;
143 margin : 2px 2px 2px 23px;
148 margin : 2px 14px 2px 6px;
153 margin : 2px 14px 2px 4px;
162 menuitem[checked="true"]
164 list-style-image : url("chrome://global/skin/menu-check.gif");
167 menuitem[checked="true"][menuactive="true"]
169 list-style-image : url("chrome://global/skin/menu-check-hover.gif");
172 menuitem[checked="true"][disabled="true"]
174 list-style-image : url("chrome://global/skin/menu-check-disabled.gif");
177 menuitem[checked="true"][type="radio"]
179 list-style-image : url("chrome://global/skin/menu-radio.gif");
182 menuitem[checked="true"][type="radio"][disabled="true"]
184 list-style-image : url("chrome://global/skin/menu-radio-disabled.gif");
187 menuitem[checked="true"][type="radio"][menuactive="true"]
189 list-style-image : url("chrome://global/skin/menu-radio-hover.gif");
192 .menu-right[disabled="true"]
194 list-style-image : url("chrome://global/skin/menu-arrow-disabled.gif");
197 .menu-right[menuactive="true"][disabled="true"]
199 list-style-image : url("chrome://global/skin/menu-arrow-disabled.gif");
202 .menu-right[menuactive="true"]
204 list-style-image : url("chrome://global/skin/menu-arrow-hover.gif");
207 /* ::::: autocomplete menuitems ::::: */
209 .autocomplete-history-popup > menuitem
211 max-width : none !important;
215 /* ::::: menu/menuitems in a menulist popup ::::: */
217 menulist > menupopup > menuitem,
218 menulist > menupopup > menu
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; */
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
241 menulist > menupopup > menuitem[menuactive="true"]
243 border : 1px dotted #F5DB95;
246 menulist > menupopup > menuitem > .menu-iconic-left,
247 menulist > menupopup > menuitem > .menu-iconic-left[menuactive="true"]
249 list-style-image : inherit;
254 menulist > menupopup > menuseparator
257 border-bottom: 1px solid WindowText;
261 /* ::::: tree column picker ::::: */
263 .treecell-popupcell-menu
266 list-style-image: url("chrome://global/skin/columnselect.gif");