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