Subversion Repositories LCARS

Rev

Rev 79 | Rev 83 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

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