@nypl/web-reader 1.0.0 → 1.1.0-2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -158,1128 +158,4 @@
158
158
  .annotationLayer .fileAttachmentAnnotation {
159
159
  cursor: pointer;
160
160
  }
161
-
162
- /* node_modules/@d-i-t-a/reader/dist/reader.css */
163
- :root {
164
- -webkit-text-size-adjust: 100%;
165
- zoom: reset;
166
- }
167
- body {
168
- margin: 0 auto;
169
- }
170
- ul li,
171
- ol li {
172
- list-style: none;
173
- }
174
- button {
175
- background: #fff;
176
- border: 0;
177
- color: #5B5852;
178
- padding: 0.35rem 0.35rem 0.2rem;
179
- margin: 0;
180
- -webkit-appearance: none;
181
- }
182
- a {
183
- color: #5B5852;
184
- text-decoration: none;
185
- }
186
- .inactive {
187
- opacity: 0;
188
- z-index: -3000;
189
- }
190
- .active {
191
- opacity: 1;
192
- z-index: 3000;
193
- }
194
- #viewer {
195
- padding: 0 env(safe-area-inset-right) 0 env(safe-area-inset-left);
196
- box-sizing: border-box;
197
- }
198
- #reader-info-bottom-flex {
199
- bottom: 0px;
200
- position: fixed;
201
- width: 100%;
202
- display: flex;
203
- }
204
- #reader-info-bottom {
205
- bottom: 0px;
206
- position: fixed;
207
- width: 100%;
208
- }
209
- .info {
210
- color: #5B5852;
211
- margin: 0;
212
- padding: 0 1.5rem;
213
- overflow: hidden;
214
- text-align: center;
215
- text-overflow: ellipsis;
216
- white-space: nowrap;
217
- -webkit-user-select: none;
218
- -moz-user-select: none;
219
- -ms-user-select: none;
220
- user-select: none;
221
- cursor: default;
222
- }
223
- .info.top {
224
- line-height: 3;
225
- padding-top: env(safe-area-inset-top);
226
- min-height: 3.6rem;
227
- }
228
- .info.bottom {
229
- line-height: 2;
230
- padding-bottom: env(safe-area-inset-bottom);
231
- }
232
- .info .chapter-position,
233
- .info .chapter-title,
234
- .info .remaining-positions {
235
- font-size: 0.85rem;
236
- font-variant-numeric: lining-nums tabular-nums;
237
- }
238
- #iframe-wrapper iframe {
239
- border: none;
240
- overflow: overlay;
241
- opacity: 0;
242
- }
243
- [data-viewer-theme=day] {
244
- background-color: #fff;
245
- }
246
- [data-viewer-theme=sepia] {
247
- background-color: #faf4e8;
248
- }
249
- [data-viewer-theme=sepia] button {
250
- background: #faf4e8;
251
- color: #5B5852;
252
- }
253
- [data-viewer-theme=sepia] a {
254
- color: #5B5852;
255
- }
256
- [data-viewer-theme=sepia] .info {
257
- color: #5B5852;
258
- }
259
- [data-viewer-theme=night] {
260
- background-color: #000000;
261
- color: #fff;
262
- }
263
- [data-viewer-theme=night] button {
264
- background: #000000;
265
- color: #DADADA;
266
- }
267
- [data-viewer-theme=night] a {
268
- color: #DADADA;
269
- }
270
- [data-viewer-theme=night] .info {
271
- color: #DADADA;
272
- }
273
- @-webkit-keyframes load {
274
- 0% {
275
- transform: translate(-2.5rem, -2.5rem) rotate(0deg);
276
- }
277
- 100% {
278
- transform: translate(-2.5rem, -2.5rem) rotate(360deg);
279
- }
280
- }
281
- @keyframes load {
282
- 0% {
283
- transform: translate(-2.5rem, -2.5rem) rotate(0deg);
284
- }
285
- 100% {
286
- transform: translate(-2.5rem, -2.5rem) rotate(360deg);
287
- }
288
- }
289
- .loading.is-loading .icon {
290
- animation: load 1s ease-in-out infinite;
291
- }
292
- .loading {
293
- position: fixed;
294
- width: 100%;
295
- height: 100vh;
296
- top: 0;
297
- z-index: 10;
298
- background-color: rgba(255, 255, 255, 0.9);
299
- color: #5B5852;
300
- -webkit-user-select: none;
301
- -moz-user-select: none;
302
- -ms-user-select: none;
303
- user-select: none;
304
- cursor: default;
305
- }
306
- .loading .icon {
307
- display: block;
308
- position: absolute;
309
- top: 50%;
310
- left: 50%;
311
- width: 3rem;
312
- height: 3rem;
313
- transform: translate(-50%, -50%);
314
- fill: #9e9e9e;
315
- }
316
- [data-viewer-theme=sepia] .loading {
317
- background-color: rgba(250, 244, 232, 0.9);
318
- }
319
- [data-viewer-theme=night] .loading {
320
- background-color: #1a1a1a;
321
- color: #DADADA;
322
- }
323
- [data-viewer-theme=night] .loading .icon {
324
- fill: #DADADA;
325
- }
326
- .error {
327
- z-index: 20;
328
- background-color: rgba(255, 255, 255, 0.875);
329
- color: #d0343a;
330
- height: 100%;
331
- top: 0;
332
- padding-top: 40vh;
333
- position: fixed;
334
- text-align: center;
335
- width: 100%;
336
- -webkit-user-select: none;
337
- -moz-user-select: none;
338
- -ms-user-select: none;
339
- user-select: none;
340
- cursor: default;
341
- }
342
- .error .reader-icon {
343
- display: block;
344
- width: 3rem;
345
- height: 3rem;
346
- fill: #d0343a;
347
- margin: 0 auto;
348
- }
349
- .error span {
350
- display: block;
351
- margin-bottom: 0.75rem;
352
- font-size: 1.2rem;
353
- }
354
- .error button {
355
- color: #d0343a;
356
- border: 1px solid #d0343a;
357
- border-radius: 5px;
358
- font-size: 1rem;
359
- font-weight: 700;
360
- padding: 0.75rem 1rem;
361
- }
362
- .error button + button {
363
- margin-left: 1rem;
364
- }
365
- [data-viewer-theme=sepia] .error {
366
- background-color: rgba(250, 244, 232, 0.875);
367
- }
368
- [data-viewer-theme=sepia] .error button {
369
- background-color: #fff;
370
- color: #d0343a;
371
- border: 1px solid #d0343a;
372
- }
373
- [data-viewer-theme=night] .error {
374
- background-color: rgba(0, 0, 0, 0.875);
375
- }
376
- [data-viewer-theme=night] .error button {
377
- background-color: #1a1a1a;
378
- color: #d0343a;
379
- border: 1px solid #d0343a;
380
- }
381
- .sidenav-toc .chapter-link {
382
- display: block;
383
- white-space: nowrap;
384
- overflow: hidden;
385
- text-overflow: ellipsis;
386
- }
387
- .sidenav-toc .chapter-title {
388
- padding: 0 16px;
389
- font-size: 14px;
390
- color: lightgray;
391
- }
392
- .contents-view,
393
- .pageList-view,
394
- .landmarks-view {
395
- background-color: #fff;
396
- overflow: scroll;
397
- top: 3.5rem;
398
- -webkit-user-select: none;
399
- -moz-user-select: none;
400
- -ms-user-select: none;
401
- user-select: none;
402
- }
403
- .contents-view ol li,
404
- .contents-view ul li,
405
- .pageList-view ol li,
406
- .pageList-view ul li,
407
- .landmarks-view ol li,
408
- .landmarks-view ul li {
409
- margin-top: 0;
410
- }
411
- .contents-view ol li a,
412
- .contents-view ul li a,
413
- .pageList-view ol li a,
414
- .pageList-view ul li a,
415
- .landmarks-view ol li a,
416
- .landmarks-view ul li a {
417
- color: #5B5852;
418
- border-bottom: 1px solid #cccccc;
419
- display: block;
420
- padding: 1rem;
421
- text-decoration: none;
422
- width: 100%;
423
- }
424
- @media screen and (min-width: 60rem) {
425
- .contents-view ol li a:hover,
426
- .contents-view ul li a:hover,
427
- .pageList-view ol li a:hover,
428
- .pageList-view ul li a:hover,
429
- .landmarks-view ol li a:hover,
430
- .landmarks-view ul li a:hover {
431
- background: #5B5852;
432
- color: #111;
433
- }
434
- }
435
- .contents-view ol li a.active,
436
- .contents-view ul li a.active,
437
- .pageList-view ol li a.active,
438
- .pageList-view ul li a.active,
439
- .landmarks-view ol li a.active,
440
- .landmarks-view ul li a.active {
441
- background: #DADADA;
442
- color: #111;
443
- }
444
- .contents-view ol li a.active:hover,
445
- .contents-view ul li a.active:hover,
446
- .pageList-view ol li a.active:hover,
447
- .pageList-view ul li a.active:hover,
448
- .landmarks-view ol li a.active:hover,
449
- .landmarks-view ul li a.active:hover {
450
- background: #111;
451
- color: #DADADA;
452
- }
453
- .contents-view ol li span,
454
- .contents-view ul li span,
455
- .pageList-view ol li span,
456
- .pageList-view ul li span,
457
- .landmarks-view ol li span,
458
- .landmarks-view ul li span {
459
- color: #5B5852;
460
- border-bottom: 1px solid #cccccc;
461
- display: block;
462
- padding: 1rem;
463
- text-decoration: none;
464
- width: 100%;
465
- }
466
- [data-viewer-theme=sepia] .contents-view,
467
- [data-viewer-theme=sepia] .pageList-view,
468
- [data-viewer-theme=sepia] .landmarks-view {
469
- background-color: #faf4e8;
470
- }
471
- [data-viewer-theme=sepia] .contents-view ol li a,
472
- [data-viewer-theme=sepia] .contents-view ul li a,
473
- [data-viewer-theme=sepia] .pageList-view ol li a,
474
- [data-viewer-theme=sepia] .pageList-view ul li a,
475
- [data-viewer-theme=sepia] .landmarks-view ol li a,
476
- [data-viewer-theme=sepia] .landmarks-view ul li a {
477
- color: #5B5852;
478
- border-bottom: 1px solid #e8cc94;
479
- }
480
- @media screen and (min-width: 60rem) {
481
- [data-viewer-theme=sepia] .contents-view ol li a:hover,
482
- [data-viewer-theme=sepia] .contents-view ul li a:hover,
483
- [data-viewer-theme=sepia] .pageList-view ol li a:hover,
484
- [data-viewer-theme=sepia] .pageList-view ul li a:hover,
485
- [data-viewer-theme=sepia] .landmarks-view ol li a:hover,
486
- [data-viewer-theme=sepia] .landmarks-view ul li a:hover {
487
- background: #5B5852;
488
- color: #faf4e8;
489
- }
490
- }
491
- [data-viewer-theme=sepia] .contents-view ol li a.active,
492
- [data-viewer-theme=sepia] .contents-view ul li a.active,
493
- [data-viewer-theme=sepia] .pageList-view ol li a.active,
494
- [data-viewer-theme=sepia] .pageList-view ul li a.active,
495
- [data-viewer-theme=sepia] .landmarks-view ol li a.active,
496
- [data-viewer-theme=sepia] .landmarks-view ul li a.active {
497
- background: #DADADA;
498
- color: #111;
499
- }
500
- [data-viewer-theme=sepia] .contents-view ol li a.active:hover,
501
- [data-viewer-theme=sepia] .contents-view ul li a.active:hover,
502
- [data-viewer-theme=sepia] .pageList-view ol li a.active:hover,
503
- [data-viewer-theme=sepia] .pageList-view ul li a.active:hover,
504
- [data-viewer-theme=sepia] .landmarks-view ol li a.active:hover,
505
- [data-viewer-theme=sepia] .landmarks-view ul li a.active:hover {
506
- background: #111;
507
- color: #DADADA;
508
- }
509
- [data-viewer-theme=sepia] .contents-view ol li span,
510
- [data-viewer-theme=sepia] .contents-view ul li span,
511
- [data-viewer-theme=sepia] .pageList-view ol li span,
512
- [data-viewer-theme=sepia] .pageList-view ul li span,
513
- [data-viewer-theme=sepia] .landmarks-view ol li span,
514
- [data-viewer-theme=sepia] .landmarks-view ul li span {
515
- color: #5B5852;
516
- border-bottom: 1px solid #e8cc94;
517
- }
518
- [data-viewer-theme=night] .contents-view,
519
- [data-viewer-theme=night] .pageList-view,
520
- [data-viewer-theme=night] .landmarks-view {
521
- background-color: #000000;
522
- }
523
- [data-viewer-theme=night] .contents-view ol li a,
524
- [data-viewer-theme=night] .contents-view ul li a,
525
- [data-viewer-theme=night] .pageList-view ol li a,
526
- [data-viewer-theme=night] .pageList-view ul li a,
527
- [data-viewer-theme=night] .landmarks-view ol li a,
528
- [data-viewer-theme=night] .landmarks-view ul li a {
529
- color: #5B5852;
530
- border-bottom: 1px solid #cccccc;
531
- }
532
- @media screen and (min-width: 60rem) {
533
- [data-viewer-theme=night] .contents-view ol li a:hover,
534
- [data-viewer-theme=night] .contents-view ul li a:hover,
535
- [data-viewer-theme=night] .pageList-view ol li a:hover,
536
- [data-viewer-theme=night] .pageList-view ul li a:hover,
537
- [data-viewer-theme=night] .landmarks-view ol li a:hover,
538
- [data-viewer-theme=night] .landmarks-view ul li a:hover {
539
- background: #5B5852;
540
- color: #fff;
541
- }
542
- }
543
- [data-viewer-theme=night] .contents-view ol li a.active,
544
- [data-viewer-theme=night] .contents-view ul li a.active,
545
- [data-viewer-theme=night] .pageList-view ol li a.active,
546
- [data-viewer-theme=night] .pageList-view ul li a.active,
547
- [data-viewer-theme=night] .landmarks-view ol li a.active,
548
- [data-viewer-theme=night] .landmarks-view ul li a.active {
549
- background: #DADADA;
550
- color: #000000;
551
- }
552
- [data-viewer-theme=night] .contents-view ol li a.active:hover,
553
- [data-viewer-theme=night] .contents-view ul li a.active:hover,
554
- [data-viewer-theme=night] .pageList-view ol li a.active:hover,
555
- [data-viewer-theme=night] .pageList-view ul li a.active:hover,
556
- [data-viewer-theme=night] .landmarks-view ol li a.active:hover,
557
- [data-viewer-theme=night] .landmarks-view ul li a.active:hover {
558
- background: #000000;
559
- color: #DADADA;
560
- }
561
- [data-viewer-theme=night] .contents-view ol li span,
562
- [data-viewer-theme=night] .contents-view ul li span,
563
- [data-viewer-theme=night] .pageList-view ol li span,
564
- [data-viewer-theme=night] .pageList-view ul li span,
565
- [data-viewer-theme=night] .landmarks-view ol li span,
566
- [data-viewer-theme=night] .landmarks-view ul li span {
567
- color: #DADADA;
568
- border-bottom: 1px solid #333333;
569
- }
570
- .settings-view > .settings-menu {
571
- outline: none;
572
- }
573
- .settings-view > .settings-menu button {
574
- background-color: #fff;
575
- border: 0.0625rem solid #DADADA;
576
- font-size: 0.75rem;
577
- letter-spacing: 0.07rem;
578
- padding: 0.5rem 1.5rem;
579
- text-transform: uppercase;
580
- margin: 0;
581
- position: relative;
582
- }
583
- .settings-view > .settings-menu button svg.checkedIcon {
584
- color: #fff;
585
- display: none;
586
- fill: #fff;
587
- height: 0.9rem;
588
- width: 0.9rem;
589
- }
590
- .settings-view > .settings-menu button.active {
591
- color: #fff;
592
- background-color: #9e9e9e;
593
- }
594
- .settings-view > .settings-menu button.active svg.checkedIcon {
595
- display: inline-block;
596
- margin: 0;
597
- position: absolute;
598
- top: 50%;
599
- transform: translateY(-55%);
600
- right: 0.35rem;
601
- vertical-align: text-bottom;
602
- }
603
- .settings-view > .settings-menu > li {
604
- border: 0;
605
- background-color: #fff;
606
- color: #5B5852;
607
- display: block;
608
- margin: 0.5rem 0;
609
- padding: 0;
610
- text-align: center;
611
- }
612
- .settings-view > .settings-menu .settings-options {
613
- padding-left: 0;
614
- display: flex;
615
- }
616
- .settings-view > .settings-menu .settings-options li {
617
- border: 0;
618
- display: flex;
619
- margin: 0;
620
- width: auto;
621
- flex: 1 1 auto;
622
- }
623
- .settings-view > .settings-menu .settings-options li button {
624
- width: 100%;
625
- text-overflow: ellipsis;
626
- }
627
- .settings-view > .settings-menu .settings-options button.publisher-font {
628
- border-top-right-radius: 0;
629
- border-bottom-right-radius: 0;
630
- border-left: 0;
631
- border-right: 0;
632
- }
633
- .settings-view > .settings-menu .settings-options button.serif-font {
634
- border-radius: 0;
635
- }
636
- .settings-view > .settings-menu .settings-options button.sans-font {
637
- border-top-left-radius: 0;
638
- border-bottom-left-radius: 0;
639
- border-left: 0;
640
- border-right: 0;
641
- }
642
- .settings-view > .settings-menu .settings-options button.decrease {
643
- border-top-right-radius: 0;
644
- border-bottom-right-radius: 0;
645
- border-left: 0;
646
- }
647
- .settings-view > .settings-menu .settings-options button.increase {
648
- border-top-left-radius: 0;
649
- border-bottom-left-radius: 0;
650
- border-left: 0;
651
- border-right: 0;
652
- }
653
- .settings-view > .settings-menu .settings-options button.day-theme {
654
- background-color: #fff;
655
- border-top-right-radius: 0;
656
- border-bottom-right-radius: 0;
657
- border-left: 0;
658
- border-right: 0;
659
- }
660
- .settings-view > .settings-menu .settings-options button.day-theme.active {
661
- color: #111;
662
- }
663
- .settings-view > .settings-menu .settings-options button.day-theme.active svg.checkedIcon {
664
- fill: #111;
665
- }
666
- .settings-view > .settings-menu .settings-options button.sepia-theme {
667
- background-color: #faf4e8;
668
- border-radius: 0;
669
- }
670
- .settings-view > .settings-menu .settings-options button.sepia-theme.active {
671
- color: #111;
672
- }
673
- .settings-view > .settings-menu .settings-options button.sepia-theme.active svg.checkedIcon {
674
- fill: #111;
675
- }
676
- .settings-view > .settings-menu .settings-options button.night-theme {
677
- background-color: #111;
678
- color: #fff;
679
- border-top-left-radius: 0;
680
- border-bottom-left-radius: 0;
681
- border-left: 0;
682
- border-right: 0;
683
- }
684
- .settings-view > .settings-menu .settings-options button.night-theme.active {
685
- color: #fff;
686
- }
687
- .settings-view > .settings-menu .settings-options button.night-theme.active svg.checkedIcon {
688
- fill: #fff;
689
- }
690
- .settings-view > .settings-menu .settings-options button.columns-paginated-view {
691
- border-top-right-radius: 0;
692
- border-bottom-right-radius: 0;
693
- border-left: 0;
694
- }
695
- .settings-view > .settings-menu .settings-options button.scrolling-book-view {
696
- border-top-left-radius: 0;
697
- border-bottom-left-radius: 0;
698
- border-left: 0;
699
- border-right: 0;
700
- }
701
- .settings-view > .settings-menu .settings-options .icon {
702
- color: #5B5852;
703
- fill: #5B5852;
704
- height: 1.75rem;
705
- width: 1.75rem;
706
- }
707
- @media (min-width: 30rem) {
708
- .settings-view > .settings-menu .settings-options .icon {
709
- height: 1.5rem;
710
- width: 1.5rem;
711
- }
712
- }
713
- [data-viewer-theme=night] .settings-view > .settings-menu {
714
- outline: none;
715
- }
716
- [data-viewer-theme=night] .settings-view > .settings-menu button {
717
- color: #5B5852;
718
- }
719
- [data-viewer-theme=night] .settings-view > .settings-menu button svg.checkedIcon {
720
- color: #000000;
721
- fill: #000000;
722
- }
723
- [data-viewer-theme=night] .settings-view > .settings-menu button.active {
724
- color: #fff;
725
- background-color: #9e9e9e;
726
- }
727
- [data-viewer-theme=night] .settings-view > .settings-menu button.day-theme {
728
- background-color: #fff;
729
- }
730
- [data-viewer-theme=night] .settings-view > .settings-menu button.sepia-theme {
731
- background-color: #faf4e8;
732
- }
733
- [data-viewer-theme=night] .settings-view > .settings-menu button.night-theme {
734
- background-color: #111;
735
- color: #fff;
736
- }
737
- [data-viewer-theme=night] .settings-view > .settings-menu > li {
738
- border: 0;
739
- background-color: #1a1a1a;
740
- color: #111;
741
- }
742
- [data-viewer-theme=sepia] .settings-view > .settings-menu {
743
- outline: none;
744
- }
745
- [data-viewer-theme=sepia] .settings-view > .settings-menu button {
746
- color: #5B5852;
747
- }
748
- [data-viewer-theme=sepia] .settings-view > .settings-menu button svg.checkedIcon {
749
- color: #faf4e8;
750
- fill: #faf4e8;
751
- }
752
- [data-viewer-theme=sepia] .settings-view > .settings-menu button.active {
753
- color: #fff;
754
- background-color: #9e9e9e;
755
- }
756
- [data-viewer-theme=sepia] .settings-view > .settings-menu button.day-theme {
757
- background-color: #fff;
758
- }
759
- [data-viewer-theme=sepia] .settings-view > .settings-menu button.sepia-theme {
760
- background-color: #faf4e8;
761
- }
762
- [data-viewer-theme=sepia] .settings-view > .settings-menu button.night-theme {
763
- background-color: #111;
764
- color: #fff;
765
- }
766
- [data-viewer-theme=sepia] .settings-view > .settings-menu > li {
767
- border: 0;
768
- background-color: white;
769
- color: #111;
770
- }
771
- .bookmarks-view,
772
- .highlights-view {
773
- background-color: #fff;
774
- overflow: scroll;
775
- top: 3.5rem;
776
- -webkit-user-select: none;
777
- -moz-user-select: none;
778
- -ms-user-select: none;
779
- user-select: none;
780
- }
781
- .bookmarks-view ol li,
782
- .bookmarks-view ul li,
783
- .highlights-view ol li,
784
- .highlights-view ul li {
785
- margin-top: 0;
786
- }
787
- .bookmarks-view ol li a,
788
- .bookmarks-view ul li a,
789
- .highlights-view ol li a,
790
- .highlights-view ul li a {
791
- color: #5B5852;
792
- border-bottom: 1px solid #cccccc;
793
- display: block;
794
- padding: 1rem;
795
- text-decoration: none;
796
- width: 100%;
797
- }
798
- @media screen and (min-width: 60rem) {
799
- .bookmarks-view ol li a:hover,
800
- .bookmarks-view ul li a:hover,
801
- .highlights-view ol li a:hover,
802
- .highlights-view ul li a:hover {
803
- background: #5B5852;
804
- color: #111;
805
- }
806
- }
807
- .bookmarks-view ol li a.active,
808
- .bookmarks-view ul li a.active,
809
- .highlights-view ol li a.active,
810
- .highlights-view ul li a.active {
811
- background: #DADADA;
812
- color: #111;
813
- }
814
- .bookmarks-view ol li a.active:hover,
815
- .bookmarks-view ul li a.active:hover,
816
- .highlights-view ol li a.active:hover,
817
- .highlights-view ul li a.active:hover {
818
- background: #111;
819
- color: #DADADA;
820
- }
821
- [data-viewer-theme=sepia] .bookmarks-view,
822
- [data-viewer-theme=sepia] .highlights-view {
823
- background-color: #faf4e8;
824
- }
825
- [data-viewer-theme=sepia] .bookmarks-view ol li a,
826
- [data-viewer-theme=sepia] .bookmarks-view ul li a,
827
- [data-viewer-theme=sepia] .highlights-view ol li a,
828
- [data-viewer-theme=sepia] .highlights-view ul li a {
829
- color: #5B5852;
830
- border-bottom: 1px solid #e8cc94;
831
- }
832
- @media screen and (min-width: 60rem) {
833
- [data-viewer-theme=sepia] .bookmarks-view ol li a:hover,
834
- [data-viewer-theme=sepia] .bookmarks-view ul li a:hover,
835
- [data-viewer-theme=sepia] .highlights-view ol li a:hover,
836
- [data-viewer-theme=sepia] .highlights-view ul li a:hover {
837
- background: #5B5852;
838
- color: #faf4e8;
839
- }
840
- }
841
- [data-viewer-theme=sepia] .bookmarks-view ol li a.active,
842
- [data-viewer-theme=sepia] .bookmarks-view ul li a.active,
843
- [data-viewer-theme=sepia] .highlights-view ol li a.active,
844
- [data-viewer-theme=sepia] .highlights-view ul li a.active {
845
- background: #DADADA;
846
- color: #111;
847
- }
848
- [data-viewer-theme=sepia] .bookmarks-view ol li a.active:hover,
849
- [data-viewer-theme=sepia] .bookmarks-view ul li a.active:hover,
850
- [data-viewer-theme=sepia] .highlights-view ol li a.active:hover,
851
- [data-viewer-theme=sepia] .highlights-view ul li a.active:hover {
852
- background: #111;
853
- color: #DADADA;
854
- }
855
- [data-viewer-theme=sepia] .bookmarks-view ol li span,
856
- [data-viewer-theme=sepia] .bookmarks-view ul li span,
857
- [data-viewer-theme=sepia] .highlights-view ol li span,
858
- [data-viewer-theme=sepia] .highlights-view ul li span {
859
- color: #5B5852;
860
- border-bottom: 1px solid #e8cc94;
861
- }
862
- [data-viewer-theme=night] .bookmarks-view,
863
- [data-viewer-theme=night] .highlights-view {
864
- background-color: #000000;
865
- }
866
- [data-viewer-theme=night] .bookmarks-view ol li a,
867
- [data-viewer-theme=night] .bookmarks-view ul li a,
868
- [data-viewer-theme=night] .highlights-view ol li a,
869
- [data-viewer-theme=night] .highlights-view ul li a {
870
- color: #5B5852;
871
- border-bottom: 1px solid #cccccc;
872
- }
873
- @media screen and (min-width: 60rem) {
874
- [data-viewer-theme=night] .bookmarks-view ol li a:hover,
875
- [data-viewer-theme=night] .bookmarks-view ul li a:hover,
876
- [data-viewer-theme=night] .highlights-view ol li a:hover,
877
- [data-viewer-theme=night] .highlights-view ul li a:hover {
878
- background: #5B5852;
879
- color: #fff;
880
- }
881
- }
882
- [data-viewer-theme=night] .bookmarks-view ol li a.active,
883
- [data-viewer-theme=night] .bookmarks-view ul li a.active,
884
- [data-viewer-theme=night] .highlights-view ol li a.active,
885
- [data-viewer-theme=night] .highlights-view ul li a.active {
886
- background: #DADADA;
887
- color: #000000;
888
- }
889
- [data-viewer-theme=night] .bookmarks-view ol li a.active:hover,
890
- [data-viewer-theme=night] .bookmarks-view ul li a.active:hover,
891
- [data-viewer-theme=night] .highlights-view ol li a.active:hover,
892
- [data-viewer-theme=night] .highlights-view ul li a.active:hover {
893
- background: #000000;
894
- color: #DADADA;
895
- }
896
- [data-viewer-theme=night] .bookmarks-view ol li span,
897
- [data-viewer-theme=night] .bookmarks-view ul li span,
898
- [data-viewer-theme=night] .highlights-view ol li span,
899
- [data-viewer-theme=night] .highlights-view ul li span {
900
- color: #DADADA;
901
- border-bottom: 1px solid #333333;
902
- }
903
- :root {
904
- --RS__highlightColor: rgba(255, 255, 0, 0.5);
905
- }
906
- .sidenav-annotations .chapter-link {
907
- display: block;
908
- white-space: nowrap;
909
- overflow: hidden;
910
- text-overflow: ellipsis;
911
- }
912
- .sidenav-annotations .chapter-title {
913
- padding: 0 16px;
914
- font-size: 14px;
915
- color: lightgray;
916
- }
917
- .sidenav-annotations ol {
918
- padding-left: 24px;
919
- }
920
- .sidenav-annotations li {
921
- position: relative;
922
- }
923
- .sidenav-annotations li .delete {
924
- position: absolute;
925
- right: 10px;
926
- top: 50%;
927
- transform: translate(0, -50%);
928
- }
929
- .sidenav-annotations li .bookmark-link,
930
- .sidenav-annotations li .highlight-link {
931
- display: block;
932
- position: relative;
933
- padding-top: 8px !important;
934
- padding-bottom: 8px !important;
935
- line-height: 1.25;
936
- }
937
- .sidenav-annotations li .bookmark-link svg,
938
- .sidenav-annotations li .bookmark-link i,
939
- .sidenav-annotations li .highlight-link svg,
940
- .sidenav-annotations li .highlight-link i {
941
- left: 4px;
942
- top: 8px;
943
- position: absolute;
944
- }
945
- .sidenav-annotations li .bookmark-link .title,
946
- .sidenav-annotations li .highlight-link .title {
947
- display: block;
948
- }
949
- .sidenav-annotations li .bookmark-link .subtitle,
950
- .sidenav-annotations li .highlight-link .subtitle {
951
- display: block;
952
- line-height: 20px;
953
- font-size: 10px;
954
- }
955
- .sidenav-annotations li .bookmark-link .timestamp,
956
- .sidenav-annotations li .highlight-link .timestamp {
957
- display: block;
958
- line-height: 20px;
959
- font-size: 8px;
960
- }
961
- .highlight-toolbox {
962
- transform: translate(-50%, -100%);
963
- animation: toolsAnimateIn 100ms ease-out both;
964
- transform-origin: bottom;
965
- z-index: 999;
966
- position: relative;
967
- background: gainsboro;
968
- display: none;
969
- width: fit-content;
970
- }
971
- .highlight-toolbox:before {
972
- content: "";
973
- position: absolute;
974
- width: 0.4rem;
975
- height: 0.4rem;
976
- bottom: -0.2rem;
977
- left: calc(50% - 0.2rem);
978
- background-color: inherit;
979
- transform: rotate(45deg);
980
- }
981
- .highlight-toolbox > div > button {
982
- display: inline-block;
983
- }
984
- .color-option span {
985
- display: inline-block;
986
- border-radius: 50%;
987
- width: 24px;
988
- height: 24px;
989
- background: grey;
990
- }
991
- @keyframes toolsAnimateIn {
992
- from {
993
- opacity: 0;
994
- transform: translate(-50%, -50%) scale(0.5);
995
- }
996
- }
997
- .thumb {
998
- border-radius: 50% 50% 50% 0 !important;
999
- height: 30px !important;
1000
- width: 30px !important;
1001
- margin-left: -15px !important;
1002
- top: -20px !important;
1003
- left: 50%;
1004
- }
1005
- input[type=range] + .thumb .value {
1006
- margin-top: -20px;
1007
- font-size: 10px;
1008
- right: 22px;
1009
- position: absolute;
1010
- }
1011
- input[type=checkbox] label {
1012
- display: flex;
1013
- flex-direction: row;
1014
- align-items: center;
1015
- }
1016
- input[type=checkbox] {
1017
- position: relative !important;
1018
- appearance: none;
1019
- box-sizing: content-box;
1020
- overflow: hidden;
1021
- }
1022
- input[type=checkbox]:before {
1023
- content: "";
1024
- display: block;
1025
- box-sizing: content-box;
1026
- width: 16px;
1027
- height: 16px;
1028
- border: 2px solid #ccc;
1029
- transition: 0.2s border-color ease;
1030
- }
1031
- input[type=checkbox]:checked:before {
1032
- border-color: #101010;
1033
- transition: 0.5s border-color ease;
1034
- }
1035
- input[type=checkbox]:disabled:before {
1036
- border-color: #ccc;
1037
- background-color: #ccc;
1038
- }
1039
- input[type=checkbox]:after {
1040
- content: "";
1041
- display: block;
1042
- position: absolute;
1043
- box-sizing: content-box;
1044
- top: 50%;
1045
- left: 50%;
1046
- transform-origin: 50% 50%;
1047
- background-color: #101010;
1048
- width: 16px;
1049
- height: 16px;
1050
- border-radius: 100vh;
1051
- transform: translate(-50%, -50%) scale(0);
1052
- }
1053
- input[type=checkbox][type=radio]:before {
1054
- border-radius: 100vh;
1055
- }
1056
- input[type=checkbox][type=radio]:after {
1057
- width: 16px;
1058
- height: 16px;
1059
- border-radius: 100vh;
1060
- transform: translate(-50%, -50%) scale(0);
1061
- }
1062
- input[type=checkbox][type=radio]:checked:after {
1063
- animation: toggleOnRadio 0.2s ease forwards;
1064
- }
1065
- input[type=checkbox][type=checkbox]:before {
1066
- border-radius: 4px;
1067
- }
1068
- input[type=checkbox][type=checkbox]:after {
1069
- width: 9.6px;
1070
- height: 16px;
1071
- border-radius: 0;
1072
- transform: translate(-50%, -85%) scale(0) rotate(45deg);
1073
- background-color: transparent;
1074
- box-shadow: 4px 4px 0px 0px #101010;
1075
- }
1076
- input[type=checkbox][type=checkbox]:checked:after {
1077
- animation: toggleOnCheckbox 0.2s ease forwards;
1078
- }
1079
- input[type=checkbox][type=checkbox].filled:before {
1080
- border-radius: 4px;
1081
- transition: 0.2s border-color ease, 0.2s background-color ease;
1082
- }
1083
- input[type=checkbox][type=checkbox].filled:checked:not(:disabled):before {
1084
- background-color: #101010;
1085
- }
1086
- input[type=checkbox][type=checkbox].filled:not(:disabled):after {
1087
- box-shadow: 4px 4px 0px 0px white;
1088
- }
1089
- @keyframes toggleOnCheckbox {
1090
- 0% {
1091
- opacity: 0;
1092
- transform: translate(-50%, -85%) scale(0) rotate(45deg);
1093
- }
1094
- 70% {
1095
- opacity: 1;
1096
- transform: translate(-50%, -85%) scale(0.9) rotate(45deg);
1097
- }
1098
- 100% {
1099
- transform: translate(-50%, -85%) scale(0.8) rotate(45deg);
1100
- }
1101
- }
1102
- @keyframes toggleOnRadio {
1103
- 0% {
1104
- opacity: 0;
1105
- transform: translate(-50%, -50%) scale(0);
1106
- }
1107
- 70% {
1108
- opacity: 1;
1109
- transform: translate(-50%, -50%) scale(0.9);
1110
- }
1111
- 100% {
1112
- transform: translate(-50%, -50%) scale(0.8);
1113
- }
1114
- }
1115
- .range-slider {
1116
- width: 100%;
1117
- }
1118
- .range-slider__range {
1119
- -webkit-appearance: none;
1120
- width: calc(100% - (73px));
1121
- height: 10px;
1122
- border-radius: 5px;
1123
- background: #d7dcdf;
1124
- outline: none;
1125
- padding: 0;
1126
- margin: 0;
1127
- }
1128
- .range-slider__range::-webkit-slider-thumb {
1129
- appearance: none;
1130
- width: 20px;
1131
- height: 20px;
1132
- border-radius: 50%;
1133
- background: #2c3e50;
1134
- cursor: pointer;
1135
- transition: .15s ease-in-out;
1136
- }
1137
- .range-slider__range::-webkit-slider-thumb:hover {
1138
- background: #1abc9c;
1139
- }
1140
- .range-slider__range:active::-webkit-slider-thumb {
1141
- background: #1abc9c;
1142
- }
1143
- .range-slider__range::-moz-range-thumb {
1144
- width: 20px;
1145
- height: 20px;
1146
- border: 0;
1147
- border-radius: 50%;
1148
- background: #2c3e50;
1149
- cursor: pointer;
1150
- transition: .15s ease-in-out;
1151
- }
1152
- .range-slider__range::-moz-range-thumb:hover {
1153
- background: #1abc9c;
1154
- }
1155
- .range-slider__range:active::-moz-range-thumb {
1156
- background: #1abc9c;
1157
- }
1158
- .range-slider__range:focus::-webkit-slider-thumb {
1159
- box-shadow: 0 0 0 3px #fff, 0 0 0 6px #1abc9c;
1160
- }
1161
- .range-slider__range_settings {
1162
- -webkit-appearance: none;
1163
- width: 100%;
1164
- height: 10px;
1165
- border-radius: 5px;
1166
- background: #d7dcdf;
1167
- outline: none;
1168
- padding: 0;
1169
- margin: 0;
1170
- }
1171
- .range-slider__range_settings::-webkit-slider-thumb {
1172
- appearance: none;
1173
- width: 20px;
1174
- height: 20px;
1175
- border-radius: 50%;
1176
- background: #2c3e50;
1177
- cursor: pointer;
1178
- transition: .15s ease-in-out;
1179
- }
1180
- .range-slider__range_settings::-webkit-slider-thumb:hover {
1181
- background: #1abc9c;
1182
- }
1183
- .range-slider__range_settings:active::-webkit-slider-thumb {
1184
- background: #1abc9c;
1185
- }
1186
- .range-slider__range_settings::-moz-range-thumb {
1187
- width: 20px;
1188
- height: 20px;
1189
- border: 0;
1190
- border-radius: 50%;
1191
- background: #2c3e50;
1192
- cursor: pointer;
1193
- transition: .15s ease-in-out;
1194
- }
1195
- .range-slider__range_settings::-moz-range-thumb:hover {
1196
- background: #1abc9c;
1197
- }
1198
- .range-slider__range_settings:active::-moz-range-thumb {
1199
- background: #1abc9c;
1200
- }
1201
- .range-slider__range_settings:focus::-webkit-slider-thumb {
1202
- box-shadow: 0 0 0 3px #fff, 0 0 0 6px #1abc9c;
1203
- }
1204
- .range-slider__value {
1205
- display: inline-block;
1206
- position: relative;
1207
- width: 60px;
1208
- color: #fff;
1209
- line-height: 20px;
1210
- text-align: center;
1211
- border-radius: 3px;
1212
- background: #2c3e50;
1213
- padding: 5px 10px;
1214
- margin-left: 8px;
1215
- }
1216
- .range-slider__value:after {
1217
- position: absolute;
1218
- top: 8px;
1219
- left: -7px;
1220
- width: 0;
1221
- height: 0;
1222
- border-top: 7px solid transparent;
1223
- border-right: 7px solid #2c3e50;
1224
- border-bottom: 7px solid transparent;
1225
- content: "";
1226
- }
1227
- ::-moz-range-track {
1228
- background: #d7dcdf;
1229
- border: 0;
1230
- }
1231
- input::-moz-focus-inner,
1232
- input::-moz-focus-outer {
1233
- border: 0;
1234
- }
1235
- @media only screen and (max-width: 600px) {
1236
- .timeline,
1237
- .scrubber > input {
1238
- display: none;
1239
- }
1240
- }
1241
- .scrubber {
1242
- flex-grow: 1;
1243
- padding-right: 20px;
1244
- padding-left: 20px;
1245
- }
1246
- .timeline {
1247
- position: fixed;
1248
- top: 1.5rem;
1249
- left: 2.5rem;
1250
- bottom: 1.5rem;
1251
- width: 1.25rem;
1252
- display: flex;
1253
- flex-direction: column;
1254
- }
1255
- .timeline .chapter {
1256
- border-left: 6px solid transparent;
1257
- transition: border-color 300ms ease-out;
1258
- background: #DADADA;
1259
- border: 1px solid #fff;
1260
- border-radius: 5px;
1261
- position: relative;
1262
- }
1263
- .timeline .chapter:hover {
1264
- background-color: #DADADA;
1265
- }
1266
- .timeline .chapter:hover .chapter-tooltip {
1267
- display: block;
1268
- }
1269
- .timeline .chapter.active {
1270
- background-color: #9e9e9e;
1271
- }
1272
- .timeline .chapter-tooltip {
1273
- display: none;
1274
- position: absolute;
1275
- left: 2rem;
1276
- top: 50%;
1277
- transform: translate(0, -50%);
1278
- background: #DADADA;
1279
- padding: 0.25rem 0.5rem;
1280
- white-space: nowrap;
1281
- overflow: hidden;
1282
- text-overflow: ellipsis;
1283
- max-width: 22rem;
1284
- }
1285
161
  /*# sourceMappingURL=index.css.map */