update to suite default status of 2009-01-30: bug 474807 - replace margin/padding...
[themes.git] / LCARStrek / global / global.css
... / ...
CommitLineData
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 *
16 * The Initial Developer of the Original Code is
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
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 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
45@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
46
47/* ::::: XBL bindings ::::: */
48
49checkbox {
50 -moz-binding: url("chrome://global/content/bindings/checkbox.xml#checkbox-with-spacing");
51}
52
53radio {
54 -moz-binding: url("chrome://global/skin/globalBindings.xml#radio-with-spacing");
55}
56
57menulist > menupopup,
58.menulist-menupopup {
59 -moz-binding: url("chrome://global/content/bindings/popup.xml#popup-scrollbars");
60}
61
62.menulist-compact {
63 -moz-binding: url("chrome://global/skin/globalBindings.xml#menulist-compact");
64}
65
66/* LCARStrek special bindings */
67
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");
78}
79
80toolbaritem > menubar {
81 -moz-binding: url("chrome://global/skin/globalBindings.xml#menubar");
82}
83
84/*
85progressmeter[mode="undetermined"] {
86 -moz-binding: url("chrome://global/content/bindings/progressmeter.xml#progressmeter-undetermined");
87}
88*/
89
90/* ::::: root elements ::::: */
91
92window,
93page,
94dialog,
95wizard,
96prefwindow {
97 background-color: #000000;
98 color: #FF9F00;
99/* font: 3mm "Final Frontier",tahoma,arial,helvetica,sans-serif; */
100 font: 11px helvetica,arial,tahoma,sans-serif;
101 padding: 3px;
102}
103
104/* deprecated */
105window.dialog {
106 background-color: #000000;
107 padding: 8px 10px 10px 8px;
108}
109
110/* ::::: alert icons :::::*/
111
112.message-icon,
113.alert-icon,
114.error-icon,
115.question-icon,
116.authentication-icon {
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
133.question-icon,
134.authentication-icon {
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;
152 min-height: 16px;
153}
154
155.statusbar-center {
156 background-color: #8050B0;
157 -moz-padding-start: 2px;
158 color: #000000;
159 -moz-box-align: stretch;
160}
161
162.statusbar-left {
163 -moz-border-radius: 9px 0px 0px 9px;
164 background-color: #6000CF;
165 width: 13px;
166 -moz-margin-end: 3px;
167}
168
169.statusbar-right {
170 -moz-border-radius: 0px 9px 9px 0px;
171 background-color: #6000CF;
172 width: 13px;
173 -moz-margin-start: 3px;
174}
175
176statusbarpanel {
177 -moz-box-align: center;
178 -moz-box-pack: center;
179 padding: 0px 1px 0px 1px;
180}
181
182.statusbar-resizerpanel {
183 -moz-box-align: end;
184 -moz-box-pack: end;
185 padding: 0px;
186}
187
188.statusbarpanel-iconic,
189.statusbarpanel-iconic-text,
190.statusbarpanel-menu-iconic {
191 padding: 0px 1px;
192}
193
194resizer[dir="bottomright"] {
195 cursor: se-resize;
196}
197
198window:not([active="true"]) menubar > menu {
199 color: #8050B0;
200}
201
202.toolbar-focustarget {
203 -moz-user-focus: ignore !important;
204}
205
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 -moz-margin-start: 0.4em;
244 -moz-margin-end: 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/* -moz-margin-start: 23px; */
294 -moz-margin-start: 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
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;
374}