Rev 43 | Rev 58 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
50 | PointedEar | 1 | <?php |
2 | // \header('Last-Modified: ' . gmdate('D, d M Y H:i:s', @filemtime(__FILE__)) . ' GMT'); |
||
3 | // |
||
4 | // /* Cached resource expires in HTTP/1.1 caches 24h after last retrieval */ |
||
5 | // \header('Cache-Control: max-age=86400, s-maxage=86400, must-revalidate, proxy-revalidate'); |
||
6 | // |
||
7 | // /* Cached resource expires in HTTP/1.0 caches 24h after last retrieval */ |
||
8 | // \header('Expires: ' . gmdate('D, d M Y H:i:s', time() + 86400) . ' GMT'); |
||
9 | |||
10 | \header('Content-Type: text/css; charset=UTF-8'); |
||
11 | ?> |
||
37 | PointedEar | 12 | @CHARSET "UTF-8"; |
13 | |||
50 | PointedEar | 14 | @import url("/styles/lcars-ani.css"); |
15 | |||
37 | PointedEar | 16 | /* Basic fonts */ |
17 | |||
18 | @font-face { |
||
19 | font-family: "LCARS"; |
||
20 | font-style: normal; |
||
21 | font-weight: normal; |
||
22 | src: local("LCARS"), url(fonts/LCARS.ttf); |
||
23 | } |
||
24 | |||
25 | /* EOT font created with WEFT on 2002-03-23 */ |
||
26 | @font-face { |
||
27 | font-family: "Downloadable Haettenschweiler"; |
||
28 | font-style: normal; |
||
29 | font-weight: normal; |
||
30 | src: url(fonts/HAETTEN0.eot), url(fonts/HAETTENS.ttf); |
||
31 | } |
||
32 | |||
33 | /* |
||
34 | @font-face { |
||
35 | font-family:Webdings; |
||
36 | font-style:normal; |
||
37 | font-weight:normal; |
||
38 | src:url(fonts/WEBDING0.eot); |
||
39 | } |
||
40 | */ |
||
41 | |||
42 | @font-face { |
||
43 | font-family: "Downloadable Zurich XCn BT"; |
||
44 | font-style: normal; |
||
45 | font-weight: normal; |
||
46 | src: url(fonts/ZurichXCn.pfr); |
||
47 | } |
||
48 | |||
49 | /* Basic display */ |
||
50 | |||
51 | * { |
||
52 | font-family: "LCARS", |
||
53 | Haettenschweiler, "Downloadable Haettenschweiler", |
||
54 | "Zurich XCn BT", "Downloadable Zurich XCn BT", |
||
55 | impact, Verdana, Geneva, Arial, Helvetica, sans-serif; |
||
56 | font-weight: normal; |
||
57 | } |
||
58 | |||
59 | body { |
||
60 | margin-top: 12em; |
||
61 | margin-left: 22em; |
||
62 | margin-right: 0.2em; |
||
63 | margin-bottom: 0.2em; |
||
64 | |||
65 | background-color: #000; |
||
66 | color: #99f; |
||
67 | font-size: 131%; |
||
68 | overflow: auto; |
||
69 | } |
||
70 | |||
71 | body.empty { |
||
38 | PointedEar | 72 | margin-top: 3em; |
37 | PointedEar | 73 | margin-left: 0.2em; |
74 | margin-bottom: 3em; |
||
75 | } |
||
76 | |||
77 | body.multi { |
||
78 | /* TODO from lcars21.css, use `em' instead */ |
||
79 | } |
||
80 | |||
81 | #content { |
||
82 | /* position: relative; */ |
||
43 | PointedEar | 83 | margin-right: 1em; |
37 | PointedEar | 84 | } |
85 | |||
86 | a { |
||
87 | text-decoration: none; |
||
88 | } |
||
89 | |||
90 | a:link:hover, |
||
91 | a:link:focus |
||
92 | { |
||
93 | background-color:#000; |
||
94 | color: #f90; |
||
95 | } |
||
96 | |||
97 | a:link:active { |
||
98 | background-color:#000; |
||
99 | color: #fff; |
||
100 | } |
||
101 | |||
102 | a:link { |
||
103 | background-color:#000; |
||
104 | color:#fc9; |
||
105 | } |
||
106 | |||
107 | a:visited:hover, |
||
108 | a:visited:focus |
||
109 | { |
||
110 | background-color:#000; |
||
111 | color:#f90; |
||
112 | } |
||
113 | |||
114 | a:visited:active { |
||
115 | background-color:black; |
||
116 | color:#fff; |
||
117 | } |
||
118 | |||
119 | a:hover, |
||
120 | a:focus, |
||
121 | a:active |
||
122 | { |
||
123 | text-decoration: underline; |
||
124 | } |
||
125 | |||
126 | a:visited { |
||
127 | background-color:black; |
||
128 | color:#c9c; |
||
129 | } |
||
130 | |||
131 | h2 { |
||
132 | background-color: #000; |
||
133 | color: #fff; |
||
134 | font-size: 136%; |
||
135 | } |
||
136 | |||
137 | p { |
||
138 | margin-top: 1em; |
||
139 | margin-bottom: 0; |
||
140 | line-height: 1.5; |
||
141 | text-align: justify; |
||
142 | } |
||
143 | |||
144 | li p { |
||
145 | line-height: normal; |
||
146 | } |
||
147 | |||
148 | p:first-child { |
||
149 | margin-top: 0; |
||
150 | } |
||
151 | |||
152 | .instruction { |
||
153 | background-color: #000; |
||
154 | color: #f90; |
||
155 | font-size: 136%; |
||
156 | } |
||
157 | |||
158 | /* Language support */ |
||
159 | |||
160 | [lang^="x-vulcan-latin"] { |
||
161 | font-family: "URW Chancery L", "Matura MT Script Capitals", |
||
162 | Haettenschweiler, Haettens, "Zurich XCn BT", impact, Verdana, |
||
163 | Geneva, Arial, Helvetica, sans-serif; |
||
164 | } |
||
165 | |||
166 | /* Bow (main) and elbo (multi-view) */ |
||
167 | |||
168 | #LCARS { |
||
169 | position: fixed; |
||
170 | left: 0; |
||
171 | top: 0; |
||
172 | right: 0; |
||
173 | padding: 0.2em; |
||
174 | background-color: #000; |
||
175 | z-index: 1701; |
||
176 | } |
||
177 | |||
178 | #bow { |
||
179 | position: absolute; |
||
180 | left: 0.2em; |
||
181 | top: 0.2em; |
||
182 | right: 0.2em; |
||
183 | height: 2.4em; |
||
184 | padding-bottom: 0.2em; |
||
185 | background-color: #000; |
||
186 | } |
||
187 | |||
188 | #bow-top { |
||
189 | /* NOTE: position: absolute is needed for animation */ |
||
190 | position: absolute; |
||
191 | top: 0; |
||
192 | left: 0; |
||
193 | right: 0; |
||
194 | min-width: 15.4em; |
||
195 | height: 2em; |
||
196 | background-color: #999; |
||
197 | border-top-left-radius: 2.4em; |
||
198 | border-top-right-radius: 1.2em; |
||
199 | border-bottom-right-radius: 1.2em; |
||
200 | line-height: 0.9; |
||
201 | } |
||
202 | |||
203 | .empty #bow-top { |
||
204 | border-top-left-radius: 1.2em; |
||
205 | border-bottom-left-radius: 1.2em; |
||
38 | PointedEar | 206 | min-width: 10em; |
37 | PointedEar | 207 | } |
208 | |||
209 | |||
210 | #bow-top .text { |
||
211 | position: absolute; |
||
212 | margin: 0; |
||
213 | left: 4.33em; |
||
214 | top: 0; |
||
40 | PointedEar | 215 | right: 0.75em; |
37 | PointedEar | 216 | height: 1em; |
217 | text-align: right; |
||
218 | color: #fc0; |
||
219 | font-size: 2.4em; |
||
220 | padding-right: 0.1em; |
||
221 | overflow: hidden; |
||
222 | text-overflow: ellipsis; |
||
223 | } |
||
224 | |||
38 | PointedEar | 225 | .empty #bow-top .text { |
226 | left: 0.93em; |
||
227 | } |
||
228 | |||
37 | PointedEar | 229 | |
230 | |||
231 | #bow-top .text span { |
||
232 | padding-right: 0.1em; |
||
233 | background-color: #000; |
||
234 | padding-left: 0.1em; |
||
235 | text-transform: uppercase; |
||
236 | white-space: nowrap; |
||
237 | } |
||
238 | |||
38 | PointedEar | 239 | .empty #footer-container { |
240 | position: fixed; |
||
241 | left: 0.2em; |
||
242 | bottom: 0; |
||
243 | right: 0.2em; |
||
244 | min-height: 2.4em; |
||
245 | padding-top: 0.2em; |
||
246 | padding-bottom: 0.2em; |
||
247 | background-color: #000; |
||
248 | } |
||
249 | |||
40 | PointedEar | 250 | |
38 | PointedEar | 251 | .empty #footer { |
252 | position: absolute; |
||
253 | bottom: 0; |
||
254 | left: 0; |
||
255 | right: 0; |
||
256 | height: 2em; |
||
40 | PointedEar | 257 | min-width: 10em; |
38 | PointedEar | 258 | margin-bottom: 0.2em; |
259 | background-color: #999; |
||
260 | border-radius: 1.2em; |
||
40 | PointedEar | 261 | line-height: 0.9; |
38 | PointedEar | 262 | } |
263 | |||
264 | .empty #footer .text { |
||
265 | position: absolute; |
||
40 | PointedEar | 266 | margin: 0; |
267 | left: 0.93em; |
||
268 | top: 0; |
||
269 | right: 0.75em; |
||
270 | height: 1em; |
||
271 | background-color: transparent; |
||
38 | PointedEar | 272 | color: #fc0; |
40 | PointedEar | 273 | font-size: 2.4em; |
38 | PointedEar | 274 | padding-right: 0.1em; |
275 | overflow: hidden; |
||
276 | text-overflow: ellipsis; |
||
277 | } |
||
278 | |||
279 | .empty #footer .text span { |
||
280 | padding-right: 0.1em; |
||
40 | PointedEar | 281 | background-color: #000; |
38 | PointedEar | 282 | padding-left: 0.1em; |
283 | text-transform: uppercase; |
||
284 | white-space: nowrap; |
||
285 | } |
||
286 | |||
37 | PointedEar | 287 | .empty .separator-left { |
288 | position: absolute; |
||
289 | left: 2em; |
||
290 | height: 2em; |
||
291 | width: 0.25em; |
||
292 | background-color: #000; |
||
293 | } |
||
294 | |||
295 | .empty .separator-right { |
||
296 | position: absolute; |
||
297 | right: 2em; |
||
298 | height: 2em; |
||
299 | width: 0.25em; |
||
300 | background-color: #000; |
||
301 | } |
||
302 | |||
303 | #bow-top-left { |
||
304 | position: absolute; |
||
305 | top: 2em; |
||
306 | left: 0; |
||
307 | right: 0; |
||
308 | height: 3.2em; |
||
309 | width: 9.2em; |
||
310 | background-color: #999; |
||
311 | } |
||
312 | |||
313 | .empty #bow-top-left { |
||
314 | display: none; |
||
315 | } |
||
316 | |||
317 | #bow-top-left .concave { |
||
318 | position: absolute; |
||
319 | top: 0; |
||
320 | left: 8em; |
||
321 | height: 3.2em; |
||
322 | width: 1.2em; |
||
323 | background-color: #000; |
||
324 | border-top-left-radius: 1.2em; |
||
325 | } |
||
326 | |||
327 | .empty #bow-top-left-concave { |
||
328 | display: none; |
||
329 | } |
||
330 | |||
50 | PointedEar | 331 | .menu-container { |
43 | PointedEar | 332 | position: fixed; |
333 | left: 0.2em; |
||
334 | top: 5.6em; |
||
335 | width: 8em; |
||
336 | bottom: 2.8em; |
||
337 | background-color: #999; |
||
37 | PointedEar | 338 | overflow: auto; |
339 | } |
||
340 | |||
50 | PointedEar | 341 | .menu |
43 | PointedEar | 342 | { |
343 | height: 17.6em; |
||
344 | background-color: #000; |
||
345 | } |
||
346 | |||
347 | .menu ul { |
||
38 | PointedEar | 348 | margin: 0 0.2em 0.2em 0; |
37 | PointedEar | 349 | padding: 0; |
350 | } |
||
351 | |||
43 | PointedEar | 352 | .menu li { |
37 | PointedEar | 353 | margin: 0; |
354 | } |
||
355 | |||
356 | #bow #bottom |
||
357 | { |
||
358 | position: fixed; |
||
359 | left: 0; |
||
360 | bottom: 0; |
||
361 | width: 20.8em; |
||
362 | height: 2.4em; |
||
363 | background-color: #000; |
||
364 | z-index: 1701; |
||
365 | } |
||
366 | |||
367 | #bow-bottom { |
||
368 | position: absolute; |
||
369 | bottom: 0.2em; |
||
370 | left: 0.2em; |
||
371 | width: 20.6em; |
||
372 | height: 2.4em; |
||
373 | border-bottom-left-radius: 2.4em; |
||
374 | border-bottom-right-radius: 2em; |
||
375 | background-color: #999; |
||
376 | } |
||
377 | |||
378 | .empty #bow-bottom { |
||
379 | display: none; |
||
380 | } |
||
381 | |||
382 | #bow-bottom .concave { |
||
383 | position: absolute; |
||
384 | margin-left: 0.2em; |
||
385 | margin-bottom: 0.2em; |
||
386 | bottom: 0.3em; |
||
387 | left: 7.8em; |
||
388 | height: 2.1em; |
||
389 | width: 7.6em; |
||
390 | border-bottom-left-radius: 1.2em; |
||
391 | border-bottom-right-radius: 1em; |
||
392 | background-color: #000; |
||
393 | } |
||
394 | |||
38 | PointedEar | 395 | #bow-bottom .spacer { |
37 | PointedEar | 396 | position: absolute; |
38 | PointedEar | 397 | left: 10.2em; |
398 | bottom: 0em; |
||
399 | width: 0.2em; |
||
400 | height: 0.5em; |
||
401 | background-color: black; |
||
37 | PointedEar | 402 | } |
403 | |||
38 | PointedEar | 404 | .empty #bow-bottom-left-concave { |
405 | display: none; |
||
37 | PointedEar | 406 | } |
407 | |||
408 | /* Controls */ |
||
409 | |||
410 | .button:visited:hover, |
||
411 | .button:visited, |
||
412 | .button:hover, |
||
413 | .button |
||
414 | { |
||
415 | position: relative; |
||
416 | display: inline-block; |
||
417 | margin-right: 0.2em; |
||
418 | margin-bottom: 0.2em; |
||
419 | width: 5em; |
||
420 | height: 2em; |
||
421 | background-color: #7d7d7d; /* c9c */ |
||
422 | color: #000 !important; |
||
423 | text-decoration: none !important; |
||
424 | text-transform: uppercase; |
||
425 | overflow: hidden; |
||
426 | cursor: pointer; |
||
427 | } |
||
428 | |||
429 | .button .text { |
||
430 | position: absolute; |
||
431 | bottom: 0; |
||
432 | right: 0.5em; |
||
433 | } |
||
434 | |||
435 | .button.command { |
||
436 | border-radius: 1.2em; |
||
437 | } |
||
438 | |||
439 | .button.command .text { |
||
440 | position: absolute; |
||
441 | bottom: 0; |
||
442 | right: 1em; |
||
443 | } |
||
444 | |||
445 | .button:hover, |
||
446 | .button:focus, |
||
447 | .button.selected:hover, |
||
448 | .button.selected:focus, |
||
449 | .group .button:hover, |
||
450 | .group .button:focus, |
||
451 | .group .button:visited:hover, |
||
452 | .group .button:visited:focus |
||
453 | { |
||
454 | background-color: #f90 !important; |
||
455 | color: #000 !important; |
||
456 | } |
||
457 | |||
458 | .button:active, |
||
459 | .button.selected:active, |
||
460 | .group .button:active, |
||
461 | .group .button:visited:active |
||
462 | { |
||
463 | background-color: #fff !important; |
||
464 | color: #000 !important; |
||
465 | } |
||
466 | |||
43 | PointedEar | 467 | .menu .button { |
37 | PointedEar | 468 | display: block; |
469 | width: 8em; |
||
470 | height: 1em; |
||
471 | line-height: 1; |
||
472 | background-color: #9cf; |
||
473 | color: #000 !important; |
||
50 | PointedEar | 474 | text-overflow: ellipsis; |
475 | white-space: nowrap; |
||
37 | PointedEar | 476 | } |
477 | |||
478 | .multi-display |
||
479 | { |
||
480 | position: fixed; |
||
481 | top: 2.8em; |
||
482 | left: 15.8em; |
||
483 | right: 0em; |
||
484 | } |
||
485 | |||
486 | .multi-display .button |
||
487 | { |
||
488 | width: 5em !important; |
||
489 | } |
||
490 | |||
491 | .multi-display .upper |
||
492 | { |
||
493 | position: absolute; |
||
494 | top: 0; |
||
495 | left: 0; |
||
496 | right: 0; |
||
497 | height: 7.2em; |
||
498 | padding-bottom: 0.2em; |
||
499 | padding-right: 0.2em; |
||
500 | background-color: black; |
||
501 | } |
||
502 | |||
503 | .multi-display .upper .button |
||
504 | { |
||
505 | height: 3.8em; |
||
506 | background-color: #c9c !important; |
||
507 | } |
||
508 | |||
509 | .multi-display .upper .elbo |
||
510 | { |
||
511 | position: absolute; |
||
512 | left: 0; |
||
513 | top: 4em; |
||
514 | width: 6em; |
||
515 | height: 3.2em; |
||
516 | border-bottom-left-radius: 2em; |
||
517 | background-color: #9cf; |
||
518 | } |
||
519 | |||
520 | .multi-display .upper .elbo .concave |
||
521 | { |
||
522 | position: absolute; |
||
523 | left: 5em; |
||
524 | top: 0; |
||
525 | width: 1em; |
||
526 | height: 2.2em; |
||
527 | border-bottom-left-radius: 1em; |
||
528 | background-color: black; |
||
529 | } |
||
530 | |||
531 | .multi-display .upper .border |
||
532 | { |
||
533 | position: fixed; |
||
534 | top: 9em; |
||
535 | left: 21.8em; |
||
536 | right: 0.2em; |
||
537 | height: 1em; |
||
538 | background-color: #9cf; |
||
539 | } |
||
540 | |||
541 | .multi-display .lower |
||
542 | { |
||
543 | position: absolute; |
||
544 | top: 7.3em; |
||
545 | left: 0; |
||
546 | padding-top: 0.1em; |
||
547 | background-color: black; |
||
548 | } |
||
549 | |||
550 | .multi-display .lower .elbo |
||
551 | { |
||
552 | position: relative; |
||
553 | width: 6em; |
||
554 | height: 3em; |
||
555 | border-top-left-radius: 2em; |
||
556 | background-color: #fc6; |
||
557 | } |
||
558 | |||
559 | .multi-display .lower .elbo .concave |
||
560 | { |
||
561 | position: absolute; |
||
562 | left: 5em; |
||
563 | top: 1em; |
||
564 | width: 1em; |
||
565 | height: 2em; |
||
566 | background-color: black; |
||
567 | border-top-left-radius: 1em; |
||
568 | } |
||
569 | |||
570 | .multi-display .lower .bg |
||
571 | { |
||
572 | position: fixed; |
||
573 | top: 13.4em; |
||
574 | bottom: 2.8em; |
||
575 | width: 5em; |
||
576 | background-color: #fc6; |
||
577 | } |
||
578 | |||
579 | .multi-display .lower .border-container |
||
580 | { |
||
581 | position: fixed; |
||
582 | top: 10.2em; |
||
583 | left: 21.8em; |
||
584 | right: 0em; |
||
585 | height: 1.2em; |
||
586 | background-color: black; |
||
587 | } |
||
588 | |||
589 | .multi-display .lower .border |
||
590 | { |
||
591 | position: absolute; |
||
592 | top: 0; |
||
593 | left: 0; |
||
594 | right: 0.2em; |
||
595 | height: 1em; |
||
596 | background-color: #fc6; |
||
597 | } |
||
598 | |||
43 | PointedEar | 599 | .menu .button.secondary, |
600 | .multi-display .lower .elbo.secondary, |
||
601 | .multi-display .lower .bg.secondary, |
||
602 | .multi-display .lower .border.secondary |
||
603 | { |
||
604 | background-color: #f96; |
||
605 | } |
||
606 | |||
607 | .menu .button.ancillary, |
||
608 | .multi-display .lower .elbo.ancillary, |
||
609 | .multi-display .lower .bg.ancillary, |
||
610 | .multi-display .lower .border.ancillary |
||
611 | { |
||
612 | background-color: #c9c; |
||
613 | } |
||
614 | |||
615 | .menu .button.database, |
||
616 | .multi-display .lower .elbo.database, |
||
617 | .multi-display .lower .bg.database, |
||
618 | .multi-display .lower .border.database |
||
619 | { |
||
37 | PointedEar | 620 | background-color: #c66; |
621 | } |
||
622 | |||
43 | PointedEar | 623 | .menu .button .text { |
37 | PointedEar | 624 | position: static; |
625 | margin: 0 0.25em; |
||
626 | } |
||
627 | |||
628 | .button.selected { |
||
629 | background-color: #fc6 !important; |
||
630 | color: #000 !important; |
||
631 | } |
||
632 | |||
633 | .group { |
||
634 | margin: 0 auto; |
||
635 | position: relative; |
||
38 | PointedEar | 636 | width: 7.7em; |
37 | PointedEar | 637 | } |
638 | |||
639 | .group .separator { |
||
640 | float: left; |
||
641 | position: absolute; |
||
38 | PointedEar | 642 | top: 0; |
643 | left: 0; |
||
644 | width: 1.5em; |
||
37 | PointedEar | 645 | height: 100%; |
646 | background-color: #c66; |
||
647 | color: #000; |
||
648 | } |
||
649 | |||
650 | .group .separator:after { |
||
651 | position: absolute; |
||
38 | PointedEar | 652 | width: 0.8em; |
653 | height: 0.5em; |
||
654 | bottom: 0.25em; |
||
655 | left: 0.25em; |
||
37 | PointedEar | 656 | background-color: #000; |
657 | content: "\a0"; |
||
658 | } |
||
659 | |||
660 | .group ul { |
||
38 | PointedEar | 661 | margin-left: 1.7em; |
37 | PointedEar | 662 | } |
663 | |||
664 | .group li { |
||
38 | PointedEar | 665 | margin-bottom: 0; |
37 | PointedEar | 666 | } |
667 | |||
668 | .group .button:visited, |
||
669 | .group .button |
||
670 | { |
||
38 | PointedEar | 671 | display: block; |
37 | PointedEar | 672 | position: relative; |
38 | PointedEar | 673 | width: 6em; |
37 | PointedEar | 674 | background-color: #99f !important; |
675 | } |
||
676 | |||
38 | PointedEar | 677 | .group li:last-child .button |
678 | { |
||
679 | margin-bottom: 0; |
||
37 | PointedEar | 680 | } |
681 | |||
38 | PointedEar | 682 | .button.right { |
683 | border-top-right-radius: 1em; |
||
684 | border-bottom-right-radius: 1em; |
||
37 | PointedEar | 685 | } |
686 | |||
38 | PointedEar | 687 | .button.right .text { |
688 | right: 1em; |
||
689 | } |
||
690 | |||
691 | .button.left { |
||
692 | border-top-left-radius: 1em; |
||
693 | border-bottom-left-radius: 1em; |
||
694 | } |
||
695 | |||
37 | PointedEar | 696 | .group .button .key { |
697 | display: inline-block; |
||
698 | position: absolute; |
||
38 | PointedEar | 699 | left: 0.2em; |
37 | PointedEar | 700 | top: 0; |
701 | bottom: 0; |
||
38 | PointedEar | 702 | padding: 0 0.1em; |
37 | PointedEar | 703 | background-color: #000; |
704 | color: #f90; |
||
38 | PointedEar | 705 | font-size: 2.4em; |
37 | PointedEar | 706 | text-transform: uppercase; |
38 | PointedEar | 707 | line-height: 0.9; |
708 | } |