make Forget and Apps buttons work with LCARStrek
[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
16checkbox {
17 -moz-binding: url("chrome://global/content/bindings/checkbox.xml#checkbox-with-spacing");
18}
19
20radio {
21 -moz-binding: url("chrome://global/skin/globalBindings.xml#radio-with-spacing");
22}
23
24menulist > menupopup,
25.menulist-menupopup {
26 -moz-binding: url("chrome://global/content/bindings/popup.xml#popup-scrollbars");
27}
28
29.menulist-compact {
30 -moz-binding: url("chrome://global/skin/globalBindings.xml#menulist-compact");
31}
32
33/* LCARStrek special bindings */
34
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");
45}
46
47toolbaritem > menubar {
48 -moz-binding: url("chrome://global/content/bindings/toolbar.xml#menubar");
49}
50
51@media (-moz-mac-graphite-theme), (-moz-mac-lion-theme) {
52 /* This is a hackish workaround to cover most of Mac OS until bug 1060941 gets fixed. */
53 toolbar.chromeclass-menubar {
54 -moz-binding: url("chrome://global/content/bindings/toolbar.xml#toolbar");
55 border-bottom: none;
56 }
57}
58
59/* ::::: root elements ::::: */
60
61window,
62page,
63dialog,
64wizard,
65prefwindow {
66 background-color: #000000;
67 color: #FF9F00;
68/* font: 3mm "Final Frontier",tahoma,arial,helvetica,sans-serif; */
69 font: 11px "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
70 padding: 3px;
71}
72
73/* deprecated */
74window.dialog {
75 background-color: #000000;
76 padding-top: 8px;
77 padding-bottom: 10px;
78 -moz-padding-start: 8px;
79 -moz-padding-end: 10px;
80}
81
82/* ::::: alert icons :::::*/
83
84.message-icon,
85.alert-icon,
86.error-icon,
87.question-icon,
88.authentication-icon {
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
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 -moz-padding-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 -moz-margin-end: 3px;
139}
140
141.statusbar-right {
142 border-radius: 0px 9px 9px 0px;
143 background-color: #6000CF;
144 width: 13px;
145 -moz-margin-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 -moz-border-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[lwthemefooter="true"] {
195 -moz-appearance: none;
196}
197
198:root:-moz-lwtheme-darktext {
199 text-shadow: 0 -0.5px 1.5px #FFCF00;
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
213.inset {
214/* border: 1px inset #FF9F00;
215 margin: 0px 5px 5px; */
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;
248 -moz-margin-start: 0.4em;
249 -moz-margin-end: 0.4em;
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 {
267 -moz-appearance: none;
268 margin: 0px !important;
269 border: none;
270 padding: 0px;
271}
272
273description, label {
274 cursor: default;
275 margin: 1px 2px;
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 {
295 font-family: "Liberation Mono", Consolas, "Courier New", monospace;
296}
297
298.indent {
299/* -moz-margin-start: 23px; */
300 -moz-margin-start: 15px;
301}
302
303.box-padded {
304 padding: 5px;
305}
306
307.spaced {
308 margin: 1px 3px;
309}
310
311.wizard-box {
312 padding: 15px 35px 10px;
313}
314
315.text-link {
316 color: #3333FF;
317 cursor: pointer;
318}
319
320.text-link:hover {
321 text-decoration: underline;
322}
323
324.text-link:-moz-focusring {
325 /* Don't specify the outline-color, we should always use initial value. */
326 outline: 1px dotted;
327}
328
329/* :::::: autoscroll popup ::::: */
330
331.autoscroller {
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
342.autoscroller[scrolldir="NS"] {
343 background-position: left center;
344}
345
346.autoscroller[scrolldir="EW"] {
347 background-position: left bottom;
348}
349
350.autoscroller[transparent="true"] {
351 background-position: center top;
352}
353
354.autoscroller[transparent="true"][scrolldir="NS"] {
355 background-position: center center;
356}
357
358.autoscroller[transparent="true"][scrolldir="EW"] {
359 background-position: center bottom;
360}
361
362.autoscroller[translucent="true"] {
363 background-position: right top;
364}
365
366.autoscroller[translucent="true"][scrolldir="NS"] {
367 background-position: right center;
368}
369
370.autoscroller[translucent="true"][scrolldir="EW"] {
371 background-position: right bottom;
372}