move devtools to separate directory, make HTML-based inspector work
[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 -moz-binding: url("chrome://global/content/bindings/popup.xml#popup-scrollbars");
26}
27
28/* LCARStrek special bindings */
29
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");
40}
41
42toolbaritem > menubar {
43 -moz-binding: url("chrome://global/content/bindings/toolbar.xml#menubar");
44}
45
46@media (-moz-mac-graphite-theme), (-moz-mac-lion-theme) {
47 /* This is a hackish workaround to cover most of Mac OS until bug 1060941 gets fixed. */
48 toolbar.chromeclass-menubar {
49 -moz-binding: url("chrome://global/content/bindings/toolbar.xml#toolbar");
50 border-bottom: none;
51 }
52}
53
54/* ::::: root elements ::::: */
55
56window,
57page,
58dialog,
59wizard,
60prefwindow {
61 background-color: #000000;
62 color: #FF9F00;
63/* font: 3mm "Final Frontier",tahoma,arial,helvetica,sans-serif; */
64 font: 11px "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
65 padding: 3px;
66}
67
68/* deprecated */
69window.dialog {
70 background-color: #000000;
71 padding-top: 8px;
72 padding-bottom: 10px;
73 -moz-padding-start: 8px;
74 -moz-padding-end: 10px;
75}
76
77/* ::::: alert icons :::::*/
78
79.message-icon,
80.alert-icon,
81.error-icon,
82.question-icon,
83.authentication-icon {
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
92.alert-dialog #info\.icon,
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
101.question-icon,
102.authentication-icon {
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;
120 min-height: 16px;
121}
122
123.statusbar-center {
124 background-color: #8050B0;
125 -moz-padding-start: 2px;
126 color: #FFCF00;
127 -moz-box-align: stretch;
128}
129
130.statusbar-left {
131 border-radius: 9px 0px 0px 9px;
132 background-color: #6000CF;
133 width: 13px;
134 -moz-margin-end: 3px;
135}
136
137.statusbar-right {
138 border-radius: 0px 9px 9px 0px;
139 background-color: #6000CF;
140 width: 13px;
141 -moz-margin-start: 3px;
142}
143
144statusbarpanel {
145 -moz-box-align: center;
146 -moz-box-pack: center;
147 border-left: 3px solid black;
148 padding: 0px 2px;
149}
150
151statusbarpanel:first-child {
152 border-left: none;
153}
154
155statusbarpanel:not(.statusbar-resizerpanel):-moz-lwtheme {
156 -moz-appearance: none;
157 border-top-style: none;
158 border-bottom-style: none;
159 -moz-border-start-style: none;
160}
161
162.statusbar-resizerpanel {
163 -moz-box-align: end;
164 -moz-box-pack: end;
165 padding: 0px;
166}
167
168.statusbarpanel-iconic,
169.statusbarpanel-iconic-text,
170.statusbarpanel-menu-iconic {
171}
172
173.statusbarpanel-progress {
174 -moz-box-orient: vertical;
175 padding: 0px;
176}
177
178.toolbar-focustarget {
179 -moz-user-focus: ignore !important;
180}
181
182toolbar[mode="text"] .toolbarbutton-text {
183 /* padding: 0 !important;
184 margin: 3px 5px !important; */
185}
186
187/* ::::: miscellaneous formatting ::::: */
188
189:root:-moz-lwtheme,
190[lwthemefooter="true"] {
191 -moz-appearance: none;
192}
193
194:root:-moz-lwtheme-darktext {
195 text-shadow: 0 -0.5px 1.5px #FFCF00;
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
209.inset {
210/* border: 1px inset #FF9F00;
211 margin: 0px 5px 5px; */
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;
244 -moz-margin-start: 0.4em;
245 -moz-margin-end: 0.4em;
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 {
263 -moz-appearance: none;
264 margin: 0px !important;
265 border: none;
266 padding: 0px;
267}
268
269description, label {
270 cursor: default;
271 margin: 1px 2px;
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 {
291 font-family: "Liberation Mono", Consolas, "Courier New", monospace;
292}
293
294.indent {
295/* -moz-margin-start: 23px; */
296 -moz-margin-start: 15px;
297}
298
299.box-padded {
300 padding: 5px;
301}
302
303.spaced {
304 margin: 1px 3px;
305}
306
307.wizard-box {
308 padding: 15px 35px 10px;
309}
310
311.text-link {
312 color: #3333FF;
313 cursor: pointer;
314}
315
316.text-link:hover {
317 text-decoration: underline;
318}
319
320.text-link:-moz-focusring {
321 /* Don't specify the outline-color, we should always use initial value. */
322 outline: 1px dotted;
323}
324
325popupnotificationcontent {
326 margin-top: .5em;
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}