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