forked from jRoq/ingress-intel-total-conversion
-
Notifications
You must be signed in to change notification settings - Fork 1
/
style.css
768 lines (644 loc) · 12.4 KB
/
style.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
/* general rules ******************************************************/
html, body, #map {
height: 100%;
width: 100%;
overflow: hidden; /* workaround for #373 */
background: #0e3d4e;
}
body {
font-size: 14px;
font-family: "coda",arial,helvetica,sans-serif;
margin: 0;
}
#scrollwrapper {
overflow: hidden;
position: fixed;
right: -38px;
top: 0;
width: 340px;
bottom: 45px;
z-index: 1001;
pointer-events: none;
}
#sidebar {
background-color: rgba(8, 48, 78, 0.9);
border-left: 1px solid #20A8B1;
color: #888;
position: relative;
left: 0;
top: 0;
max-height: 100%;
overflow-y:scroll;
overflow-x:hidden;
z-index: 3000;
pointer-events: auto;
}
#sidebartoggle {
display: block;
padding: 20px 5px;
margin-top: -31px; /* -(toggle height / 2) */
line-height: 10px;
position: absolute;
top: 340px; /* (sidebar height / 2) */
z-index: 3001;
background-color: rgba(8, 48, 78, 0.9);
color: #FFCE00;
border: 1px solid #20A8B1;
border-right: none;
border-radius: 5px 0 0 5px;
text-decoration: none;
right: 301px; /* overwritten later by the script with SIDEBAR_WIDTH */
}
.enl {
color: #03fe03 !important;
}
.res {
color: #00c5ff !important;
}
.none {
color: #fff;
}
a {
color: #ffce00;
cursor: pointer;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
/* map display, required because GMaps uses a high z-index which is
* normally above Leaflet’s vector pane */
.leaflet-map-pane {
z-index: 1000;
}
.leaflet-control-layers-overlays label.disabled {
text-decoration: line-through;
cursor: help;
}
.help {
cursor: help;
}
.toggle {
display: block;
height: 0;
width: 0;
}
/* field mu count */
.fieldmu {
color: #FFCE00;
font-size: 13px;
font-family: "coda",arial,helvetica,sans-serif; /*override leaflet-container */
text-align: center;
text-shadow: 0 0 0.2em black, 0 0 0.2em black, 0 0 0.2em black;
pointer-events: none;
}
/* chat ***************************************************************/
#chatcontrols {
color: #FFCE00;
background: rgba(8, 48, 78, 0.9);
position: absolute;
left: 0;
z-index: 3001;
height: 26px;
padding-left:1px;
}
#chatcontrols.expand {
top: 0;
bottom: auto;
}
#chatcontrols a {
margin-left: -1px;
display: inline-block;
width: 94px;
text-align: center;
height: 24px;
line-height: 24px;
border: 1px solid #20A8B1;
vertical-align: top;
}
#chatcontrols a:first-child {
letter-spacing:-1px;
text-decoration: none !important;
}
#chatcontrols a.active {
border-color: #FFCE00;
border-bottom-width:0px;
font-weight:bold
}
#chatcontrols a.active + a {
border-left-color: #FFCE00
}
#chatcontrols .toggle {
border-left: 10px solid transparent;
border-right: 10px solid transparent;
margin: 6px auto auto;
}
#chatcontrols .expand {
border-bottom: 10px solid #FFCE00;
}
#chatcontrols .shrink {
border-top: 10px solid #FFCE00;
}
#chat {
position: absolute;
width: 708px;
bottom: 23px;
left: 0;
z-index: 3000;
background: rgba(8, 48, 78, 0.9);
font-size: 12.6px;
color: #eee;
border: 1px solid #20A8B1;
border-bottom: 0;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
em {
color: red;
font-style: normal;
}
#chat.expand {
height:auto;
top: 25px;
}
#chatpublic, #chatfull, #chatcompact {
display: none;
}
#chat > div {
overflow-x:hidden;
overflow-y:scroll;
height: 100%;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
padding: 2px;
position:relative;
}
#chat table, #chatinput table {
width: 100%;
table-layout: fixed;
border-spacing: 0m;
border-collapse: collapse;
}
#chatinput table {
height: 100%;
}
#chat td, #chatinput td {
font-family: Verdana, sans-serif;
font-size: 12.6px;
vertical-align: top;
padding-bottom: 3px;
}
/* time */
#chat td:first-child, #chatinput td:first-child {
width: 44px;
overflow: hidden;
padding-left: 2px;
color: #bbb;
white-space: nowrap;
}
#chat time {
cursor: help;
}
/* nick */
#chat td:nth-child(2), #chatinput td:nth-child(2) {
width: 91px;
overflow: hidden;
padding-left: 2px;
white-space: nowrap;
}
mark {
background: transparent;
}
.invisep {
display: inline-block;
width: 1px;
height: 1px;
overflow:hidden;
color: transparent;
}
/* divider */
summary {
color: #bbb;
display: inline-block;
font-family: Verdana,sans-serif;
height: 16px;
overflow: hidden;
padding: 0 2px;
white-space: nowrap;
width: 100%;
}
#chatinput {
position: absolute;
bottom: 0;
left: 0;
padding: 0 2px;
background: rgba(8, 48, 78, 0.9);
width: 708px;
border: 1px solid #20A8B1;
z-index: 3001;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
#chatinput td {
padding-bottom: 1px;
vertical-align: middle;
}
#chatinput input {
background: transparent;
font-size: 12.6px;
font-family: Verdana,sans-serif;
color: #EEEEEE;
width: 100%;
height: 100%;
}
/* sidebar ************************************************************/
#sidebar > * {
border-bottom: 1px solid #20A8B1;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
#sidebartoggle .toggle {
border-bottom: 10px solid transparent;
border-top: 10px solid transparent;
}
#sidebartoggle .open {
border-right: 10px solid #FFCE00;
}
#sidebartoggle .close {
border-left: 10px solid #FFCE00;
}
/* player stats */
#playerstat {
height: 30px;
}
h2 {
color: #ffce00;
font-size: 21px;
padding: 0 4px;
margin: 0;
cursor:help;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
width: 100%;
}
h2 #name {
display: inline-block;
overflow: hidden;
text-overflow: "~";
vertical-align: top;
white-space: nowrap;
width: 205px;
position: relative;
}
h2 #stats {
float: right;
height: 100%;
overflow: hidden;
}
h2 #signout {
font-size: 12px;
font-weight: normal;
line-height: 29px;
padding: 0 4px;
position: absolute;
top: 0;
right: 0;
background-color: rgba(8, 48, 78, 0.5);
display: none; /* starts hidden */
}
h2 sup, h2 sub {
display: block;
font-size: 11px;
margin-bottom: -1px;
}
/* gamestats */
#gamestat {
height: 22px;
}
#gamestat span {
display: block;
float: left;
font-weight: bold;
cursor:help;
height: 21px;
line-height: 22px;
}
#gamestat .res {
background: #005684;
text-align: right;
}
#gamestat .enl {
background: #017f01;
}
/* geosearch input, and others */
input {
background-color: rgba(0, 0, 0, 0.3);
color: #ffce00;
height: 24px;
padding:3px 4px 1px 4px;
font-size: 14px;
border:0;
font-family:inherit;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
::-webkit-input-placeholder {
font-style: italic;
}
:-moz-placeholder {
font-style: italic;
}
::-moz-placeholder {
font-style: italic;
}
.leaflet-control-layers input {
height: auto;
padding: 0;
}
/* portal title and image */
h3 {
font-size: 17px;
padding: 0 4px;
margin:0;
height: 25px;
width: 100%;
overflow:hidden;
text-overflow: "~";
white-space: nowrap;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
.imgpreview {
height: 200px;
background: no-repeat center center;
background-size: contain;
cursor: help;
overflow: hidden;
}
.imgpreview img.hide {
display: none;
}
#level {
font-size: 40px;
text-shadow: -1px -1px #000, 1px -1px #000, -1px 1px #000, 1px 1px #000, 0 0 5px #fff;
display: block;
margin-right: 15px;
text-align:right;
}
/* portal mods */
.mods {
margin: 5px auto 1px auto;
padding: 0 2px;
width: 296px;
height: 75px;
text-align: center;
}
.mods span {
background-color: rgba(0, 0, 0, 0.3);
/* can’t use inline-block because Webkit’s implementation is buggy and
* introduces additional margins in random cases. No clear necessary,
* as that’s solved by setting height on .mods. */
display: block;
float:left;
height: 63px;
margin: 0 2px;
overflow: hidden;
padding: 2px;
text-align: center;
width: 63px;
cursor:help;
border: 1px solid #666;
}
.mods span:not([title]) {
cursor: auto;
}
.res .mods span, .res .meter {
border: 1px solid #0076b6;
}
.enl .mods span, .enl .meter {
border: 1px solid #017f01;
}
/* random details, resonator details */
#randdetails, #resodetails {
width: 100%;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
padding: 0 4px;
table-layout: fixed;
border-spacing: 0m;
border-collapse: collapse;
}
#randdetails td, #resodetails td {
overflow: hidden;
text-overflow: "~";
vertical-align: top;
white-space: nowrap;
width: 50%;
width: calc(50% - 62px);
}
#randdetails th, #resodetails th {
font-weight: normal;
text-align: right;
width: 62px;
padding-right:4px;
padding-left:4px;
}
#randdetails th + th, #resodetails th + th {
text-align: left;
padding-right: 4px;
padding-left: 4px;
}
#randdetails td:first-child, #resodetails td:first-child {
text-align: right;
padding-left: 2px;
}
#randdetails td:last-child, #resodetails td:last-child {
text-align: left;
padding-right: 2px;
}
#randdetails {
margin-top: 9px;
margin-bottom: 9px;
}
#randdetails tt {
font-family: inherit;
cursor: help;
}
/* resonators */
#resodetails {
margin-bottom: 9px;
}
.meter {
background: #000;
cursor: help;
display: inline-block;
height: 18px;
padding: 1px;
width: 100%;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
position: relative;
left: 0;
top: 0;
}
.meter span {
display: block;
height: 14px;
}
.meter-level {
position: absolute;
top: -2px;
left: 50%;
margin-left: -6px;
text-shadow: 0.0em 0.0em 0.3em #808080;
}
/* links below resos */
.linkdetails {
margin-bottom: 8px;
}
aside {
display: inline-block;
padding-right: 9px;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
text-align: center;
}
.linkdetails aside:last-child {
padding-right: 0;
}
.linkdetails aside:nth-child(1) {
text-align: right;
width:88px;
}
.linkdetails aside:nth-child(2) {
text-align: right;
width:67px;
}
.linkdetails aside:nth-child(4) {
margin-left:13px;
}
#toolbox {
padding: 4px 2px;
font-size:90%;
}
#toolbox > a {
padding: 4px;
}
/* a common portal display takes this much space (prevents moving
* content when first selecting a portal) */
#portaldetails {
min-height: 553px;
}
/* update status */
#updatestatus {
background-color: rgba(8, 48, 78, 0.9);
border-bottom: 0;
border-top: 1px solid #20A8B1;
border-left: 1px solid #20A8B1;
bottom: 0;
color: #ffce00;
font-size:13px;
padding: 4px;
position: fixed;
right: 0;
z-index:3002;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
/* preview */
#largepreview {
left: 50%;
position: fixed;
top: 50%;
z-index: 2000;
}
#largepreview img {
box-shadow: 0 0 40px #000;
}
#largepreview img {
border: 2px solid #f8ff5e;
}
/* tooltips, dialogs */
.ui-tooltip, .ui-dialog {
max-width: 300px;
position: absolute;
z-index: 9999;
background-color: rgba(8, 48, 78, 0.9);
border: 1px solid #20A8B1;
color: #eee;
font: 13px/15px "Helvetica Neue", Arial, Helvetica, sans-serif;
padding: 2px 4px;
}
.ui-tooltip, .ui-dialog a {
color: #FFCE00;
}
.ui-dialog {
padding: 0;
border-radius: 2px;
}
.ui-widget-overlay {
height: 100%;
left: 0;
position: fixed;
top: 0;
width: 100%;
z-index:9998;
background: #444;
opacity: 0.6;
}
.ui-dialog-titlebar {
display: none;
}
.ui-dialog-content {
padding: 12px;
overflow-y: auto;
overflow-x: hidden;
max-height: 600px !important;
max-width: 700px !important;
}
.ui-dialog-buttonpane {
padding: 12px;
border-top: 1px solid #20A8B1;
}
.ui-dialog-buttonset {
text-align: right;
}
.ui-dialog-buttonset button,
.ui-dialog-content button {
padding: 2px;
min-width: 80px;
color: #FFCE00;
border: 1px solid #FFCE00;
background-color: rgba(8, 48, 78, 0.9);
}
.ui-dialog-buttonset button:hover {
text-decoration: underline;
}
td {
padding: 0;
vertical-align: top;
}
td + td {
padding-left: 4px;
}
/* redeem results *****************************************************/
.redeem-result {
font-size: 14px;
font-family: arial,helvetica,sans-serif;
table-layout: fixed;
}
.redeem-result tr > td:first-child {
width: 50px;
text-align: right;
}