sync both themes with toolkit windows theme changes in Mozilla 54 cycle
[themes.git] / LCARStrek / global / global.css
CommitLineData
9099c61d
RK
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/. */
351107c9 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
351107c9 12@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
13
b1eaa419 14/* ::::: XBL bindings ::::: */
351107c9 15
b1eaa419 16radio {
64da60f3 17 -moz-binding: url("chrome://global/skin/globalBindings.xml#radio");
351107c9 18}
19
e82e1bf4 20menulist > menupopup {
b1eaa419 21 -moz-binding: url("chrome://global/content/bindings/popup.xml#popup-scrollbars");
351107c9 22}
23
351107c9 24/* LCARStrek special bindings */
25
b1eaa419 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");
dd676468
RK
36}
37
38toolbaritem > menubar {
b36fc72e 39 -moz-binding: url("chrome://global/content/bindings/toolbar.xml#menubar");
b1eaa419 40}
3a121502 41
ee49f520 42@media (-moz-mac-graphite-theme), (-moz-mac-lion-theme) {
3cf61cef 43 /* This is a hackish workaround to cover most of Mac OS until bug 1060941 gets fixed. */
96b206fe
RK
44 toolbar.chromeclass-menubar {
45 -moz-binding: url("chrome://global/content/bindings/toolbar.xml#toolbar");
46 border-bottom: none;
47 }
48}
49
689d5552
RK
50/* ::::: Variables ::::: */
51:root {
987dae1b
RK
52 --arrowpanel-padding: 6px;
53 --arrowpanel-background: #000000;
54 --arrowpanel-color: #FF9F00;
55 --arrowpanel-border-color: #FF9F00;
689d5552
RK
56}
57
b1eaa419 58/* ::::: root elements ::::: */
59
60window,
61page,
62dialog,
c79d2bbe
RK
63wizard,
64prefwindow {
b1eaa419 65 background-color: #000000;
66 color: #FF9F00;
67/* font: 3mm "Final Frontier",tahoma,arial,helvetica,sans-serif; */
4ed82c79 68 font: 11px "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
b1eaa419 69 padding: 3px;
70}
71
72/* deprecated */
3d6dd546 73window.dialog {
b1eaa419 74 background-color: #000000;
02920d2b
RK
75 padding-top: 8px;
76 padding-bottom: 10px;
dae45075
RK
77 padding-inline-start: 8px;
78 padding-inline-end: 10px;
b1eaa419 79}
80
b1eaa419 81/* ::::: alert icons :::::*/
82
83.message-icon,
84.alert-icon,
85.error-icon,
c79d2bbe
RK
86.question-icon,
87.authentication-icon {
b1eaa419 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
441d0294 96.alert-dialog #info\.icon,
b1eaa419 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
c79d2bbe
RK
105.question-icon,
106.authentication-icon {
b1eaa419 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;
c79d2bbe 124 min-height: 16px;
b1eaa419 125}
126
127.statusbar-center {
128 background-color: #8050B0;
dae45075 129 padding-inline-start: 2px;
507ac708 130 color: #FFCF00;
d0646e4a 131 -moz-box-align: stretch;
b1eaa419 132}
133
134.statusbar-left {
569543b3 135 border-radius: 9px 0px 0px 9px;
b1eaa419 136 background-color: #6000CF;
137 width: 13px;
dae45075 138 margin-inline-end: 3px;
b1eaa419 139}
140
141.statusbar-right {
569543b3 142 border-radius: 0px 9px 9px 0px;
b1eaa419 143 background-color: #6000CF;
144 width: 13px;
dae45075 145 margin-inline-start: 3px;
b1eaa419 146}
147
148statusbarpanel {
149 -moz-box-align: center;
150 -moz-box-pack: center;
2184a049 151 border-left: 3px solid black;
507ac708 152 padding: 0px 2px;
b1eaa419 153}
3d6dd546 154
2184a049
RK
155statusbarpanel:first-child {
156 border-left: none;
157}
158
a064a540
RK
159statusbarpanel:not(.statusbar-resizerpanel):-moz-lwtheme {
160 -moz-appearance: none;
161 border-top-style: none;
162 border-bottom-style: none;
dae45075 163 border-inline-start-style: none;
a064a540
RK
164}
165
b1eaa419 166.statusbar-resizerpanel {
167 -moz-box-align: end;
168 -moz-box-pack: end;
169 padding: 0px;
170}
171
cfae8c74
RK
172.statusbarpanel-iconic,
173.statusbarpanel-iconic-text,
174.statusbarpanel-menu-iconic {
507ac708
RK
175}
176
177.statusbarpanel-progress {
178 -moz-box-orient: vertical;
9e9946be 179 padding: 0px;
3d6dd546 180}
b1eaa419 181
b1eaa419 182.toolbar-focustarget {
183 -moz-user-focus: ignore !important;
184}
6046f027 185
18f5421a
RK
186toolbar[mode="text"] .toolbarbutton-text {
187 /* padding: 0 !important;
188 margin: 3px 5px !important; */
189}
190
cfae8c74
RK
191/* ::::: miscellaneous formatting ::::: */
192
918c9e49 193:root:-moz-lwtheme {
3b1530c2
RK
194 -moz-appearance: none;
195}
196
197:root:-moz-lwtheme-darktext {
24547055 198 text-shadow: 0 -0.5px 1.5px #FFCF00;
3b1530c2
RK
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
cfae8c74
RK
212.inset {
213/* border: 1px inset #FF9F00;
02920d2b 214 margin: 0px 5px 5px; */
cfae8c74
RK
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;
dae45075
RK
247 margin-inline-start: 0.4em;
248 margin-inline-end: 0.4em;
cfae8c74
RK
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 {
18f5421a 266 -moz-appearance: none;
cfae8c74
RK
267 margin: 0px !important;
268 border: none;
269 padding: 0px;
270}
271
272description, label {
273 cursor: default;
d15efd04 274 margin: 1px 2px;
cfae8c74
RK
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 {
8ad8bf83 294 font-family: "Liberation Mono", Consolas, "Courier New", monospace;
cfae8c74
RK
295}
296
297.indent {
dae45075
RK
298/* margin-inline-start: 23px; */
299 margin-inline-start: 15px;
cfae8c74
RK
300}
301
302.box-padded {
303 padding: 5px;
304}
305
306.spaced {
307 margin: 1px 3px;
308}
309
310.wizard-box {
02920d2b 311 padding: 15px 35px 10px;
cfae8c74
RK
312}
313
314.text-link {
dbd844cb 315 color: #3333FF;
cfae8c74
RK
316 cursor: pointer;
317}
318
a6c8d0f5
RK
319.text-link:hover {
320 text-decoration: underline;
321}
322
024ec655 323.text-link:-moz-focusring {
cfae8c74
RK
324 /* Don't specify the outline-color, we should always use initial value. */
325 outline: 1px dotted;
326}
327
da3c2755
RK
328popupnotificationcontent {
329 margin-top: .5em;
330}
331
a9f6369d
RK
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
c79d2bbe
RK
348/* :::::: autoscroll popup ::::: */
349
18f5421a 350.autoscroller {
c79d2bbe
RK
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
18f5421a 361.autoscroller[scrolldir="NS"] {
c79d2bbe
RK
362 background-position: left center;
363}
364
18f5421a 365.autoscroller[scrolldir="EW"] {
c79d2bbe
RK
366 background-position: left bottom;
367}
368
18f5421a 369.autoscroller[transparent="true"] {
c79d2bbe
RK
370 background-position: center top;
371}
372
18f5421a 373.autoscroller[transparent="true"][scrolldir="NS"] {
c79d2bbe
RK
374 background-position: center center;
375}
376
18f5421a 377.autoscroller[transparent="true"][scrolldir="EW"] {
c79d2bbe
RK
378 background-position: center bottom;
379}
380
18f5421a 381.autoscroller[translucent="true"] {
c79d2bbe
RK
382 background-position: right top;
383}
384
18f5421a 385.autoscroller[translucent="true"][scrolldir="NS"] {
c79d2bbe
RK
386 background-position: right center;
387}
388
18f5421a 389.autoscroller[translucent="true"][scrolldir="EW"] {
c79d2bbe 390 background-position: right bottom;
6046f027 391}
afa44bf6
RK
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}
710194f1
RK
404
405.close-icon > .button-icon,
406.close-icon > .button-box > .button-icon,
407.close-icon > .toolbarbutton-icon {
408 width: 16px;
409}