second part of syncing LCARStrek with Firefox 34 windows theme changes
[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
b1eaa419 24menulist > menupopup,
25.menulist-menupopup {
26 -moz-binding: url("chrome://global/content/bindings/popup.xml#popup-scrollbars");
351107c9 27}
28
b1eaa419 29.menulist-compact {
6046f027 30 -moz-binding: url("chrome://global/skin/globalBindings.xml#menulist-compact");
b1eaa419 31}
351107c9 32
33/* LCARStrek special bindings */
34
b1eaa419 35statusbar {
36 -moz-binding: url("chrome://global/skin/globalBindings.xml#statusbar");
37}
38
39toolbar {
40 -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar");
41}
42
43menubar {
44 -moz-binding: url("chrome://global/skin/globalBindings.xml#menubar");
dd676468
RK
45}
46
47toolbaritem > menubar {
b36fc72e 48 -moz-binding: url("chrome://global/content/bindings/toolbar.xml#menubar");
b1eaa419 49}
3a121502 50
ee49f520 51@media (-moz-mac-graphite-theme), (-moz-mac-lion-theme) {
3cf61cef 52 /* This is a hackish workaround to cover most of Mac OS until bug 1060941 gets fixed. */
96b206fe
RK
53 toolbar.chromeclass-menubar {
54 -moz-binding: url("chrome://global/content/bindings/toolbar.xml#toolbar");
55 border-bottom: none;
56 }
57}
58
b1eaa419 59/* ::::: root elements ::::: */
60
61window,
62page,
63dialog,
c79d2bbe
RK
64wizard,
65prefwindow {
b1eaa419 66 background-color: #000000;
67 color: #FF9F00;
68/* font: 3mm "Final Frontier",tahoma,arial,helvetica,sans-serif; */
4ed82c79 69 font: 11px "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
b1eaa419 70 padding: 3px;
71}
72
73/* deprecated */
3d6dd546 74window.dialog {
b1eaa419 75 background-color: #000000;
02920d2b
RK
76 padding-top: 8px;
77 padding-bottom: 10px;
78 -moz-padding-start: 8px;
79 -moz-padding-end: 10px;
b1eaa419 80}
81
b1eaa419 82/* ::::: alert icons :::::*/
83
84.message-icon,
85.alert-icon,
86.error-icon,
c79d2bbe
RK
87.question-icon,
88.authentication-icon {
b1eaa419 89 width: 32px;
90 height: 32px;
91}
92
93.message-icon {
94 list-style-image: url("chrome://global/skin/icons/alert-message.gif");
95}
96
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;
8caa872d 129 -moz-padding-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;
8caa872d 138 -moz-margin-end: 3px;
b1eaa419 139}
140
141.statusbar-right {
569543b3 142 border-radius: 0px 9px 9px 0px;
b1eaa419 143 background-color: #6000CF;
144 width: 13px;
8caa872d 145 -moz-margin-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;
163 -moz-border-start-style: none;
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
3b1530c2
RK
193:root:-moz-lwtheme,
194[lwthemefooter="true"] {
195 -moz-appearance: none;
196}
197
198:root:-moz-lwtheme-darktext {
24547055 199 text-shadow: 0 -0.5px 1.5px #FFCF00;
3b1530c2
RK
200}
201
202:root:-moz-lwtheme-brighttext {
203 text-shadow: 1px 1px 2px #000000;
204}
205
206statusbar:-moz-lwtheme,
207sidebarheader:-moz-lwtheme {
208 -moz-appearance: none;
209 background: none;
210 border-style: none;
211}
212
cfae8c74
RK
213.inset {
214/* border: 1px inset #FF9F00;
02920d2b 215 margin: 0px 5px 5px; */
cfae8c74
RK
216}
217
218.outset {
219/* border: 1px outset #FF9F00; */
220}
221
222/* separators */
223separator:not([orient="vertical"]) {
224 height: 1.5em;
225}
226
227separator[orient="vertical"] {
228 width: 1.5em;
229}
230
231separator.thin:not([orient="vertical"]) {
232 height: 0.5em;
233}
234
235separator.thin[orient="vertical"] {
236 width: 0.5em;
237}
238
239separator.groove:not([orient="vertical"]) {
240 border-top: 2px groove #FF9F00;
241 height: 0px;
242 margin-top: 0.4em;
243 margin-bottom: 0.4em;
244}
245
246separator.groove[orient="vertical"] {
247 border-left: 2px groove #FF9F00;
8caa872d
RK
248 -moz-margin-start: 0.4em;
249 -moz-margin-end: 0.4em;
cfae8c74
RK
250}
251
252/* groove separators (0 padding, for dividing effects) */
253separator.groove-thin {
254 border-top: 2px groove #FF9F00;
255 height: 0px;
256}
257
258separator[orient="vertical"].groove-thin {
259 border-left: 2px groove #FF9F00;
260}
261
262.small-margin {
263 margin: 0px 1px;
264}
265
266.plain {
18f5421a 267 -moz-appearance: none;
cfae8c74
RK
268 margin: 0px !important;
269 border: none;
270 padding: 0px;
271}
272
273description, label {
274 cursor: default;
d15efd04 275 margin: 1px 2px;
cfae8c74
RK
276}
277
278label[disabled="true"] {
279 color: #8050B0;
280}
281
282description {
283/* margin-bottom: 4px; */
284}
285
286.tooltip-label {
287 margin: 0px;
288}
289
290.header {
291 font-weight: bold;
292}
293
294.monospace {
8ad8bf83 295 font-family: "Liberation Mono", Consolas, "Courier New", monospace;
cfae8c74
RK
296}
297
298.indent {
8caa872d
RK
299/* -moz-margin-start: 23px; */
300 -moz-margin-start: 15px;
cfae8c74
RK
301}
302
303.box-padded {
304 padding: 5px;
305}
306
307.spaced {
308 margin: 1px 3px;
309}
310
311.wizard-box {
02920d2b 312 padding: 15px 35px 10px;
cfae8c74
RK
313}
314
315.text-link {
dbd844cb 316 color: #3333FF;
cfae8c74
RK
317 cursor: pointer;
318}
319
a6c8d0f5
RK
320.text-link:hover {
321 text-decoration: underline;
322}
323
024ec655 324.text-link:-moz-focusring {
cfae8c74
RK
325 /* Don't specify the outline-color, we should always use initial value. */
326 outline: 1px dotted;
327}
328
c79d2bbe
RK
329/* :::::: autoscroll popup ::::: */
330
18f5421a 331.autoscroller {
c79d2bbe
RK
332 height: 28px;
333 width: 28px;
334 border: 0px;
335 margin: -14px;
336 padding: 0px;
337 background-image: url("chrome://global/skin/icons/autoscroll.png");
338 background-color: transparent;
339 -moz-appearance: none;
340}
341
18f5421a 342.autoscroller[scrolldir="NS"] {
c79d2bbe
RK
343 background-position: left center;
344}
345
18f5421a 346.autoscroller[scrolldir="EW"] {
c79d2bbe
RK
347 background-position: left bottom;
348}
349
18f5421a 350.autoscroller[transparent="true"] {
c79d2bbe
RK
351 background-position: center top;
352}
353
18f5421a 354.autoscroller[transparent="true"][scrolldir="NS"] {
c79d2bbe
RK
355 background-position: center center;
356}
357
18f5421a 358.autoscroller[transparent="true"][scrolldir="EW"] {
c79d2bbe
RK
359 background-position: center bottom;
360}
361
18f5421a 362.autoscroller[translucent="true"] {
c79d2bbe
RK
363 background-position: right top;
364}
365
18f5421a 366.autoscroller[translucent="true"][scrolldir="NS"] {
c79d2bbe
RK
367 background-position: right center;
368}
369
18f5421a 370.autoscroller[translucent="true"][scrolldir="EW"] {
c79d2bbe 371 background-position: right bottom;
6046f027 372}