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