Subversion Repositories LCARS

Rev

Rev 90 | Rev 94 | 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
 
92 PointedEar 423
.multi-display .upper .content .commands
74 PointedEar 424
{
425
  position: absolute;
92 PointedEar 426
  margin: 0;
427
  padding: 0;
428
  top: 2.4em;
429
  right: 0em;
430
  height: 3.8em;
431
  width: 10.2em;
432
  list-style: none;
433
}
434
 
435
.multi-display .upper .content .commands li
436
{
437
  position: absolute;
438
  margin: 0;
439
  width: 5em;
74 PointedEar 440
  height: 1.8em;
92 PointedEar 441
}
442
 
443
.multi-display .upper .content .commands .button
444
{
445
  position: absolute;
446
  top: 0;
447
  left: 0;
448
  margin: 0;
449
  height: 1.8em;
450
  border-radius: 0.9em;
74 PointedEar 451
  text-transform: none;
452
}
453
 
92 PointedEar 454
.multi-display .upper .content .commands .button .text {
74 PointedEar 455
  right: 0.75em;
456
}
457
 
458
.multi-display .upper .content #cmd1
459
{
92 PointedEar 460
  top: 0;
74 PointedEar 461
  right: 5.2em;
462
}
463
 
464
.multi-display .upper .content #cmd2
465
{
92 PointedEar 466
  top: 0;
74 PointedEar 467
  right: 0;
468
}
469
 
470
.multi-display .upper .content #cmd3
471
{
92 PointedEar 472
  top: 2em;
473
  right: 0;
74 PointedEar 474
}
475
 
476
.multi-display .upper .content #cmd4
477
{
92 PointedEar 478
  top: 2em;
479
  right: 5.2em;
74 PointedEar 480
}
481
 
482
.multi-display .upper .elbo-button
483
{
484
  position: absolute;
485
  top: 0;
486
  left: 0;
487
  width: 5em;
488
  height: 4em;
37 PointedEar 489
  background-color: #c9c !important;
72 PointedEar 490
  color: #000 !important;
83 PointedEar 491
  cursor: default;
37 PointedEar 492
}
493
 
74 PointedEar 494
.multi-display .upper .elbo-button .text
72 PointedEar 495
{
496
  position: absolute;
497
  bottom: 0;
498
  right: 0.2em;
499
  max-width: 4.6em;
500
  max-height: 3.6em;
501
  text-align: right;
502
  overflow: hidden;
503
}
504
 
37 PointedEar 505
.multi-display .upper .elbo
506
{
507
  position: absolute;
508
  left: 0;
74 PointedEar 509
  top: 4.2em;
37 PointedEar 510
  width: 6em;
511
  height: 3.2em;
512
  border-bottom-left-radius: 2em;
513
  background-color: #9cf;
72 PointedEar 514
  color: #000;
37 PointedEar 515
}
516
 
72 PointedEar 517
.multi-display .upper .elbo .text
518
{
519
  position: absolute;
520
  top: 0;
521
  right: 1.2em;
522
  max-width: 3.5em;
523
  max-height: 2.2em;
524
  text-align: right;
525
  overflow: hidden;
83 PointedEar 526
  cursor: default;
72 PointedEar 527
}
528
 
37 PointedEar 529
.multi-display .upper .elbo .concave
530
{
531
  position: absolute;
532
  left: 5em;
533
  top: 0;
534
  width: 1em;
535
  height: 2.2em;
536
  border-bottom-left-radius: 1em;
537
  background-color: black;
538
}
539
 
80 PointedEar 540
.multi-display .border
541
{
542
  overflow: hidden;
543
  height: 1em;
544
}
545
 
37 PointedEar 546
.multi-display .upper .border
547
{
548
  position: fixed;
549
  top: 9em;
550
  left: 21.8em;
551
  right: 0.2em;
79 PointedEar 552
}
553
 
554
.multi-display .border div
555
{
556
  position: absolute;
557
  top: 0;
558
  height: 1em;
559
}
560
 
561
.multi-display .upper .border div
562
{
37 PointedEar 563
  background-color: #9cf;
80 PointedEar 564
}
79 PointedEar 565
 
566
.multi-display .upper .border .left
567
{
568
  left: 0;
569
  right: 5.2em;
570
  height: 1em;
37 PointedEar 571
}
572
 
79 PointedEar 573
.multi-display .upper .border .right
574
{
575
  width: 5em;
576
  right: 0;
577
}
578
 
37 PointedEar 579
.multi-display .lower
580
{
581
  position: absolute;
74 PointedEar 582
  top: 7.5em;
37 PointedEar 583
  left: 0;
584
  padding-top: 0.1em;
585
  background-color: black;
586
}
587
 
588
.multi-display .lower .elbo
589
{
590
  position: relative;
591
  width: 6em;
592
  height: 3em;
593
  border-top-left-radius: 2em;
594
  background-color: #fc6;
595
}
596
 
597
.multi-display .lower .elbo .concave
598
{
599
  position: absolute;
600
  left: 5em;
601
  top: 1em;
602
  width: 1em;
603
  height: 2em;
604
  background-color: black;
605
  border-top-left-radius: 1em;
606
}
607
 
608
.multi-display .lower .bg
609
{
610
  position: fixed;
611
  top: 13.4em;
612
  bottom: 2.8em;
613
  width: 5em;
614
  background-color: #fc6;
615
}
616
 
617
.multi-display .lower .border-container
618
{
619
  position: fixed;
620
  top: 10.2em;
621
  left: 21.8em;
622
  right: 0em;
623
  height: 1.2em;
624
  background-color: black;
625
}
626
 
627
.multi-display .lower .border
628
{
80 PointedEar 629
  position: absolute;
37 PointedEar 630
  left: 0;
631
  right: 0.2em;
79 PointedEar 632
}
633
 
634
.multi-display .lower .border div
635
{
37 PointedEar 636
  background-color: #fc6;
637
}
638
 
79 PointedEar 639
.multi-display .lower .border .left
640
{
641
  left: 0;
80 PointedEar 642
  right: 5.2em;
79 PointedEar 643
}
644
 
645
.multi-display .lower .border .right
646
{
647
  width: 5em;
80 PointedEar 648
  right: 0;
79 PointedEar 649
}
650
 
43 PointedEar 651
.menu .button.secondary,
652
.multi-display .lower .elbo.secondary,
653
.multi-display .lower .bg.secondary,
654
.multi-display .lower .border.secondary
655
{
656
  background-color: #f96;
657
}
658
 
659
.menu .button.ancillary,
660
.multi-display .lower .elbo.ancillary,
661
.multi-display .lower .bg.ancillary,
662
.multi-display .lower .border.ancillary
663
{
664
  background-color: #c9c;
665
}
666
 
667
.menu .button.database,
668
.multi-display .lower .elbo.database,
669
.multi-display .lower .bg.database,
670
.multi-display .lower .border.database
671
{
37 PointedEar 672
  background-color: #c66;
673
}
674
 
43 PointedEar 675
.menu .button .text {
37 PointedEar 676
  position: static;
677
  margin: 0 0.25em;
678
}
679
 
680
.button.selected {
681
  background-color: #fc6 !important;
682
  color: #000 !important;  
683
}
684
 
685
.group {
686
  margin: 0 auto;
687
  position: relative;
38 PointedEar 688
  width: 7.7em;
37 PointedEar 689
}
690
 
691
.group .separator {
692
  float: left;
693
  position: absolute;
38 PointedEar 694
  top: 0;
695
  left: 0;
696
  width: 1.5em;
37 PointedEar 697
  height: 100%;
698
  background-color: #c66;
699
  color: #000;
700
}
701
 
702
.group .separator:after {
703
  position: absolute;
38 PointedEar 704
  width: 0.8em;
705
  height: 0.5em;
706
  bottom: 0.25em;
707
  left: 0.25em;
37 PointedEar 708
  background-color: #000;
709
  content: "\a0";
710
}
711
 
712
.group ul {
38 PointedEar 713
  margin-left: 1.7em;
37 PointedEar 714
}
715
 
716
.group li {
38 PointedEar 717
  margin-bottom: 0;
37 PointedEar 718
}
719
 
720
.group .button:visited,
721
.group .button
722
{
38 PointedEar 723
  display: block;
37 PointedEar 724
  position: relative;
38 PointedEar 725
  width: 6em;
37 PointedEar 726
  background-color: #99f !important;
727
}
728
 
38 PointedEar 729
.group li:last-child .button
730
{
731
  margin-bottom: 0;
37 PointedEar 732
}
733
 
38 PointedEar 734
.button.right {
735
  border-top-right-radius: 1em;
736
  border-bottom-right-radius: 1em;
37 PointedEar 737
}
738
 
38 PointedEar 739
.button.right .text {
740
  right: 1em;
741
}
742
 
743
.button.left {
744
  border-top-left-radius: 1em;
745
  border-bottom-left-radius: 1em;
746
}
747
 
37 PointedEar 748
.group .button .key {
749
  display: inline-block;
750
  position: absolute;
38 PointedEar 751
  left: 0.2em;
37 PointedEar 752
  top: 0;
753
  bottom: 0;
38 PointedEar 754
  padding: 0 0.1em;
37 PointedEar 755
  background-color: #000;
756
  color: #f90;
38 PointedEar 757
  font-size: 2.4em;
37 PointedEar 758
  text-transform: uppercase;
38 PointedEar 759
  line-height: 0.9;
760
}