@d-i-t-a/reader 2.1.0-alpha.1 → 2.1.0-beta.1

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.
Files changed (104) hide show
  1. package/README.md +52 -3
  2. package/dist/esm/index.js +48628 -0
  3. package/dist/esm/index.js.map +7 -0
  4. package/dist/injectables/click/click.js +1774 -2
  5. package/dist/injectables/click/click.js.map +7 -1
  6. package/dist/injectables/mui/script.js +205 -0
  7. package/dist/injectables/mui/style.css +271 -0
  8. package/dist/injectables/style/linefocus.css +55 -0
  9. package/dist/injectables/style/popover.css +125 -0
  10. package/dist/injectables/style/popup.css +121 -0
  11. package/dist/injectables/style/style.css +255 -0
  12. package/dist/injectables/style/toast.css +76 -0
  13. package/dist/reader.css +178 -87
  14. package/dist/reader.js +128 -3
  15. package/dist/reader.js.map +7 -1
  16. package/dist/reader.map.css +21 -0
  17. package/dist/types/index.d.ts +7 -0
  18. package/dist/{model → types/model}/Link.d.ts +2 -1
  19. package/dist/{model → types/model}/Locator.d.ts +3 -18
  20. package/dist/types/model/Publication.d.ts +51 -0
  21. package/dist/{model → types/model}/user-settings/ReadiumCSS.d.ts +0 -0
  22. package/dist/{model → types/model}/user-settings/UserProperties.d.ts +10 -4
  23. package/dist/{model → types/model}/user-settings/UserSettings.d.ts +23 -23
  24. package/dist/{modules → types/modules}/AnnotationModule.d.ts +31 -19
  25. package/dist/types/modules/BookmarkModule.d.ts +57 -0
  26. package/dist/types/modules/ReaderModule.d.ts +2 -0
  27. package/dist/types/modules/TTS/TTSModule2.d.ts +74 -0
  28. package/dist/{modules → types/modules}/TTS/TTSSettings.d.ts +44 -20
  29. package/dist/types/modules/citation/CitationModule.d.ts +40 -0
  30. package/dist/{modules → types/modules}/highlight/HtmlElementSelector.d.ts +0 -0
  31. package/dist/types/modules/highlight/LayerSettings.d.ts +19 -0
  32. package/dist/{modules → types/modules}/highlight/TextHighlighter.d.ts +65 -61
  33. package/dist/{modules → types/modules}/highlight/common/document.d.ts +0 -0
  34. package/dist/{modules → types/modules}/highlight/common/events.d.ts +0 -0
  35. package/dist/types/modules/highlight/common/highlight.d.ts +71 -0
  36. package/dist/{modules → types/modules}/highlight/common/rect-utils.d.ts +2 -2
  37. package/dist/{modules → types/modules}/highlight/common/selection.d.ts +8 -3
  38. package/dist/{modules → types/modules}/highlight/renderer/common/cssselector.d.ts +0 -0
  39. package/dist/{modules → types/modules}/highlight/renderer/common/cssselector2.d.ts +0 -0
  40. package/dist/{modules → types/modules}/highlight/renderer/iframe/selection.d.ts +2 -2
  41. package/dist/{modules → types/modules}/highlight/renderer/iframe/state.d.ts +0 -3
  42. package/dist/types/modules/history/HistoryModule.d.ts +34 -0
  43. package/dist/types/modules/linefocus/LineFocusModule.d.ts +51 -0
  44. package/dist/{modules → types/modules}/mediaoverlays/MediaOverlayModule.d.ts +19 -14
  45. package/dist/{modules → types/modules}/mediaoverlays/MediaOverlaySettings.d.ts +21 -16
  46. package/dist/types/modules/pagebreak/PageBreakModule.d.ts +30 -0
  47. package/dist/{modules → types/modules}/positions/TimelineModule.d.ts +3 -3
  48. package/dist/{modules → types/modules}/protection/ContentProtectionModule.d.ts +14 -10
  49. package/dist/types/modules/sampleread/SampleReadEventHandler.d.ts +8 -0
  50. package/dist/types/modules/search/DefinitionsModule.d.ts +52 -0
  51. package/dist/types/modules/search/Popup.d.ts +10 -0
  52. package/dist/{modules → types/modules}/search/SearchModule.d.ts +22 -18
  53. package/dist/{modules → types/modules}/search/searchWithDomSeek.d.ts +1 -1
  54. package/dist/{navigator → types/navigator}/IFrameNavigator.d.ts +99 -74
  55. package/dist/{navigator → types/navigator}/Navigator.d.ts +0 -0
  56. package/dist/types/reader.d.ts +202 -0
  57. package/dist/types/store/Annotator.d.ts +25 -0
  58. package/dist/types/store/LocalAnnotator.d.ts +31 -0
  59. package/dist/{store → types/store}/LocalStorageStore.d.ts +3 -3
  60. package/dist/{store → types/store}/MemoryStore.d.ts +3 -3
  61. package/dist/types/store/Store.d.ts +6 -0
  62. package/dist/{utils → types/utils}/BrowserUtilities.d.ts +0 -0
  63. package/dist/types/utils/EventHandler.d.ts +23 -0
  64. package/dist/{utils → types/utils}/HTMLTemplates.d.ts +0 -0
  65. package/dist/{utils → types/utils}/HTMLUtilities.d.ts +3 -3
  66. package/dist/{utils → types/utils}/IconLib.d.ts +1 -0
  67. package/dist/{utils → types/utils}/JsonUtil.d.ts +0 -0
  68. package/dist/types/utils/KeyboardEventHandler.d.ts +10 -0
  69. package/dist/{utils → types/utils}/TouchEventHandler.d.ts +4 -1
  70. package/dist/types/utils/index.d.ts +6 -0
  71. package/dist/{views → types/views}/BookView.d.ts +10 -7
  72. package/dist/{views → types/views}/FixedBookView.d.ts +8 -4
  73. package/dist/{views → types/views}/ReflowableBookView.d.ts +7 -5
  74. package/package.json +54 -25
  75. package/NOTICE +0 -20
  76. package/dist/index.d.ts +0 -61
  77. package/dist/injectables/click/click.d.ts +0 -1
  78. package/dist/injectables/footnotes/footnotes.d.ts +0 -1
  79. package/dist/injectables/footnotes/footnotes.js +0 -2
  80. package/dist/injectables/footnotes/footnotes.js.map +0 -1
  81. package/dist/injectables/glossary/glossary.d.ts +0 -5
  82. package/dist/injectables/glossary/glossary.js +0 -3
  83. package/dist/injectables/glossary/glossary.js.LICENSE.txt +0 -6
  84. package/dist/injectables/glossary/glossary.js.map +0 -1
  85. package/dist/material.css +0 -4637
  86. package/dist/material.css.map +0 -30
  87. package/dist/model/MediaOverlayNode.d.ts +0 -3
  88. package/dist/model/Publication.d.ts +0 -26
  89. package/dist/modules/BookmarkModule.d.ts +0 -46
  90. package/dist/modules/ReaderModule.d.ts +0 -3
  91. package/dist/modules/TTS/TTSModule.d.ts +0 -58
  92. package/dist/modules/highlight/common/highlight.d.ts +0 -19
  93. package/dist/modules/highlight/common/styles.d.ts +0 -35
  94. package/dist/modules/syncnarration/SyncSettings.d.ts +0 -67
  95. package/dist/modules/syncnarration/SynchronizedNarrationModule.d.ts +0 -81
  96. package/dist/modules/syncnarration/renderer/media-overlays.d.ts +0 -0
  97. package/dist/reader.css.map +0 -21
  98. package/dist/reader.js.LICENSE.txt +0 -66
  99. package/dist/store/Annotator.d.ts +0 -25
  100. package/dist/store/LocalAnnotator.d.ts +0 -31
  101. package/dist/store/Store.d.ts +0 -6
  102. package/dist/utils/EventHandler.d.ts +0 -9
  103. package/dist/utils/KeyboardEventHandler.d.ts +0 -7
  104. package/dist/utils/decodeURI.d.ts +0 -1
package/dist/reader.css CHANGED
@@ -82,12 +82,14 @@ ol li {
82
82
  list-style: none; }
83
83
 
84
84
  button {
85
- background: #fff;
85
+ background: none;
86
86
  border: 0;
87
87
  color: #5B5852;
88
88
  padding: 0.35rem 0.35rem 0.2rem;
89
89
  margin: 0;
90
90
  -webkit-appearance: none; }
91
+ button:focus {
92
+ background: none; }
91
93
 
92
94
  a {
93
95
  color: #5B5852;
@@ -144,7 +146,7 @@ a {
144
146
 
145
147
  #iframe-wrapper iframe {
146
148
  border: none;
147
- overflow: hidden;
149
+ overflow: auto;
148
150
  opacity: 0; }
149
151
 
150
152
  [data-viewer-theme="day"] {
@@ -152,22 +154,12 @@ a {
152
154
 
153
155
  [data-viewer-theme="sepia"] {
154
156
  background-color: #faf4e8; }
155
- [data-viewer-theme="sepia"] button {
156
- background: #faf4e8;
157
- color: #5B5852; }
158
- [data-viewer-theme="sepia"] a {
159
- color: #5B5852; }
160
157
  [data-viewer-theme="sepia"] .info {
161
158
  color: #5B5852; }
162
159
 
163
160
  [data-viewer-theme="night"] {
164
161
  background-color: #000000;
165
162
  color: #fff; }
166
- [data-viewer-theme="night"] button {
167
- background: #000000;
168
- color: #DADADA; }
169
- [data-viewer-theme="night"] a {
170
- color: #DADADA; }
171
163
  [data-viewer-theme="night"] .info {
172
164
  color: #DADADA; }
173
165
 
@@ -205,9 +197,9 @@ a {
205
197
  animation: load 1s ease-in-out infinite; }
206
198
 
207
199
  .loading {
208
- position: fixed;
200
+ position: sticky;
209
201
  width: 100%;
210
- height: 100vh;
202
+ height: 100%;
211
203
  top: 0;
212
204
  z-index: 10;
213
205
  background-color: rgba(255, 255, 255, 0.9);
@@ -218,12 +210,11 @@ a {
218
210
  user-select: none;
219
211
  cursor: default; }
220
212
  .loading .icon {
221
- display: block;
222
- position: absolute;
213
+ position: sticky;
223
214
  top: 50%;
224
215
  left: 50%;
225
- width: 3rem;
226
- height: 3rem;
216
+ width: 4rem;
217
+ height: 4rem;
227
218
  transform: translate(-50%, -50%);
228
219
  fill: #9e9e9e; }
229
220
 
@@ -255,13 +246,13 @@ a {
255
246
  * Licensed to: Bokbasen AS and CAST under one or more contributor license agreements.
256
247
  */
257
248
  .error {
249
+ position: relative;
258
250
  z-index: 20;
259
251
  background-color: rgba(255, 255, 255, 0.875);
260
252
  color: #d0343a;
261
253
  height: 100%;
262
254
  top: 0;
263
255
  padding-top: 40vh;
264
- position: fixed;
265
256
  text-align: center;
266
257
  width: 100%;
267
258
  -webkit-user-select: none;
@@ -321,16 +312,20 @@ a {
321
312
  * Developed on behalf of: Bokbasen AS (https://www.bokbasen.no)
322
313
  * Licensed to: Bokbasen AS and CAST under one or more contributor license agreements.
323
314
  */
324
- .sidenav-toc .chapter-link {
325
- display: block;
326
- white-space: nowrap;
327
- overflow: hidden;
328
- text-overflow: ellipsis; }
315
+ .sidenav-toc {
316
+ padding-inline-start: 0px; }
317
+ .sidenav-toc .chapter-link {
318
+ display: block;
319
+ white-space: nowrap;
320
+ overflow: hidden;
321
+ text-overflow: ellipsis; }
322
+ .sidenav-toc .chapter-title {
323
+ padding: 0 16px;
324
+ font-size: 14px;
325
+ color: lightgray; }
329
326
 
330
- .sidenav-toc .chapter-title {
331
- padding: 0 16px;
332
- font-size: 14px;
333
- color: lightgray; }
327
+ .collapsible-header {
328
+ border-bottom: 1px solid rgba(0, 0, 0, 0.12); }
334
329
 
335
330
  .contents-view, .pageList-view, .landmarks-view {
336
331
  background-color: #fff;
@@ -360,7 +355,7 @@ a {
360
355
  .contents-view ul li a:hover, .pageList-view ol li a:hover,
361
356
  .pageList-view ul li a:hover, .landmarks-view ol li a:hover,
362
357
  .landmarks-view ul li a:hover {
363
- background: #5B5852;
358
+ background: #E0E0E0;
364
359
  color: #111; } }
365
360
  .contents-view ol li a.active,
366
361
  .contents-view ul li a.active, .pageList-view ol li a.active,
@@ -372,7 +367,7 @@ a {
372
367
  .contents-view ul li a.active:hover, .pageList-view ol li a.active:hover,
373
368
  .pageList-view ul li a.active:hover, .landmarks-view ol li a.active:hover,
374
369
  .landmarks-view ul li a.active:hover {
375
- background: #111;
370
+ background: #5B5852;
376
371
  color: #DADADA; }
377
372
  .contents-view ol li span,
378
373
  .contents-view ul li span, .pageList-view ol li span,
@@ -398,7 +393,7 @@ a {
398
393
  [data-viewer-theme="sepia"] .contents-view ul li a:hover, [data-viewer-theme="sepia"] .pageList-view ol li a:hover,
399
394
  [data-viewer-theme="sepia"] .pageList-view ul li a:hover, [data-viewer-theme="sepia"] .landmarks-view ol li a:hover,
400
395
  [data-viewer-theme="sepia"] .landmarks-view ul li a:hover {
401
- background: #5B5852;
396
+ background: #E0E0E0;
402
397
  color: #faf4e8; } }
403
398
  [data-viewer-theme="sepia"] .contents-view ol li a.active,
404
399
  [data-viewer-theme="sepia"] .contents-view ul li a.active, [data-viewer-theme="sepia"] .pageList-view ol li a.active,
@@ -410,7 +405,7 @@ a {
410
405
  [data-viewer-theme="sepia"] .contents-view ul li a.active:hover, [data-viewer-theme="sepia"] .pageList-view ol li a.active:hover,
411
406
  [data-viewer-theme="sepia"] .pageList-view ul li a.active:hover, [data-viewer-theme="sepia"] .landmarks-view ol li a.active:hover,
412
407
  [data-viewer-theme="sepia"] .landmarks-view ul li a.active:hover {
413
- background: #111;
408
+ background: #5B5852;
414
409
  color: #DADADA; }
415
410
  [data-viewer-theme="sepia"] .contents-view ol li span,
416
411
  [data-viewer-theme="sepia"] .contents-view ul li span, [data-viewer-theme="sepia"] .pageList-view ol li span,
@@ -432,7 +427,7 @@ a {
432
427
  [data-viewer-theme="night"] .contents-view ul li a:hover, [data-viewer-theme="night"] .pageList-view ol li a:hover,
433
428
  [data-viewer-theme="night"] .pageList-view ul li a:hover, [data-viewer-theme="night"] .landmarks-view ol li a:hover,
434
429
  [data-viewer-theme="night"] .landmarks-view ul li a:hover {
435
- background: #5B5852;
430
+ background: #E0E0E0;
436
431
  color: #fff; } }
437
432
  [data-viewer-theme="night"] .contents-view ol li a.active,
438
433
  [data-viewer-theme="night"] .contents-view ul li a.active, [data-viewer-theme="night"] .pageList-view ol li a.active,
@@ -444,7 +439,7 @@ a {
444
439
  [data-viewer-theme="night"] .contents-view ul li a.active:hover, [data-viewer-theme="night"] .pageList-view ol li a.active:hover,
445
440
  [data-viewer-theme="night"] .pageList-view ul li a.active:hover, [data-viewer-theme="night"] .landmarks-view ol li a.active:hover,
446
441
  [data-viewer-theme="night"] .landmarks-view ul li a.active:hover {
447
- background: #000000;
442
+ background: #5B5852;
448
443
  color: #DADADA; }
449
444
  [data-viewer-theme="night"] .contents-view ol li span,
450
445
  [data-viewer-theme="night"] .contents-view ul li span, [data-viewer-theme="night"] .pageList-view ol li span,
@@ -674,7 +669,7 @@ a {
674
669
  .bookmarks-view ol li a:hover,
675
670
  .bookmarks-view ul li a:hover, .highlights-view ol li a:hover,
676
671
  .highlights-view ul li a:hover {
677
- background: #5B5852;
672
+ background: #E0E0E0;
678
673
  color: #111; } }
679
674
  .bookmarks-view ol li a.active,
680
675
  .bookmarks-view ul li a.active, .highlights-view ol li a.active,
@@ -684,7 +679,7 @@ a {
684
679
  .bookmarks-view ol li a.active:hover,
685
680
  .bookmarks-view ul li a.active:hover, .highlights-view ol li a.active:hover,
686
681
  .highlights-view ul li a.active:hover {
687
- background: #111;
682
+ background: #5B5852;
688
683
  color: #DADADA; }
689
684
 
690
685
  [data-viewer-theme="sepia"] .bookmarks-view, [data-viewer-theme="sepia"] .highlights-view {
@@ -698,7 +693,7 @@ a {
698
693
  [data-viewer-theme="sepia"] .bookmarks-view ol li a:hover,
699
694
  [data-viewer-theme="sepia"] .bookmarks-view ul li a:hover, [data-viewer-theme="sepia"] .highlights-view ol li a:hover,
700
695
  [data-viewer-theme="sepia"] .highlights-view ul li a:hover {
701
- background: #5B5852;
696
+ background: #E0E0E0;
702
697
  color: #faf4e8; } }
703
698
  [data-viewer-theme="sepia"] .bookmarks-view ol li a.active,
704
699
  [data-viewer-theme="sepia"] .bookmarks-view ul li a.active, [data-viewer-theme="sepia"] .highlights-view ol li a.active,
@@ -713,8 +708,7 @@ a {
713
708
  [data-viewer-theme="sepia"] .bookmarks-view ol li span,
714
709
  [data-viewer-theme="sepia"] .bookmarks-view ul li span, [data-viewer-theme="sepia"] .highlights-view ol li span,
715
710
  [data-viewer-theme="sepia"] .highlights-view ul li span {
716
- color: #5B5852;
717
- border-bottom: 1px solid #e8cc94; }
711
+ color: #5B5852; }
718
712
 
719
713
  [data-viewer-theme="night"] .bookmarks-view, [data-viewer-theme="night"] .highlights-view {
720
714
  background-color: #000000; }
@@ -727,7 +721,7 @@ a {
727
721
  [data-viewer-theme="night"] .bookmarks-view ol li a:hover,
728
722
  [data-viewer-theme="night"] .bookmarks-view ul li a:hover, [data-viewer-theme="night"] .highlights-view ol li a:hover,
729
723
  [data-viewer-theme="night"] .highlights-view ul li a:hover {
730
- background: #5B5852;
724
+ background: #E0E0E0;
731
725
  color: #fff; } }
732
726
  [data-viewer-theme="night"] .bookmarks-view ol li a.active,
733
727
  [data-viewer-theme="night"] .bookmarks-view ul li a.active, [data-viewer-theme="night"] .highlights-view ol li a.active,
@@ -737,7 +731,7 @@ a {
737
731
  [data-viewer-theme="night"] .bookmarks-view ol li a.active:hover,
738
732
  [data-viewer-theme="night"] .bookmarks-view ul li a.active:hover, [data-viewer-theme="night"] .highlights-view ol li a.active:hover,
739
733
  [data-viewer-theme="night"] .highlights-view ul li a.active:hover {
740
- background: #000000;
734
+ background: #5B5852;
741
735
  color: #DADADA; }
742
736
  [data-viewer-theme="night"] .bookmarks-view ol li span,
743
737
  [data-viewer-theme="night"] .bookmarks-view ul li span, [data-viewer-theme="night"] .highlights-view ol li span,
@@ -766,47 +760,46 @@ a {
766
760
  :root {
767
761
  --RS__highlightColor: rgba(255, 255, 0, 0.5); }
768
762
 
769
- .sidenav-annotations .chapter-link {
770
- display: block;
771
- white-space: nowrap;
772
- overflow: hidden;
773
- text-overflow: ellipsis; }
774
-
775
- .sidenav-annotations .chapter-title {
776
- padding: 0 16px;
777
- font-size: 14px;
778
- color: lightgray; }
779
-
780
- .sidenav-annotations ol {
781
- padding-left: 24px; }
782
-
783
- .sidenav-annotations li {
784
- position: relative; }
785
- .sidenav-annotations li .delete {
786
- position: absolute;
787
- right: 10px;
788
- top: 50%;
789
- transform: translate(0, -50%); }
790
- .sidenav-annotations li .bookmark-link, .sidenav-annotations li .highlight-link {
763
+ .sidenav-annotations {
764
+ padding-inline-start: 0px; }
765
+ .sidenav-annotations .chapter-link {
791
766
  display: block;
792
- position: relative;
793
- padding-top: 8px !important;
794
- padding-bottom: 8px !important;
795
- line-height: 1.25; }
796
- .sidenav-annotations li .bookmark-link svg, .sidenav-annotations li .bookmark-link i, .sidenav-annotations li .highlight-link svg, .sidenav-annotations li .highlight-link i {
797
- left: 4px;
798
- top: 8px;
799
- position: absolute; }
800
- .sidenav-annotations li .bookmark-link .title, .sidenav-annotations li .highlight-link .title {
801
- display: block; }
802
- .sidenav-annotations li .bookmark-link .subtitle, .sidenav-annotations li .highlight-link .subtitle {
803
- display: block;
804
- line-height: 20px;
805
- font-size: 10px; }
806
- .sidenav-annotations li .bookmark-link .timestamp, .sidenav-annotations li .highlight-link .timestamp {
767
+ white-space: nowrap;
768
+ overflow: hidden;
769
+ text-overflow: ellipsis; }
770
+ .sidenav-annotations .chapter-title {
771
+ padding: 0 16px;
772
+ font-size: 14px;
773
+ color: lightgray; }
774
+ .sidenav-annotations ol {
775
+ padding-left: 24px; }
776
+ .sidenav-annotations li {
777
+ position: relative; }
778
+ .sidenav-annotations li .delete {
779
+ position: absolute;
780
+ right: 10px;
781
+ top: 50%;
782
+ transform: translate(0, -50%); }
783
+ .sidenav-annotations li .bookmark-link, .sidenav-annotations li .highlight-link {
807
784
  display: block;
808
- line-height: 20px;
809
- font-size: 8px; }
785
+ position: relative;
786
+ padding-top: 8px !important;
787
+ padding-bottom: 8px !important;
788
+ line-height: 1.25; }
789
+ .sidenav-annotations li .bookmark-link svg, .sidenav-annotations li .bookmark-link i, .sidenav-annotations li .highlight-link svg, .sidenav-annotations li .highlight-link i {
790
+ left: 4px;
791
+ top: 8px;
792
+ position: absolute; }
793
+ .sidenav-annotations li .bookmark-link .title, .sidenav-annotations li .highlight-link .title {
794
+ display: block; }
795
+ .sidenav-annotations li .bookmark-link .subtitle, .sidenav-annotations li .highlight-link .subtitle {
796
+ display: block;
797
+ line-height: 20px;
798
+ font-size: 10px; }
799
+ .sidenav-annotations li .bookmark-link .timestamp, .sidenav-annotations li .highlight-link .timestamp {
800
+ display: block;
801
+ line-height: 20px;
802
+ font-size: 8px; }
810
803
 
811
804
  /*
812
805
  * Copyright 2018-2020 DITA (AM Consulting LLC)
@@ -831,9 +824,10 @@ a {
831
824
  animation: toolsAnimateIn 100ms ease-out both;
832
825
  transform-origin: bottom;
833
826
  z-index: 999;
834
- position: absolute;
827
+ position: relative;
835
828
  background: gainsboro;
836
- display: none; }
829
+ display: none;
830
+ width: fit-content; }
837
831
  .highlight-toolbox:before {
838
832
  content: '';
839
833
  position: absolute;
@@ -846,9 +840,6 @@ a {
846
840
  .highlight-toolbox > div > button {
847
841
  display: inline-block; }
848
842
 
849
- .color-option {
850
- background-color: gainsboro; }
851
-
852
843
  .color-option span {
853
844
  display: inline-block;
854
845
  border-radius: 50%;
@@ -1084,7 +1075,7 @@ input::-moz-focus-outer {
1084
1075
  * Licensed to: Bibliotheca LLC, Bokbasen AS and CAST under one or more contributor license agreements.
1085
1076
  */
1086
1077
  @media only screen and (max-width: 600px) {
1087
- .timeline, .scrubber > input, #nav-mobile-left > li > a[rel=next], #nav-mobile-left > li > a[rel=prev] {
1078
+ .timeline, .scrubber > input {
1088
1079
  display: none; } }
1089
1080
 
1090
1081
  .scrubber {
@@ -1097,7 +1088,9 @@ input::-moz-focus-outer {
1097
1088
  top: 1.5rem;
1098
1089
  left: 2.5rem;
1099
1090
  bottom: 1.5rem;
1100
- width: 1.25rem; }
1091
+ width: 1.25rem;
1092
+ display: flex;
1093
+ flex-direction: column; }
1101
1094
  .timeline .chapter {
1102
1095
  border-left: 6px solid transparent;
1103
1096
  transition: border-color 300ms ease-out;
@@ -1124,4 +1117,102 @@ input::-moz-focus-outer {
1124
1117
  text-overflow: ellipsis;
1125
1118
  max-width: 22rem; }
1126
1119
 
1120
+ [data-viewer-theme="night"] .timeline .chapter {
1121
+ border: 1px solid #111; }
1122
+
1123
+ [data-viewer-theme="sepia"] .timeline .chapter {
1124
+ border: 1px solid #faf4e8; }
1125
+
1126
+ .collection {
1127
+ border-radius: 2px;
1128
+ overflow: hidden;
1129
+ position: relative; }
1130
+ .collection .collection-item {
1131
+ padding: 10px 20px;
1132
+ margin: 0; }
1133
+ .collection .collection-item.avatar {
1134
+ min-height: 84px;
1135
+ padding-left: 72px;
1136
+ position: relative; }
1137
+ .collection .collection-item.avatar:not(.circle-clipper) > .circle,
1138
+ .collection .collection-item.avatar :not(.circle-clipper) > .circle {
1139
+ position: absolute;
1140
+ width: 42px;
1141
+ height: 42px;
1142
+ overflow: hidden;
1143
+ left: 15px;
1144
+ display: inline-block;
1145
+ vertical-align: middle; }
1146
+ .collection .collection-item.avatar i.circle {
1147
+ font-size: 18px;
1148
+ line-height: 42px;
1149
+ color: #fff;
1150
+ background-color: #999;
1151
+ text-align: center; }
1152
+ .collection .collection-item.avatar .title {
1153
+ font-size: 16px; }
1154
+ .collection .collection-item.avatar p {
1155
+ margin: 0; }
1156
+ .collection .collection-item.avatar .secondary-content {
1157
+ position: absolute;
1158
+ top: 16px;
1159
+ right: 16px; }
1160
+ .collection .collection-item:last-child {
1161
+ border-bottom: none; }
1162
+ .collection .collection-item.active .secondary-content {
1163
+ color: #fff; }
1164
+ .collection a.collection-item {
1165
+ display: block;
1166
+ transition: .25s; }
1167
+ .collection.with-header .collection-header {
1168
+ padding: 10px 20px; }
1169
+ .collection.with-header .collection-item {
1170
+ padding-left: 30px; }
1171
+ .collection.with-header .collection-item.avatar {
1172
+ padding-left: 72px; }
1173
+
1174
+ .pagination {
1175
+ display: inline-block; }
1176
+ .pagination li {
1177
+ display: inline-block;
1178
+ border-radius: 2px;
1179
+ text-align: center;
1180
+ vertical-align: top;
1181
+ height: 30px;
1182
+ clear: unset !important;
1183
+ width: unset !important; }
1184
+ .pagination li a {
1185
+ color: #444;
1186
+ display: inline-block !important;
1187
+ font-size: 1.2rem;
1188
+ padding: 0 10px;
1189
+ line-height: 30px; }
1190
+ .pagination li.active a {
1191
+ color: #999; }
1192
+ .pagination li.disabled a {
1193
+ cursor: default;
1194
+ color: #999; }
1195
+ .pagination li i {
1196
+ font-size: 2rem; }
1197
+ .pagination li.pages ul li {
1198
+ display: inline-block;
1199
+ float: none; }
1200
+
1201
+ .search-wrapper {
1202
+ display: flex;
1203
+ align-items: center; }
1204
+
1205
+ .sidenav.expanded {
1206
+ width: 992px !important; }
1207
+ @media only screen and (max-width: 992px) {
1208
+ .sidenav.expanded {
1209
+ width: 100% !important; } }
1210
+
1211
+ .logo-container i.editAnnotations {
1212
+ transform: rotate(-90deg);
1213
+ margin-top: 12px;
1214
+ font-size: 32px;
1215
+ margin-right: 6px;
1216
+ float: right; }
1217
+
1127
1218
  /*# sourceMappingURL=reader.css.map */