some LCARStrek polish: throbber should look like a normal button and fill the hieght...
[themes.git] / LCARStrek / global / global.css
CommitLineData
351107c9 1/* ***** BEGIN LICENSE BLOCK *****
2 * Version: NPL 1.1/GPL 2.0/LGPL 2.1
3 *
4 * The contents of this file are subject to the Netscape Public License
5 * Version 1.1 (the "License"); you may not use this file except in
6 * compliance with the License. You may obtain a copy of the License at
7 * http://www.mozilla.org/NPL/
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 mozilla.org code.
15 *
3d6dd546 16 * The Initial Developer of the Original Code is
351107c9 17 * Netscape Communications Corporation.
18 * Portions created by the Initial Developer are Copyright (C) 1998
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
3d6dd546 25 * either the GNU General Public License Version 2 or later (the "GPL"), or
351107c9 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 NPL, 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 NPL, the GPL or the LGPL.
35 *
36 * ***** END LICENSE BLOCK ***** */
37
38/* ===== global.css =====================================================
39 == Styles that apply everywhere.
40 ======================================================================= */
41
42/* all localizable skin settings shall live here */
43@import url("chrome://global/locale/intl.css");
44
351107c9 45@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
46
b1eaa419 47/* ::::: XBL bindings ::::: */
351107c9 48
3d6dd546 49checkbox {
50 -moz-binding: url("chrome://global/content/bindings/checkbox.xml#checkbox-with-spacing");
51}
52
b1eaa419 53radio {
3d6dd546 54 -moz-binding: url("chrome://global/skin/globalBindings.xml#radio-with-spacing");
351107c9 55}
56
b1eaa419 57menulist > menupopup,
58.menulist-menupopup {
59 -moz-binding: url("chrome://global/content/bindings/popup.xml#popup-scrollbars");
351107c9 60}
61
b1eaa419 62.menulist-compact {
6046f027 63 -moz-binding: url("chrome://global/skin/globalBindings.xml#menulist-compact");
b1eaa419 64}
351107c9 65
66/* LCARStrek special bindings */
67
b1eaa419 68statusbar {
69 -moz-binding: url("chrome://global/skin/globalBindings.xml#statusbar");
70}
71
72toolbar {
73 -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar");
74}
75
76menubar {
77 -moz-binding: url("chrome://global/skin/globalBindings.xml#menubar");
dd676468
RK
78}
79
80toolbaritem > menubar {
81 -moz-binding: url("chrome://global/skin/globalBindings.xml#menubar");
b1eaa419 82}
83
3a121502 84/*
85progressmeter[mode="undetermined"] {
86 -moz-binding: url("chrome://global/content/bindings/progressmeter.xml#progressmeter-undetermined");
87}
88*/
89
b1eaa419 90/* ::::: root elements ::::: */
91
92window,
93page,
94dialog,
c79d2bbe
RK
95wizard,
96prefwindow {
b1eaa419 97 background-color: #000000;
98 color: #FF9F00;
99/* font: 3mm "Final Frontier",tahoma,arial,helvetica,sans-serif; */
80916bc4 100 font: 11px helvetica,arial,tahoma,sans-serif;
b1eaa419 101 padding: 3px;
102}
103
104/* deprecated */
3d6dd546 105window.dialog {
b1eaa419 106 background-color: #000000;
107 padding: 8px 10px 10px 8px;
108}
109
b1eaa419 110/* ::::: alert icons :::::*/
111
112.message-icon,
113.alert-icon,
114.error-icon,
c79d2bbe
RK
115.question-icon,
116.authentication-icon {
b1eaa419 117 width: 32px;
118 height: 32px;
119}
120
121.message-icon {
122 list-style-image: url("chrome://global/skin/icons/alert-message.gif");
123}
124
125.alert-icon {
126 list-style-image: url("chrome://global/skin/icons/alert-exclam.gif");
127}
128
129.error-icon {
130 list-style-image: url("chrome://global/skin/icons/alert-error.gif");
131}
132
c79d2bbe
RK
133.question-icon,
134.authentication-icon {
b1eaa419 135 list-style-image: url("chrome://global/skin/icons/alert-question.gif");
136}
137
138/* ::::: iframe ::::: */
139
140iframe {
141 border: none;
142 width: 100px;
143 height: 100px;
144 min-width: 10px;
145 min-height: 10px;
146}
147
148/* ::::: statusbar ::::: */
149
150statusbar {
151 margin-top: 3px;
c79d2bbe 152 min-height: 16px;
b1eaa419 153}
154
155.statusbar-center {
156 background-color: #8050B0;
157 padding-left: 2px;
15d3cb53 158 color: #000000;
d0646e4a 159 -moz-box-align: stretch;
b1eaa419 160}
161
162.statusbar-left {
163 -moz-border-radius: 9px 0px 0px 9px;
164 background-color: #6000CF;
165 width: 13px;
166 margin-right: 3px;
167}
168
169.statusbar-right {
170 -moz-border-radius: 0px 9px 9px 0px;
171 background-color: #6000CF;
172 width: 13px;
173 margin-left: 3px;
174}
175
176statusbarpanel {
177 -moz-box-align: center;
178 -moz-box-pack: center;
179 padding: 0px 1px 0px 1px;
180}
3d6dd546 181
b1eaa419 182.statusbar-resizerpanel {
183 -moz-box-align: end;
184 -moz-box-pack: end;
185 padding: 0px;
186}
187
cfae8c74
RK
188.statusbarpanel-iconic,
189.statusbarpanel-iconic-text,
190.statusbarpanel-menu-iconic {
191 padding: 0px 1px;
3d6dd546 192}
b1eaa419 193
b935f37c 194resizer[dir="bottomright"] {
195 cursor: se-resize;
196}
197
cfae8c74
RK
198window:not([active="true"]) menubar > menu {
199 color: #8050B0;
200}
b1eaa419 201
202.toolbar-focustarget {
203 -moz-user-focus: ignore !important;
204}
6046f027 205
cfae8c74
RK
206/* ::::: miscellaneous formatting ::::: */
207
208.inset {
209/* border: 1px inset #FF9F00;
210 margin: 0px 5px 5px 5px; */
211}
212
213.outset {
214/* border: 1px outset #FF9F00; */
215}
216
217/* separators */
218separator:not([orient="vertical"]) {
219 height: 1.5em;
220}
221
222separator[orient="vertical"] {
223 width: 1.5em;
224}
225
226separator.thin:not([orient="vertical"]) {
227 height: 0.5em;
228}
229
230separator.thin[orient="vertical"] {
231 width: 0.5em;
232}
233
234separator.groove:not([orient="vertical"]) {
235 border-top: 2px groove #FF9F00;
236 height: 0px;
237 margin-top: 0.4em;
238 margin-bottom: 0.4em;
239}
240
241separator.groove[orient="vertical"] {
242 border-left: 2px groove #FF9F00;
243 margin-left: 0.4em;
244 margin-right: 0.4em;
245}
246
247/* groove separators (0 padding, for dividing effects) */
248separator.groove-thin {
249 border-top: 2px groove #FF9F00;
250 height: 0px;
251}
252
253separator[orient="vertical"].groove-thin {
254 border-left: 2px groove #FF9F00;
255}
256
257.small-margin {
258 margin: 0px 1px;
259}
260
261.plain {
262 margin: 0px !important;
263 border: none;
264 padding: 0px;
265}
266
267description, label {
268 cursor: default;
269 margin: 1px 3px;
270}
271
272label[disabled="true"] {
273 color: #8050B0;
274}
275
276description {
277/* margin-bottom: 4px; */
278}
279
280.tooltip-label {
281 margin: 0px;
282}
283
284.header {
285 font-weight: bold;
286}
287
288.monospace {
289 font-family: monospace;
290}
291
292.indent {
293/* margin-left: 23px; */
294 margin-left: 15px;
295}
296
297.box-padded {
298 padding: 5px;
299}
300
301.spaced {
302 margin: 1px 3px;
303}
304
305.wizard-box {
306 padding: 15px 35px 10px 35px;
307}
308
309.text-link {
310 color: blue;
311 text-decoration: underline;
312 cursor: pointer;
313}
314
315.text-link:focus {
316 color: red;
317 /* Don't specify the outline-color, we should always use initial value. */
318 outline: 1px dotted;
319}
320
321.text-link:hover:active {
322 color: red;
323}
324
325.text-link[visited="true"] {
326 color: purple;
327}
328
329
330
c79d2bbe
RK
331/* :::::: autoscroll popup ::::: */
332
333#autoscroller {
334 height: 28px;
335 width: 28px;
336 border: 0px;
337 margin: -14px;
338 padding: 0px;
339 background-image: url("chrome://global/skin/icons/autoscroll.png");
340 background-color: transparent;
341 -moz-appearance: none;
342}
343
344#autoscroller[scrolldir="NS"] {
345 background-position: left center;
346}
347
348#autoscroller[scrolldir="EW"] {
349 background-position: left bottom;
350}
351
352#autoscroller[transparent="true"] {
353 background-position: center top;
354}
355
356#autoscroller[transparent="true"][scrolldir="NS"] {
357 background-position: center center;
358}
359
360#autoscroller[transparent="true"][scrolldir="EW"] {
361 background-position: center bottom;
362}
363
364#autoscroller[translucent="true"] {
365 background-position: right top;
366}
367
368#autoscroller[translucent="true"][scrolldir="NS"] {
369 background-position: right center;
370}
371
372#autoscroller[translucent="true"][scrolldir="EW"] {
373 background-position: right bottom;
6046f027 374}