]>
Commit | Line | Data |
---|---|---|
e04c7a62 JF |
1 | /* iPhone.css - iPhone Interface Cascading Style Sheet |
2 | * Copyright (C) 2007-2008 Jay Freeman (saurik) | |
3 | */ | |
4 | ||
5 | /* | |
6 | * Redistribution and use in source and binary | |
7 | * forms, with or without modification, are permitted | |
8 | * provided that the following conditions are met: | |
9 | * | |
10 | * 1. Redistributions of source code must retain the | |
11 | * above copyright notice, this list of conditions | |
12 | * and the following disclaimer. | |
13 | * 2. Redistributions in binary form must reproduce the | |
14 | * above copyright notice, this list of conditions | |
15 | * and the following disclaimer in the documentation | |
16 | * and/or other materials provided with the | |
17 | * distribution. | |
18 | * 3. The name of the author may not be used to endorse | |
19 | * or promote products derived from this software | |
20 | * without specific prior written permission. | |
21 | * | |
22 | * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' | |
23 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, | |
24 | * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF | |
25 | * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | |
26 | * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE | |
27 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, | |
28 | * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT | |
29 | * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR | |
30 | * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS | |
31 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF | |
32 | * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR | |
33 | * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN | |
34 | * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF | |
35 | * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | |
36 | */ | |
37 | ||
6f1a15d9 JF |
38 | /* .clearfix {{{ */ |
39 | .clearfix:after { | |
40 | content: "."; | |
41 | display: block; | |
42 | clear: both; | |
43 | visibility: hidden; | |
44 | line-height: 0; | |
45 | height: 0; | |
46 | } | |
47 | ||
48 | .clearfix { | |
6f1a15d9 JF |
49 | display: block; |
50 | } | |
6f1a15d9 JF |
51 | /* }}} */ |
52 | ||
53 | * { | |
680eb135 | 54 | border: 0; |
58241d4c | 55 | -moz-border-radius: 0; |
680eb135 | 56 | -webkit-border-radius: 0; |
6f1a15d9 JF |
57 | box-sizing: border-box; |
58 | -moz-box-sizing: border-box; | |
9dd60d81 JF |
59 | -ms-box-sizing: border-box; |
60 | -webkit-box-sizing: border-box; | |
58241d4c | 61 | /*font-family: inherit;*/ |
680eb135 JF |
62 | font-size: 100%; |
63 | font-style: inherit; | |
64 | font-weight: inherit; | |
65 | margin: 0; | |
66 | outline: 0; | |
67 | padding: 0; | |
9dd60d81 | 68 | text-decoration: none; |
680eb135 JF |
69 | vertical-align: baseline; |
70 | } | |
71 | ||
9dd60d81 JF |
72 | a { |
73 | color: inherit; | |
74 | } | |
75 | ||
fd7853a6 JF |
76 | sup { |
77 | font-size: smaller; | |
78 | margin-top: -6px; | |
79 | position: relative; | |
80 | top: -6px; | |
81 | } | |
82 | ||
680eb135 JF |
83 | select { |
84 | border: 1px solid #999999; | |
6f1a15d9 JF |
85 | } |
86 | ||
58241d4c JF |
87 | panel { |
88 | display: block; | |
da0410f1 | 89 | width: 320px; |
58241d4c JF |
90 | } |
91 | ||
92 | body { | |
93 | font-family: Helvetica, Arial; | |
6f1a15d9 JF |
94 | -webkit-text-size-adjust: none; |
95 | -webkit-user-select: none; | |
58241d4c JF |
96 | margin: 0 auto; |
97 | width: 320px; | |
6f1a15d9 JF |
98 | } |
99 | ||
aa5d0de7 JF |
100 | body.white { |
101 | background-color: #ffffff; | |
102 | } | |
103 | ||
680eb135 | 104 | body.pinstripe { |
fe468f45 | 105 | background: #c7ced5 url(cydia://uikit-image/UIPinstripe.png); |
2f2279fd | 106 | background-size: 7px 1px; |
6f1a15d9 JF |
107 | } |
108 | ||
680eb135 JF |
109 | dialog { |
110 | display: block; | |
6f1a15d9 JF |
111 | position: absolute; |
112 | width: 100%; | |
113 | } | |
114 | ||
680eb135 JF |
115 | dialog > panel { |
116 | display: block; | |
6f1a15d9 JF |
117 | } |
118 | ||
680eb135 JF |
119 | a { |
120 | color: blue; | |
9dd60d81 | 121 | text-underline-style: dotted; |
680eb135 JF |
122 | } |
123 | ||
6f1a15d9 JF |
124 | strong { |
125 | font-weight: bold | |
126 | } | |
127 | ||
680eb135 JF |
128 | pre, tt { |
129 | font-family: monospace; | |
130 | } | |
131 | ||
affeffc7 JF |
132 | pre { |
133 | letter-spacing: -2px; | |
134 | } | |
135 | ||
63cdf60f JF |
136 | em { |
137 | font-style: italic; | |
138 | } | |
139 | ||
fd7853a6 JF |
140 | .default { |
141 | color: #aaaabb; | |
142 | } | |
143 | ||
58241d4c JF |
144 | .deleted { |
145 | display: none; | |
146 | } | |
147 | ||
6f1a15d9 | 148 | /* #toolbar {{{ */ |
680eb135 | 149 | dialog > toolbar { |
6f1a15d9 JF |
150 | background: url(toolbar.png) #6d84a2 repeat-x; |
151 | border-bottom: 1px solid #2d3642; | |
152 | height: 45px; | |
153 | padding: 10px; | |
154 | } | |
155 | ||
680eb135 | 156 | dialog > toolbar > h1 { |
6f1a15d9 JF |
157 | color: #ffffff; |
158 | font-size: 20px; | |
159 | font-weight: bold; | |
160 | height: 100%; | |
161 | margin: 1px auto 0 auto; | |
162 | text-shadow: rgba(0, 0, 0, 0.4) 0px -1px 0; | |
163 | text-align: center; | |
164 | white-space: nowrap; | |
165 | } | |
166 | /* }}} */ | |
167 | /* (back|forward)-button {{{ */ | |
680eb135 JF |
168 | dialog > toolbar > a.back-button, |
169 | dialog > toolbar > a.forward-button { | |
6f1a15d9 JF |
170 | color: #ffffff; |
171 | font-size: 12px; | |
172 | font-weight: bold; | |
173 | height: 30px; | |
174 | line-height: 30px; | |
175 | margin-top: -28px; | |
176 | padding: 0 3px; | |
177 | text-decoration: none; | |
178 | text-shadow: rgba(0, 0, 0, 0.6) 0px -1px 0; | |
179 | white-space: nowrap; | |
180 | } | |
181 | ||
680eb135 | 182 | dialog > toolbar > a.back-button { |
6f1a15d9 JF |
183 | -webkit-border-image: url(backButton.png) 0 8 0 14; |
184 | border-width: 0 8px 0 14px; | |
185 | float: left; | |
186 | } | |
187 | ||
680eb135 | 188 | dialog > toolbar > a.forward-button { |
6f1a15d9 JF |
189 | -webkit-border-image: url(toolButton.png) 0 5 0 5; |
190 | border-width: 0 5px; | |
191 | float: right; | |
192 | } | |
193 | /* }}} */ | |
59c6ae22 | 194 | |
aa5d0de7 | 195 | panel > block { |
3bd1c2a2 JF |
196 | /*background-color: #ccd1d5;*/ |
197 | /*background-color: white;*/ | |
198 | /*background-color: #c7ced5;*/ | |
199 | background-color: transparent; | |
200 | //background-color: #ffffff; | |
9487f027 JF |
201 | border-bottom: 1px solid #999999; |
202 | border-top: 1px solid #999999; | |
3bd1c2a2 JF |
203 | border-left: 1px dotted #999999; |
204 | border-right: 1px dotted #999999; | |
58241d4c | 205 | -moz-border-radius: 9px; |
3bd1c2a2 JF |
206 | -webkit-border-radius: 9px; |
207 | //border: 1px solid #999999; | |
9487f027 JF |
208 | display: block; |
209 | font-size: 16px; | |
58241d4c | 210 | margin: 9px; |
9487f027 JF |
211 | padding: 0 10px; |
212 | } | |
213 | ||
aa5d0de7 JF |
214 | panel > fieldset > div > hr, |
215 | panel > block > hr { | |
63cdf60f | 216 | border-top: 1px dashed #999999; |
9487f027 JF |
217 | } |
218 | ||
aa5d0de7 | 219 | panel > fieldset { |
9487f027 | 220 | background-color: #ffffff; |
6f1a15d9 | 221 | border: 1px solid #999999; |
58241d4c | 222 | -moz-border-radius: 9px; |
189a73d0 | 223 | -webkit-border-radius: 9px; |
6f1a15d9 JF |
224 | font-size: 16px; |
225 | margin: 9px; | |
6f1a15d9 JF |
226 | } |
227 | ||
aa5d0de7 | 228 | panel > input[type="submit"] { |
fd7853a6 | 229 | /*-webkit-border-image: url(whiteButton.png) 0 12 0 12; |
58241d4c | 230 | -moz-border-radius: 0; |
fd7853a6 JF |
231 | -webkit-border-radius: 0; |
232 | border-width: 0px 12px;*/ | |
233 | border: none; | |
234 | color: #000000; | |
235 | display: block; | |
236 | font-size: 20px; | |
237 | font-weight: bold; | |
238 | margin: 9px; | |
239 | height: 44px; | |
240 | padding: 10px; | |
241 | text-align: center; | |
242 | width: 302px; | |
243 | } | |
244 | ||
aa5d0de7 JF |
245 | list > label { |
246 | background: #a7b3bc url(cydia://uikit-image/UISectionListHeaderBackground.png); | |
247 | background-repeat: repeat-x no-repeat-y; | |
da0410f1 | 248 | margin-bottom: 0px; |
aa5d0de7 JF |
249 | padding: 4px 15px 1px 15px; |
250 | display: block; | |
251 | color: white; | |
252 | font-size: inherit; | |
253 | font-weight: bold; | |
254 | text-shadow: rgba(0, 0, 0, 0.5) 0px 1px 0; | |
255 | } | |
256 | ||
257 | panel > label { | |
6f1a15d9 | 258 | display: block; |
189a73d0 | 259 | margin: 13px 0 -4px 24px; |
6f1a15d9 JF |
260 | line-height: 24px; |
261 | font-size: inherit; | |
262 | font-weight: bold; | |
263 | color: #4d4d70; | |
264 | text-shadow: rgba(255, 255, 255, 0.75) 1px 1px 0; | |
265 | } | |
266 | ||
da0410f1 JF |
267 | panel > fieldset > a, |
268 | panel > fieldset > div, | |
269 | panel > fieldset > textarea { | |
f79a4512 JF |
270 | border-top: 1px solid #999999; |
271 | } | |
272 | ||
58241d4c JF |
273 | /* XXX: should be a.left:nth-last-child(2) */ |
274 | panel > fieldset > a.left, | |
275 | panel > fieldset > a.middle, | |
f79a4512 JF |
276 | panel > fieldset > a:first-child, |
277 | panel > fieldset > div:first-child, | |
278 | panel > fieldset > textarea:first-child { | |
279 | border-top: 0; | |
da0410f1 JF |
280 | } |
281 | ||
aa5d0de7 JF |
282 | list > fieldset > a, |
283 | list > fieldset > div, | |
284 | list > fieldset > textarea { | |
285 | border-bottom: 1px solid #e0e0e0; | |
286 | } | |
287 | ||
d061f4ba | 288 | fieldset > a:not([type="ad"]), |
680eb135 JF |
289 | fieldset > div, |
290 | fieldset > textarea { | |
189a73d0 | 291 | /* XXX: small differences due to font bugs */ |
da0410f1 | 292 | padding: 12px 14px 10px 14px; |
6f1a15d9 JF |
293 | } |
294 | ||
da0410f1 JF |
295 | /*fieldset > a:not([type="ad"]):last-child, |
296 | fieldset > div:last-child { | |
297 | padding-bottom: 10px; | |
298 | }*/ | |
299 | ||
d061f4ba JF |
300 | fieldset > a[type="ad"] { |
301 | /* XXX: small differences due to font bugs */ | |
302 | padding: 4px 4px 2px 5px; | |
303 | } | |
304 | ||
58241d4c JF |
305 | panel > fieldset > a[type="ad"]:first-child > div:first-child, |
306 | panel > fieldset > a[type="comment"]:first-child > div:first-child, | |
307 | panel > fieldset > a[type="profile"]:first-child > div:first-child, | |
308 | panel > fieldset > a[type="thumb"]:first-child > div:first-child { | |
309 | -moz-border-radius-topleft: 9px; | |
aa5d0de7 JF |
310 | -webkit-border-top-left-radius: 9px; |
311 | } | |
312 | ||
58241d4c JF |
313 | panel > fieldset > a[type="ad"]:last-child > div:first-child, |
314 | panel > fieldset > a[type="comment"]:last-child > div:first-child, | |
315 | panel > fieldset > a[type="profile"]:last-child > div:first-child, | |
316 | panel > fieldset > a[type="thumb"]:last-child > div:first-child { | |
317 | -moz-border-radius-bottomleft: 9px; | |
aa5d0de7 JF |
318 | -webkit-border-bottom-left-radius: 9px; |
319 | } | |
320 | ||
58241d4c | 321 | fieldset > a[type="ad"] > div:first-child { |
d061f4ba JF |
322 | border: 1px solid #999999; |
323 | } | |
324 | ||
58241d4c JF |
325 | list > fieldset > a[type="comment"] > div:first-child, |
326 | list > fieldset > a[type="profile"] > div:first-child, | |
327 | list > fieldset > a[type="thumb"] > div:first-child { | |
aa5d0de7 JF |
328 | border: 1px solid #e0e0e0; |
329 | } | |
330 | ||
58241d4c | 331 | panel > fieldset > a[type="comment"] > div:first-child { |
da0410f1 JF |
332 | border: 1px solid #999999; |
333 | border-bottom-style: dashed; | |
334 | } | |
335 | ||
58241d4c JF |
336 | panel > fieldset > a[type="profile"] > div:first-child, |
337 | panel > fieldset:not(.header) > a[type="thumb"] > div:first-child { | |
aa5d0de7 JF |
338 | border: 1px solid #999999; |
339 | } | |
340 | ||
d061f4ba JF |
341 | div[tile] { |
342 | float: right; | |
343 | height: 30px; | |
344 | width: 30px; | |
345 | } | |
346 | ||
347 | div[tile="app"] { background-image: url(http://cache.saurik.com/cydia/tile/app.png); } | |
348 | div[tile="call"] { background-image: url(http://cache.saurik.com/cydia/tile/call.png); } | |
349 | div[tile="map"] { background-image: url(http://cache.saurik.com/cydia/tile/map.png); } | |
350 | div[tile="media"] { background-image: url(http://cache.saurik.com/cydia/tile/media.png); } | |
351 | div[tile="music"] { background-image: url(http://cache.saurik.com/cydia/tile/video.png); } | |
352 | div[tile="site"] { background-image: url(http://cache.saurik.com/cydia/tile/site.png); } | |
353 | ||
58241d4c | 354 | fieldset > a[type="ad"] > div:first-child { |
d061f4ba JF |
355 | background-repeat: no-repeat; |
356 | background-position: center center; | |
357 | border-right: none; | |
358 | display: inline-block; | |
359 | height: 40px; | |
360 | line-height: 38px; | |
361 | /* XXX: small differences due to font bugs */ | |
362 | /* XXX: 1px difference due to border stupidity */ | |
363 | margin: -5px 5px -3px -6px; | |
364 | width: 40px; | |
365 | } | |
366 | ||
da0410f1 JF |
367 | panel > fieldset > a[type="comment"] { |
368 | border-bottom-style: dashed; | |
369 | } | |
370 | ||
58241d4c | 371 | fieldset > a[type="comment"] > div:first-child { |
da0410f1 JF |
372 | -webkit-background-size: 44px; |
373 | height: 44px; | |
374 | width: 44px; | |
375 | } | |
376 | ||
58241d4c | 377 | fieldset > a[type="header"] > div:first-child { |
3bd1c2a2 JF |
378 | height: 64px; |
379 | width: 64px; | |
380 | } | |
381 | ||
58241d4c | 382 | fieldset > a[type="profile"] > div:first-child { |
3bd1c2a2 | 383 | -webkit-background-size: 50px; |
da0410f1 JF |
384 | height: 50px; |
385 | width: 50px; | |
386 | } | |
387 | ||
58241d4c | 388 | fieldset > a[type="thumb"] > div:first-child { |
da0410f1 JF |
389 | height: 64px; |
390 | width: 64px; | |
391 | } | |
392 | ||
58241d4c JF |
393 | fieldset > a[type="comment"] > div:first-child, |
394 | fieldset > a[type="header"] > div:first-child, | |
395 | fieldset > a[type="profile"] > div:first-child, | |
396 | fieldset > a[type="thumb"] > div:first-child { | |
aa5d0de7 JF |
397 | background-repeat: no-repeat; |
398 | background-position: center center; | |
399 | display: inline-block; | |
aa5d0de7 JF |
400 | /* XXX: small differences due to font bugs */ |
401 | /* XXX: 1px difference due to border stupidity */ | |
3bd1c2a2 | 402 | margin: -13px 7px -11px -15px; |
6f1a15d9 JF |
403 | } |
404 | ||
aa5d0de7 JF |
405 | fieldset > a > img.icon, |
406 | fieldset > div > img.icon { | |
6f1a15d9 | 407 | height: auto; |
189a73d0 JF |
408 | /* XXX: small differences due to font bugs */ |
409 | margin: -7px 6px -9px -8px; | |
6f1a15d9 JF |
410 | max-height: 30px; |
411 | min-width: 30px; | |
6f1a15d9 JF |
412 | width: 30px; |
413 | } | |
414 | ||
58241d4c JF |
415 | fieldset > a.sixth > img.icon { |
416 | position: relative; | |
417 | left: 7px; | |
418 | } | |
419 | ||
680eb135 | 420 | panel > block > p, |
9dd60d81 | 421 | fieldset > div > p, |
da0410f1 | 422 | panel > block > ul, |
9dd60d81 | 423 | fieldset > div > ul { |
58241d4c | 424 | margin: 10px 0; |
6f1a15d9 JF |
425 | } |
426 | ||
da0410f1 | 427 | panel > block > ul, |
680eb135 | 428 | fieldset > div > ul { |
9dd60d81 JF |
429 | margin-left: 13px; |
430 | } | |
431 | ||
432 | panel > block > p, | |
433 | fieldset > div > p { | |
434 | text-align: center; | |
affeffc7 JF |
435 | } |
436 | ||
680eb135 JF |
437 | fieldset > div > p:first-child, |
438 | fieldset > div > ul:first-child { | |
6f1a15d9 JF |
439 | margin-top: 0; |
440 | } | |
441 | ||
680eb135 JF |
442 | fieldset > div > p:last-child, |
443 | fieldset > div > ul:last-child { | |
7d2ac47f JF |
444 | margin-bottom: 0; |
445 | } | |
446 | ||
680eb135 | 447 | fieldset > a { |
6f1a15d9 JF |
448 | color: inherit; |
449 | display: block; | |
450 | } | |
451 | ||
fd7853a6 | 452 | fieldset > textarea, |
58241d4c JF |
453 | fieldset > div > input:not([type="checkbox"]), |
454 | fieldset > div > select, | |
455 | fieldset > div > div > select { | |
680eb135 | 456 | background: none; |
fd7853a6 JF |
457 | -webkit-box-shadow: none; |
458 | -webkit-appearance: none; | |
680eb135 JF |
459 | } |
460 | ||
59c6ae22 | 461 | /* Chevrons {{{ */ |
aa5d0de7 | 462 | |
d061f4ba | 463 | fieldset > a[href]:not([type="ad"]), |
58241d4c JF |
464 | fieldset > div > select, |
465 | fieldset > div > div > select { | |
59c6ae22 JF |
466 | background-repeat: no-repeat; |
467 | background-image: url(chevron.png); | |
189a73d0 JF |
468 | } |
469 | ||
aeed65a6 JF |
470 | @media screen and (-webkit-min-device-pixel-ratio: 2) { |
471 | fieldset > a[href]:not([type="ad"]), | |
472 | fieldset > div > select, | |
473 | fieldset > div > div > select { | |
474 | background-image: url(chevron@2x.png); | |
475 | background-size: 10px 13px; | |
476 | } } | |
477 | ||
59c6ae22 JF |
478 | /* Horizontal */ |
479 | ||
480 | list > fieldset > a[href] { | |
58241d4c | 481 | background-position: 295px center; |
fd7853a6 JF |
482 | } |
483 | ||
59c6ae22 | 484 | panel > fieldset > a[href] { |
58241d4c | 485 | background-position: 275px center; |
fd7853a6 JF |
486 | } |
487 | ||
da0410f1 | 488 | panel > fieldset > a[href].half { |
58241d4c JF |
489 | background-position: 125px center; |
490 | } | |
491 | ||
492 | panel > fieldset > a[href].third { | |
493 | background-position: 75px center; | |
494 | } | |
495 | ||
496 | panel > fieldset > a[href].sixth { | |
497 | background: none; | |
da0410f1 JF |
498 | } |
499 | ||
59c6ae22 | 500 | list > fieldset > a:not([href]) > select, |
58241d4c JF |
501 | list > fieldset > div > select, |
502 | list > fieldset > div > div > select { | |
503 | background-position: 183px center; | |
fd7853a6 JF |
504 | } |
505 | ||
59c6ae22 | 506 | panel > fieldset > a:not([href]) > select, |
58241d4c JF |
507 | panel > fieldset > div > select, |
508 | panel > fieldset > div > div > select { | |
509 | background-position: 163px center; | |
680eb135 JF |
510 | } |
511 | ||
59c6ae22 JF |
512 | /* }}} */ |
513 | ||
680eb135 JF |
514 | fieldset > textarea, |
515 | fieldset > div > input, | |
516 | fieldset > div > select, | |
58241d4c JF |
517 | fieldset > div > div > select, |
518 | fieldset > a > div > label + label, | |
519 | fieldset > div > div > label + label { | |
6f1a15d9 | 520 | color: #193250; |
680eb135 JF |
521 | } |
522 | ||
523 | fieldset > textarea, | |
524 | fieldset > div > input, | |
58241d4c JF |
525 | fieldset > div > select, |
526 | fieldset > div > div > select { | |
6f1a15d9 | 527 | font-size: 16px; |
680eb135 JF |
528 | } |
529 | ||
189a73d0 JF |
530 | fieldset > div > input { |
531 | padding-left: 7px; | |
532 | padding-right: 14px; | |
533 | } | |
534 | ||
58241d4c JF |
535 | fieldset > div > input[type="checkbox"] { |
536 | border: 1px solid #999999; | |
537 | -moz-border-radius: 7px; | |
538 | -webkit-border-radius: 7px; | |
539 | float: right; | |
540 | margin: -7px -8px; | |
541 | height: 30px; | |
542 | width: 30px; | |
543 | } | |
544 | ||
fd7853a6 | 545 | fieldset > div > select, |
58241d4c JF |
546 | fieldset > div > div > select, |
547 | fieldset > div > input:not([type="checkbox"]) { | |
680eb135 | 548 | border: none; |
189a73d0 JF |
549 | float: right; |
550 | height: 40px; | |
551 | margin: -11px -13px -11px -14px; | |
680eb135 JF |
552 | } |
553 | ||
aa5d0de7 | 554 | panel > fieldset > div > select, |
58241d4c JF |
555 | panel > fieldset > div > div > select, |
556 | panel > fieldset > div > input:not([type="checkbox"]) { | |
fd7853a6 | 557 | width: 187px; |
6f1a15d9 JF |
558 | } |
559 | ||
aa5d0de7 | 560 | list > fieldset > div > select, |
58241d4c JF |
561 | list > fieldset > div > div > select, |
562 | list > fieldset > div > input:not([type="checkbox"]) { | |
fd7853a6 | 563 | width: 207px; |
680eb135 JF |
564 | } |
565 | ||
fd7853a6 | 566 | fieldset > textarea { |
6f1a15d9 | 567 | padding: 10px; |
fd7853a6 | 568 | width: 320px; |
6f1a15d9 JF |
569 | } |
570 | ||
189a73d0 JF |
571 | fieldset > div > div, |
572 | fieldset > a > div { | |
573 | display: inline-block; | |
574 | } | |
575 | ||
576 | fieldset > div > div { | |
577 | width: 273px; | |
578 | } | |
579 | ||
58241d4c | 580 | fieldset > a[type="ad"] > div:nth-child(2) { |
d061f4ba JF |
581 | width: 218px; |
582 | } | |
583 | ||
584 | fieldset > a:not([type]) > div { | |
189a73d0 | 585 | width: 250px; |
6f1a15d9 JF |
586 | } |
587 | ||
3bd1c2a2 | 588 | fieldset > a:not([href]) > img.icon + div, |
189a73d0 JF |
589 | fieldset > div > img.icon + div { |
590 | width: 244px; | |
591 | } | |
592 | ||
3bd1c2a2 | 593 | fieldset > a[href] > img.icon + div { |
189a73d0 JF |
594 | width: 221px; |
595 | } | |
596 | ||
58241d4c | 597 | fieldset > a[type="profile"] > div:nth-child(2) > label:nth-child(1).unknown { |
da0410f1 JF |
598 | color: #aaaabb; |
599 | } | |
600 | ||
58241d4c | 601 | fieldset > a[type="profile"] > div:nth-child(2) > label:only-child { |
da0410f1 JF |
602 | left: 4px; |
603 | position: relative; | |
604 | top: 3px; | |
605 | } | |
606 | ||
58241d4c | 607 | fieldset > a[type="thumb"] > div:nth-child(2) > label:only-child { |
aa5d0de7 JF |
608 | position: relative; |
609 | top: 10px; | |
610 | } | |
611 | ||
58241d4c | 612 | fieldset > a[type="profile"] > div:nth-child(2) > label + label { |
da0410f1 JF |
613 | display: block; |
614 | font-size: 13px; | |
615 | margin-top: 2px; | |
616 | } | |
617 | ||
58241d4c | 618 | fieldset > a[type="thumb"] > div:nth-child(2) > label + label { |
aa5d0de7 JF |
619 | display: block; |
620 | margin-top: 2px; | |
621 | } | |
622 | ||
58241d4c | 623 | fieldset > a[type="profile"] > div:nth-child(2) { |
da0410f1 JF |
624 | width: 207px; |
625 | } | |
626 | ||
58241d4c | 627 | fieldset > a[type="thumb"] > div:nth-child(2) { |
aa5d0de7 JF |
628 | width: 193px; |
629 | } | |
630 | ||
58241d4c | 631 | fieldset > a[type="profile"] > div:nth-child(2) { |
3bd1c2a2 | 632 | margin: -5px 0; |
da0410f1 JF |
633 | } |
634 | ||
58241d4c JF |
635 | fieldset > a[type="profile"] > div:nth-child(2), |
636 | fieldset > a[type="thumb"] > div:nth-child(2) { | |
da0410f1 JF |
637 | vertical-align: top; |
638 | } | |
639 | ||
58241d4c JF |
640 | fieldset > a > label:first-child, |
641 | fieldset > a > div > label:first-child, | |
642 | fieldset > div > label:first-child, | |
643 | fieldset > div > div > label:first-child { | |
189a73d0 | 644 | font-weight: bold; |
6f1a15d9 JF |
645 | } |
646 | ||
da0410f1 | 647 | /* XXX: this doesn't handle icon offsets */ |
58241d4c JF |
648 | list > fieldset > a:not([type]) > div > label + label, |
649 | list > fieldset > div > div > label + label { | |
680eb135 JF |
650 | margin-left: 94px; |
651 | } | |
652 | ||
58241d4c JF |
653 | panel > fieldset > a:not([type]) > div > label + label, |
654 | panel > fieldset > div > div > label + label { | |
affeffc7 | 655 | float: right; |
6f1a15d9 JF |
656 | text-align: right; |
657 | } | |
affeffc7 | 658 | |
aa5d0de7 | 659 | panel > img { |
affeffc7 JF |
660 | display: block; |
661 | margin: 9px auto 4px auto; | |
662 | height: auto; | |
663 | width: 300px; | |
664 | } | |
aa5d0de7 | 665 | |
d061f4ba JF |
666 | fieldset > a[type="ad"] { |
667 | } | |
668 | ||
58241d4c | 669 | fieldset > a[type="ad"] > div:nth-child(2) { |
d061f4ba JF |
670 | position: relative; |
671 | vertical-align: top; | |
672 | } | |
673 | ||
58241d4c | 674 | fieldset > a[type="ad"] > div > label:first-child { |
d061f4ba JF |
675 | color: #2d2d50; |
676 | font-size: 13px; | |
677 | font-weight: bold; | |
678 | line-height: 15px; | |
679 | } | |
680 | ||
58241d4c | 681 | fieldset > a[type="ad"] > div > label + label { |
d061f4ba JF |
682 | position: absolute; |
683 | top: 17px; | |
684 | left: 156px; | |
685 | font-size: 9.5px; | |
686 | font-weight: normal; | |
687 | } | |
688 | ||
58241d4c | 689 | panel > fieldset > a.middle, |
da0410f1 JF |
690 | panel > fieldset > a.right { |
691 | border-left: 1px solid #999999; | |
692 | } | |
693 | ||
694 | panel > fieldset > a.half { | |
695 | display: inline-block; | |
696 | width: 150px; | |
697 | } | |
698 | ||
58241d4c JF |
699 | panel > fieldset > a.third { |
700 | display: inline-block; | |
701 | width: 100px; | |
702 | } | |
703 | ||
704 | panel > fieldset > a.sixth { | |
705 | display: inline-block; | |
706 | width: 50px; | |
707 | } | |
708 | ||
d061f4ba JF |
709 | fieldset.half > a { |
710 | background: none; | |
58241d4c | 711 | background-position: 120px center; |
d061f4ba JF |
712 | } |
713 | ||
714 | fieldset.half > a > img.icon + div { | |
715 | width: 65px; | |
716 | } | |
717 | ||
718 | fieldset.right { | |
719 | float: right; | |
720 | margin-left: 10px; | |
721 | } | |
722 | ||
723 | block + fieldset.right, | |
724 | fieldset + fieldset.right { | |
725 | margin-top: 0; | |
726 | } | |
727 | ||
728 | fieldset.half { | |
729 | width: 146px; | |
730 | } | |
731 | ||
da0410f1 JF |
732 | panel > fieldset.dashed > a, |
733 | panel > fieldset.dashed > div, | |
734 | panel > fieldset.dashed > textarea, | |
735 | list > fieldset.dashed > a, | |
736 | list > fieldset.dashed > div, | |
737 | list > fieldset.dashed > textarea { | |
738 | border-style: dashed; | |
739 | } | |
740 | ||
d061f4ba | 741 | fieldset > a[type="thumb"]:first-child > back { |
58241d4c | 742 | -moz-border-radius-topright: 9px; |
aa5d0de7 JF |
743 | -webkit-border-top-right-radius: 9px; |
744 | } | |
745 | ||
d061f4ba | 746 | fieldset > a[type="thumb"]:last-child > back { |
58241d4c | 747 | -moz-border-radius-bottomright: 9px; |
aa5d0de7 JF |
748 | -webkit-border-bottom-right-radius: 9px; |
749 | } | |
750 | ||
d061f4ba | 751 | fieldset > a[type="thumb"] > back { |
aa5d0de7 JF |
752 | background-repeat: no-repeat; |
753 | border: 1px solid #999999; | |
754 | display: block; | |
755 | height: 64px; | |
756 | left: 62px; | |
757 | position: absolute; | |
758 | opacity: 0.2; | |
759 | top: -1px; | |
760 | width: 237px; | |
761 | } | |
da0410f1 JF |
762 | |
763 | .mm { | |
764 | border: 1px solid #999999; | |
58241d4c | 765 | -moz-border-radius: 9px; |
da0410f1 JF |
766 | -webkit-border-radius: 9px; |
767 | } | |
768 | ||
769 | a.mm { | |
770 | display: block; | |
771 | margin: 9px; | |
772 | } | |
773 | ||
774 | div.mm img { | |
775 | height: auto; | |
776 | width: 300px; | |
777 | } | |
778 | ||
779 | fieldset > a.small { | |
780 | font-size: 12px; | |
781 | padding-top: 9px; | |
782 | } | |
783 | ||
784 | fieldset > a.small label { | |
785 | display: inline-block; | |
786 | position: relative; | |
787 | top: 1px; | |
788 | } | |
789 | ||
790 | fieldset > a.small > img.icon { | |
791 | max-height: 22px; | |
792 | min-width: 22px; | |
793 | width: 22px; | |
794 | } | |
795 | ||
796 | fieldset > a.small.half > img.icon + div { | |
797 | width: 79px; | |
798 | } | |
799 | ||
58241d4c JF |
800 | fieldset > a.small.third > img.icon + div { |
801 | width: 50px; | |
802 | } | |
803 | ||
804 | fieldset > a.small.sixth > img.icon + div { | |
805 | width: 0px; | |
806 | } | |
807 | ||
da0410f1 JF |
808 | panel.centered > label { |
809 | margin-left: 0px; | |
810 | margin-right: 0px; | |
811 | text-align: center; | |
812 | } | |
813 | ||
814 | panel > iframe { | |
3bd1c2a2 JF |
815 | margin: -9px 0; |
816 | } | |
817 | ||
58241d4c | 818 | panel > iframe:first-child, |
3bd1c2a2 JF |
819 | panel > iframe + iframe { |
820 | margin-top: 0; | |
da0410f1 JF |
821 | } |
822 | ||
823 | /* Rating Stars {{{ */ | |
824 | .ratings { | |
825 | margin: -2px 0; | |
826 | text-align: center; | |
827 | } | |
828 | ||
829 | .rated { | |
830 | display: inline-block; | |
831 | } | |
832 | ||
833 | .rated.left { | |
834 | margin-right: 9px; | |
835 | } | |
836 | ||
837 | .rated label { | |
838 | font-weight: bold; | |
839 | margin-right: 3px; | |
840 | position: relative; | |
841 | top: -3px; | |
842 | } | |
843 | ||
844 | .rating { | |
845 | display: inline-block; | |
846 | width: 80px; | |
847 | } | |
848 | ||
849 | .rating .back, | |
850 | .rating .fore, | |
851 | .rating .star { | |
852 | background: url(http://cache.saurik.com/crystal/16x16/actions/knewstuff.png); | |
853 | height: 16px; | |
854 | } | |
855 | ||
856 | .rating .back, | |
857 | .rating .fore { | |
858 | width: 80px; | |
859 | } | |
860 | ||
861 | .rating .star { | |
862 | display: inline-block; | |
863 | width: 16px; | |
864 | } | |
865 | ||
866 | .rating .back { | |
867 | opacity: 0.2; | |
868 | } | |
869 | ||
870 | .rating .fore { | |
871 | /*border-right: 1px solid #999999;*/ | |
872 | position: absolute; | |
873 | } | |
874 | /* }}} */ | |
3bd1c2a2 JF |
875 | |
876 | panel > fieldset.header { | |
877 | background-color: transparent; | |
878 | border: none; | |
58241d4c | 879 | margin: -5px 9px -11px 9px; |
3bd1c2a2 JF |
880 | } |
881 | ||
882 | panel > fieldset.header > a > div > label { | |
883 | color: #4d4d70; | |
884 | text-shadow: rgba(255, 255, 255, 0.75) 1px 1px 0; | |
885 | } |