some teaks based on observations when using the theme and errors reported in Firefox...
[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
b1eaa419 54/* ::::: root elements ::::: */
55
56window,
57page,
58dialog,
c79d2bbe
RK
59wizard,
60prefwindow {
b1eaa419 61 background-color: #000000;
62 color: #FF9F00;
63/* font: 3mm "Final Frontier",tahoma,arial,helvetica,sans-serif; */
4ed82c79 64 font: 11px "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
b1eaa419 65 padding: 3px;
66}
67
68/* deprecated */
3d6dd546 69window.dialog {
b1eaa419 70 background-color: #000000;
02920d2b
RK
71 padding-top: 8px;
72 padding-bottom: 10px;
dae45075
RK
73 padding-inline-start: 8px;
74 padding-inline-end: 10px;
b1eaa419 75}
76
b1eaa419 77/* ::::: alert icons :::::*/
78
79.message-icon,
80.alert-icon,
81.error-icon,
c79d2bbe
RK
82.question-icon,
83.authentication-icon {
b1eaa419 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
441d0294 92.alert-dialog #info\.icon,
b1eaa419 93.alert-icon {
94 list-style-image: url("chrome://global/skin/icons/alert-exclam.gif");
95}
96
97.error-icon {
98 list-style-image: url("chrome://global/skin/icons/alert-error.gif");
99}
100
c79d2bbe
RK
101.question-icon,
102.authentication-icon {
b1eaa419 103 list-style-image: url("chrome://global/skin/icons/alert-question.gif");
104}
105
106/* ::::: iframe ::::: */
107
108iframe {
109 border: none;
110 width: 100px;
111 height: 100px;
112 min-width: 10px;
113 min-height: 10px;
114}
115
116/* ::::: statusbar ::::: */
117
118statusbar {
119 margin-top: 3px;
c79d2bbe 120 min-height: 16px;
b1eaa419 121}
122
123.statusbar-center {
124 background-color: #8050B0;
dae45075 125 padding-inline-start: 2px;
507ac708 126 color: #FFCF00;
d0646e4a 127 -moz-box-align: stretch;
b1eaa419 128}
129
130.statusbar-left {
569543b3 131 border-radius: 9px 0px 0px 9px;
b1eaa419 132 background-color: #6000CF;
133 width: 13px;
dae45075 134 margin-inline-end: 3px;
b1eaa419 135}
136
137.statusbar-right {
569543b3 138 border-radius: 0px 9px 9px 0px;
b1eaa419 139 background-color: #6000CF;
140 width: 13px;
dae45075 141 margin-inline-start: 3px;
b1eaa419 142}
143
144statusbarpanel {
145 -moz-box-align: center;
146 -moz-box-pack: center;
2184a049 147 border-left: 3px solid black;
507ac708 148 padding: 0px 2px;
b1eaa419 149}
3d6dd546 150
2184a049
RK
151statusbarpanel:first-child {
152 border-left: none;
153}
154
a064a540
RK
155statusbarpanel:not(.statusbar-resizerpanel):-moz-lwtheme {
156 -moz-appearance: none;
157 border-top-style: none;
158 border-bottom-style: none;
dae45075 159 border-inline-start-style: none;
a064a540
RK
160}
161
b1eaa419 162.statusbar-resizerpanel {
163 -moz-box-align: end;
164 -moz-box-pack: end;
165 padding: 0px;
166}
167
cfae8c74
RK
168.statusbarpanel-iconic,
169.statusbarpanel-iconic-text,
170.statusbarpanel-menu-iconic {
507ac708
RK
171}
172
173.statusbarpanel-progress {
174 -moz-box-orient: vertical;
9e9946be 175 padding: 0px;
3d6dd546 176}
b1eaa419 177
b1eaa419 178.toolbar-focustarget {
179 -moz-user-focus: ignore !important;
180}
6046f027 181
18f5421a
RK
182toolbar[mode="text"] .toolbarbutton-text {
183 /* padding: 0 !important;
184 margin: 3px 5px !important; */
185}
186
cfae8c74
RK
187/* ::::: miscellaneous formatting ::::: */
188
3b1530c2
RK
189:root:-moz-lwtheme,
190[lwthemefooter="true"] {
191 -moz-appearance: none;
192}
193
194:root:-moz-lwtheme-darktext {
24547055 195 text-shadow: 0 -0.5px 1.5px #FFCF00;
3b1530c2
RK
196}
197
198:root:-moz-lwtheme-brighttext {
199 text-shadow: 1px 1px 2px #000000;
200}
201
202statusbar:-moz-lwtheme,
203sidebarheader:-moz-lwtheme {
204 -moz-appearance: none;
205 background: none;
206 border-style: none;
207}
208
cfae8c74
RK
209.inset {
210/* border: 1px inset #FF9F00;
02920d2b 211 margin: 0px 5px 5px; */
cfae8c74
RK
212}
213
214.outset {
215/* border: 1px outset #FF9F00; */
216}
217
218/* separators */
219separator:not([orient="vertical"]) {
220 height: 1.5em;
221}
222
223separator[orient="vertical"] {
224 width: 1.5em;
225}
226
227separator.thin:not([orient="vertical"]) {
228 height: 0.5em;
229}
230
231separator.thin[orient="vertical"] {
232 width: 0.5em;
233}
234
235separator.groove:not([orient="vertical"]) {
236 border-top: 2px groove #FF9F00;
237 height: 0px;
238 margin-top: 0.4em;
239 margin-bottom: 0.4em;
240}
241
242separator.groove[orient="vertical"] {
243 border-left: 2px groove #FF9F00;
dae45075
RK
244 margin-inline-start: 0.4em;
245 margin-inline-end: 0.4em;
cfae8c74
RK
246}
247
248/* groove separators (0 padding, for dividing effects) */
249separator.groove-thin {
250 border-top: 2px groove #FF9F00;
251 height: 0px;
252}
253
254separator[orient="vertical"].groove-thin {
255 border-left: 2px groove #FF9F00;
256}
257
258.small-margin {
259 margin: 0px 1px;
260}
261
262.plain {
18f5421a 263 -moz-appearance: none;
cfae8c74
RK
264 margin: 0px !important;
265 border: none;
266 padding: 0px;
267}
268
269description, label {
270 cursor: default;
d15efd04 271 margin: 1px 2px;
cfae8c74
RK
272}
273
274label[disabled="true"] {
275 color: #8050B0;
276}
277
278description {
279/* margin-bottom: 4px; */
280}
281
282.tooltip-label {
283 margin: 0px;
284}
285
286.header {
287 font-weight: bold;
288}
289
290.monospace {
8ad8bf83 291 font-family: "Liberation Mono", Consolas, "Courier New", monospace;
cfae8c74
RK
292}
293
294.indent {
dae45075
RK
295/* margin-inline-start: 23px; */
296 margin-inline-start: 15px;
cfae8c74
RK
297}
298
299.box-padded {
300 padding: 5px;
301}
302
303.spaced {
304 margin: 1px 3px;
305}
306
307.wizard-box {
02920d2b 308 padding: 15px 35px 10px;
cfae8c74
RK
309}
310
311.text-link {
dbd844cb 312 color: #3333FF;
cfae8c74
RK
313 cursor: pointer;
314}
315
a6c8d0f5
RK
316.text-link:hover {
317 text-decoration: underline;
318}
319
024ec655 320.text-link:-moz-focusring {
cfae8c74
RK
321 /* Don't specify the outline-color, we should always use initial value. */
322 outline: 1px dotted;
323}
324
da3c2755
RK
325popupnotificationcontent {
326 margin-top: .5em;
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}