Subversion Repositories LCARS

Rev

Rev 75 | Rev 80 | 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
 
503
.multi-display .upper .border
504
{
505
  position: fixed;
506
  top: 9em;
507
  left: 21.8em;
508
  right: 0.2em;
509
  height: 1em;
79 PointedEar 510
}
511
 
512
.multi-display .border div
513
{
514
  position: absolute;
515
  top: 0;
516
  height: 1em;
517
}
518
 
519
.multi-display .upper .border div
520
{
37 PointedEar 521
  background-color: #9cf;
79 PointedEar 522
  }
523
 
524
.multi-display .upper .border .left
525
{
526
  left: 0;
527
  right: 5.2em;
528
  height: 1em;
37 PointedEar 529
}
530
 
79 PointedEar 531
.multi-display .upper .border .right
532
{
533
  width: 5em;
534
  right: 0;
535
}
536
 
37 PointedEar 537
.multi-display .lower
538
{
539
  position: absolute;
74 PointedEar 540
  top: 7.5em;
37 PointedEar 541
  left: 0;
542
  padding-top: 0.1em;
543
  background-color: black;
544
}
545
 
546
.multi-display .lower .elbo
547
{
548
  position: relative;
549
  width: 6em;
550
  height: 3em;
551
  border-top-left-radius: 2em;
552
  background-color: #fc6;
553
}
554
 
555
.multi-display .lower .elbo .concave
556
{
557
  position: absolute;
558
  left: 5em;
559
  top: 1em;
560
  width: 1em;
561
  height: 2em;
562
  background-color: black;
563
  border-top-left-radius: 1em;
564
}
565
 
566
.multi-display .lower .bg
567
{
568
  position: fixed;
569
  top: 13.4em;
570
  bottom: 2.8em;
571
  width: 5em;
572
  background-color: #fc6;
573
}
574
 
575
.multi-display .lower .border-container
576
{
577
  position: fixed;
578
  top: 10.2em;
579
  left: 21.8em;
580
  right: 0em;
581
  height: 1.2em;
582
  background-color: black;
583
}
584
 
585
.multi-display .lower .border
586
{
587
  left: 0;
588
  right: 0.2em;
79 PointedEar 589
}
590
 
591
.multi-display .lower .border div
592
{
37 PointedEar 593
  background-color: #fc6;
594
}
595
 
79 PointedEar 596
.multi-display .lower .border .left
597
{
598
  left: 0;
599
  right: 5.4em;
600
}
601
 
602
.multi-display .lower .border .right
603
{
604
  width: 5em;
605
  right: 0.2em;
606
}
607
 
43 PointedEar 608
.menu .button.secondary,
609
.multi-display .lower .elbo.secondary,
610
.multi-display .lower .bg.secondary,
611
.multi-display .lower .border.secondary
612
{
613
  background-color: #f96;
614
}
615
 
616
.menu .button.ancillary,
617
.multi-display .lower .elbo.ancillary,
618
.multi-display .lower .bg.ancillary,
619
.multi-display .lower .border.ancillary
620
{
621
  background-color: #c9c;
622
}
623
 
624
.menu .button.database,
625
.multi-display .lower .elbo.database,
626
.multi-display .lower .bg.database,
627
.multi-display .lower .border.database
628
{
37 PointedEar 629
  background-color: #c66;
630
}
631
 
43 PointedEar 632
.menu .button .text {
37 PointedEar 633
  position: static;
634
  margin: 0 0.25em;
635
}
636
 
637
.button.selected {
638
  background-color: #fc6 !important;
639
  color: #000 !important;  
640
}
641
 
642
.group {
643
  margin: 0 auto;
644
  position: relative;
38 PointedEar 645
  width: 7.7em;
37 PointedEar 646
}
647
 
648
.group .separator {
649
  float: left;
650
  position: absolute;
38 PointedEar 651
  top: 0;
652
  left: 0;
653
  width: 1.5em;
37 PointedEar 654
  height: 100%;
655
  background-color: #c66;
656
  color: #000;
657
}
658
 
659
.group .separator:after {
660
  position: absolute;
38 PointedEar 661
  width: 0.8em;
662
  height: 0.5em;
663
  bottom: 0.25em;
664
  left: 0.25em;
37 PointedEar 665
  background-color: #000;
666
  content: "\a0";
667
}
668
 
669
.group ul {
38 PointedEar 670
  margin-left: 1.7em;
37 PointedEar 671
}
672
 
673
.group li {
38 PointedEar 674
  margin-bottom: 0;
37 PointedEar 675
}
676
 
677
.group .button:visited,
678
.group .button
679
{
38 PointedEar 680
  display: block;
37 PointedEar 681
  position: relative;
38 PointedEar 682
  width: 6em;
37 PointedEar 683
  background-color: #99f !important;
684
}
685
 
38 PointedEar 686
.group li:last-child .button
687
{
688
  margin-bottom: 0;
37 PointedEar 689
}
690
 
38 PointedEar 691
.button.right {
692
  border-top-right-radius: 1em;
693
  border-bottom-right-radius: 1em;
37 PointedEar 694
}
695
 
38 PointedEar 696
.button.right .text {
697
  right: 1em;
698
}
699
 
700
.button.left {
701
  border-top-left-radius: 1em;
702
  border-bottom-left-radius: 1em;
703
}
704
 
37 PointedEar 705
.group .button .key {
706
  display: inline-block;
707
  position: absolute;
38 PointedEar 708
  left: 0.2em;
37 PointedEar 709
  top: 0;
710
  bottom: 0;
38 PointedEar 711
  padding: 0 0.1em;
37 PointedEar 712
  background-color: #000;
713
  color: #f90;
38 PointedEar 714
  font-size: 2.4em;
37 PointedEar 715
  text-transform: uppercase;
38 PointedEar 716
  line-height: 0.9;
717
}