Subversion Repositories LCARS

Rev

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

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