53cf677c015947126be959e1f1f62b6186128384
[themes.git] / LCARStrek / global / global.css
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/. */
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");
11
12 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
13
14 /* ::::: XBL bindings ::::: */
15
16 checkbox {
17   -moz-binding: url("chrome://global/content/bindings/checkbox.xml#checkbox-with-spacing");
18 }
19
20 radio {
21   -moz-binding: url("chrome://global/skin/globalBindings.xml#radio-with-spacing");
22 }
23
24 menulist > menupopup {
25   -moz-binding: url("chrome://global/content/bindings/popup.xml#popup-scrollbars");
26 }
27
28 /* LCARStrek special bindings */
29
30 statusbar {
31   -moz-binding: url("chrome://global/skin/globalBindings.xml#statusbar");
32 }
33
34 toolbar {
35   -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar");
36 }
37
38 menubar {
39   -moz-binding: url("chrome://global/skin/globalBindings.xml#menubar");
40 }
41
42 toolbaritem > menubar {
43   -moz-binding: url("chrome://global/content/bindings/toolbar.xml#menubar");
44 }
45
46 @media (-moz-mac-graphite-theme), (-moz-mac-lion-theme) {
47   /* This is a hackish workaround to cover most of Mac OS until bug 1060941 gets fixed. */
48   toolbar.chromeclass-menubar {
49     -moz-binding: url("chrome://global/content/bindings/toolbar.xml#toolbar");
50     border-bottom: none;
51   }
52 }
53
54 /* ::::: Variables ::::: */
55 :root {
56   --panel-arrowcontent-padding: 6px;
57   --panel-arrowcontent-background: #000000;
58   --panel-arrowcontent-color: #FF9F00;
59   --panel-arrowcontent-border-color: #FF9F00;
60 }
61
62 /* ::::: root elements ::::: */
63
64 window,
65 page,
66 dialog,
67 wizard,
68 prefwindow {
69   background-color: #000000;
70   color: #FF9F00;
71 /*  font: 3mm "Final Frontier",tahoma,arial,helvetica,sans-serif; */
72   font: 11px "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
73   padding: 3px;
74 }
75
76 /* deprecated */
77 window.dialog {
78   background-color: #000000;
79   padding-top: 8px;
80   padding-bottom: 10px;
81   padding-inline-start: 8px;
82   padding-inline-end: 10px;
83 }
84
85 /* ::::: alert icons :::::*/
86
87 .message-icon,
88 .alert-icon,
89 .error-icon,
90 .question-icon,
91 .authentication-icon {
92   width: 32px;
93   height: 32px;
94 }
95
96 .message-icon {
97   list-style-image: url("chrome://global/skin/icons/alert-message.gif");
98 }
99
100 .alert-dialog #info\.icon,
101 .alert-icon {
102   list-style-image: url("chrome://global/skin/icons/alert-exclam.gif");
103 }
104
105 .error-icon {
106   list-style-image: url("chrome://global/skin/icons/alert-error.gif");
107 }
108
109 .question-icon,
110 .authentication-icon {
111   list-style-image: url("chrome://global/skin/icons/alert-question.gif");
112 }
113
114 /* ::::: iframe ::::: */
115
116 iframe {
117   border: none;
118   width: 100px;
119   height: 100px;
120   min-width: 10px;
121   min-height: 10px;
122 }
123
124 /* ::::: statusbar ::::: */
125
126 statusbar {
127   margin-top: 3px;
128   min-height: 16px;
129 }
130
131 .statusbar-center {
132   background-color: #8050B0;
133   padding-inline-start: 2px;
134   color: #FFCF00;
135   -moz-box-align: stretch;
136 }
137
138 .statusbar-left {
139   border-radius: 9px 0px 0px 9px;
140   background-color: #6000CF;
141   width: 13px;
142   margin-inline-end: 3px;
143 }
144
145 .statusbar-right {
146   border-radius: 0px 9px 9px 0px;
147   background-color: #6000CF;
148   width: 13px;
149   margin-inline-start: 3px;
150 }
151
152 statusbarpanel {
153   -moz-box-align: center;
154   -moz-box-pack: center;
155   border-left: 3px solid black;
156   padding: 0px 2px;
157 }
158
159 statusbarpanel:first-child {
160   border-left: none;
161 }
162
163 statusbarpanel:not(.statusbar-resizerpanel):-moz-lwtheme {
164   -moz-appearance: none;
165   border-top-style: none;
166   border-bottom-style: none;
167   border-inline-start-style: none;
168 }
169
170 .statusbar-resizerpanel {
171   -moz-box-align: end;
172   -moz-box-pack: end;
173   padding: 0px;
174 }
175
176 .statusbarpanel-iconic,
177 .statusbarpanel-iconic-text,
178 .statusbarpanel-menu-iconic {
179 }
180
181 .statusbarpanel-progress {
182   -moz-box-orient: vertical;
183   padding: 0px;
184 }
185
186 .toolbar-focustarget {
187   -moz-user-focus: ignore !important;
188 }
189
190 toolbar[mode="text"] .toolbarbutton-text {
191   /* padding: 0 !important;
192   margin: 3px 5px !important; */
193 }
194
195 /* ::::: miscellaneous formatting ::::: */
196
197 :root:-moz-lwtheme,
198 [lwthemefooter="true"] {
199   -moz-appearance: none;
200 }
201
202 :root:-moz-lwtheme-darktext {
203   text-shadow: 0 -0.5px 1.5px #FFCF00;
204 }
205
206 :root:-moz-lwtheme-brighttext {
207   text-shadow: 1px 1px 2px #000000;
208 }
209
210 statusbar:-moz-lwtheme,
211 sidebarheader:-moz-lwtheme {
212   -moz-appearance: none;
213   background: none;
214   border-style: none;
215 }
216
217 .inset {
218 /*  border: 1px inset #FF9F00;
219   margin: 0px 5px 5px; */
220 }
221
222 .outset {
223 /*  border: 1px outset #FF9F00; */
224 }
225
226 /* separators */
227 separator:not([orient="vertical"]) {
228   height: 1.5em;
229 }
230
231 separator[orient="vertical"] {
232   width: 1.5em;
233 }
234
235 separator.thin:not([orient="vertical"]) {
236   height: 0.5em;
237 }
238
239 separator.thin[orient="vertical"] {
240   width: 0.5em;
241 }
242
243 separator.groove:not([orient="vertical"]) {
244   border-top: 2px groove #FF9F00;
245   height: 0px;
246   margin-top: 0.4em;
247   margin-bottom: 0.4em;
248 }
249
250 separator.groove[orient="vertical"] {
251   border-left: 2px groove #FF9F00;
252   margin-inline-start: 0.4em;
253   margin-inline-end: 0.4em;
254 }
255
256 /* groove separators (0 padding, for dividing effects) */
257 separator.groove-thin {
258   border-top: 2px groove #FF9F00;
259   height: 0px;
260 }
261
262 separator[orient="vertical"].groove-thin {
263   border-left: 2px groove #FF9F00;
264 }
265
266 .small-margin {
267   margin: 0px 1px;
268 }
269
270 .plain {
271   -moz-appearance: none;
272   margin: 0px !important;
273   border: none;
274   padding: 0px;
275 }
276
277 description, label  {
278   cursor: default;
279   margin: 1px 2px;
280 }
281
282 label[disabled="true"] {
283   color: #8050B0;
284 }
285
286 description {
287 /*  margin-bottom: 4px; */
288 }
289
290 .tooltip-label {
291   margin: 0px;
292 }
293
294 .header {
295   font-weight: bold;
296 }
297
298 .monospace {
299   font-family: "Liberation Mono", Consolas, "Courier New", monospace;
300 }
301
302 .indent {
303 /*  margin-inline-start: 23px; */
304   margin-inline-start: 15px;
305 }
306
307 .box-padded {
308   padding: 5px;
309 }
310
311 .spaced {
312   margin: 1px 3px;
313 }
314
315 .wizard-box {
316   padding: 15px 35px 10px;
317 }
318
319 .text-link {
320   color: #3333FF;
321   cursor: pointer;
322 }
323
324 .text-link:hover {
325   text-decoration: underline;
326 }
327
328 .text-link:-moz-focusring {
329   /* Don't specify the outline-color, we should always use initial value. */
330   outline: 1px dotted;
331 }
332
333 popupnotificationcontent {
334   margin-top: .5em;
335 }
336
337 /* :::::: autoscroll popup ::::: */
338
339 .autoscroller {
340   height: 28px;
341   width: 28px;
342   border: 0px;
343   margin: -14px;
344   padding: 0px;
345   background-image: url("chrome://global/skin/icons/autoscroll.png");
346   background-color: transparent;
347   -moz-appearance: none;
348 }
349
350 .autoscroller[scrolldir="NS"] {
351   background-position: left center;
352 }
353
354 .autoscroller[scrolldir="EW"] {
355   background-position: left bottom;
356 }
357
358 .autoscroller[transparent="true"] {
359   background-position: center top;
360 }
361
362 .autoscroller[transparent="true"][scrolldir="NS"] {
363   background-position: center center;
364 }
365
366 .autoscroller[transparent="true"][scrolldir="EW"] {
367   background-position: center bottom;
368 }
369
370 .autoscroller[translucent="true"] {
371   background-position: right top;
372 }
373
374 .autoscroller[translucent="true"][scrolldir="NS"] {
375   background-position: right center;
376 }
377
378 .autoscroller[translucent="true"][scrolldir="EW"] {
379   background-position: right bottom;
380 }
381
382 /* :::::: Close button icons ::::: */
383
384 .close-icon {
385   list-style-image: url("chrome://global/skin/icons/close.png");
386   -moz-image-region: rect(0, 16px, 16px, 0);
387 }
388
389 .close-icon:hover,
390 .close-icon:hover:active {
391   -moz-image-region: rect(0, 32px, 16px, 16px);
392 }
393
394 .close-icon > .button-icon,
395 .close-icon > .button-box > .button-icon,
396 .close-icon > .toolbarbutton-icon {
397   width: 16px;
398 }