Subversion Repositories LCARS

Rev

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