sync both themes with toolkit windows theme changes in Mozilla 35 cycle
[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 /* ::::: root elements ::::: */
55
56 window,
57 page,
58 dialog,
59 wizard,
60 prefwindow {
61   background-color: #000000;
62   color: #FF9F00;
63 /*  font: 3mm "Final Frontier",tahoma,arial,helvetica,sans-serif; */
64   font: 11px "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
65   padding: 3px;
66 }
67
68 /* deprecated */
69 window.dialog {
70   background-color: #000000;
71   padding-top: 8px;
72   padding-bottom: 10px;
73   -moz-padding-start: 8px;
74   -moz-padding-end: 10px;
75 }
76
77 /* ::::: alert icons :::::*/
78
79 .message-icon,
80 .alert-icon,
81 .error-icon,
82 .question-icon,
83 .authentication-icon {
84   width: 32px;
85   height: 32px;
86 }
87
88 .message-icon {
89   list-style-image: url("chrome://global/skin/icons/alert-message.gif");
90 }
91
92 .alert-icon {
93   list-style-image: url("chrome://global/skin/icons/alert-exclam.gif");
94 }
95
96 .error-icon {
97   list-style-image: url("chrome://global/skin/icons/alert-error.gif");
98 }
99
100 .question-icon,
101 .authentication-icon {
102   list-style-image: url("chrome://global/skin/icons/alert-question.gif");
103 }
104
105 /* ::::: iframe ::::: */
106
107 iframe {
108   border: none;
109   width: 100px;
110   height: 100px;
111   min-width: 10px;
112   min-height: 10px;
113 }
114
115 /* ::::: statusbar ::::: */
116
117 statusbar {
118   margin-top: 3px;
119   min-height: 16px;
120 }
121
122 .statusbar-center {
123   background-color: #8050B0;
124   -moz-padding-start: 2px;
125   color: #FFCF00;
126   -moz-box-align: stretch;
127 }
128
129 .statusbar-left {
130   border-radius: 9px 0px 0px 9px;
131   background-color: #6000CF;
132   width: 13px;
133   -moz-margin-end: 3px;
134 }
135
136 .statusbar-right {
137   border-radius: 0px 9px 9px 0px;
138   background-color: #6000CF;
139   width: 13px;
140   -moz-margin-start: 3px;
141 }
142
143 statusbarpanel {
144   -moz-box-align: center;
145   -moz-box-pack: center;
146   border-left: 3px solid black;
147   padding: 0px 2px;
148 }
149
150 statusbarpanel:first-child {
151   border-left: none;
152 }
153
154 statusbarpanel:not(.statusbar-resizerpanel):-moz-lwtheme {
155   -moz-appearance: none;
156   border-top-style: none;
157   border-bottom-style: none;
158   -moz-border-start-style: none;
159 }
160
161 .statusbar-resizerpanel {
162   -moz-box-align: end;
163   -moz-box-pack: end;
164   padding: 0px;
165 }
166
167 .statusbarpanel-iconic,
168 .statusbarpanel-iconic-text,
169 .statusbarpanel-menu-iconic {
170 }
171
172 .statusbarpanel-progress {
173   -moz-box-orient: vertical;
174   padding: 0px;
175 }
176
177 .toolbar-focustarget {
178   -moz-user-focus: ignore !important;
179 }
180
181 toolbar[mode="text"] .toolbarbutton-text {
182   /* padding: 0 !important;
183   margin: 3px 5px !important; */
184 }
185
186 /* ::::: miscellaneous formatting ::::: */
187
188 :root:-moz-lwtheme,
189 [lwthemefooter="true"] {
190   -moz-appearance: none;
191 }
192
193 :root:-moz-lwtheme-darktext {
194   text-shadow: 0 -0.5px 1.5px #FFCF00;
195 }
196
197 :root:-moz-lwtheme-brighttext {
198   text-shadow: 1px 1px 2px #000000;
199 }
200
201 statusbar:-moz-lwtheme,
202 sidebarheader:-moz-lwtheme {
203   -moz-appearance: none;
204   background: none;
205   border-style: none;
206 }
207
208 .inset {
209 /*  border: 1px inset #FF9F00;
210   margin: 0px 5px 5px; */
211 }
212
213 .outset {
214 /*  border: 1px outset #FF9F00; */
215 }
216
217 /* separators */
218 separator:not([orient="vertical"]) {
219   height: 1.5em;
220 }
221
222 separator[orient="vertical"] {
223   width: 1.5em;
224 }
225
226 separator.thin:not([orient="vertical"]) {
227   height: 0.5em;
228 }
229
230 separator.thin[orient="vertical"] {
231   width: 0.5em;
232 }
233
234 separator.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
241 separator.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) */
248 separator.groove-thin {
249   border-top: 2px groove #FF9F00;
250   height: 0px;
251 }
252
253 separator[orient="vertical"].groove-thin {
254   border-left: 2px groove #FF9F00;
255 }
256
257 .small-margin {
258   margin: 0px 1px;
259 }
260
261 .plain {
262   -moz-appearance: none;
263   margin: 0px !important;
264   border: none;
265   padding: 0px;
266 }
267
268 description, label  {
269   cursor: default;
270   margin: 1px 2px;
271 }
272
273 label[disabled="true"] {
274   color: #8050B0;
275 }
276
277 description {
278 /*  margin-bottom: 4px; */
279 }
280
281 .tooltip-label {
282   margin: 0px;
283 }
284
285 .header {
286   font-weight: bold;
287 }
288
289 .monospace {
290   font-family: "Liberation Mono", Consolas, "Courier New", monospace;
291 }
292
293 .indent {
294 /*  -moz-margin-start: 23px; */
295   -moz-margin-start: 15px;
296 }
297
298 .box-padded {
299   padding: 5px;
300 }
301
302 .spaced {
303   margin: 1px 3px;
304 }
305
306 .wizard-box {
307   padding: 15px 35px 10px;
308 }
309
310 .text-link {
311   color: #3333FF;
312   cursor: pointer;
313 }
314
315 .text-link:hover {
316   text-decoration: underline;
317 }
318
319 .text-link:-moz-focusring {
320   /* Don't specify the outline-color, we should always use initial value. */
321   outline: 1px dotted;
322 }
323
324 /* :::::: autoscroll popup ::::: */
325
326 .autoscroller {
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
337 .autoscroller[scrolldir="NS"] {
338   background-position: left center;
339 }
340
341 .autoscroller[scrolldir="EW"] {
342   background-position: left bottom;
343 }
344
345 .autoscroller[transparent="true"] {
346   background-position: center top;
347 }
348
349 .autoscroller[transparent="true"][scrolldir="NS"] {
350   background-position: center center;
351 }
352
353 .autoscroller[transparent="true"][scrolldir="EW"] {
354   background-position: center bottom;
355 }
356
357 .autoscroller[translucent="true"] {
358   background-position: right top;
359 }
360
361 .autoscroller[translucent="true"][scrolldir="NS"] {
362   background-position: right center;
363 }
364
365 .autoscroller[translucent="true"][scrolldir="EW"] {
366   background-position: right bottom;
367 }