update with classic theme development, keep about:plugins compatible for 1.7 release...
[themes.git] / LCARStrek / 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.css =======================================================
41   == Styles used by XUL menu-related elements.
42   ======================================================================= */
43
44 /* ::::: menu/menuitem ::::: */
45
46 menu,
47 menuitem {
48   -moz-box-align: center;
49   color: #000000;
50   background-color: #000000;
51   color: #FF9F00;
52   list-style-image: none;
53 }
54
55 menuitem[default="true"] {
56   font-weight: bold;
57 }
58
59 menu[disabled="true"],
60 menuitem[disabled="true"],
61 menu[_moz-menuactive="true"][disabled="true"],
62 menuitem[_moz-menuactive="true"][disabled="true"] {
63   color: #8050B0;
64 }
65
66 /* ..... internal content .... */
67
68 .menu-text,
69 .menu-iconic-left,
70 .menu-iconic-text {
71   margin: 0px 2px 0px 0px !important;
72   color: inherit;
73 }
74
75 .menu-text {
76   margin-left: 18px !important;
77   font-weight: inherit;
78 }
79
80 .menu-description {
81   font-style: italic;
82   color: #8050B0;
83   margin-left: 1ex !important;
84 }
85
86 .menu-accel,
87 .menu-iconic-accel {
88   margin: 0px 2px 0px 7px !important;
89   padding-right: 14px;
90   color: inherit;
91 }
92
93 .menu-iconic-icon {
94   list-style-image: inherit;
95 }
96
97 .menu-iconic-left {
98   -moz-box-align: center;
99   -moz-box-pack: center;
100   width: 16px;
101 /*  height: 16px; */
102 }
103
104 /* ..... menu arrow box ..... */
105
106 .menu-right {
107   margin: 0px 0px 0px 3px;
108   width: 8px;
109   list-style-image: url("chrome://global/skin/menu/menu-arrow.gif");
110 }
111
112 .menu-right[_moz-menuactive="true"] {
113   list-style-image: url("chrome://global/skin/menu/menu-arrow-hover.gif");
114 }
115
116 .menu-right[disabled="true"] {
117   list-style-image: url("chrome://global/skin/menu/menu-arrow-disabled.gif") !important;
118 }
119
120 /* ::::: menu/menuitems in menubar ::::: */
121
122 menubar > menu {
123   padding: 2px 0px 2px 3px;
124   margin: 0px 0px 0px 2px;
125   border: none;
126 }
127
128 menubar > menu[_moz-menuactive="true"] {
129   background-color: #FFCF00;
130   color: #000000;
131   border: none;
132 }
133
134 menubar > menu[_moz-menuactive="true"][open="true"] {
135   background-color: #FF9F00;
136   color: #000000;
137   border: none;
138 }
139
140 /* ..... internal content .... */
141
142 .menubar-left {
143   margin: 0px 2px 0px 0px;
144   color: inherit;
145 }
146
147 .menubar-text {
148   margin: 0px 2px 0px 0px !important;
149   color: inherit;
150 }
151
152 /* ::::: menu/menuitems in popups ::::: */
153
154 menupopup > menu,
155 popup > menu,
156 menupopup > menuitem,
157 popup > menuitem {
158   padding: 2px;
159   max-width: 42em;
160 }
161
162 menupopup > menu[_moz-menuactive="true"],
163 menupopup > menuitem[_moz-menuactive="true"],
164 popup > menu[_moz-menuactive="true"],
165 popup > menuitem[_moz-menuactive="true"] {
166   background-color: #FFCF00;
167   color: #000000;
168 }
169
170 /* ::::: menu/menuitems in menulist popups ::::: */
171
172 .menulist-menupopup > menuitem,
173 menulist > menupopup > menuitem,
174 .menulist-menupopup > menu,
175 menulist > menupopup > menu {
176   border: 1px solid transparent;
177   padding: 1px 30px 1px 5px;
178   max-width: none;
179 }
180
181 .menulist-menupopup > menuitem > .menu-iconic-left,
182 menulist > menupopup > menuitem > .menu-iconic-left,
183 .menulist-menupopup > menu > .menu-iconic-left,
184 menulist > menupopup > menu > .menu-iconic-left {
185   display: none;
186 }
187
188 menulist > menupopup > menuitem[_moz-menuactive="true"] {
189   border: 1px dotted #FF9F00;
190 }
191
192 /* ::::: checkbox menuitem ::::: */
193
194 menuitem[checked="true"] {
195   list-style-image: url("chrome://global/skin/menu/menu-check.gif");
196 }
197
198 menuitem[checked="true"][disabled="true"] {
199   list-style-image: url("chrome://global/skin/menu/menu-check-disabled.gif");
200 }
201
202 menuitem[checked="true"][_moz-menuactive="true"] {
203    list-style-image: url("chrome://global/skin/menu/menu-check-hover.gif");
204 }
205
206 /* ::::: radio menuitem ::::: */
207
208 menuitem[checked="true"][type="radio"] {
209   list-style-image: url("chrome://global/skin/menu/menu-radio.gif");
210 }
211
212 menuitem[checked="true"][type="radio"][disabled="true"] {
213   list-style-image: url("chrome://global/skin/menu/menu-radio-disabled.gif");
214 }
215
216 menuitem[checked="true"][type="radio"][_moz-menuactive="true"] {
217   list-style-image: url("chrome://global/skin/menu/menu-radio-hover.gif");
218 }
219
220 /* ::::: menuseparator ::::: */
221
222 menuseparator {
223   border: 1px solid #9C9CFF;
224   margin: 2px 0px 2px 0px;
225 }
226
227 menulist > menupopup > menuseparator,
228 .menulist-menupopup > menuseparator {
229   border: 1px solid #9C9CFF;
230   margin: 2px 0px 2px 0px;
231 }
232
233 /* ::::: autocomplete ::::: */
234
235 .autocomplete-history-popup > menuitem {
236   max-width: none !important;
237 }
238
239 .treecell-popupcell-menu {
240   margin-left: -2px;
241   list-style-image: url("chrome://global/skin/tree/columnpicker.gif");
242 }