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