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/. */ | |
f6e0a33f | 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 | ||
f6e0a33f | 12 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); |
13 | ||
74d14f90 | 14 | /* ::::: XBL bindings ::::: */ |
f6e0a33f | 15 | |
76983f4c | 16 | checkbox { |
17 | -moz-binding: url("chrome://global/content/bindings/checkbox.xml#checkbox-with-spacing"); | |
18 | } | |
19 | ||
74d14f90 | 20 | radio { |
76983f4c | 21 | -moz-binding: url("chrome://global/skin/globalBindings.xml#radio-with-spacing"); |
f6e0a33f | 22 | } |
74d14f90 | 23 | |
24 | menulist > menupopup, | |
25 | .menulist-menupopup { | |
26 | -moz-binding: url("chrome://global/content/bindings/popup.xml#popup-scrollbars"); | |
f6e0a33f | 27 | } |
28 | ||
74d14f90 | 29 | .menulist-compact { |
ecb2fda9 | 30 | -moz-binding: url("chrome://global/skin/globalBindings.xml#menulist-compact"); |
f6e0a33f | 31 | } |
32 | ||
caf7fc11 | 33 | /* |
34 | progressmeter[mode="undetermined"] { | |
35 | -moz-binding: url("chrome://global/content/bindings/progressmeter.xml#progressmeter-undetermined"); | |
36 | } | |
37 | */ | |
38 | ||
74d14f90 | 39 | /* ::::: root elements ::::: */ |
40 | ||
41 | window, | |
42 | page, | |
43 | dialog, | |
df8c26c4 RK |
44 | wizard, |
45 | prefwindow { | |
74d14f90 | 46 | background-color: #CCD0DD; |
47 | color: #000000; | |
4ed82c79 | 48 | font: 11px "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif; |
74d14f90 | 49 | } |
d36c7ec4 | 50 | |
76983f4c | 51 | window.dialog { |
02920d2b RK |
52 | padding-top: 8px; |
53 | padding-bottom: 10px; | |
54 | -moz-padding-start: 8px; | |
55 | -moz-padding-end: 10px; | |
74d14f90 | 56 | } |
57 | ||
74d14f90 | 58 | /* ::::: alert icons :::::*/ |
59 | ||
60 | .message-icon, | |
61 | .alert-icon, | |
62 | .error-icon, | |
6c5a63bb RK |
63 | .question-icon, |
64 | .authentication-icon { | |
74d14f90 | 65 | width: 32px; |
66 | height: 32px; | |
67 | } | |
128000f4 | 68 | |
74d14f90 | 69 | .message-icon { |
70 | list-style-image: url("chrome://global/skin/icons/alert-message.gif"); | |
71 | } | |
72 | ||
73 | .alert-icon { | |
74 | list-style-image: url("chrome://global/skin/icons/alert-exclam.gif"); | |
75 | } | |
76 | ||
77 | .error-icon { | |
78 | list-style-image: url("chrome://global/skin/icons/alert-error.gif"); | |
79 | } | |
80 | ||
6c5a63bb RK |
81 | .question-icon, |
82 | .authentication-icon { | |
74d14f90 | 83 | list-style-image: url("chrome://global/skin/icons/alert-question.gif"); |
84 | } | |
85 | ||
86 | /* ::::: iframe ::::: */ | |
87 | ||
88 | iframe { | |
89 | border: none; | |
90 | width: 100px; | |
91 | height: 100px; | |
92 | min-width: 10px; | |
93 | min-height: 10px; | |
94 | } | |
95 | ||
96 | /* ::::: statusbar ::::: */ | |
97 | ||
98 | statusbar { | |
99 | border-top: 1px solid #9999CC; | |
100 | background-color: #666699; | |
101 | color: #CCD0DD; | |
df8c26c4 | 102 | min-height: 16px; |
74d14f90 | 103 | } |
104 | ||
105 | statusbarpanel { | |
106 | -moz-box-align: center; | |
107 | -moz-box-pack: center; | |
d8de8145 | 108 | padding: 0px 1px; |
74d14f90 | 109 | } |
110 | ||
a064a540 RK |
111 | statusbarpanel:not(.statusbar-resizerpanel):-moz-lwtheme { |
112 | -moz-appearance: none; | |
113 | border-top-style: none; | |
114 | border-bottom-style: none; | |
115 | -moz-border-start-style: none; | |
116 | } | |
74d14f90 | 117 | |
118 | .statusbar-resizerpanel { | |
119 | -moz-box-align: end; | |
120 | -moz-box-pack: end; | |
121 | padding: 0px; | |
122 | } | |
123 | ||
7862e6ee RK |
124 | .statusbarpanel-iconic, |
125 | .statusbarpanel-iconic-text, | |
126 | .statusbarpanel-menu-iconic { | |
127 | padding: 0px 1px; | |
76983f4c | 128 | } |
74d14f90 | 129 | |
74d14f90 | 130 | .toolbar-focustarget { |
131 | -moz-user-focus: ignore !important; | |
3eaf1060 | 132 | } |
56029caf | 133 | |
18f5421a RK |
134 | toolbar[mode="text"] .toolbarbutton-text { |
135 | /* padding: 0 !important; | |
136 | margin: 3px 5px !important; */ | |
137 | } | |
138 | ||
7862e6ee RK |
139 | /* ::::: miscellaneous formatting ::::: */ |
140 | ||
3b1530c2 RK |
141 | :root:-moz-lwtheme, |
142 | [lwthemefooter="true"] { | |
143 | -moz-appearance: none; | |
144 | } | |
145 | ||
146 | :root:-moz-lwtheme-darktext { | |
24547055 | 147 | text-shadow: 0 -0.5px 1.5px #FFFFFF; |
3b1530c2 RK |
148 | } |
149 | ||
150 | :root:-moz-lwtheme-brighttext { | |
151 | text-shadow: 1px 1px 2px #000000; | |
152 | } | |
153 | ||
154 | statusbar:-moz-lwtheme, | |
155 | sidebarheader:-moz-lwtheme { | |
156 | -moz-appearance: none; | |
157 | background: none; | |
158 | border-style: none; | |
159 | } | |
160 | ||
7862e6ee RK |
161 | .inset { |
162 | border: 1px inset #CCD0DD; | |
02920d2b | 163 | /* margin: 0px 5px 5px; */ |
7862e6ee RK |
164 | } |
165 | ||
166 | .outset { | |
167 | border: 1px outset #CCD0DD; | |
168 | } | |
169 | ||
170 | /* separators */ | |
171 | separator:not([orient="vertical"]) { | |
172 | height: 1.5em; | |
173 | } | |
174 | ||
175 | separator[orient="vertical"] { | |
176 | width: 1.5em; | |
177 | } | |
178 | ||
179 | separator.thin:not([orient="vertical"]) { | |
180 | height: 0.5em; | |
181 | } | |
182 | ||
183 | separator.thin[orient="vertical"] { | |
184 | width: 0.5em; | |
185 | } | |
186 | ||
187 | separator.groove:not([orient="vertical"]) { | |
188 | border-top: 2px groove #CCD0DD; | |
189 | height: 0px; | |
190 | margin-top: 0.4em; | |
191 | margin-bottom: 0.4em; | |
192 | } | |
193 | ||
194 | separator.groove[orient="vertical"] { | |
195 | border-left: 2px groove #CCD0DD; | |
8caa872d RK |
196 | -moz-margin-start: 0.4em; |
197 | -moz-margin-end: 0.4em; | |
7862e6ee RK |
198 | } |
199 | ||
200 | /* groove separators (0 padding, for dividing effects) */ | |
201 | separator.groove-thin { | |
202 | border-top: 2px groove #CCD0DD; | |
203 | height: 0px; | |
204 | } | |
205 | ||
206 | separator[orient="vertical"].groove-thin { | |
207 | border-left: 2px groove #CCD0DD; | |
208 | } | |
209 | ||
210 | .small-margin { | |
211 | margin: 0px 1px; | |
212 | } | |
213 | ||
214 | .plain { | |
18f5421a | 215 | -moz-appearance: none; |
7862e6ee RK |
216 | margin: 0px !important; |
217 | border: none; | |
218 | padding: 0px; | |
219 | } | |
220 | ||
221 | description, label { | |
222 | cursor: default; | |
223 | margin: 1px 3px; | |
224 | } | |
225 | ||
226 | label[disabled="true"] { | |
227 | color: #808080; | |
228 | } | |
229 | ||
230 | description { | |
231 | /* margin-bottom: 4px; */ | |
232 | } | |
233 | ||
234 | .tooltip-label { | |
235 | margin: 0px; | |
236 | } | |
237 | ||
238 | .header { | |
239 | font-weight: bold; | |
240 | } | |
241 | ||
242 | .monospace { | |
8ad8bf83 | 243 | font-family: "Liberation Mono", Consolas, "Courier New", monospace; |
7862e6ee RK |
244 | } |
245 | ||
246 | .indent { | |
8caa872d RK |
247 | /* -moz-margin-start: 23px; */ |
248 | -moz-margin-start: 15px; | |
7862e6ee RK |
249 | } |
250 | ||
251 | .box-padded { | |
252 | padding: 5px; | |
253 | } | |
254 | ||
255 | .spaced { | |
256 | margin: 1px 3px; | |
257 | } | |
258 | ||
259 | .wizard-box { | |
02920d2b | 260 | padding: 15px 35px 10px; |
7862e6ee RK |
261 | } |
262 | ||
263 | .text-link { | |
264 | color: blue; | |
265 | text-decoration: underline; | |
266 | cursor: pointer; | |
267 | } | |
268 | ||
024ec655 | 269 | .text-link:-moz-focusring { |
7862e6ee RK |
270 | /* Don't specify the outline-color, we should always use initial value. */ |
271 | outline: 1px dotted; | |
272 | } | |
273 | ||
56029caf RK |
274 | /* :::::: autoscroll popup ::::: */ |
275 | ||
18f5421a | 276 | .autoscroller { |
56029caf RK |
277 | height: 28px; |
278 | width: 28px; | |
279 | border: 0px; | |
280 | margin: -14px; | |
281 | padding: 0px; | |
c79d2bbe | 282 | background-image: url("chrome://global/skin/icons/autoscroll.png"); |
56029caf RK |
283 | background-color: transparent; |
284 | -moz-appearance: none; | |
285 | } | |
286 | ||
18f5421a | 287 | .autoscroller[scrolldir="NS"] { |
56029caf RK |
288 | background-position: left center; |
289 | } | |
290 | ||
18f5421a | 291 | .autoscroller[scrolldir="EW"] { |
56029caf RK |
292 | background-position: left bottom; |
293 | } | |
294 | ||
18f5421a | 295 | .autoscroller[transparent="true"] { |
56029caf RK |
296 | background-position: center top; |
297 | } | |
298 | ||
18f5421a | 299 | .autoscroller[transparent="true"][scrolldir="NS"] { |
56029caf RK |
300 | background-position: center center; |
301 | } | |
302 | ||
18f5421a | 303 | .autoscroller[transparent="true"][scrolldir="EW"] { |
56029caf RK |
304 | background-position: center bottom; |
305 | } | |
306 | ||
18f5421a | 307 | .autoscroller[translucent="true"] { |
56029caf RK |
308 | background-position: right top; |
309 | } | |
310 | ||
18f5421a | 311 | .autoscroller[translucent="true"][scrolldir="NS"] { |
56029caf RK |
312 | background-position: right center; |
313 | } | |
314 | ||
18f5421a | 315 | .autoscroller[translucent="true"][scrolldir="EW"] { |
56029caf RK |
316 | background-position: right bottom; |
317 | } |