Mercurial > ~darius > hgwebdir.cgi > iwws
comparison static/themes/jqt/theme.css @ 0:2d9ee2b3ae82
Initial commit of iWWS.
author | Daniel O'Connor <darius@dons.net.au> |
---|---|
date | Mon, 15 Aug 2011 17:44:56 +0930 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:2d9ee2b3ae82 |
---|---|
1 body { | |
2 background: #000; | |
3 color: #ddd; | |
4 } | |
5 #jqt > * { | |
6 background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#333), to(#5e5e65)); | |
7 } | |
8 #jqt h1, #jqt h2 { | |
9 font: bold 18px "Helvetica Neue", Helvetica; | |
10 text-shadow: rgba(255,255,255,.2) 0 1px 1px; | |
11 color: #000; | |
12 margin: 10px 20px 5px; | |
13 } | |
14 /* @group Toolbar */ | |
15 #jqt .toolbar { | |
16 -webkit-box-sizing: border-box; | |
17 border-bottom: 1px solid #000; | |
18 padding: 10px; | |
19 height: 45px; | |
20 background: url(img/toolbar.png) #000000 repeat-x; | |
21 position: relative; | |
22 } | |
23 #jqt .black-translucent .toolbar { | |
24 margin-top: 20px; | |
25 } | |
26 #jqt .toolbar > h1 { | |
27 position: absolute; | |
28 overflow: hidden; | |
29 left: 50%; | |
30 top: 10px; | |
31 line-height: 1em; | |
32 margin: 1px 0 0 -75px; | |
33 height: 40px; | |
34 font-size: 20px; | |
35 width: 150px; | |
36 font-weight: bold; | |
37 text-shadow: rgba(0,0,0,1) 0 -1px 1px; | |
38 text-align: center; | |
39 text-overflow: ellipsis; | |
40 white-space: nowrap; | |
41 color: #fff; | |
42 } | |
43 #jqt.landscape .toolbar > h1 { | |
44 margin-left: -125px; | |
45 width: 250px; | |
46 } | |
47 #jqt .button, #jqt .back, #jqt .cancel, #jqt .add { | |
48 position: absolute; | |
49 overflow: hidden; | |
50 top: 8px; | |
51 right: 10px; | |
52 margin: 0; | |
53 border-width: 0 5px; | |
54 padding: 0 3px; | |
55 width: auto; | |
56 height: 30px; | |
57 line-height: 30px; | |
58 font-family: inherit; | |
59 font-size: 12px; | |
60 font-weight: bold; | |
61 color: #fff; | |
62 text-shadow: rgba(0, 0, 0, 0.5) 0px -1px 0; | |
63 text-overflow: ellipsis; | |
64 text-decoration: none; | |
65 white-space: nowrap; | |
66 background: none; | |
67 -webkit-border-image: url(img/button.png) 0 5 0 5; | |
68 } | |
69 #jqt .button.active, #jqt .cancel.active, #jqt .add.active { | |
70 -webkit-border-image: url(img/button_clicked.png) 0 5 0 5; | |
71 } | |
72 #jqt .blueButton { | |
73 -webkit-border-image: url(img/blueButton.png) 0 5 0 5; | |
74 border-width: 0 5px; | |
75 } | |
76 #jqt .back { | |
77 left: 6px; | |
78 right: auto; | |
79 padding: 0; | |
80 max-width: 55px; | |
81 border-width: 0 8px 0 14px; | |
82 -webkit-border-image: url(img/back_button.png) 0 8 0 14; | |
83 } | |
84 #jqt .back.active { | |
85 -webkit-border-image: url(img/back_button_clicked.png) 0 8 0 14; | |
86 } | |
87 #jqt .leftButton, #jqt .cancel { | |
88 left: 6px; | |
89 right: auto; | |
90 } | |
91 #jqt .add { | |
92 font-size: 24px; | |
93 line-height: 24px; | |
94 font-weight: bold; | |
95 } | |
96 #jqt .whiteButton, | |
97 #jqt .grayButton, #jqt .redButton, #jqt .blueButton, #jqt .greenButton { | |
98 border-width: 0 12px; | |
99 color: #000000; | |
100 display: block; | |
101 font-size: 20px; | |
102 font-weight: bold; | |
103 padding: 10px; | |
104 text-align: center; | |
105 text-decoration: inherit; | |
106 text-shadow: rgba(255, 255, 255, 0.7) 0 1px 0; | |
107 } | |
108 | |
109 #jqt .whiteButton.active, #jqt .grayButton.active, #jqt .redButton.active, #jqt .blueButton.active, #jqt .greenButton.active, | |
110 #jqt .whiteButton:active, #jqt .grayButton:active, #jqt .redButton:active, #jqt .blueButton:active, #jqt .greenButton:active { | |
111 -webkit-border-image: url(img/activeButton.png) 0 12 0 12; | |
112 color: #000000 !important; | |
113 } | |
114 #jqt .whiteButton { | |
115 -webkit-border-image: url(img/whiteButton.png) 0 12 0 12; | |
116 } | |
117 #jqt .grayButton { | |
118 -webkit-border-image: url(img/grayButton.png) 0 12 0 12; | |
119 color: #FFFFFF; | |
120 } | |
121 | |
122 #jqt .redButton { | |
123 -webkit-border-image: url(img/redButton.png) 0 12 0 12; | |
124 } | |
125 | |
126 #jqt .greenButton { | |
127 -webkit-border-image: url(img/greenButton.png) 0 12 0 12; | |
128 } | |
129 | |
130 | |
131 /* @end */ | |
132 /* @group Lists */ | |
133 #jqt h1 + ul, #jqt h2 + ul, #jqt h3 + ul, #jqt h4 + ul, #jqt h5 + ul, #jqt h6 + ul { | |
134 margin-top: 0; | |
135 } | |
136 #jqt ul { | |
137 color: #aaa; | |
138 border: 1px solid #333333; | |
139 font: bold 18px "Helvetica Neue", Helvetica; | |
140 padding: 0; | |
141 margin: 15px 10px 17px 10px; | |
142 } | |
143 #jqt ul.rounded { | |
144 -webkit-border-radius: 8px; | |
145 -webkit-box-shadow: rgba(0,0,0,.3) 1px 1px 3px; | |
146 } | |
147 #jqt ul.rounded li:first-child, #jqt ul.rounded li:first-child a { | |
148 border-top: 0; | |
149 -webkit-border-top-left-radius: 8px; | |
150 -webkit-border-top-right-radius: 8px; | |
151 } | |
152 #jqt ul.rounded li:last-child, #jqt ul.rounded li:last-child a { | |
153 -webkit-border-bottom-left-radius: 8px; | |
154 -webkit-border-bottom-right-radius: 8px; | |
155 } | |
156 #jqt ul li { | |
157 color: #666; | |
158 border-top: 1px solid #333; | |
159 border-bottom: #555858; | |
160 list-style-type: none; | |
161 padding: 10px 10px 10px 10px; | |
162 background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#4c4d4e), to(#404142)); | |
163 overflow: hidden; | |
164 } | |
165 #jqt ul li.arrow { | |
166 background-color: #4c4d4e !important; | |
167 background-image: url(img/chevron.png), -webkit-gradient(linear, 0% 0%, 0% 100%, from(#4c4d4e), to(#404142)); | |
168 background-position: right center !important; | |
169 background-repeat: no-repeat !important; | |
170 } | |
171 | |
172 #jqt ul li.arrow a { | |
173 padding: 12px 22px 12px 10px; | |
174 } | |
175 | |
176 #jqt ul li.forward { | |
177 background-image: url(img/chevron_circle.png), -webkit-gradient(linear, 0% 0%, 0% 100%, from(#4c4d4e), to(#404142)); | |
178 background-position: right center; | |
179 background-repeat: no-repeat; | |
180 } | |
181 /* universal links on list */ | |
182 #jqt ul li a, #jqt li.img a + a { | |
183 color: #fff; | |
184 text-decoration: none; | |
185 text-overflow: ellipsis; | |
186 white-space: nowrap; | |
187 overflow: hidden; | |
188 display: block; | |
189 padding: 12px 10px 12px 10px; | |
190 margin: -10px; | |
191 text-shadow: rgba(0,0,0,.2) 0 1px 1px; | |
192 } | |
193 #jqt ul li a.active, #jqt ul li a.button { | |
194 background-color: #53b401; | |
195 color: #fff; | |
196 } | |
197 #jqt ul li a.active.loading { | |
198 background-image: url(img/loading.gif); | |
199 background-position: 95% center; | |
200 background-repeat: no-repeat; | |
201 } | |
202 #jqt ul li.arrow a.active { | |
203 background-image: url(img/chevron.png); | |
204 background-position: right center; | |
205 background-repeat: no-repeat; | |
206 } | |
207 #jqt ul li.forward a.active { | |
208 background-image: url(img/chevron_circle.png); | |
209 background-position: right center; | |
210 background-repeat: no-repeat; | |
211 } | |
212 #jqt ul li.img a + a { | |
213 margin: -10px 10px -20px -5px; | |
214 font-size: 17px; | |
215 font-weight: bold; | |
216 } | |
217 #jqt ul li.img a + a + a { | |
218 font-size: 14px; | |
219 font-weight: normal; | |
220 margin-left: -10px; | |
221 margin-bottom: -10px; | |
222 margin-top: 0; | |
223 } | |
224 #jqt ul li.img a + small + a { | |
225 margin-left: -5px; | |
226 } | |
227 #jqt ul li.img a + small + a + a { | |
228 margin-left: -10px; | |
229 margin-top: -20px; | |
230 margin-bottom: -10px; | |
231 font-size: 14px; | |
232 font-weight: normal; | |
233 } | |
234 #jqt ul li.img a + small + a + a + a { | |
235 margin-left: 0px !important; | |
236 margin-bottom: 0; | |
237 } | |
238 #jqt ul li a + a { | |
239 color: #000; | |
240 font: 14px "Helvetica Neue", Helvetica; | |
241 text-overflow: ellipsis; | |
242 white-space: nowrap; | |
243 overflow: hidden; | |
244 display: block; | |
245 margin: 0; | |
246 padding: 0; | |
247 } | |
248 #jqt ul li a + a + a, #jqt ul li.img a + a + a + a, #jqt ul li.img a + small + a + a + a { | |
249 color: #666; | |
250 font: 13px "Helvetica Neue", Helvetica; | |
251 margin: 0; | |
252 text-overflow: ellipsis; | |
253 white-space: nowrap; | |
254 overflow: hidden; | |
255 display: block; | |
256 padding: 0; | |
257 } | |
258 /* | |
259 @end */ | |
260 /* @group Forms */ | |
261 #jqt ul.form li { | |
262 padding: 7px 10px; | |
263 } | |
264 #jqt ul.form li.error { | |
265 border: 2px solid red; | |
266 } | |
267 #jqt ul.form li.error + li.error { | |
268 border-top: 0; | |
269 } | |
270 #jqt ul li input[type="text"], | |
271 #jqt ul li input[type="password"], | |
272 #jqt ul li input[type="tel"], | |
273 #jqt ul li input[type="number"], | |
274 #jqt ul li input[type="search"], | |
275 #jqt ul li input[type="email"], | |
276 #jqt ul li input[type="url"], | |
277 #jqt ul li textarea, | |
278 #jqt ul li select { | |
279 color: #777; | |
280 background: transparent url('data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=='); | |
281 border: 0; | |
282 font: normal 17px "Helvetica Neue", Helvetica; | |
283 padding: 0; | |
284 display: inline-block; | |
285 margin-left: 0px; | |
286 width: 100%; | |
287 -webkit-appearance: textarea; | |
288 } | |
289 #jqt ul li textarea { | |
290 height: 120px; | |
291 padding: 0; | |
292 text-indent: -2px; | |
293 } | |
294 #jqt ul li select { | |
295 text-indent: 0px; | |
296 background: transparent url(img/chevron.png) no-repeat right center; | |
297 -webkit-appearance: textfield; | |
298 margin-left: -6px; | |
299 width: 104%; | |
300 } | |
301 #jqt ul li input[type="checkbox"], #jqt ul li input[type="radio"] { | |
302 margin: 0; | |
303 padding: 10px 10px; | |
304 } | |
305 #jqt ul li input[type="checkbox"]:after, #jqt ul li input[type="radio"]:after { | |
306 content: attr(title); | |
307 font: 17px "Helvetica Neue", Helvetica; | |
308 display: block; | |
309 width: 246px; | |
310 color: #777; | |
311 margin: -12px 0 0 17px; | |
312 } | |
313 #jqt.android ul li input[type="checkbox"]:after, #jqt.android ul li input[type="radio"]:after { | |
314 margin: 3px 0 0 24px; | |
315 } | |
316 /* @end */ | |
317 /* @group Mini Label */ | |
318 #jqt ul li small { | |
319 color: #64c114; | |
320 font: 17px "Helvetica Neue", Helvetica; | |
321 text-align: right; | |
322 text-overflow: ellipsis; | |
323 white-space: nowrap; | |
324 overflow: hidden; | |
325 display: block; | |
326 width: 23%; | |
327 float: right; | |
328 padding: 0; | |
329 } | |
330 #jqt ul li.arrow small { | |
331 padding: 0 15px; | |
332 } | |
333 #jqt ul li small.counter { | |
334 font-size: 17px; | |
335 line-height: 13px; | |
336 font-weight: bold; | |
337 background: rgba(0,0,0,.15); | |
338 color: #fff; | |
339 -webkit-border-radius: 11px; | |
340 padding: 4px 10px 5px 10px; | |
341 display: block; | |
342 width: auto; | |
343 margin-top: -22px; | |
344 -webkit-box-shadow: rgba(255,255,255,.1) 0 1px 0; | |
345 } | |
346 #jqt ul li.arrow small.counter { | |
347 margin-right: 15px; | |
348 } | |
349 /* @end */ | |
350 /* @group Individual */ | |
351 #jqt ul.individual { | |
352 border: 0; | |
353 background: none; | |
354 clear: both; | |
355 overflow: hidden; | |
356 padding-bottom: 3px; | |
357 -webkit-box-shadow: none; | |
358 } | |
359 #jqt ul.individual li { | |
360 background: #4c4d4e; | |
361 border: 1px solid #333; | |
362 font-size: 14px; | |
363 text-align: center; | |
364 -webkit-border-radius: 8px; | |
365 -webkit-box-sizing: border-box; | |
366 width: 48%; | |
367 float: left; | |
368 display: block; | |
369 padding: 11px 10px 14px 10px; | |
370 -webkit-box-shadow: rgba(0,0,0,.2) 1px 1px 3px; | |
371 background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#4c4d4e), to(#404142)); | |
372 } | |
373 #jqt ul.individual li + li { | |
374 float: right; | |
375 } | |
376 #jqt ul.individual li a { | |
377 color: #fff; | |
378 line-height: 16px; | |
379 margin: -11px -10px -14px -10px; | |
380 padding: 11px 10px 14px 10px; | |
381 -webkit-border-radius: 8px; | |
382 } | |
383 /* @end */ | |
384 /* @group Toggle */ | |
385 #jqt .toggle { | |
386 width: 94px; | |
387 position: relative; | |
388 height: 27px; | |
389 display: block; | |
390 overflow: hidden; | |
391 float: right; | |
392 } | |
393 #jqt .toggle input[type="checkbox"]:checked { | |
394 background-position: 0 0; | |
395 } | |
396 #jqt .toggle input[type="checkbox"] { | |
397 -webkit-appearance: textarea; | |
398 -webkit-border-radius: 5px; | |
399 -webkit-tap-highlight-color: rgba(0,0,0,0); | |
400 -webkit-transition: background-position .15s; | |
401 background-color: transparent; | |
402 background: #fff url(img/on_off.png) -55px 0 no-repeat; | |
403 border: 0; | |
404 height: 27px; | |
405 margin: 0; | |
406 overflow: hidden; | |
407 position: absolute; | |
408 width: 94px; | |
409 } | |
410 /* @end */ | |
411 /* @group Info */ | |
412 #jqt .info { | |
413 background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#ccc), to(#aaa), color-stop(.6,#CCCCCC)); | |
414 font-size: 12px; | |
415 line-height: 16px; | |
416 text-align: center; | |
417 text-shadow: rgba(255,255,255,.8) 0 1px 0; | |
418 color: #444; | |
419 padding: 15px; | |
420 border-top: 1px solid rgba(255,255,255,.2); | |
421 font-weight: bold; | |
422 } | |
423 /* @end */ | |
424 /* @group Edge to edge */ | |
425 #jqt ul.edgetoedge { | |
426 border-width: 1px 0; | |
427 margin: 0; | |
428 padding: 0; | |
429 } | |
430 #jqt ul.edgetoedge li { | |
431 background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#1e1f21), to(#272729)); | |
432 border-bottom: 2px solid #000; | |
433 border-top: 1px solid #4a4b4d; | |
434 font-size: 20px; | |
435 margin-bottom: -1px; | |
436 } | |
437 #jqt ul.edgetoedge li.arrow { | |
438 background-color: #404142 !important; | |
439 background-image: url(img/chevron.png), -webkit-gradient(linear, 0% 0%, 0% 100%, from(#1e1f21), to(#272729)); | |
440 background-position: right center; | |
441 background-repeat: no-repeat; | |
442 } | |
443 #jqt ul.edgetoedge li.sep { | |
444 background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(rgba(0,0,0,0)), to(rgba(0,0,0,.5))); | |
445 border-bottom: 1px solid #111113; | |
446 border-top: 1px solid #666; | |
447 color: #3e9ac3; | |
448 font-size: 16px; | |
449 margin: 1px 0 0 0; | |
450 padding: 2px 10px; | |
451 text-shadow: #000 0 1px 0; | |
452 } | |
453 #jqt ul.edgetoedge li em { | |
454 font-weight: normal; | |
455 font-style: normal; | |
456 } | |
457 /* @end */ | |
458 /* @group Plastic */ | |
459 #jqt #plastic { | |
460 background: #17181a; | |
461 } | |
462 #jqt ul.plastic { | |
463 background: #17181a; | |
464 color: #aaa; | |
465 font: bold 18px "Helvetica Neue", Helvetica; | |
466 margin: 0; | |
467 padding: 0; | |
468 border-width: 0 0 1px 0; | |
469 } | |
470 #jqt ul.plastic li { | |
471 border-width: 1px 0; | |
472 border-style: solid; | |
473 border-top-color: #222; | |
474 border-bottom-color: #000; | |
475 color: #666; | |
476 list-style-type: none; | |
477 overflow: hidden; | |
478 padding: 10px 10px 10px 10px; | |
479 } | |
480 #jqt ul.plastic li a.active.loading { | |
481 background-image: url(img/loading.gif); | |
482 background-position: 95% center; | |
483 background-repeat: no-repeat; | |
484 } | |
485 #jqt ul.plastic li small { | |
486 color: #888; | |
487 font-size: 13px; | |
488 font-weight: bold; | |
489 line-height: 24px; | |
490 text-transform: uppercase; | |
491 } | |
492 #jqt ul.plastic li:nth-child(odd) { | |
493 background-color: #1c1c1f; | |
494 } | |
495 #jqt ul.plastic li.arrow { | |
496 background-image: url(img/chevron.png); | |
497 background-position: right center; | |
498 background-repeat: no-repeat; | |
499 } | |
500 #jqt ul.plastic li.arrow a.active { | |
501 background-image: url(img/chevron.png); | |
502 background-position: right center; | |
503 background-repeat: no-repeat; | |
504 } | |
505 #jqt ul.plastic li.forward { | |
506 background-image: url(img/chevron_circle.png); | |
507 background-position: right center; | |
508 background-repeat: no-repeat; | |
509 } | |
510 #jqt ul.plastic li.forward a.active { | |
511 background-image: url(img/chevron_circle.png); | |
512 background-position: right center; | |
513 background-repeat: no-repeat; | |
514 } | |
515 /* @group Metal */ | |
516 #jqt ul.metal { | |
517 border-bottom: 0; | |
518 border-left: 0; | |
519 border-right: 0; | |
520 border-top: 0; | |
521 margin: 0; | |
522 } | |
523 #jqt ul.metal li { | |
524 background-image: none; | |
525 border-top: 1px solid #fff; | |
526 border-bottom: 1px solid #666; | |
527 font-size: 26px; | |
528 background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(rgba(238,238,238,1)), to(rgba(156,158,160,1))); | |
529 } | |
530 #jqt ul.metal li a { | |
531 line-height: 26px; | |
532 margin: 0; | |
533 text-shadow: #fff 0 1px 0; | |
534 padding: 13px 0; | |
535 } | |
536 #jqt ul.metal li a em { | |
537 display: block; | |
538 font-size: 14px; | |
539 font-style: normal; | |
540 color: #444; | |
541 width: 50%; | |
542 line-height: 14px; | |
543 } | |
544 #jqt ul.metal li a.active { | |
545 color: rgb(0,0,0); | |
546 } | |
547 #jqt ul.metal li small { | |
548 float: right; | |
549 position: relative; | |
550 margin-top: 10px; | |
551 font-weight: bold; | |
552 } | |
553 #jqt ul.metal li.arrow { | |
554 background-image: url(img/chevron.png); | |
555 background-position: right center; | |
556 background-repeat: no-repeat; | |
557 background-image: url(img/chevron.png), -webkit-gradient(linear, 0% 0%, 0% 100%, from(rgba(238,238,238,1)), to(rgba(156,158,160,1))); | |
558 background-repeat: no-repeat; | |
559 background-position: right center; | |
560 } | |
561 #jqt ul.metal li.arrow a small { | |
562 padding-right: 15px; | |
563 line-height: 17px; | |
564 } | |
565 /* @end */ | |
566 input[type='submit'] { | |
567 -webkit-border-radius: 4px; | |
568 background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(rgba(238,238,238,1)), to(rgba(156,158,160,1))); | |
569 border: 1px outset black; | |
570 display: block; | |
571 font-size: inherit; | |
572 font-weight: inherit; | |
573 padding: 10px; | |
574 } |