try to make mac menubar not bring up an empty toolbar
[themes.git] / LCARStrek / global / global.css
CommitLineData
9099c61d
RK
1/* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
351107c9 4
5/* ===== global.css =====================================================
6 == Styles that apply everywhere.
7 ======================================================================= */
8
9/* all localizable skin settings shall live here */
10@import url("chrome://global/locale/intl.css");
b2c22e16 11@import url("chrome://global/content/global-platform.css");
351107c9 12
351107c9 13@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
14
b1eaa419 15/* ::::: XBL bindings ::::: */
351107c9 16
3d6dd546 17checkbox {
18 -moz-binding: url("chrome://global/content/bindings/checkbox.xml#checkbox-with-spacing");
19}
20
b1eaa419 21radio {
3d6dd546 22 -moz-binding: url("chrome://global/skin/globalBindings.xml#radio-with-spacing");
351107c9 23}
24
b1eaa419 25menulist > menupopup,
26.menulist-menupopup {
27 -moz-binding: url("chrome://global/content/bindings/popup.xml#popup-scrollbars");
351107c9 28}
29
b1eaa419 30.menulist-compact {
6046f027 31 -moz-binding: url("chrome://global/skin/globalBindings.xml#menulist-compact");
b1eaa419 32}
351107c9 33
34/* LCARStrek special bindings */
35
b1eaa419 36statusbar {
37 -moz-binding: url("chrome://global/skin/globalBindings.xml#statusbar");
38}
39
40toolbar {
41 -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar");
42}
43
44menubar {
45 -moz-binding: url("chrome://global/skin/globalBindings.xml#menubar");
dd676468
RK
46}
47
48toolbaritem > menubar {
b36fc72e 49 -moz-binding: url("chrome://global/content/bindings/toolbar.xml#menubar");
b1eaa419 50}
3a121502 51/*
52progressmeter[mode="undetermined"] {
53 -moz-binding: url("chrome://global/content/bindings/progressmeter.xml#progressmeter-undetermined");
54}
55*/
56
b1eaa419 57/* ::::: root elements ::::: */
58
59window,
60page,
61dialog,
c79d2bbe
RK
62wizard,
63prefwindow {
b1eaa419 64 background-color: #000000;
65 color: #FF9F00;
66/* font: 3mm "Final Frontier",tahoma,arial,helvetica,sans-serif; */
4ed82c79 67 font: 11px "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
b1eaa419 68 padding: 3px;
69}
70
71/* deprecated */
3d6dd546 72window.dialog {
b1eaa419 73 background-color: #000000;
02920d2b
RK
74 padding-top: 8px;
75 padding-bottom: 10px;
76 -moz-padding-start: 8px;
77 -moz-padding-end: 10px;
b1eaa419 78}
79
b1eaa419 80/* ::::: alert icons :::::*/
81
82.message-icon,
83.alert-icon,
84.error-icon,
c79d2bbe
RK
85.question-icon,
86.authentication-icon {
b1eaa419 87 width: 32px;
88 height: 32px;
89}
90
91.message-icon {
92 list-style-image: url("chrome://global/skin/icons/alert-message.gif");
93}
94
95.alert-icon {
96 list-style-image: url("chrome://global/skin/icons/alert-exclam.gif");
97}
98
99.error-icon {
100 list-style-image: url("chrome://global/skin/icons/alert-error.gif");
101}
102
c79d2bbe
RK
103.question-icon,
104.authentication-icon {
b1eaa419 105 list-style-image: url("chrome://global/skin/icons/alert-question.gif");
106}
107
108/* ::::: iframe ::::: */
109
110iframe {
111 border: none;
112 width: 100px;
113 height: 100px;
114 min-width: 10px;
115 min-height: 10px;
116}
117
118/* ::::: statusbar ::::: */
119
120statusbar {
121 margin-top: 3px;
c79d2bbe 122 min-height: 16px;
b1eaa419 123}
124
125.statusbar-center {
126 background-color: #8050B0;
8caa872d 127 -moz-padding-start: 2px;
507ac708 128 color: #FFCF00;
d0646e4a 129 -moz-box-align: stretch;
b1eaa419 130}
131
132.statusbar-left {
569543b3 133 border-radius: 9px 0px 0px 9px;
b1eaa419 134 background-color: #6000CF;
135 width: 13px;
8caa872d 136 -moz-margin-end: 3px;
b1eaa419 137}
138
139.statusbar-right {
569543b3 140 border-radius: 0px 9px 9px 0px;
b1eaa419 141 background-color: #6000CF;
142 width: 13px;
8caa872d 143 -moz-margin-start: 3px;
b1eaa419 144}
145
146statusbarpanel {
147 -moz-box-align: center;
148 -moz-box-pack: center;
2184a049 149 border-left: 3px solid black;
507ac708 150 padding: 0px 2px;
b1eaa419 151}
3d6dd546 152
2184a049
RK
153statusbarpanel:first-child {
154 border-left: none;
155}
156
a064a540
RK
157statusbarpanel:not(.statusbar-resizerpanel):-moz-lwtheme {
158 -moz-appearance: none;
159 border-top-style: none;
160 border-bottom-style: none;
161 -moz-border-start-style: none;
162}
163
b1eaa419 164.statusbar-resizerpanel {
165 -moz-box-align: end;
166 -moz-box-pack: end;
167 padding: 0px;
168}
169
cfae8c74
RK
170.statusbarpanel-iconic,
171.statusbarpanel-iconic-text,
172.statusbarpanel-menu-iconic {
507ac708
RK
173}
174
175.statusbarpanel-progress {
176 -moz-box-orient: vertical;
9e9946be 177 padding: 0px;
3d6dd546 178}
b1eaa419 179
b1eaa419 180.toolbar-focustarget {
181 -moz-user-focus: ignore !important;
182}
6046f027 183
18f5421a
RK
184toolbar[mode="text"] .toolbarbutton-text {
185 /* padding: 0 !important;
186 margin: 3px 5px !important; */
187}
188
cfae8c74
RK
189/* ::::: miscellaneous formatting ::::: */
190
3b1530c2
RK
191:root:-moz-lwtheme,
192[lwthemefooter="true"] {
193 -moz-appearance: none;
194}
195
196:root:-moz-lwtheme-darktext {
24547055 197 text-shadow: 0 -0.5px 1.5px #FFCF00;
3b1530c2
RK
198}
199
200:root:-moz-lwtheme-brighttext {
201 text-shadow: 1px 1px 2px #000000;
202}
203
204statusbar:-moz-lwtheme,
205sidebarheader:-moz-lwtheme {
206 -moz-appearance: none;
207 background: none;
208 border-style: none;
209}
210
cfae8c74
RK
211.inset {
212/* border: 1px inset #FF9F00;
02920d2b 213 margin: 0px 5px 5px; */
cfae8c74
RK
214}
215
216.outset {
217/* border: 1px outset #FF9F00; */
218}
219
220/* separators */
221separator:not([orient="vertical"]) {
222 height: 1.5em;
223}
224
225separator[orient="vertical"] {
226 width: 1.5em;
227}
228
229separator.thin:not([orient="vertical"]) {
230 height: 0.5em;
231}
232
233separator.thin[orient="vertical"] {
234 width: 0.5em;
235}
236
237separator.groove:not([orient="vertical"]) {
238 border-top: 2px groove #FF9F00;
239 height: 0px;
240 margin-top: 0.4em;
241 margin-bottom: 0.4em;
242}
243
244separator.groove[orient="vertical"] {
245 border-left: 2px groove #FF9F00;
8caa872d
RK
246 -moz-margin-start: 0.4em;
247 -moz-margin-end: 0.4em;
cfae8c74
RK
248}
249
250/* groove separators (0 padding, for dividing effects) */
251separator.groove-thin {
252 border-top: 2px groove #FF9F00;
253 height: 0px;
254}
255
256separator[orient="vertical"].groove-thin {
257 border-left: 2px groove #FF9F00;
258}
259
260.small-margin {
261 margin: 0px 1px;
262}
263
264.plain {
18f5421a 265 -moz-appearance: none;
cfae8c74
RK
266 margin: 0px !important;
267 border: none;
268 padding: 0px;
269}
270
271description, label {
272 cursor: default;
d15efd04 273 margin: 1px 2px;
cfae8c74
RK
274}
275
276label[disabled="true"] {
277 color: #8050B0;
278}
279
280description {
281/* margin-bottom: 4px; */
282}
283
284.tooltip-label {
285 margin: 0px;
286}
287
288.header {
289 font-weight: bold;
290}
291
292.monospace {
8ad8bf83 293 font-family: "Liberation Mono", Consolas, "Courier New", monospace;
cfae8c74
RK
294}
295
296.indent {
8caa872d
RK
297/* -moz-margin-start: 23px; */
298 -moz-margin-start: 15px;
cfae8c74
RK
299}
300
301.box-padded {
302 padding: 5px;
303}
304
305.spaced {
306 margin: 1px 3px;
307}
308
309.wizard-box {
02920d2b 310 padding: 15px 35px 10px;
cfae8c74
RK
311}
312
313.text-link {
dbd844cb 314 color: #3333FF;
cfae8c74
RK
315 text-decoration: underline;
316 cursor: pointer;
317}
318
024ec655 319.text-link:-moz-focusring {
cfae8c74
RK
320 /* Don't specify the outline-color, we should always use initial value. */
321 outline: 1px dotted;
322}
323
c79d2bbe
RK
324/* :::::: autoscroll popup ::::: */
325
18f5421a 326.autoscroller {
c79d2bbe
RK
327 height: 28px;
328 width: 28px;
329 border: 0px;
330 margin: -14px;
331 padding: 0px;
332 background-image: url("chrome://global/skin/icons/autoscroll.png");
333 background-color: transparent;
334 -moz-appearance: none;
335}
336
18f5421a 337.autoscroller[scrolldir="NS"] {
c79d2bbe
RK
338 background-position: left center;
339}
340
18f5421a 341.autoscroller[scrolldir="EW"] {
c79d2bbe
RK
342 background-position: left bottom;
343}
344
18f5421a 345.autoscroller[transparent="true"] {
c79d2bbe
RK
346 background-position: center top;
347}
348
18f5421a 349.autoscroller[transparent="true"][scrolldir="NS"] {
c79d2bbe
RK
350 background-position: center center;
351}
352
18f5421a 353.autoscroller[transparent="true"][scrolldir="EW"] {
c79d2bbe
RK
354 background-position: center bottom;
355}
356
18f5421a 357.autoscroller[translucent="true"] {
c79d2bbe
RK
358 background-position: right top;
359}
360
18f5421a 361.autoscroller[translucent="true"][scrolldir="NS"] {
c79d2bbe
RK
362 background-position: right center;
363}
364
18f5421a 365.autoscroller[translucent="true"][scrolldir="EW"] {
c79d2bbe 366 background-position: right bottom;
6046f027 367}