Commit | Line | Data |
---|---|---|
128000f4 | 1 | /* ***** BEGIN LICENSE BLOCK ***** |
2 | * Version: NPL 1.1/GPL 2.0/LGPL 2.1 | |
f6e0a33f | 3 | * |
128000f4 | 4 | * The contents of this file are subject to the Netscape Public License |
5 | * Version 1.1 (the "License"); you may not use this file except in | |
6 | * compliance with the License. You may obtain a copy of the License at | |
7 | * http://www.mozilla.org/NPL/ | |
f6e0a33f | 8 | * |
128000f4 | 9 | * Software distributed under the License is distributed on an "AS IS" basis, |
10 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License | |
11 | * for the specific language governing rights and limitations under the | |
12 | * License. | |
f6e0a33f | 13 | * |
128000f4 | 14 | * The Original Code is mozilla.org code. |
15 | * | |
76983f4c | 16 | * The Initial Developer of the Original Code is |
128000f4 | 17 | * Netscape Communications Corporation. |
18 | * Portions created by the Initial Developer are Copyright (C) 1998-1999 | |
19 | * the Initial Developer. All Rights Reserved. | |
f6e0a33f | 20 | * |
21 | * Contributor(s): | |
128000f4 | 22 | * Robert Kaiser <KaiRo@KaiRo.at> |
f6e0a33f | 23 | * |
128000f4 | 24 | * Alternatively, the contents of this file may be used under the terms of |
76983f4c | 25 | * either the GNU General Public License Version 2 or later (the "GPL"), or |
128000f4 | 26 | * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), |
27 | * in which case the provisions of the GPL or the LGPL are applicable instead | |
28 | * of those above. If you wish to allow use of your version of this file only | |
29 | * under the terms of either the GPL or the LGPL, and not to allow others to | |
30 | * use your version of this file under the terms of the NPL, indicate your | |
31 | * decision by deleting the provisions above and replace them with the notice | |
32 | * and other provisions required by the GPL or the LGPL. If you do not delete | |
33 | * the provisions above, a recipient may use your version of this file under | |
34 | * the terms of any one of the NPL, the GPL or the LGPL. | |
35 | * | |
36 | * ***** END LICENSE BLOCK ***** */ | |
f6e0a33f | 37 | |
38 | /* ===== global.css ===================================================== | |
39 | == Styles that apply everywhere. | |
40 | ======================================================================= */ | |
41 | ||
42 | /* all localizable skin settings shall live here */ | |
43 | @import url("chrome://global/locale/intl.css"); | |
44 | ||
f6e0a33f | 45 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); |
46 | ||
74d14f90 | 47 | /* ::::: XBL bindings ::::: */ |
f6e0a33f | 48 | |
76983f4c | 49 | checkbox { |
50 | -moz-binding: url("chrome://global/content/bindings/checkbox.xml#checkbox-with-spacing"); | |
51 | } | |
52 | ||
74d14f90 | 53 | radio { |
76983f4c | 54 | -moz-binding: url("chrome://global/skin/globalBindings.xml#radio-with-spacing"); |
f6e0a33f | 55 | } |
74d14f90 | 56 | |
57 | menulist > menupopup, | |
58 | .menulist-menupopup { | |
59 | -moz-binding: url("chrome://global/content/bindings/popup.xml#popup-scrollbars"); | |
f6e0a33f | 60 | } |
61 | ||
74d14f90 | 62 | .menulist-compact { |
ecb2fda9 | 63 | -moz-binding: url("chrome://global/skin/globalBindings.xml#menulist-compact"); |
f6e0a33f | 64 | } |
65 | ||
caf7fc11 | 66 | /* |
67 | progressmeter[mode="undetermined"] { | |
68 | -moz-binding: url("chrome://global/content/bindings/progressmeter.xml#progressmeter-undetermined"); | |
69 | } | |
70 | */ | |
71 | ||
74d14f90 | 72 | /* ::::: root elements ::::: */ |
73 | ||
74 | window, | |
75 | page, | |
76 | dialog, | |
df8c26c4 RK |
77 | wizard, |
78 | prefwindow { | |
74d14f90 | 79 | background-color: #CCD0DD; |
80 | color: #000000; | |
c8120ee9 | 81 | font: 11px helvetica,arial,tahoma,sans-serif; |
74d14f90 | 82 | } |
d36c7ec4 | 83 | |
76983f4c | 84 | window.dialog { |
74d14f90 | 85 | padding: 8px 10px 10px 8px; |
86 | } | |
87 | ||
74d14f90 | 88 | /* ::::: alert icons :::::*/ |
89 | ||
90 | .message-icon, | |
91 | .alert-icon, | |
92 | .error-icon, | |
6c5a63bb RK |
93 | .question-icon, |
94 | .authentication-icon { | |
74d14f90 | 95 | width: 32px; |
96 | height: 32px; | |
97 | } | |
128000f4 | 98 | |
74d14f90 | 99 | .message-icon { |
100 | list-style-image: url("chrome://global/skin/icons/alert-message.gif"); | |
101 | } | |
102 | ||
103 | .alert-icon { | |
104 | list-style-image: url("chrome://global/skin/icons/alert-exclam.gif"); | |
105 | } | |
106 | ||
107 | .error-icon { | |
108 | list-style-image: url("chrome://global/skin/icons/alert-error.gif"); | |
109 | } | |
110 | ||
6c5a63bb RK |
111 | .question-icon, |
112 | .authentication-icon { | |
74d14f90 | 113 | list-style-image: url("chrome://global/skin/icons/alert-question.gif"); |
114 | } | |
115 | ||
116 | /* ::::: iframe ::::: */ | |
117 | ||
118 | iframe { | |
119 | border: none; | |
120 | width: 100px; | |
121 | height: 100px; | |
122 | min-width: 10px; | |
123 | min-height: 10px; | |
124 | } | |
125 | ||
126 | /* ::::: statusbar ::::: */ | |
127 | ||
128 | statusbar { | |
129 | border-top: 1px solid #9999CC; | |
130 | background-color: #666699; | |
131 | color: #CCD0DD; | |
df8c26c4 | 132 | min-height: 16px; |
74d14f90 | 133 | } |
134 | ||
135 | statusbarpanel { | |
136 | -moz-box-align: center; | |
137 | -moz-box-pack: center; | |
d8de8145 | 138 | padding: 0px 1px; |
74d14f90 | 139 | } |
140 | ||
141 | ||
142 | .statusbar-resizerpanel { | |
143 | -moz-box-align: end; | |
144 | -moz-box-pack: end; | |
145 | padding: 0px; | |
146 | } | |
147 | ||
7862e6ee RK |
148 | .statusbarpanel-iconic, |
149 | .statusbarpanel-iconic-text, | |
150 | .statusbarpanel-menu-iconic { | |
151 | padding: 0px 1px; | |
76983f4c | 152 | } |
74d14f90 | 153 | |
f6180490 | 154 | resizer[dir="bottomright"] { |
155 | cursor: se-resize; | |
156 | } | |
157 | ||
7862e6ee RK |
158 | window:not([active="true"]) menubar > menu { |
159 | color: #808080; | |
160 | } | |
161 | ||
74d14f90 | 162 | .toolbar-focustarget { |
163 | -moz-user-focus: ignore !important; | |
3eaf1060 | 164 | } |
56029caf | 165 | |
7862e6ee RK |
166 | /* ::::: miscellaneous formatting ::::: */ |
167 | ||
168 | .inset { | |
169 | border: 1px inset #CCD0DD; | |
170 | /* margin: 0px 5px 5px 5px; */ | |
171 | } | |
172 | ||
173 | .outset { | |
174 | border: 1px outset #CCD0DD; | |
175 | } | |
176 | ||
177 | /* separators */ | |
178 | separator:not([orient="vertical"]) { | |
179 | height: 1.5em; | |
180 | } | |
181 | ||
182 | separator[orient="vertical"] { | |
183 | width: 1.5em; | |
184 | } | |
185 | ||
186 | separator.thin:not([orient="vertical"]) { | |
187 | height: 0.5em; | |
188 | } | |
189 | ||
190 | separator.thin[orient="vertical"] { | |
191 | width: 0.5em; | |
192 | } | |
193 | ||
194 | separator.groove:not([orient="vertical"]) { | |
195 | border-top: 2px groove #CCD0DD; | |
196 | height: 0px; | |
197 | margin-top: 0.4em; | |
198 | margin-bottom: 0.4em; | |
199 | } | |
200 | ||
201 | separator.groove[orient="vertical"] { | |
202 | border-left: 2px groove #CCD0DD; | |
203 | margin-left: 0.4em; | |
204 | margin-right: 0.4em; | |
205 | } | |
206 | ||
207 | /* groove separators (0 padding, for dividing effects) */ | |
208 | separator.groove-thin { | |
209 | border-top: 2px groove #CCD0DD; | |
210 | height: 0px; | |
211 | } | |
212 | ||
213 | separator[orient="vertical"].groove-thin { | |
214 | border-left: 2px groove #CCD0DD; | |
215 | } | |
216 | ||
217 | .small-margin { | |
218 | margin: 0px 1px; | |
219 | } | |
220 | ||
221 | .plain { | |
222 | margin: 0px !important; | |
223 | border: none; | |
224 | padding: 0px; | |
225 | } | |
226 | ||
227 | description, label { | |
228 | cursor: default; | |
229 | margin: 1px 3px; | |
230 | } | |
231 | ||
232 | label[disabled="true"] { | |
233 | color: #808080; | |
234 | } | |
235 | ||
236 | description { | |
237 | /* margin-bottom: 4px; */ | |
238 | } | |
239 | ||
240 | .tooltip-label { | |
241 | margin: 0px; | |
242 | } | |
243 | ||
244 | .header { | |
245 | font-weight: bold; | |
246 | } | |
247 | ||
248 | .monospace { | |
249 | font-family: monospace; | |
250 | } | |
251 | ||
252 | .indent { | |
253 | /* margin-left: 23px; */ | |
254 | margin-left: 15px; | |
255 | } | |
256 | ||
257 | .box-padded { | |
258 | padding: 5px; | |
259 | } | |
260 | ||
261 | .spaced { | |
262 | margin: 1px 3px; | |
263 | } | |
264 | ||
265 | .wizard-box { | |
266 | padding: 15px 35px 10px 35px; | |
267 | } | |
268 | ||
269 | .text-link { | |
270 | color: blue; | |
271 | text-decoration: underline; | |
272 | cursor: pointer; | |
273 | } | |
274 | ||
275 | .text-link:focus { | |
276 | color: red; | |
277 | /* Don't specify the outline-color, we should always use initial value. */ | |
278 | outline: 1px dotted; | |
279 | } | |
280 | ||
281 | .text-link:hover:active { | |
282 | color: red; | |
283 | } | |
284 | ||
285 | .text-link[visited="true"] { | |
286 | color: purple; | |
287 | } | |
288 | ||
56029caf RK |
289 | /* :::::: autoscroll popup ::::: */ |
290 | ||
291 | #autoscroller { | |
292 | height: 28px; | |
293 | width: 28px; | |
294 | border: 0px; | |
295 | margin: -14px; | |
296 | padding: 0px; | |
c79d2bbe | 297 | background-image: url("chrome://global/skin/icons/autoscroll.png"); |
56029caf RK |
298 | background-color: transparent; |
299 | -moz-appearance: none; | |
300 | } | |
301 | ||
302 | #autoscroller[scrolldir="NS"] { | |
303 | background-position: left center; | |
304 | } | |
305 | ||
306 | #autoscroller[scrolldir="EW"] { | |
307 | background-position: left bottom; | |
308 | } | |
309 | ||
310 | #autoscroller[transparent="true"] { | |
311 | background-position: center top; | |
312 | } | |
313 | ||
314 | #autoscroller[transparent="true"][scrolldir="NS"] { | |
315 | background-position: center center; | |
316 | } | |
317 | ||
318 | #autoscroller[transparent="true"][scrolldir="EW"] { | |
319 | background-position: center bottom; | |
320 | } | |
321 | ||
322 | #autoscroller[translucent="true"] { | |
323 | background-position: right top; | |
324 | } | |
325 | ||
326 | #autoscroller[translucent="true"][scrolldir="NS"] { | |
327 | background-position: right center; | |
328 | } | |
329 | ||
330 | #autoscroller[translucent="true"][scrolldir="EW"] { | |
331 | background-position: right bottom; | |
332 | } |