sync both themes with toolkit windows theme changes in Mozilla 31 cycle
[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@import url("chrome://global/content/global-platform.css");
12
13@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
14
15/* ::::: XBL bindings ::::: */
16
17checkbox {
18 -moz-binding: url("chrome://global/content/bindings/checkbox.xml#checkbox-with-spacing");
19}
20
21radio {
22 -moz-binding: url("chrome://global/skin/globalBindings.xml#radio-with-spacing");
23}
24
25menulist > menupopup,
26.menulist-menupopup {
27 -moz-binding: url("chrome://global/content/bindings/popup.xml#popup-scrollbars");
28}
29
30.menulist-compact {
31 -moz-binding: url("chrome://global/skin/globalBindings.xml#menulist-compact");
32}
33
34/* LCARStrek special bindings */
35
36statusbar {
37 -moz-binding: url("chrome://global/skin/globalBindings.xml#statusbar");
38}
39
40toolbar {
41 -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar");
42}
43
44menubar {
45 -moz-binding: url("chrome://global/skin/globalBindings.xml#menubar");
46}
47
48toolbaritem > menubar {
49 -moz-binding: url("chrome://global/content/bindings/toolbar.xml#menubar");
50}
51
52/* ::::: root elements ::::: */
53
54window,
55page,
56dialog,
57wizard,
58prefwindow {
59 background-color: #000000;
60 color: #FF9F00;
61/* font: 3mm "Final Frontier",tahoma,arial,helvetica,sans-serif; */
62 font: 11px "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
63 padding: 3px;
64}
65
66/* deprecated */
67window.dialog {
68 background-color: #000000;
69 padding-top: 8px;
70 padding-bottom: 10px;
71 -moz-padding-start: 8px;
72 -moz-padding-end: 10px;
73}
74
75/* ::::: alert icons :::::*/
76
77.message-icon,
78.alert-icon,
79.error-icon,
80.question-icon,
81.authentication-icon {
82 width: 32px;
83 height: 32px;
84}
85
86.message-icon {
87 list-style-image: url("chrome://global/skin/icons/alert-message.gif");
88}
89
90.alert-icon {
91 list-style-image: url("chrome://global/skin/icons/alert-exclam.gif");
92}
93
94.error-icon {
95 list-style-image: url("chrome://global/skin/icons/alert-error.gif");
96}
97
98.question-icon,
99.authentication-icon {
100 list-style-image: url("chrome://global/skin/icons/alert-question.gif");
101}
102
103/* ::::: iframe ::::: */
104
105iframe {
106 border: none;
107 width: 100px;
108 height: 100px;
109 min-width: 10px;
110 min-height: 10px;
111}
112
113/* ::::: statusbar ::::: */
114
115statusbar {
116 margin-top: 3px;
117 min-height: 16px;
118}
119
120.statusbar-center {
121 background-color: #8050B0;
122 -moz-padding-start: 2px;
123 color: #FFCF00;
124 -moz-box-align: stretch;
125}
126
127.statusbar-left {
128 border-radius: 9px 0px 0px 9px;
129 background-color: #6000CF;
130 width: 13px;
131 -moz-margin-end: 3px;
132}
133
134.statusbar-right {
135 border-radius: 0px 9px 9px 0px;
136 background-color: #6000CF;
137 width: 13px;
138 -moz-margin-start: 3px;
139}
140
141statusbarpanel {
142 -moz-box-align: center;
143 -moz-box-pack: center;
144 border-left: 3px solid black;
145 padding: 0px 2px;
146}
147
148statusbarpanel:first-child {
149 border-left: none;
150}
151
152statusbarpanel:not(.statusbar-resizerpanel):-moz-lwtheme {
153 -moz-appearance: none;
154 border-top-style: none;
155 border-bottom-style: none;
156 -moz-border-start-style: none;
157}
158
159.statusbar-resizerpanel {
160 -moz-box-align: end;
161 -moz-box-pack: end;
162 padding: 0px;
163}
164
165.statusbarpanel-iconic,
166.statusbarpanel-iconic-text,
167.statusbarpanel-menu-iconic {
168}
169
170.statusbarpanel-progress {
171 -moz-box-orient: vertical;
172 padding: 0px;
173}
174
175.toolbar-focustarget {
176 -moz-user-focus: ignore !important;
177}
178
179toolbar[mode="text"] .toolbarbutton-text {
180 /* padding: 0 !important;
181 margin: 3px 5px !important; */
182}
183
184/* ::::: miscellaneous formatting ::::: */
185
186:root:-moz-lwtheme,
187[lwthemefooter="true"] {
188 -moz-appearance: none;
189}
190
191:root:-moz-lwtheme-darktext {
192 text-shadow: 0 -0.5px 1.5px #FFCF00;
193}
194
195:root:-moz-lwtheme-brighttext {
196 text-shadow: 1px 1px 2px #000000;
197}
198
199statusbar:-moz-lwtheme,
200sidebarheader:-moz-lwtheme {
201 -moz-appearance: none;
202 background: none;
203 border-style: none;
204}
205
206.inset {
207/* border: 1px inset #FF9F00;
208 margin: 0px 5px 5px; */
209}
210
211.outset {
212/* border: 1px outset #FF9F00; */
213}
214
215/* separators */
216separator:not([orient="vertical"]) {
217 height: 1.5em;
218}
219
220separator[orient="vertical"] {
221 width: 1.5em;
222}
223
224separator.thin:not([orient="vertical"]) {
225 height: 0.5em;
226}
227
228separator.thin[orient="vertical"] {
229 width: 0.5em;
230}
231
232separator.groove:not([orient="vertical"]) {
233 border-top: 2px groove #FF9F00;
234 height: 0px;
235 margin-top: 0.4em;
236 margin-bottom: 0.4em;
237}
238
239separator.groove[orient="vertical"] {
240 border-left: 2px groove #FF9F00;
241 -moz-margin-start: 0.4em;
242 -moz-margin-end: 0.4em;
243}
244
245/* groove separators (0 padding, for dividing effects) */
246separator.groove-thin {
247 border-top: 2px groove #FF9F00;
248 height: 0px;
249}
250
251separator[orient="vertical"].groove-thin {
252 border-left: 2px groove #FF9F00;
253}
254
255.small-margin {
256 margin: 0px 1px;
257}
258
259.plain {
260 -moz-appearance: none;
261 margin: 0px !important;
262 border: none;
263 padding: 0px;
264}
265
266description, label {
267 cursor: default;
268 margin: 1px 2px;
269}
270
271label[disabled="true"] {
272 color: #8050B0;
273}
274
275description {
276/* margin-bottom: 4px; */
277}
278
279.tooltip-label {
280 margin: 0px;
281}
282
283.header {
284 font-weight: bold;
285}
286
287.monospace {
288 font-family: "Liberation Mono", Consolas, "Courier New", monospace;
289}
290
291.indent {
292/* -moz-margin-start: 23px; */
293 -moz-margin-start: 15px;
294}
295
296.box-padded {
297 padding: 5px;
298}
299
300.spaced {
301 margin: 1px 3px;
302}
303
304.wizard-box {
305 padding: 15px 35px 10px;
306}
307
308.text-link {
309 color: #3333FF;
310 cursor: pointer;
311}
312
313.text-link:hover {
314 text-decoration: underline;
315}
316
317.text-link:-moz-focusring {
318 /* Don't specify the outline-color, we should always use initial value. */
319 outline: 1px dotted;
320}
321
322/* :::::: autoscroll popup ::::: */
323
324.autoscroller {
325 height: 28px;
326 width: 28px;
327 border: 0px;
328 margin: -14px;
329 padding: 0px;
330 background-image: url("chrome://global/skin/icons/autoscroll.png");
331 background-color: transparent;
332 -moz-appearance: none;
333}
334
335.autoscroller[scrolldir="NS"] {
336 background-position: left center;
337}
338
339.autoscroller[scrolldir="EW"] {
340 background-position: left bottom;
341}
342
343.autoscroller[transparent="true"] {
344 background-position: center top;
345}
346
347.autoscroller[transparent="true"][scrolldir="NS"] {
348 background-position: center center;
349}
350
351.autoscroller[transparent="true"][scrolldir="EW"] {
352 background-position: center bottom;
353}
354
355.autoscroller[translucent="true"] {
356 background-position: right top;
357}
358
359.autoscroller[translucent="true"][scrolldir="NS"] {
360 background-position: right center;
361}
362
363.autoscroller[translucent="true"][scrolldir="EW"] {
364 background-position: right bottom;
365}