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