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");
43 background-color : #000000;
45 list-style-image : none;
50 padding : 0px !important;
51 cursor : default !important;
54 menu[disabled="true"], menuitem[disabled="true"],
55 menu[menuactive="true"][disabled="true"],
56 menuitem[menuactive="true"][disabled="true"]
61 menuitem[default="true"]
71 max-width : 42em; /* should move to content */
77 border : 1px solid #9C9CFF;
78 margin : 2px 0px 2px 0px;
79 cursor : default !important;
84 padding : 2px 0px 2px 3px;
85 margin : 0px 0px 0px 2px;
89 menubar > menu[menuactive="true"]
91 background-color : #FFCF00;
96 menubar > menu[menuactive="true"][open="true"]
98 background-color : #FF9F00;
103 menupopup > menu[menuactive="true"],
104 menupopup > menuitem[menuactive="true"],
105 popup > menu[menuactive="true"],
106 popup > menuitem[menuactive="true"]
108 background-color : #FFCF00;
113 * Atomic sub-parts of standard menus
117 margin : 0px 0px 0px 3px;
119 list-style-image : url("chrome://global/skin/menu-arrow.gif");
125 margin : 0px 4px 0px 3px;
127 list-style-image : inherit;
133 margin : 0px 2px 0px 0px;
136 .menu-iconic-text, .menu-iconic-accel, .menu-text, .menu-accel
143 margin : 2px 2px 2px 0px;
148 margin : 2px 2px 2px 23px;
153 margin : 2px 14px 2px 6px;
158 margin : 2px 14px 2px 4px;
167 menuitem[checked="true"]
169 list-style-image : url("chrome://global/skin/menu-check.gif");
172 menuitem[checked="true"][menuactive="true"]
174 list-style-image : url("chrome://global/skin/menu-check-hover.gif");
177 menuitem[checked="true"][disabled="true"]
179 list-style-image : url("chrome://global/skin/menu-check-disabled.gif");
182 menuitem[checked="true"][type="radio"]
184 list-style-image : url("chrome://global/skin/menu-radio.gif");
187 menuitem[checked="true"][type="radio"][disabled="true"]
189 list-style-image : url("chrome://global/skin/menu-radio-disabled.gif");
192 menuitem[checked="true"][type="radio"][menuactive="true"]
194 list-style-image : url("chrome://global/skin/menu-radio-hover.gif");
197 .menu-right[disabled="true"],
198 .menu-right[menuactive="true"][disabled="true"]
200 list-style-image : url("chrome://global/skin/menu-arrow-disabled.gif");
203 .menu-right[menuactive="true"]
205 list-style-image : url("chrome://global/skin/menu-arrow-hover.gif");
208 /* ::::: autocomplete menuitems ::::: */
210 .autocomplete-history-popup > menuitem
212 max-width : none !important;
216 /* ::::: menu/menuitems in a menulist popup ::::: */
218 menulist > menupopup > menuitem,
219 menulist > menupopup > menu
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; */
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
242 menulist > menupopup > menuitem[menuactive="true"]
244 border : 1px dotted #008484;
247 menulist > menupopup > menuitem > .menu-iconic-left,
248 menulist > menupopup > menuitem > .menu-iconic-left[menuactive="true"]
250 list-style-image : inherit;
255 menulist > menupopup > menuseparator
258 border-bottom: 1px solid WindowText;
262 /* ::::: tree column picker ::::: */
264 .treecell-popupcell-menu
267 list-style-image: url("chrome://global/skin/columnselect.gif");