Subversion Repositories LCARS

Rev

Rev 87 | Rev 92 | 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;
83 PointedEar 293
  cursor: pointer !important;
37 PointedEar 294
}
295
 
296
.button .text {
297
  position: absolute;
298
  bottom: 0;
299
  right: 0.5em;
83 PointedEar 300
  cursor: pointer !important;
37 PointedEar 301
}
302
 
303
.button.command {
304
  border-radius: 1.2em;
305
}
306
 
307
.button.command .text {
308
  position: absolute;
309
  bottom: 0;
310
  right: 1em;
311
}
312
 
313
.button:hover,
314
.button:focus,
315
.button.selected:hover,
316
.button.selected:focus,
317
.group .button:hover,
318
.group .button:focus,
319
.group .button:visited:hover,
320
.group .button:visited:focus
321
{
322
  background-color: #f90 !important;
323
  color: #000 !important;
324
}
325
 
326
.button:active,
327
.button.selected:active,
328
.group .button:active,
329
.group .button:visited:active
330
{
331
  background-color: #fff !important;
332
  color: #000 !important;
333
}
334
 
43 PointedEar 335
.menu .button {
37 PointedEar 336
  display: block;
337
  width: 8em;
338
  height: 1em;
339
  line-height: 1;
340
  background-color: #9cf;
341
  color: #000 !important;
50 PointedEar 342
  text-overflow: ellipsis;
343
  white-space: nowrap;
37 PointedEar 344
}
345
 
58 PointedEar 346
#connectors {
347
  position: fixed;
348
  left: 8.4em;
349
  top: 5.6em;
350
}
351
 
37 PointedEar 352
.multi-display
353
{
354
  position: fixed;
74 PointedEar 355
  top: 2.6em;
37 PointedEar 356
  left: 15.8em;
357
  right: 0em;
358
}
359
 
360
.multi-display .button
361
{
362
  width: 5em !important;
363
}
364
 
365
.multi-display .upper
366
{
367
  position: absolute;
368
  top: 0;
369
  left: 0;
370
  right: 0;  
75 PointedEar 371
  height: 7.4em;  
37 PointedEar 372
  padding-bottom: 0.2em;
373
  padding-right: 0.2em;
374
  background-color: black;
375
}
376
 
74 PointedEar 377
.multi-display .upper .content
72 PointedEar 378
{
379
  position: absolute;
380
  top: 0;
74 PointedEar 381
  left: 6em;
87 PointedEar 382
  bottom: 1.4em;
72 PointedEar 383
  right: 0.2em;
384
  background-color: black;
385
  color: white;
74 PointedEar 386
  text-align: right;
387
  overflow: hidden;
388
  text-overflow: ellipsis;
389
}
390
 
391
.multi-display .upper .content .title
392
{
393
  position: absolute;
394
  top: 0;
395
  left: 0em;
396
  height: 1em;
397
  right: 0em;
398
  background-color: black;
399
  color: white;
72 PointedEar 400
  font-size: 2.4em;
401
  text-transform: uppercase;
402
  text-align: right;
74 PointedEar 403
  overflow: hidden;
404
  text-overflow: ellipsis;
72 PointedEar 405
}
406
 
74 PointedEar 407
.multi-display .upper .content .title span
37 PointedEar 408
{
74 PointedEar 409
  white-space: nowrap;
410
}
411
 
90 PointedEar 412
.multi-display .upper .content .analysis {
413
  position: absolute;
414
  top: 2.4em;
415
  bottom: 0;
416
  right: 11em;
417
  left: 0;
418
  overflow: hidden;
419
  text-overflow: ellipsis;
420
  text-align: left;
421
}
422
 
74 PointedEar 423
.multi-display .upper .content .button
424
{
425
  position: absolute;
426
  margin-right: 0;
427
  height: 1.8em;
428
  text-transform: none;
429
}
430
 
431
.multi-display .upper .content .button .text {
432
  right: 0.75em;
433
}
434
 
435
.multi-display .upper .content #cmd1
436
{
437
  top: 2.4em;
438
  right: 5.2em;
439
}
440
 
441
.multi-display .upper .content #cmd2
442
{
443
  top: 2.4em;
444
  right: 0;
445
}
446
 
447
.multi-display .upper .content #cmd3
448
{
449
  top: 4.4em;
450
  right: 5.2em;
451
}
452
 
453
.multi-display .upper .content #cmd4
454
{
455
  top: 4.4em;
456
  right: 0;
457
}
458
 
459
.multi-display .upper .elbo-button
460
{
461
  position: absolute;
462
  top: 0;
463
  left: 0;
464
  width: 5em;
465
  height: 4em;
37 PointedEar 466
  background-color: #c9c !important;
72 PointedEar 467
  color: #000 !important;
83 PointedEar 468
  cursor: default;
37 PointedEar 469
}
470
 
74 PointedEar 471
.multi-display .upper .elbo-button .text
72 PointedEar 472
{
473
  position: absolute;
474
  bottom: 0;
475
  right: 0.2em;
476
  max-width: 4.6em;
477
  max-height: 3.6em;
478
  text-align: right;
479
  overflow: hidden;
480
}
481
 
37 PointedEar 482
.multi-display .upper .elbo
483
{
484
  position: absolute;
485
  left: 0;
74 PointedEar 486
  top: 4.2em;
37 PointedEar 487
  width: 6em;
488
  height: 3.2em;
489
  border-bottom-left-radius: 2em;
490
  background-color: #9cf;
72 PointedEar 491
  color: #000;
37 PointedEar 492
}
493
 
72 PointedEar 494
.multi-display .upper .elbo .text
495
{
496
  position: absolute;
497
  top: 0;
498
  right: 1.2em;
499
  max-width: 3.5em;
500
  max-height: 2.2em;
501
  text-align: right;
502
  overflow: hidden;
83 PointedEar 503
  cursor: default;
72 PointedEar 504
}
505
 
37 PointedEar 506
.multi-display .upper .elbo .concave
507
{
508
  position: absolute;
509
  left: 5em;
510
  top: 0;
511
  width: 1em;
512
  height: 2.2em;
513
  border-bottom-left-radius: 1em;
514
  background-color: black;
515
}
516
 
80 PointedEar 517
.multi-display .border
518
{
519
  overflow: hidden;
520
  height: 1em;
521
}
522
 
37 PointedEar 523
.multi-display .upper .border
524
{
525
  position: fixed;
526
  top: 9em;
527
  left: 21.8em;
528
  right: 0.2em;
79 PointedEar 529
}
530
 
531
.multi-display .border div
532
{
533
  position: absolute;
534
  top: 0;
535
  height: 1em;
536
}
537
 
538
.multi-display .upper .border div
539
{
37 PointedEar 540
  background-color: #9cf;
80 PointedEar 541
}
79 PointedEar 542
 
543
.multi-display .upper .border .left
544
{
545
  left: 0;
546
  right: 5.2em;
547
  height: 1em;
37 PointedEar 548
}
549
 
79 PointedEar 550
.multi-display .upper .border .right
551
{
552
  width: 5em;
553
  right: 0;
554
}
555
 
37 PointedEar 556
.multi-display .lower
557
{
558
  position: absolute;
74 PointedEar 559
  top: 7.5em;
37 PointedEar 560
  left: 0;
561
  padding-top: 0.1em;
562
  background-color: black;
563
}
564
 
565
.multi-display .lower .elbo
566
{
567
  position: relative;
568
  width: 6em;
569
  height: 3em;
570
  border-top-left-radius: 2em;
571
  background-color: #fc6;
572
}
573
 
574
.multi-display .lower .elbo .concave
575
{
576
  position: absolute;
577
  left: 5em;
578
  top: 1em;
579
  width: 1em;
580
  height: 2em;
581
  background-color: black;
582
  border-top-left-radius: 1em;
583
}
584
 
585
.multi-display .lower .bg
586
{
587
  position: fixed;
588
  top: 13.4em;
589
  bottom: 2.8em;
590
  width: 5em;
591
  background-color: #fc6;
592
}
593
 
594
.multi-display .lower .border-container
595
{
596
  position: fixed;
597
  top: 10.2em;
598
  left: 21.8em;
599
  right: 0em;
600
  height: 1.2em;
601
  background-color: black;
602
}
603
 
604
.multi-display .lower .border
605
{
80 PointedEar 606
  position: absolute;
37 PointedEar 607
  left: 0;
608
  right: 0.2em;
79 PointedEar 609
}
610
 
611
.multi-display .lower .border div
612
{
37 PointedEar 613
  background-color: #fc6;
614
}
615
 
79 PointedEar 616
.multi-display .lower .border .left
617
{
618
  left: 0;
80 PointedEar 619
  right: 5.2em;
79 PointedEar 620
}
621
 
622
.multi-display .lower .border .right
623
{
624
  width: 5em;
80 PointedEar 625
  right: 0;
79 PointedEar 626
}
627
 
43 PointedEar 628
.menu .button.secondary,
629
.multi-display .lower .elbo.secondary,
630
.multi-display .lower .bg.secondary,
631
.multi-display .lower .border.secondary
632
{
633
  background-color: #f96;
634
}
635
 
636
.menu .button.ancillary,
637
.multi-display .lower .elbo.ancillary,
638
.multi-display .lower .bg.ancillary,
639
.multi-display .lower .border.ancillary
640
{
641
  background-color: #c9c;
642
}
643
 
644
.menu .button.database,
645
.multi-display .lower .elbo.database,
646
.multi-display .lower .bg.database,
647
.multi-display .lower .border.database
648
{
37 PointedEar 649
  background-color: #c66;
650
}
651
 
43 PointedEar 652
.menu .button .text {
37 PointedEar 653
  position: static;
654
  margin: 0 0.25em;
655
}
656
 
657
.button.selected {
658
  background-color: #fc6 !important;
659
  color: #000 !important;  
660
}
661
 
662
.group {
663
  margin: 0 auto;
664
  position: relative;
38 PointedEar 665
  width: 7.7em;
37 PointedEar 666
}
667
 
668
.group .separator {
669
  float: left;
670
  position: absolute;
38 PointedEar 671
  top: 0;
672
  left: 0;
673
  width: 1.5em;
37 PointedEar 674
  height: 100%;
675
  background-color: #c66;
676
  color: #000;
677
}
678
 
679
.group .separator:after {
680
  position: absolute;
38 PointedEar 681
  width: 0.8em;
682
  height: 0.5em;
683
  bottom: 0.25em;
684
  left: 0.25em;
37 PointedEar 685
  background-color: #000;
686
  content: "\a0";
687
}
688
 
689
.group ul {
38 PointedEar 690
  margin-left: 1.7em;
37 PointedEar 691
}
692
 
693
.group li {
38 PointedEar 694
  margin-bottom: 0;
37 PointedEar 695
}
696
 
697
.group .button:visited,
698
.group .button
699
{
38 PointedEar 700
  display: block;
37 PointedEar 701
  position: relative;
38 PointedEar 702
  width: 6em;
37 PointedEar 703
  background-color: #99f !important;
704
}
705
 
38 PointedEar 706
.group li:last-child .button
707
{
708
  margin-bottom: 0;
37 PointedEar 709
}
710
 
38 PointedEar 711
.button.right {
712
  border-top-right-radius: 1em;
713
  border-bottom-right-radius: 1em;
37 PointedEar 714
}
715
 
38 PointedEar 716
.button.right .text {
717
  right: 1em;
718
}
719
 
720
.button.left {
721
  border-top-left-radius: 1em;
722
  border-bottom-left-radius: 1em;
723
}
724
 
37 PointedEar 725
.group .button .key {
726
  display: inline-block;
727
  position: absolute;
38 PointedEar 728
  left: 0.2em;
37 PointedEar 729
  top: 0;
730
  bottom: 0;
38 PointedEar 731
  padding: 0 0.1em;
37 PointedEar 732
  background-color: #000;
733
  color: #f90;
38 PointedEar 734
  font-size: 2.4em;
37 PointedEar 735
  text-transform: uppercase;
38 PointedEar 736
  line-height: 0.9;
737
}