@internetarchive/bookreader 5.0.0-116 → 5.0.0-118-alpha1

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 (205) hide show
  1. package/README.md +3 -1
  2. package/package.json +35 -31
  3. package/src/BookReader.js +16 -0
  4. package/src/css/_TextSelection.scss +51 -18
  5. package/src/plugins/plugin.chapters.js +8 -4
  6. package/src/plugins/plugin.iframe.js +36 -37
  7. package/src/plugins/plugin.text_selection.js +36 -11
  8. package/src/plugins/search/plugin.search.js +2 -8
  9. package/src/plugins/tts/plugin.tts.js +27 -8
  10. package/src/util/TextSelectionManager.js +53 -8
  11. package/src/util/dom.js +88 -0
  12. package/BookReader/474.js +0 -2
  13. package/BookReader/474.js.map +0 -1
  14. package/BookReader/BookReader.css +0 -2425
  15. package/BookReader/BookReader.js +0 -3
  16. package/BookReader/BookReader.js.LICENSE.txt +0 -72
  17. package/BookReader/BookReader.js.map +0 -1
  18. package/BookReader/bergamot-translator-worker.js +0 -2966
  19. package/BookReader/bergamot-translator-worker.wasm +0 -0
  20. package/BookReader/hypothesis/LICENSE +0 -50
  21. package/BookReader/hypothesis/README.md +0 -55
  22. package/BookReader/hypothesis/build/boot.js +0 -1
  23. package/BookReader/hypothesis/build/manifest.json +0 -20
  24. package/BookReader/hypothesis/build/scripts/annotator.bundle.js +0 -184
  25. package/BookReader/hypothesis/build/scripts/annotator.bundle.js.map +0 -1
  26. package/BookReader/hypothesis/build/scripts/sidebar.bundle.js +0 -798
  27. package/BookReader/hypothesis/build/scripts/sidebar.bundle.js.map +0 -1
  28. package/BookReader/hypothesis/build/scripts/ui-playground.bundle.js +0 -711
  29. package/BookReader/hypothesis/build/scripts/ui-playground.bundle.js.map +0 -1
  30. package/BookReader/hypothesis/build/styles/annotator.css +0 -2235
  31. package/BookReader/hypothesis/build/styles/annotator.css.map +0 -1
  32. package/BookReader/hypothesis/build/styles/fonts/KaTeX_AMS-Regular.woff2 +0 -0
  33. package/BookReader/hypothesis/build/styles/fonts/KaTeX_Caligraphic-Bold.woff2 +0 -0
  34. package/BookReader/hypothesis/build/styles/fonts/KaTeX_Caligraphic-Regular.woff2 +0 -0
  35. package/BookReader/hypothesis/build/styles/fonts/KaTeX_Fraktur-Bold.woff2 +0 -0
  36. package/BookReader/hypothesis/build/styles/fonts/KaTeX_Fraktur-Regular.woff2 +0 -0
  37. package/BookReader/hypothesis/build/styles/fonts/KaTeX_Main-Bold.woff2 +0 -0
  38. package/BookReader/hypothesis/build/styles/fonts/KaTeX_Main-BoldItalic.woff2 +0 -0
  39. package/BookReader/hypothesis/build/styles/fonts/KaTeX_Main-Italic.woff2 +0 -0
  40. package/BookReader/hypothesis/build/styles/fonts/KaTeX_Main-Regular.woff2 +0 -0
  41. package/BookReader/hypothesis/build/styles/fonts/KaTeX_Math-BoldItalic.woff2 +0 -0
  42. package/BookReader/hypothesis/build/styles/fonts/KaTeX_Math-Italic.woff2 +0 -0
  43. package/BookReader/hypothesis/build/styles/fonts/KaTeX_SansSerif-Bold.woff2 +0 -0
  44. package/BookReader/hypothesis/build/styles/fonts/KaTeX_SansSerif-Italic.woff2 +0 -0
  45. package/BookReader/hypothesis/build/styles/fonts/KaTeX_SansSerif-Regular.woff2 +0 -0
  46. package/BookReader/hypothesis/build/styles/fonts/KaTeX_Script-Regular.woff2 +0 -0
  47. package/BookReader/hypothesis/build/styles/fonts/KaTeX_Size1-Regular.woff2 +0 -0
  48. package/BookReader/hypothesis/build/styles/fonts/KaTeX_Size2-Regular.woff2 +0 -0
  49. package/BookReader/hypothesis/build/styles/fonts/KaTeX_Size3-Regular.woff2 +0 -0
  50. package/BookReader/hypothesis/build/styles/fonts/KaTeX_Size4-Regular.woff2 +0 -0
  51. package/BookReader/hypothesis/build/styles/fonts/KaTeX_Typewriter-Regular.woff2 +0 -0
  52. package/BookReader/hypothesis/build/styles/highlights.css +0 -2
  53. package/BookReader/hypothesis/build/styles/highlights.css.map +0 -1
  54. package/BookReader/hypothesis/build/styles/katex.min.css +0 -2
  55. package/BookReader/hypothesis/build/styles/katex.min.css.map +0 -1
  56. package/BookReader/hypothesis/build/styles/pdfjs-overrides.css +0 -2
  57. package/BookReader/hypothesis/build/styles/pdfjs-overrides.css.map +0 -1
  58. package/BookReader/hypothesis/build/styles/sidebar.css +0 -2731
  59. package/BookReader/hypothesis/build/styles/sidebar.css.map +0 -1
  60. package/BookReader/hypothesis/build/styles/ui-playground.css +0 -2659
  61. package/BookReader/hypothesis/build/styles/ui-playground.css.map +0 -1
  62. package/BookReader/hypothesis/package.json +0 -126
  63. package/BookReader/ia-bookreader-bundle.js +0 -1886
  64. package/BookReader/ia-bookreader-bundle.js.LICENSE.txt +0 -19
  65. package/BookReader/ia-bookreader-bundle.js.map +0 -1
  66. package/BookReader/icons/1up.svg +0 -1
  67. package/BookReader/icons/2up.svg +0 -1
  68. package/BookReader/icons/advance.svg +0 -3
  69. package/BookReader/icons/chevron-right.svg +0 -1
  70. package/BookReader/icons/close-circle-dark.svg +0 -1
  71. package/BookReader/icons/close-circle.svg +0 -1
  72. package/BookReader/icons/fullscreen.svg +0 -1
  73. package/BookReader/icons/fullscreen_exit.svg +0 -1
  74. package/BookReader/icons/hamburger.svg +0 -1
  75. package/BookReader/icons/left-arrow.svg +0 -1
  76. package/BookReader/icons/magnify-minus.svg +0 -1
  77. package/BookReader/icons/magnify-plus.svg +0 -1
  78. package/BookReader/icons/magnify.svg +0 -1
  79. package/BookReader/icons/pause.svg +0 -1
  80. package/BookReader/icons/play.svg +0 -1
  81. package/BookReader/icons/playback-speed.svg +0 -1
  82. package/BookReader/icons/read-aloud.svg +0 -1
  83. package/BookReader/icons/review.svg +0 -3
  84. package/BookReader/icons/slider-toggle.svg +0 -1
  85. package/BookReader/icons/thumbnails.svg +0 -1
  86. package/BookReader/icons/voice.svg +0 -1
  87. package/BookReader/icons/volume-full.svg +0 -1
  88. package/BookReader/images/BRicons.png +0 -0
  89. package/BookReader/images/BRicons.svg +0 -5
  90. package/BookReader/images/BRicons_ia.png +0 -0
  91. package/BookReader/images/back_pages.png +0 -0
  92. package/BookReader/images/book_bottom_icon.png +0 -0
  93. package/BookReader/images/book_down_icon.png +0 -0
  94. package/BookReader/images/book_left_icon.png +0 -0
  95. package/BookReader/images/book_leftmost_icon.png +0 -0
  96. package/BookReader/images/book_right_icon.png +0 -0
  97. package/BookReader/images/book_rightmost_icon.png +0 -0
  98. package/BookReader/images/book_top_icon.png +0 -0
  99. package/BookReader/images/book_up_icon.png +0 -0
  100. package/BookReader/images/books_graphic.svg +0 -1
  101. package/BookReader/images/booksplit.png +0 -0
  102. package/BookReader/images/control_pause_icon.png +0 -0
  103. package/BookReader/images/control_play_icon.png +0 -0
  104. package/BookReader/images/embed_icon.png +0 -0
  105. package/BookReader/images/hypothesis.ico +0 -0
  106. package/BookReader/images/icon-home-ia.png +0 -0
  107. package/BookReader/images/icon_OL-logo-xs.png +0 -0
  108. package/BookReader/images/icon_alert-xs.png +0 -0
  109. package/BookReader/images/icon_book.svg +0 -1
  110. package/BookReader/images/icon_bookmark.svg +0 -1
  111. package/BookReader/images/icon_close-pop.png +0 -0
  112. package/BookReader/images/icon_download.png +0 -0
  113. package/BookReader/images/icon_experiment.svg +0 -1
  114. package/BookReader/images/icon_gear.svg +0 -1
  115. package/BookReader/images/icon_hamburger.svg +0 -1
  116. package/BookReader/images/icon_home.png +0 -0
  117. package/BookReader/images/icon_home.svg +0 -1
  118. package/BookReader/images/icon_home_ia.png +0 -0
  119. package/BookReader/images/icon_indicator.png +0 -0
  120. package/BookReader/images/icon_info.svg +0 -1
  121. package/BookReader/images/icon_one_page.svg +0 -1
  122. package/BookReader/images/icon_pause.svg +0 -1
  123. package/BookReader/images/icon_play.svg +0 -1
  124. package/BookReader/images/icon_playback-rate.svg +0 -1
  125. package/BookReader/images/icon_return.png +0 -0
  126. package/BookReader/images/icon_search_button.svg +0 -1
  127. package/BookReader/images/icon_share.svg +0 -1
  128. package/BookReader/images/icon_skip-ahead.svg +0 -1
  129. package/BookReader/images/icon_skip-back.svg +0 -2
  130. package/BookReader/images/icon_speaker.svg +0 -1
  131. package/BookReader/images/icon_speaker_open.svg +0 -1
  132. package/BookReader/images/icon_thumbnails.svg +0 -1
  133. package/BookReader/images/icon_toc.svg +0 -1
  134. package/BookReader/images/icon_two_pages.svg +0 -1
  135. package/BookReader/images/icon_zoomer.png +0 -0
  136. package/BookReader/images/loading.gif +0 -0
  137. package/BookReader/images/logo_icon.png +0 -0
  138. package/BookReader/images/marker_chap-off.png +0 -0
  139. package/BookReader/images/marker_chap-off.svg +0 -1
  140. package/BookReader/images/marker_chap-off_ia.png +0 -0
  141. package/BookReader/images/marker_chap-on.png +0 -0
  142. package/BookReader/images/marker_chap-on.svg +0 -1
  143. package/BookReader/images/marker_srch-on.svg +0 -1
  144. package/BookReader/images/marker_srchchap-off.png +0 -0
  145. package/BookReader/images/marker_srchchap-on.png +0 -0
  146. package/BookReader/images/nav_control-dn.png +0 -0
  147. package/BookReader/images/nav_control-dn_ia.png +0 -0
  148. package/BookReader/images/nav_control-up.png +0 -0
  149. package/BookReader/images/nav_control-up_ia.png +0 -0
  150. package/BookReader/images/nav_control.png +0 -0
  151. package/BookReader/images/one_page_mode_icon.png +0 -0
  152. package/BookReader/images/paper-badge.png +0 -0
  153. package/BookReader/images/print_icon.png +0 -0
  154. package/BookReader/images/progressbar.gif +0 -0
  155. package/BookReader/images/right_edges.png +0 -0
  156. package/BookReader/images/slider.png +0 -0
  157. package/BookReader/images/slider_ia.png +0 -0
  158. package/BookReader/images/thumbnail_mode_icon.png +0 -0
  159. package/BookReader/images/translate.svg +0 -1
  160. package/BookReader/images/transparent.png +0 -0
  161. package/BookReader/images/two_page_mode_icon.png +0 -0
  162. package/BookReader/images/unviewable_page.png +0 -0
  163. package/BookReader/images/zoom_in_icon.png +0 -0
  164. package/BookReader/images/zoom_out_icon.png +0 -0
  165. package/BookReader/jquery-3.js +0 -2
  166. package/BookReader/jquery-3.js.LICENSE.txt +0 -24
  167. package/BookReader/plugins/plugin.archive_analytics.js +0 -2
  168. package/BookReader/plugins/plugin.archive_analytics.js.map +0 -1
  169. package/BookReader/plugins/plugin.autoplay.js +0 -2
  170. package/BookReader/plugins/plugin.autoplay.js.map +0 -1
  171. package/BookReader/plugins/plugin.chapters.js +0 -23
  172. package/BookReader/plugins/plugin.chapters.js.LICENSE.txt +0 -1
  173. package/BookReader/plugins/plugin.chapters.js.map +0 -1
  174. package/BookReader/plugins/plugin.experiments.js +0 -3
  175. package/BookReader/plugins/plugin.experiments.js.LICENSE.txt +0 -1
  176. package/BookReader/plugins/plugin.experiments.js.map +0 -1
  177. package/BookReader/plugins/plugin.iframe.js +0 -2
  178. package/BookReader/plugins/plugin.iframe.js.map +0 -1
  179. package/BookReader/plugins/plugin.iiif.js +0 -2
  180. package/BookReader/plugins/plugin.iiif.js.map +0 -1
  181. package/BookReader/plugins/plugin.resume.js +0 -2
  182. package/BookReader/plugins/plugin.resume.js.map +0 -1
  183. package/BookReader/plugins/plugin.search.js +0 -3
  184. package/BookReader/plugins/plugin.search.js.LICENSE.txt +0 -1
  185. package/BookReader/plugins/plugin.search.js.map +0 -1
  186. package/BookReader/plugins/plugin.text_selection.js +0 -45
  187. package/BookReader/plugins/plugin.text_selection.js.LICENSE.txt +0 -1
  188. package/BookReader/plugins/plugin.text_selection.js.map +0 -1
  189. package/BookReader/plugins/plugin.translate.js +0 -179
  190. package/BookReader/plugins/plugin.translate.js.LICENSE.txt +0 -1
  191. package/BookReader/plugins/plugin.translate.js.map +0 -1
  192. package/BookReader/plugins/plugin.tts.js +0 -3
  193. package/BookReader/plugins/plugin.tts.js.LICENSE.txt +0 -29
  194. package/BookReader/plugins/plugin.tts.js.map +0 -1
  195. package/BookReader/plugins/plugin.url.js +0 -2
  196. package/BookReader/plugins/plugin.url.js.map +0 -1
  197. package/BookReader/plugins/plugin.vendor-fullscreen.js +0 -2
  198. package/BookReader/plugins/plugin.vendor-fullscreen.js.map +0 -1
  199. package/BookReader/plugins/translator-worker.js +0 -2
  200. package/BookReader/plugins/translator-worker.js.map +0 -1
  201. package/BookReader/silence.mp3 +0 -0
  202. package/BookReader/translator-worker.js +0 -475
  203. package/BookReader/webcomponents-bundle.js +0 -3
  204. package/BookReader/webcomponents-bundle.js.LICENSE.txt +0 -9
  205. package/BookReader/webcomponents-bundle.js.map +0 -1
@@ -1,2425 +0,0 @@
1
- @charset "UTF-8";
2
- /* Variables */
3
- /* COLORBOX POP-UP */
4
- #colorbox, #cboxOverlay, #cboxWrapper {
5
- position: absolute;
6
- top: 0;
7
- left: 0;
8
- z-index: 3000;
9
- }
10
-
11
- #cboxOverlay {
12
- position: fixed;
13
- width: 100%;
14
- height: 100%;
15
- background: #000;
16
- opacity: 0.75;
17
- filter: Alpha(Opacity=75);
18
- }
19
-
20
- #cboxMiddleLeft, #cboxBottomLeft {
21
- clear: left;
22
- }
23
-
24
- #cboxContent {
25
- position: relative;
26
- }
27
-
28
- #cboxLoadedContent {
29
- overflow: hidden !important;
30
- }
31
-
32
- #cboxLoadedContent iframe {
33
- display: block;
34
- border: 0;
35
- }
36
-
37
- #cboxTitle {
38
- margin: 0;
39
- display: none !important;
40
- }
41
-
42
- #cboxLoadingOverlay, #cboxLoadingGraphic {
43
- position: absolute;
44
- top: 25px;
45
- left: 25px;
46
- width: 100%;
47
- }
48
-
49
- #cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow {
50
- cursor: pointer;
51
- }
52
-
53
- #cboxClose {
54
- display: none !important;
55
- }
56
-
57
- #colorbox {
58
- background: white;
59
- border: 2px solid #ccc;
60
- -webkit-border-radius: 12px;
61
- -moz-border-radius: 12px;
62
- border-radius: 12px;
63
- -webkit-box-shadow: 0px 0px 27px 6px rgba(66, 66, 66, 0.8);
64
- -moz-box-shadow: 0px 0px 27px 6px rgba(66, 66, 66, 0.8);
65
- box-shadow: 0px 0px 27px 6px rgba(66, 66, 66, 0.8);
66
- }
67
-
68
- #cboxContent {
69
- padding: 0;
70
- }
71
-
72
- #cboxLoadedContent {
73
- margin: 0;
74
- }
75
-
76
- #cboxLoadingOverlay {
77
- background: transparent;
78
- }
79
-
80
- .br-colorbox-shift {
81
- position: absolute !important;
82
- left: -10000px !important;
83
- }
84
-
85
- .BookReader, .BRfloat {
86
- /* Shared root element rules */
87
- font-family: "Helvetica Neue", Arial, Verdana, sans-serif;
88
- font-size: 14px;
89
- line-height: 1.2;
90
- -webkit-text-size-adjust: none;
91
- /* Some helper functional css utilities */
92
- }
93
- .BookReader .larger, .BRfloat .larger {
94
- font-size: 1.2em;
95
- }
96
- .BookReader, .BRfloat {
97
- /* Desktop-only */
98
- }
99
- @media (min-width: 801px) {
100
- .BookReader .mv20-lg, .BRfloat .mv20-lg {
101
- margin-top: 20px;
102
- margin-bottom: 20px;
103
- }
104
- }
105
- .BookReader, .BRfloat {
106
- /* Element-level rules */
107
- }
108
- .BookReader h3, .BRfloat h3 {
109
- font-size: 20px;
110
- font-weight: 700;
111
- color: #dedede;
112
- }
113
- .BookReader button, .BRfloat button {
114
- cursor: pointer;
115
- }
116
- .BookReader a.logo, .BRfloat a.logo {
117
- display: inline-block;
118
- width: auto;
119
- height: 100%;
120
- margin: 0 10px;
121
- background: transparent url(images/icon_home.svg) no-repeat center center;
122
- background-size: contain;
123
- }
124
-
125
- .BookReader {
126
- margin: 0;
127
- padding: 0;
128
- position: relative;
129
- overflow: hidden;
130
- background-color: black;
131
- contain: strict;
132
- }
133
-
134
- .BRcontainer {
135
- top: 0;
136
- bottom: 0;
137
- z-index: 1;
138
- width: 100%;
139
- overflow-x: auto;
140
- overflow-y: scroll;
141
- position: absolute;
142
- -webkit-overflow-scrolling: touch;
143
- }
144
-
145
- .BRprogresspopup {
146
- margin: 80px auto auto;
147
- position: relative;
148
- width: 320px;
149
- background-color: white;
150
- font-size: 1.5em;
151
- padding: 20px;
152
- border: 2px solid #999;
153
- z-index: 3000;
154
- color: #222;
155
- }
156
- .BRprogresspopup .close-popup {
157
- position: absolute;
158
- top: 0;
159
- right: 0;
160
- width: 30px;
161
- width: 30px;
162
- padding: 0;
163
- border: 0;
164
- background-color: transparent;
165
- }
166
- .BRprogresspopup .close-popup .icon.icon-close-dark {
167
- position: absolute;
168
- top: 5px;
169
- right: 5px;
170
- }
171
-
172
- .BRprogressbar {
173
- background-image: url("images/progressbar.gif");
174
- background-repeat: no-repeat;
175
- background-position: center top;
176
- }
177
-
178
- /* Share dialog */
179
- .BRshare.BRfloat {
180
- width: 600px;
181
- }
182
- .BRshare .share-title {
183
- margin: 15px 15px 0;
184
- font-weight: bold;
185
- font-size: 18px;
186
- line-height: 22px;
187
- }
188
- .BRshare .share-social {
189
- margin: 15px 15px 0;
190
- }
191
- .BRshare .share-social button {
192
- padding: 0 5px;
193
- height: 40px;
194
- text-align: left;
195
- color: white;
196
- }
197
- .BRshare .share-social button > i {
198
- margin-right: 5px;
199
- }
200
- .BRshare .share-social > div {
201
- display: inline;
202
- }
203
- .BRshare .share-embed {
204
- margin-top: 20px;
205
- }
206
- .BRshare label.sub.open-to-this-page {
207
- display: block;
208
- }
209
- .BRshare button[type=button].share-finished {
210
- background-color: rgb(74, 144, 226);
211
- border: 0;
212
- color: white;
213
- border-radius: 3px;
214
- padding: 10px 25px;
215
- font-size: 15px;
216
- }
217
-
218
- /* Info dialog */
219
- .BRinfoValueWrapper {
220
- margin-bottom: 10px;
221
- }
222
-
223
- .BRinfoValue {
224
- font-size: 16px;
225
- }
226
-
227
- .BRinfoLabel {
228
- font-size: 12px;
229
- color: #999;
230
- }
231
-
232
- .BRinfoMoreInfoWrapper {
233
- background-color: rgb(74, 144, 226);
234
- border-radius: 2px;
235
- padding: 8px;
236
- text-align: center;
237
- }
238
- .BRinfoMoreInfoWrapper:active {
239
- background-color: rgb(80, 155, 242);
240
- }
241
-
242
- .BRinfoOtherFormats {
243
- margin-bottom: 40px;
244
- }
245
-
246
- .BRinfoRightCol > div {
247
- margin-bottom: 15px;
248
- }
249
-
250
- .BRinfoFooter {
251
- text-align: right;
252
- }
253
-
254
- /* Fullscreen rules */
255
- .BookReader.fullscreenActive {
256
- position: fixed;
257
- width: 100%;
258
- height: 100%;
259
- max-height: 100%;
260
- background-color: black;
261
- top: 0;
262
- left: 0;
263
- margin: 0;
264
- z-index: 2000;
265
- }
266
- .BookReader.fullscreenActive .BRmobileHamburgerWrapper {
267
- z-index: 2002;
268
- }
269
-
270
- body.BRfullscreenActive {
271
- overflow: hidden;
272
- }
273
- body.BRfullscreenActive .mm-menu {
274
- z-index: 1999;
275
- }
276
-
277
- .BRaction {
278
- margin-left: 5px;
279
- margin-right: 5px;
280
- padding: 8px 30px;
281
- font-size: 14px;
282
- border: none;
283
- border-radius: 3px;
284
- cursor: pointer;
285
- min-width: 150px;
286
- text-align: center;
287
- line-height: 1;
288
- }
289
- .BRaction:active {
290
- background-color: rgb(171, 171, 171);
291
- }
292
- .BRaction.default {
293
- background-color: rgb(193, 193, 193);
294
- color: white;
295
- }
296
- .BRaction.primary {
297
- background-color: #4990E2;
298
- }
299
- .BRaction.primary:active {
300
- background-color: #2a76cd;
301
- }
302
- .BRaction.orangeButton {
303
- background-color: transparent;
304
- border: 2px solid orange;
305
- color: orange;
306
- }
307
- .BRaction.orangeButton:active {
308
- border-color: rgb(249, 198, 19);
309
- }
310
- .BRaction.skinny {
311
- min-width: 50px;
312
- }
313
- .BRaction.facebook-share-button {
314
- background-color: #3a5998;
315
- }
316
- .BRaction.twitter-share-button {
317
- background-color: #429aff;
318
- }
319
- .BRaction.email-share-button {
320
- background-color: #c1c1c1;
321
- }
322
-
323
- /* Mobile Only */
324
- @media (max-width: 800px) {
325
- .BRinfoLeftCol {
326
- font-size: 14px;
327
- }
328
- .BRimageW {
329
- text-align: center;
330
- margin-bottom: 10px;
331
- }
332
- .BRimageW img {
333
- height: 200px;
334
- width: auto;
335
- }
336
- .BRinfoValue.larger {
337
- font-size: 16px;
338
- }
339
- .BRinfoMoreInfoWrapper a {
340
- font-size: inherit;
341
- color: white;
342
- text-decoration: none;
343
- }
344
- .BRinfoOtherFormatsFormat {
345
- margin-bottom: 6px;
346
- }
347
- .BRinfoFooter {
348
- margin-bottom: 10px;
349
- text-align: left;
350
- }
351
- .BRinfoFooter a {
352
- display: block;
353
- }
354
- .BRfloatFoot.BRinfoFooter {
355
- margin: initial;
356
- padding: initial;
357
- border: initial;
358
- font-size: inherit;
359
- }
360
- .BookReader .fieldset-embed, .BRfloat .fieldset-embed {
361
- display: none;
362
- }
363
- .BookReader .BRaction, .BRfloat .BRaction {
364
- padding: 8px 10px;
365
- margin-left: 0;
366
- margin-bottom: 10px;
367
- }
368
- }
369
- /* Desktop Only */
370
- @media (min-width: 801px) {
371
- .BRinfoW {
372
- font-size: 14px;
373
- position: relative;
374
- padding: 15px;
375
- }
376
- .BRinfoLeftCol {
377
- float: left;
378
- width: 40%;
379
- min-height: 1px;
380
- }
381
- .BRinfoRightCol {
382
- float: left;
383
- width: 58%;
384
- }
385
- .BRimageW {
386
- text-align: center;
387
- margin-bottom: 10px;
388
- margin-right: 26px;
389
- }
390
- .BRimageW img {
391
- height: auto;
392
- width: 100%;
393
- }
394
- .BRinfoValue.larger {
395
- font-size: 20px;
396
- line-height: 1.2;
397
- }
398
- .BRinfoMoreInfoWrapper a {
399
- font-size: 14px;
400
- color: white;
401
- text-decoration: none;
402
- font-weight: bold;
403
- }
404
- .BRinfoOtherFormatsFormat {
405
- display: inline;
406
- margin-right: 10px;
407
- }
408
- .BRinfoFooter {
409
- font-size: 1em;
410
- clear: both;
411
- }
412
- .BRinfoFooter a {
413
- display: inline;
414
- margin-right: 10px;
415
- }
416
- .BookReader .BRaction, .BRfloat .BRaction {
417
- padding: 8px 16px;
418
- }
419
- }
420
- /* filters */
421
- .filter-applied .BRpagediv1up {
422
- background-color: white;
423
- }
424
- .filter-applied .BRpagedivthumb {
425
- background-color: white;
426
- }
427
-
428
- .BRfullscreenAnimation .br-mode-2up__book {
429
- transition: transform 0.2s ease-in-out;
430
- }
431
-
432
- .fullscreenActive.BRmodeThumb .BRcontainer,
433
- .fullscreenActive.BRmode1up .BRcontainer {
434
- animation: flash 0.3s ease-in-out;
435
- }
436
-
437
- @keyframes flash {
438
- 0% {
439
- opacity: 0;
440
- }
441
- 100% {
442
- opacity: 1;
443
- }
444
- }
445
- .BRpageview {
446
- position: relative;
447
- margin: auto;
448
- }
449
-
450
- .BRmode1up .BRpagecontainer, .BRmodeThumb .BRpagecontainer {
451
- box-shadow: 1px 1px 2px #333;
452
- }
453
- .BRmode1up .BRpagecontainer img, .BRmodeThumb .BRpagecontainer img {
454
- border: 0;
455
- }
456
-
457
- .BRmodeThumb .BRpagecontainer, .BRmode2up .BRpagecontainer {
458
- cursor: pointer;
459
- }
460
-
461
- .BRpagecontainer.BRemptypage {
462
- cursor: unset;
463
- }
464
-
465
- .br-mode-1up__root {
466
- display: block;
467
- overflow: auto;
468
- position: relative;
469
- width: 100%;
470
- height: 100%;
471
- contain: strict;
472
- }
473
- .br-mode-1up__root .br-mode-1up__world {
474
- position: absolute;
475
- transform-origin: 0 0;
476
- }
477
- .br-mode-1up__root .br-mode-1up__visible-world {
478
- position: absolute;
479
- transform-origin: 0 0;
480
- }
481
-
482
- .BRpagecontainer {
483
- position: relative;
484
- overflow: hidden;
485
- background: #FEFDEB;
486
- overflow: hidden;
487
- overflow: clip;
488
- }
489
- .BRpagecontainer img {
490
- position: absolute;
491
- background: transparent;
492
- display: block;
493
- width: 100%;
494
- height: 100%;
495
- }
496
- .BRpagecontainer .BRscreen {
497
- position: absolute;
498
- top: 0;
499
- right: 0;
500
- bottom: 0;
501
- left: 0;
502
- z-index: 1;
503
- }
504
- .BRpagecontainer.BRpageloading img {
505
- color: transparent;
506
- }
507
- .BRpagecontainer.BRpageloading img:not([src]) {
508
- display: none;
509
- }
510
- .BRpagecontainer.BRpageloading::after {
511
- display: block;
512
- content: "";
513
- width: 20px;
514
- height: 20px;
515
- position: absolute;
516
- left: 50%;
517
- top: 50%;
518
- transform: translate(-50%, -50%);
519
- background: url("images/loading.gif") center/20px no-repeat;
520
- }
521
- .BRpagecontainer.BRemptypage {
522
- background: transparent;
523
- }
524
- .BRpagecontainer.BRemptypage img {
525
- background-image: none;
526
- }
527
-
528
- svg.BRPageLayer {
529
- position: absolute;
530
- top: 0;
531
- left: 0;
532
- right: 0;
533
- bottom: 0;
534
- }
535
-
536
- .BRpageFlipping .BRpagecontainer:not(:has(hypothesis-highlight)):not(:has(.BRhighlight)) .BRtextLayer {
537
- display: none;
538
- }
539
-
540
- .br-mode-2up__root {
541
- display: block;
542
- overflow: auto;
543
- width: 100%;
544
- height: 100%;
545
- }
546
-
547
- .br-mode-2up__book {
548
- position: relative;
549
- transform-origin: 0 0;
550
- width: 0px;
551
- height: 0px;
552
- }
553
-
554
- .BRmode2up {
555
- transition: opacity 0.2s;
556
- }
557
-
558
- .BRmode2up .BRpagecontainer {
559
- backface-visibility: hidden;
560
- }
561
- .BRmode2up .BRpagecontainer:not(.BRpage-visible) {
562
- display: none;
563
- }
564
-
565
- .br-mode-2up__leafs {
566
- position: absolute;
567
- cursor: pointer;
568
- top: 0;
569
- transform-style: preserve-3d;
570
- }
571
- .br-mode-2up__leafs[side=left] {
572
- border-radius: 4px 0 0 4px;
573
- }
574
- .br-mode-2up__leafs[side=left] .br-leaf-edges__label {
575
- padding-right: 10px;
576
- border-radius: 4px 0 0 4px;
577
- }
578
- .br-mode-2up__leafs[side=right] {
579
- border-radius: 0 4px 4px 0;
580
- }
581
- .br-mode-2up__leafs[side=right] .br-leaf-edges__label {
582
- padding-left: 20px;
583
- border-radius: 0 4px 4px 0;
584
- }
585
- .br-mode-2up__leafs.br-mode-2up__leafs--flipping {
586
- z-index: 200000;
587
- transition: transform 5s;
588
- transition-timing-function: ease-in-out;
589
- border-radius: 0;
590
- }
591
- .br-mode-2up__leafs.br-mode-2up__leafs--flipping:before {
592
- content: "";
593
- display: block;
594
- width: 100%;
595
- height: 100%;
596
- position: absolute;
597
- transform: rotateY(-90deg);
598
- }
599
- .br-mode-2up__leafs, .br-mode-2up__leafs.br-mode-2up__leafs--flipping::before {
600
- background: transparent url(images/back_pages.png) repeat scroll 0% 0%;
601
- }
602
- .br-mode-2up__leafs .br-leaf-edges__bar {
603
- display: none;
604
- pointer-events: none;
605
- position: absolute;
606
- top: 0;
607
- bottom: 0;
608
- min-width: 1px;
609
- background-color: #9A9B9D;
610
- opacity: 0.85;
611
- transform: translateX(-50%);
612
- }
613
- .br-mode-2up__leafs .br-leaf-edges__label {
614
- display: none;
615
- pointer-events: none;
616
- z-index: 1000;
617
- position: absolute;
618
- padding: 6px;
619
- color: white;
620
- background-color: #9A9B9D;
621
- opacity: 0.85;
622
- white-space: nowrap;
623
- transform: translateY(-10px);
624
- }
625
-
626
- .br-mode-2up--flipping-left .BRpage-entering[data-side=R] {
627
- z-index: 10;
628
- transform-origin: left;
629
- transform: rotateY(0deg);
630
- }
631
- .br-mode-2up--flipping-left .BRpage-exiting[data-side=L] {
632
- z-index: 10;
633
- transform-origin: right;
634
- }
635
- .br-mode-2up--flipping-left .BRpage-exiting[data-side=R] {
636
- z-index: 9;
637
- }
638
-
639
- .br-mode-2up--flipping-right .BRpage-entering[data-side=L] {
640
- z-index: 10;
641
- transform-origin: right;
642
- }
643
- .br-mode-2up--flipping-right .BRpage-exiting[data-side=R] {
644
- z-index: 10;
645
- transform-origin: left;
646
- }
647
- .br-mode-2up--flipping-right .BRpage-exiting[data-side=L] {
648
- z-index: 9;
649
- }
650
-
651
- .BRToolbarButton, .BRicon {
652
- position: relative;
653
- transition-duration: 0.2s;
654
- transition-property: background-color, border;
655
- }
656
- .BRToolbarButton:hover, .BRicon:hover {
657
- background-color: rgba(50, 50, 50, 0.2);
658
- }
659
- .BRToolbarButton:active, .BRicon:active {
660
- background-color: rgba(255, 255, 255, 0.2);
661
- background-color: rgba(50, 50, 50, 0.4);
662
- }
663
-
664
- .BRicon {
665
- padding: 0;
666
- margin: 0;
667
- vertical-align: middle;
668
- border: none;
669
- cursor: pointer;
670
- background-color: transparent;
671
- background-image: url(images/BRicons.svg);
672
- background-repeat: no-repeat;
673
- }
674
-
675
- i.BRicon {
676
- display: inline-block;
677
- }
678
-
679
- .BRicon.logo {
680
- width: 34px;
681
- height: 34px;
682
- background-position: -3px center;
683
- }
684
- @media (max-width: 800px) {
685
- .BRicon.logo {
686
- width: 40px;
687
- height: 40px;
688
- background-position: 0px center;
689
- }
690
- }
691
-
692
- .BRicon.info {
693
- width: 34px;
694
- height: 34px;
695
- background-position: -43px center;
696
- }
697
- @media (max-width: 800px) {
698
- .BRicon.info {
699
- width: 40px;
700
- height: 40px;
701
- background-position: -40px center;
702
- }
703
- }
704
-
705
- .BRicon.share {
706
- width: 34px;
707
- height: 34px;
708
- background-position: -123px center;
709
- }
710
- @media (max-width: 800px) {
711
- .BRicon.share {
712
- width: 40px;
713
- height: 40px;
714
- background-position: -120px center;
715
- }
716
- }
717
-
718
- .BRicon.read {
719
- transition-property: background-color, border, background-position;
720
- width: 34px;
721
- height: 34px;
722
- background-position: -203px center;
723
- }
724
- @media (max-width: 800px) {
725
- .BRicon.read {
726
- width: 40px;
727
- height: 40px;
728
- background-position: -200px center;
729
- }
730
- }
731
-
732
- .BRicon.unread {
733
- transition-property: background-color, border, background-position;
734
- width: 34px;
735
- height: 34px;
736
- background-position: -283px center;
737
- }
738
- @media (max-width: 800px) {
739
- .BRicon.unread {
740
- width: 40px;
741
- height: 40px;
742
- background-position: -280px center;
743
- }
744
- }
745
-
746
- .BRicon.fit {
747
- width: 34px;
748
- height: 34px;
749
- background-position: -363px center;
750
- }
751
- @media (max-width: 800px) {
752
- .BRicon.fit {
753
- width: 40px;
754
- height: 40px;
755
- background-position: -360px center;
756
- }
757
- }
758
-
759
- .BRicon.download {
760
- width: 34px;
761
- height: 34px;
762
- background-position: -1523px center;
763
- }
764
- @media (max-width: 800px) {
765
- .BRicon.download {
766
- width: 40px;
767
- height: 40px;
768
- background-position: -1520px center;
769
- }
770
- }
771
-
772
- .BRicon.return {
773
- width: 34px;
774
- height: 34px;
775
- background-position: -1043px center;
776
- }
777
- @media (max-width: 800px) {
778
- .BRicon.return {
779
- width: 40px;
780
- height: 40px;
781
- background-position: -1040px center;
782
- }
783
- }
784
-
785
- .BRicon.fb {
786
- width: 34px;
787
- height: 34px;
788
- background-position: -1603px center;
789
- }
790
- @media (max-width: 800px) {
791
- .BRicon.fb {
792
- width: 40px;
793
- height: 40px;
794
- background-position: -1600px center;
795
- }
796
- }
797
-
798
- .BRicon.twitter {
799
- width: 34px;
800
- height: 34px;
801
- background-position: -1643px center;
802
- }
803
- @media (max-width: 800px) {
804
- .BRicon.twitter {
805
- width: 40px;
806
- height: 40px;
807
- background-position: -1640px center;
808
- }
809
- }
810
-
811
- .BRicon.email {
812
- width: 34px;
813
- height: 34px;
814
- background-position: -1683px center;
815
- }
816
- @media (max-width: 800px) {
817
- .BRicon.email {
818
- width: 40px;
819
- height: 40px;
820
- background-position: -1680px center;
821
- }
822
- }
823
-
824
- /**
825
- * BRfloat is the modal popup used in bookreader
826
- */
827
- .BRfloat {
828
- color: rgb(52, 52, 52);
829
- }
830
-
831
- .BRfloat a.title {
832
- text-decoration: none;
833
- }
834
-
835
- .BRfloat .floatShut {
836
- position: absolute;
837
- top: 4px;
838
- right: 8px;
839
- display: block;
840
- width: 32px;
841
- height: 32px;
842
- border: none;
843
- background-color: transparent;
844
- background-image: url("images/icon_close-pop.png");
845
- background-position: 0 0;
846
- background-repeat: no-repeat;
847
- }
848
-
849
- .BRfloat .floatShut:hover {
850
- background-position: 0 -32px;
851
- }
852
-
853
- .BRfloat fieldset {
854
- padding: 10px 15px;
855
- border: none;
856
- }
857
-
858
- .BRfloat fieldset.sub {
859
- margin-top: 0px;
860
- padding: 10px;
861
- }
862
-
863
- .BRfloat fieldset.center {
864
- text-align: center;
865
- padding: 10px 20px 30px;
866
- }
867
-
868
- .BRfloat label {
869
- display: block;
870
- font-weight: 700;
871
- font-size: 1em;
872
- margin: 5px 0;
873
- }
874
-
875
- .BRfloat label.sub {
876
- display: inline;
877
- padding: 10px 30px 10px 0;
878
- font-weight: normal;
879
- font-size: 1em;
880
- color: #666;
881
- }
882
-
883
- .BRfloat input[type=text],
884
- .BRfloat textarea {
885
- display: block;
886
- margin-top: 10px;
887
- width: 100%;
888
- padding: 3px;
889
- border: 2px inset;
890
- font-family: "Lucida Grande", "Verdana", "Arial", sans-serif;
891
- font-size: 0.8em;
892
- line-height: 1.25;
893
- font-weight: normal;
894
- }
895
-
896
- .BRfloat textarea {
897
- height: 55px;
898
- }
899
-
900
- .BRfloat p {
901
- margin: 15px 15px 0;
902
- }
903
-
904
- .BRfloat p.meta {
905
- font-size: 1.1em;
906
- color: #748d36;
907
- margin: 10px 0 0;
908
- }
909
-
910
- .BRfloatCover {
911
- float: left;
912
- padding: 0 20px 30px 0;
913
- }
914
-
915
- .BRfloatHead {
916
- font-size: 1.2em;
917
- }
918
-
919
- .BRfloatHead h2 {
920
- display: inline;
921
- font-size: 1.3em;
922
- }
923
-
924
- .BRfloatMeta p {
925
- margin: 0;
926
- padding: 0;
927
- font-size: 1.1em;
928
- line-height: 1.5em;
929
- }
930
-
931
- .BRfloatMeta p.moreInfo {
932
- line-height: 15px;
933
- margin-top: 30px;
934
- }
935
-
936
- .BRfloatMeta p.moreInfo span {
937
- background: url("images/icon_OL-logo-xs.png") no-repeat;
938
- display: block;
939
- float: left;
940
- width: 26px;
941
- height: 15px;
942
- }
943
-
944
- .BRfloatMeta h3 {
945
- font-size: 1.1em;
946
- font-weight: 700;
947
- line-height: 1.5em;
948
- margin-top: 30px;
949
- color: #333;
950
- }
951
-
952
- .BRfloatMeta ul.links {
953
- float: left;
954
- clear: right;
955
- }
956
-
957
- .BRfloatMeta ul.links li {
958
- list-style-type: none;
959
- display: block;
960
- float: left;
961
- font-size: 1.1em;
962
- line-height: 1.5em;
963
- }
964
-
965
- .BRfloatMeta ul.links li span {
966
- padding: 0 10px;
967
- }
968
-
969
- .BRfloatFoot a.problem, a.problem-icon {
970
- background: url("images/icon_alert-xs.png") no-repeat;
971
- padding-left: 20px;
972
- }
973
-
974
- .BRfloatHead,
975
- .BRfloatBody {
976
- width: 100%;
977
- box-sizing: border-box;
978
- text-align: center;
979
- }
980
-
981
- /* Desktop Only */
982
- @media (min-width: 801px) {
983
- .BRfloat .message,
984
- .BRfloatBody {
985
- padding: 10px 15px 10px 15px;
986
- font-size: 16px;
987
- line-height: normal;
988
- margin-top: 0;
989
- margin-bottom: 0px;
990
- }
991
- .BRfloatHead {
992
- box-sizing: border-box;
993
- line-height: normal;
994
- padding: 10px;
995
- font-size: 16px;
996
- font-weight: 700;
997
- text-align: center;
998
- border-bottom: 1px solid rgb(216, 216, 216);
999
- }
1000
- .BRfloatFoot {
1001
- padding: 10px;
1002
- margin-bottom: 10px;
1003
- }
1004
- }
1005
- /* Mobile Only (with some responsiveness) */
1006
- @media (max-width: 800px) {
1007
- .BRfloatBody {
1008
- padding: 10px 10px;
1009
- }
1010
- .BRfloat .message,
1011
- .BRfloatBody,
1012
- .BRfloatHead {
1013
- box-sizing: border-box;
1014
- line-height: normal;
1015
- border-bottom: 1px solid rgb(216, 216, 216);
1016
- padding: 10px;
1017
- min-height: initial;
1018
- font-size: 14px;
1019
- font-weight: 700;
1020
- text-align: center;
1021
- }
1022
- .BRfloatFoot {
1023
- padding: 10px 10px 0 10px;
1024
- border-top: 1px solid #ccc;
1025
- }
1026
- .BRfloatFoot .BRaction {
1027
- margin-bottom: 10px;
1028
- }
1029
- }
1030
- @media (min-width: 801px) {
1031
- .BRfloat {
1032
- max-width: initial;
1033
- width: 455px;
1034
- }
1035
- .BRfloat.wide {
1036
- max-width: initial;
1037
- width: 555px;
1038
- }
1039
- }
1040
- @media (max-width: 800px) and (min-width: 341px) {
1041
- .BRfloat {
1042
- max-width: initial;
1043
- width: 340px;
1044
- }
1045
- }
1046
- @media (max-width: 340px) {
1047
- .BRfloat {
1048
- max-width: 95%;
1049
- width: 95%;
1050
- }
1051
- }
1052
- /**
1053
- * BRnav is the bottom control bar (eg footer)
1054
- */
1055
- @keyframes fadeUp {
1056
- from {
1057
- opacity: 0;
1058
- translate: 0 10px;
1059
- }
1060
- to {
1061
- opacity: 1;
1062
- translate: 0 0;
1063
- }
1064
- }
1065
- .BRfooter {
1066
- position: absolute;
1067
- bottom: 0;
1068
- left: 0;
1069
- width: 100%;
1070
- display: flex;
1071
- flex-direction: column;
1072
- /* important so it overlays over the book pages when showing */
1073
- z-index: 3;
1074
- }
1075
- .BRfooter button {
1076
- width: 30px;
1077
- height: 30px;
1078
- -webkit-appearance: none;
1079
- -moz-appearance: none;
1080
- appearance: none;
1081
- padding: 0;
1082
- cursor: pointer;
1083
- border: none;
1084
- border-radius: 2px;
1085
- background: transparent;
1086
- }
1087
- @media (hover: hover) {
1088
- .BRfooter button {
1089
- /* styles to apply on devices that support hover */
1090
- }
1091
- .BRfooter button:hover .BRtooltip {
1092
- display: block;
1093
- }
1094
- }
1095
-
1096
- .BRReadAloudToolbar {
1097
- display: flex;
1098
- justify-content: center;
1099
- margin: 5px;
1100
- padding: 0 8.5px;
1101
- border-radius: 4px;
1102
- align-self: center;
1103
- height: 34px;
1104
- animation: fadeUp 0.2s;
1105
- background-color: #333;
1106
- color: white;
1107
- }
1108
- .BRReadAloudToolbar a {
1109
- color: white;
1110
- }
1111
- .BRReadAloudToolbar .BRpager {
1112
- background-color: #4D4D4D;
1113
- }
1114
- .BRReadAloudToolbar .BRpager .ui-slider-handle {
1115
- background: white;
1116
- border: none;
1117
- }
1118
- .BRReadAloudToolbar .BRpager .ui-slider-range {
1119
- background: rgba(255, 255, 255, 0.59);
1120
- }
1121
- .BRReadAloudToolbar .BRpage .BRicon {
1122
- border-left: 1px solid #4D4D4D;
1123
- }
1124
- .BRReadAloudToolbar .BRpage .BRicon.activated {
1125
- background-color: rgba(255, 255, 255, 0.4);
1126
- }
1127
- .BRReadAloudToolbar .BRpage .BRicon.activated:before {
1128
- content: "";
1129
- top: 0;
1130
- left: 0;
1131
- width: 100%;
1132
- height: 100%;
1133
- box-sizing: border-box;
1134
- display: block;
1135
- border: 3px solid rgba(255, 255, 255, 0.3);
1136
- }
1137
- .BRReadAloudToolbar--controls {
1138
- display: flex;
1139
- }
1140
- .BRReadAloudToolbar--controls > * {
1141
- height: 100%;
1142
- }
1143
- .BRReadAloudToolbar .BRToolbarButton .icon {
1144
- width: 34px;
1145
- height: 34px;
1146
- box-sizing: border-box;
1147
- }
1148
- .BRReadAloudToolbar .BRToolbarButton.jumpForward .icon, .BRReadAloudToolbar .BRToolbarButton.jumpBackward .icon {
1149
- padding: 9px;
1150
- }
1151
- .BRReadAloudToolbar button {
1152
- padding: 0;
1153
- margin: 0;
1154
- border: 0px none;
1155
- box-sizing: border-box;
1156
- background: transparent none repeat scroll 0% 0%;
1157
- display: block;
1158
- }
1159
- .BRReadAloudToolbar .playback-rate-container {
1160
- width: 34px;
1161
- height: 34px;
1162
- position: relative;
1163
- }
1164
- .BRReadAloudToolbar .playback-rate-container .icon {
1165
- position: absolute;
1166
- top: 0;
1167
- left: 0;
1168
- width: 100%;
1169
- height: 100%;
1170
- padding: 6px;
1171
- box-sizing: border-box;
1172
- padding-bottom: 1em;
1173
- }
1174
- .BRReadAloudToolbar .playback-rate-container select {
1175
- cursor: pointer;
1176
- position: absolute;
1177
- top: 0;
1178
- bottom: 0;
1179
- left: 0;
1180
- width: 100%;
1181
- font-size: 0.8em;
1182
- -moz-appearance: none;
1183
- -webkit-appearance: none;
1184
- appearance: none;
1185
- border: 0;
1186
- text-align: center;
1187
- text-align-last: center; /* Chrome */
1188
- padding-top: 60%;
1189
- padding-left: 10%;
1190
- padding-right: 10%;
1191
- color: #333;
1192
- background: transparent;
1193
- /* IE */
1194
- }
1195
- .BRReadAloudToolbar .playback-rate-container select::-ms-expand {
1196
- display: none;
1197
- }
1198
- .BRReadAloudToolbar button:hover, .BRReadAloudToolbar .playback-rate-container:hover {
1199
- background: rgba(50, 50, 50, 0.2);
1200
- }
1201
-
1202
- .BRnav {
1203
- box-sizing: border-box;
1204
- height: 34px;
1205
- padding-top: 0;
1206
- overflow: visible;
1207
- display: block;
1208
- display: flex;
1209
- flex-direction: row;
1210
- border-top: 1px solid #222;
1211
- /* Theming */
1212
- background-color: #333;
1213
- color: white;
1214
- }
1215
- .BRnav a {
1216
- color: white;
1217
- }
1218
- .BRnav .BRpager {
1219
- background-color: #4D4D4D;
1220
- }
1221
- .BRnav .BRpager .ui-slider-handle {
1222
- background: white;
1223
- border: none;
1224
- }
1225
- .BRnav .BRpager .ui-slider-range {
1226
- background: rgba(255, 255, 255, 0.59);
1227
- }
1228
- .BRnav .BRpage .BRicon {
1229
- border-left: 1px solid #4D4D4D;
1230
- }
1231
- .BRnav .BRpage .BRicon.activated {
1232
- background-color: rgba(255, 255, 255, 0.4);
1233
- }
1234
- .BRnav .BRpage .BRicon.activated:before {
1235
- content: "";
1236
- top: 0;
1237
- left: 0;
1238
- width: 100%;
1239
- height: 100%;
1240
- box-sizing: border-box;
1241
- display: block;
1242
- border: 3px solid rgba(255, 255, 255, 0.3);
1243
- }
1244
- .BRnav {
1245
- /* Full mobile styles */
1246
- }
1247
- @media (max-width: 800px) {
1248
- .BRnav {
1249
- height: 34px;
1250
- box-shadow: 0px -1px 3px 0px rgba(102, 102, 102, 0.25);
1251
- }
1252
- }
1253
-
1254
- .BRnavpos {
1255
- position: relative;
1256
- margin-right: 10px;
1257
- margin-left: 10px;
1258
- float: left;
1259
- flex: 1 auto;
1260
- }
1261
-
1262
- .BRpager.ui-slider {
1263
- position: relative;
1264
- height: 8px;
1265
- top: 13px;
1266
- box-sizing: content-box;
1267
- border-radius: 10px;
1268
- cursor: pointer;
1269
- }
1270
- .BRpager.ui-slider.ui-widget.ui-widget-content {
1271
- border: none;
1272
- }
1273
- .BRpager.ui-slider.ui-slider-docked {
1274
- height: 1px;
1275
- width: 100%;
1276
- margin: 0px;
1277
- }
1278
- .BRpager.ui-slider .ui-slider-horizontal .ui-slider-handle,
1279
- .BRpager.ui-slider .ui-slider-handle {
1280
- position: absolute;
1281
- width: 20px;
1282
- height: 20px;
1283
- border-radius: 50%;
1284
- top: -5px;
1285
- margin-left: -9px; /* Center icon */
1286
- z-index: 6;
1287
- border: none;
1288
- }
1289
- .BRpager.ui-slider .ui-slider-range {
1290
- height: 100%;
1291
- border-radius: 10px;
1292
- }
1293
- .BRpager.ui-slider {
1294
- /* handle active state for touch */
1295
- }
1296
- .touch .BRpager.ui-slider .ui-slider-handle.ui-state-active {
1297
- width: 24px;
1298
- height: 24px;
1299
- top: -4px;
1300
- margin-left: -11px;
1301
- }
1302
-
1303
- /* BRnavlin is where chapters/search are appended */
1304
- .BRnavline {
1305
- position: relative;
1306
- height: 1px;
1307
- width: auto;
1308
- top: -1px;
1309
- margin: 0 10px;
1310
- width: 100%;
1311
- }
1312
-
1313
- .BRcurrentpage {
1314
- display: inline-block;
1315
- text-align: left;
1316
- padding: 0 0 0 0;
1317
- font-size: 12px;
1318
- margin-left: 15px;
1319
- margin-right: 10px;
1320
- line-height: 1;
1321
- }
1322
-
1323
- .BRnavTitle {
1324
- position: relative;
1325
- z-index: 2;
1326
- text-align: center;
1327
- padding: 0 0 0 0;
1328
- font-size: 12px;
1329
- margin-left: 10px;
1330
- margin-right: 5px;
1331
- line-height: 1;
1332
- display: flex;
1333
- flex-direction: column;
1334
- justify-content: center;
1335
- letter-spacing: 0.5px;
1336
- font-style: italic;
1337
- }
1338
-
1339
- .BRpage {
1340
- height: 100%;
1341
- overflow: hidden;
1342
- padding-left: 0;
1343
- text-align: right;
1344
- white-space: nowrap;
1345
- float: left;
1346
- flex: none;
1347
- }
1348
-
1349
- .BRpageLparan {
1350
- margin-right: 1px;
1351
- font-size: 0.8em;
1352
- vertical-align: top;
1353
- }
1354
-
1355
- .BRpageRparan {
1356
- margin-left: 1px;
1357
- font-size: 0.8em;
1358
- vertical-align: top;
1359
- }
1360
-
1361
- /* Mobile Only */
1362
- @media (max-width: 800px) {
1363
- /* hide navline chapters and search in mobile */
1364
- .BRnavline .BRchapter {
1365
- display: none;
1366
- }
1367
- .BRpager.ui-slider {
1368
- top: 12px;
1369
- }
1370
- }
1371
- /* Mobile nav zoom buttons */
1372
- .DrawerSettingsWrapper [class*=zoom] {
1373
- width: 40px;
1374
- height: 40px;
1375
- background-position: -1224px center;
1376
- background-size: 3440px auto;
1377
- }
1378
-
1379
- .DrawerSettingsWrapper .zoom_in {
1380
- background-position: -1384px center;
1381
- }
1382
-
1383
- .BRnavMobile {
1384
- box-sizing: content-box;
1385
- }
1386
-
1387
- .BRnavMobile.docked {
1388
- height: 0px;
1389
- border: none;
1390
- }
1391
- .BRnavMobile.docked .BRcontrols .scrubber .BRpager.ui-slider {
1392
- top: -1px;
1393
- }
1394
- .BRnavMobile.docked .ui-slider,
1395
- .BRnavMobile.docked .ui-slider-range {
1396
- height: 2px;
1397
- border-radius: 0px;
1398
- }
1399
- .BRnavMobile.docked .BRnavpos {
1400
- margin: 0px;
1401
- }
1402
- .BRnavMobile.docked .scrubber {
1403
- margin: 0px;
1404
- padding: 0px;
1405
- height: 0px;
1406
- }
1407
- .BRnavMobile.docked .controls {
1408
- padding: 0px;
1409
- background-color: transparent;
1410
- }
1411
- .BRnavMobile.docked .BRnavline {
1412
- display: none;
1413
- }
1414
- .BRnavMobile.docked .ui-slider-handle {
1415
- display: none;
1416
- }
1417
- .BRnavMobile.docked button {
1418
- display: none;
1419
- }
1420
-
1421
- .ui-slider:focus-within {
1422
- outline: 2px solid #BBB;
1423
- outline-offset: 1px;
1424
- }
1425
-
1426
- .BRnavMobile.hide {
1427
- display: none;
1428
- }
1429
-
1430
- /**
1431
- * BRtoolbar is the top control bar (eg header)
1432
- */
1433
- .BRtoolbar {
1434
- position: relative;
1435
- top: 0;
1436
- left: 0;
1437
- padding: 10px 10px 4px 10px;
1438
- width: 100%;
1439
- background-color: transparent;
1440
- box-sizing: border-box;
1441
- width: 100%;
1442
- color: white;
1443
- font-size: 14px;
1444
- /* ensure that this displays over book */
1445
- z-index: 3;
1446
- }
1447
-
1448
- .BRtoolbar .label {
1449
- font-size: 12px;
1450
- color: #ccc;
1451
- }
1452
-
1453
- .BRtoolbar a {
1454
- text-decoration: none;
1455
- color: white;
1456
- }
1457
- .BRtoolbar a:hover {
1458
- color: white;
1459
- text-decoration: underline;
1460
- }
1461
-
1462
- /* desktop header */
1463
- .BRtoolbarSection > * {
1464
- margin-left: 6px;
1465
- }
1466
-
1467
- .BRtoolbarbuttons {
1468
- white-space: nowrap;
1469
- box-sizing: border-box;
1470
- display: flex;
1471
- flex-direction: row;
1472
- }
1473
-
1474
- .BRtoolbarbuttons .BRpill {
1475
- border: 1px solid white;
1476
- background: transparent;
1477
- padding: 5px 10px;
1478
- height: 30px;
1479
- border-radius: 20px;
1480
- color: white;
1481
- line-height: 0;
1482
- vertical-align: middle;
1483
- font-size: 12px;
1484
- cursor: pointer;
1485
- }
1486
- .BRtoolbarbuttons .BRpill.BRtoolbarHamburger {
1487
- border: none;
1488
- border-radius: none;
1489
- }
1490
-
1491
- .BRtoolbarSection {
1492
- white-space: nowrap;
1493
- }
1494
-
1495
- .BRtoolbarSectionLogo {
1496
- text-align: center;
1497
- display: none;
1498
- }
1499
-
1500
- .BRtoolbarLeft {
1501
- flex: 1 auto;
1502
- overflow-y: hidden;
1503
- }
1504
-
1505
- .BRtoolbarRight {
1506
- flex: none;
1507
- }
1508
-
1509
- @media (max-width: 800px) {
1510
- .BRtoolbar {
1511
- height: 34px;
1512
- padding: 0;
1513
- box-shadow: 0px 1px 3px 0px rgba(102, 102, 102, 0.25);
1514
- }
1515
- }
1516
- ia-bookreader .BRtoolbar {
1517
- padding-left: 50px;
1518
- }
1519
-
1520
- .BookReader .BRquery, .BRfloat .BRquery, .BookReader .BRchapter > div, .BRfloat .BRchapter > div {
1521
- display: none;
1522
- position: absolute;
1523
- bottom: calc(100% + 5px);
1524
- left: -14px;
1525
- width: 350px;
1526
- max-width: 100vw;
1527
- padding: 12px 14px;
1528
- padding-bottom: 10px;
1529
- color: #fff;
1530
- background: #333;
1531
- box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
1532
- border-radius: 4px;
1533
- animation: fadeUp 0.2s;
1534
- -webkit-user-select: none;
1535
- -moz-user-select: none;
1536
- -ms-user-select: none;
1537
- -o-user-select: none;
1538
- user-select: none;
1539
- }
1540
- .BookReader .BRquery:after, .BRfloat .BRquery:after, .BookReader .BRchapter > div:after, .BRfloat .BRchapter > div:after {
1541
- position: absolute;
1542
- content: "";
1543
- bottom: -9px;
1544
- left: 0;
1545
- width: 30px;
1546
- height: 10px;
1547
- clip-path: polygon(0 0, 100% 0, 50% 100%);
1548
- }
1549
-
1550
- .BookReader .searchHiliteLayer, .BookReader .ttsHiliteLayer, .BRfloat .searchHiliteLayer, .BRfloat .ttsHiliteLayer {
1551
- pointer-events: none;
1552
- z-index: 4;
1553
- }
1554
- .BookReader .searchHiliteLayer rect, .BookReader .ttsHiliteLayer rect, .BRfloat .searchHiliteLayer rect, .BRfloat .ttsHiliteLayer rect {
1555
- fill: rgba(0, 0, 255, 0.2);
1556
- }
1557
- .BookReader .searchHiliteLayer rect, .BRfloat .searchHiliteLayer rect {
1558
- animation: highlightFocus 600ms 1 reverse;
1559
- stroke: blue;
1560
- stroke-width: 4px;
1561
- }
1562
- .BookReader .searchHiliteLayer rect:nth-child(1), .BRfloat .searchHiliteLayer rect:nth-child(1) {
1563
- animation-delay: 0ms;
1564
- }
1565
- .BookReader .searchHiliteLayer rect:nth-child(2), .BRfloat .searchHiliteLayer rect:nth-child(2) {
1566
- animation-delay: 50ms;
1567
- }
1568
- .BookReader .searchHiliteLayer rect:nth-child(3), .BRfloat .searchHiliteLayer rect:nth-child(3) {
1569
- animation-delay: 100ms;
1570
- }
1571
- .BookReader .searchHiliteLayer rect:nth-child(4), .BRfloat .searchHiliteLayer rect:nth-child(4) {
1572
- animation-delay: 150ms;
1573
- }
1574
- .BookReader .searchHiliteLayer rect:nth-child(5), .BRfloat .searchHiliteLayer rect:nth-child(5) {
1575
- animation-delay: 200ms;
1576
- }
1577
- .BookReader .searchHiliteLayer rect:nth-child(6), .BRfloat .searchHiliteLayer rect:nth-child(6) {
1578
- animation-delay: 250ms;
1579
- }
1580
- .BookReader .searchHiliteLayer rect:nth-child(7), .BRfloat .searchHiliteLayer rect:nth-child(7) {
1581
- animation-delay: 300ms;
1582
- }
1583
- .BookReader .searchHiliteLayer rect:nth-child(8), .BRfloat .searchHiliteLayer rect:nth-child(8) {
1584
- animation-delay: 350ms;
1585
- }
1586
- .BookReader .searchHiliteLayer rect:nth-child(9), .BRfloat .searchHiliteLayer rect:nth-child(9) {
1587
- animation-delay: 400ms;
1588
- }
1589
- .BookReader .searchHiliteLayer rect:nth-child(10), .BRfloat .searchHiliteLayer rect:nth-child(10) {
1590
- animation-delay: 450ms;
1591
- }
1592
- .BookReader .BRchapter, .BookReader .BRsearch, .BRfloat .BRchapter, .BRfloat .BRsearch {
1593
- position: absolute;
1594
- bottom: 0; /* Relative to nav line */
1595
- cursor: pointer;
1596
- z-index: 3;
1597
- background-color: transparent;
1598
- background-repeat: no-repeat;
1599
- font-weight: normal;
1600
- }
1601
- .BookReader .BRchapter, .BRfloat .BRchapter {
1602
- background-color: white;
1603
- color: #666;
1604
- height: 8px;
1605
- width: 4px;
1606
- bottom: -13px;
1607
- margin-left: -12px; /* Center icon */
1608
- }
1609
- .BookReader .BRchapter:hover > div, .BRfloat .BRchapter:hover > div {
1610
- display: block;
1611
- }
1612
- .BookReader .BRchapter.front, .BRfloat .BRchapter.front {
1613
- background-color: blue;
1614
- }
1615
- .BookReader .BRchapter .BRchapterPage, .BRfloat .BRchapter .BRchapterPage {
1616
- font-size: 0.85em;
1617
- opacity: 0.8;
1618
- }
1619
- .BookReader .BRsearch, .BRfloat .BRsearch {
1620
- width: 9px;
1621
- height: 6px;
1622
- margin-left: -10px;
1623
- }
1624
- .BookReader .BRsearch:before, .BRfloat .BRsearch:before {
1625
- position: absolute;
1626
- left: calc(50% - 2px);
1627
- transform: translateX(-50%);
1628
- width: 2px;
1629
- height: 6px;
1630
- content: "";
1631
- background: #428bca;
1632
- border-radius: 2px;
1633
- }
1634
- .BookReader .BRsearch:hover .BRquery, .BRfloat .BRsearch:hover .BRquery {
1635
- display: block;
1636
- }
1637
- .BookReader .BRsearch .BRquery, .BRfloat .BRsearch .BRquery {
1638
- display: none;
1639
- }
1640
- .BookReader .BRquery main, .BRfloat .BRquery main {
1641
- display: -webkit-box;
1642
- -webkit-line-clamp: 4;
1643
- -webkit-box-orient: vertical;
1644
- overflow: hidden;
1645
- margin-bottom: 6px;
1646
- }
1647
- .BookReader .BRquery main:before, .BRfloat .BRquery main:before {
1648
- content: "“";
1649
- }
1650
- .BookReader .BRquery main:after, .BRfloat .BRquery main:after {
1651
- content: "”";
1652
- }
1653
- .BookReader .BRquery footer, .BRfloat .BRquery footer {
1654
- font-size: 0.85em;
1655
- opacity: 0.8;
1656
- }
1657
- .BookReader .BRquery mark, .BRfloat .BRquery mark {
1658
- color: #adaedc;
1659
- font-weight: bold;
1660
- background-color: #272958;
1661
- }
1662
- .BookReader .BRbooksearch, .BRfloat .BRbooksearch {
1663
- position: relative;
1664
- box-sizing: border-box;
1665
- }
1666
- .BookReader .BRbooksearch.desktop, .BRfloat .BRbooksearch.desktop {
1667
- position: relative;
1668
- height: 30px;
1669
- border: 1px solid white;
1670
- border-radius: 20px;
1671
- display: inline-block;
1672
- line-height: 0;
1673
- vertical-align: top;
1674
- margin-top: 0;
1675
- margin-bottom: 0;
1676
- }
1677
- .BookReader .BRbooksearch.desktop .BRsearchInput, .BRfloat .BRbooksearch.desktop .BRsearchInput {
1678
- -webkit-appearance: none;
1679
- position: relative;
1680
- width: 130px;
1681
- max-width: 160px;
1682
- height: 100%;
1683
- color: white;
1684
- border: none;
1685
- padding: 3px 0px 3px 10px;
1686
- margin: 0;
1687
- box-sizing: border-box;
1688
- background: transparent;
1689
- display: block;
1690
- float: left;
1691
- font-size: 14px;
1692
- line-height: 1.2;
1693
- }
1694
- .BookReader .BRbooksearch.desktop .BRsearchSubmit, .BRfloat .BRbooksearch.desktop .BRsearchSubmit {
1695
- width: auto;
1696
- height: 100%;
1697
- border: none;
1698
- text-align: center;
1699
- color: #fff;
1700
- overflow: hidden;
1701
- box-sizing: boder-box;
1702
- display: block;
1703
- background: transparent;
1704
- float: left;
1705
- cursor: pointer;
1706
- }
1707
- .BookReader .BRsearch-navigation, .BRfloat .BRsearch-navigation {
1708
- position: relative;
1709
- z-index: 1;
1710
- display: flex;
1711
- justify-content: space-between;
1712
- align-items: center;
1713
- color: #fff;
1714
- background-color: #333;
1715
- padding: 5px 0;
1716
- }
1717
- .BookReader .BRsearch-navigation button.toggle-sidebar, .BRfloat .BRsearch-navigation button.toggle-sidebar {
1718
- width: unset;
1719
- padding: 0 10px;
1720
- }
1721
- .BookReader .BRsearch-navigation button.toggle-sidebar h4, .BRfloat .BRsearch-navigation button.toggle-sidebar h4 {
1722
- padding: 0;
1723
- margin: 0;
1724
- font-size: 15px;
1725
- font-weight: normal;
1726
- color: #fff;
1727
- }
1728
- .BookReader .BRsearch-navigation button.toggle-sidebar h4 span, .BRfloat .BRsearch-navigation button.toggle-sidebar h4 span {
1729
- vertical-align: middle;
1730
- }
1731
- .BookReader .BRsearch-navigation .pagination, .BRfloat .BRsearch-navigation .pagination {
1732
- position: absolute;
1733
- left: 50%;
1734
- top: 50%;
1735
- transform: translate(-50%, -50%);
1736
- margin: 0;
1737
- }
1738
- .BookReader .BRsearch-navigation .pagination span, .BRfloat .BRsearch-navigation .pagination span {
1739
- display: inline-block;
1740
- padding: 0 5px;
1741
- }
1742
- .BookReader .BRsearch-navigation .pagination button[disabled], .BRfloat .BRsearch-navigation .pagination button[disabled] {
1743
- opacity: 0.3;
1744
- cursor: default;
1745
- }
1746
- .BookReader .BRsearch-navigation .pagination button span, .BRfloat .BRsearch-navigation .pagination button span {
1747
- width: 8px;
1748
- height: 13px;
1749
- padding: 0;
1750
- background-size: 100% auto;
1751
- }
1752
- .BookReader .BRsearch-navigation .clear span, .BRfloat .BRsearch-navigation .clear span {
1753
- width: 18px;
1754
- height: 18px;
1755
- }
1756
-
1757
- @keyframes highlightFocus {
1758
- to {
1759
- stroke-width: 20px;
1760
- }
1761
- }
1762
- /* Mid size breakpoint */
1763
- @media (max-width: 1050px) {
1764
- .BookReader .BRbooksearch .BRsearchInput, .BRfloat .BRbooksearch .BRsearchInput {
1765
- padding: 0 0 0 8px;
1766
- width: 110px;
1767
- min-width: 110px;
1768
- }
1769
- .BookReader .BRbooksearch .BRsearchSubmit, .BRfloat .BRbooksearch .BRsearchSubmit {
1770
- float: left;
1771
- }
1772
- }
1773
- /****************** Excerpt from jquery-ui *********************/
1774
- .ui-helper-hidden {
1775
- display: none;
1776
- }
1777
-
1778
- .ui-helper-hidden-accessible {
1779
- position: absolute !important;
1780
- clip: rect(1px 1px 1px 1px);
1781
- clip: rect(1px, 1px, 1px, 1px);
1782
- }
1783
-
1784
- .ui-helper-reset {
1785
- margin: 0;
1786
- padding: 0;
1787
- border: 0;
1788
- outline: 0;
1789
- line-height: 1.3;
1790
- text-decoration: none;
1791
- font-size: 100%;
1792
- list-style: none;
1793
- }
1794
-
1795
- .ui-helper-clearfix:after {
1796
- content: ".";
1797
- display: block;
1798
- height: 0;
1799
- clear: both;
1800
- visibility: hidden;
1801
- }
1802
-
1803
- .icon {
1804
- display: inline-block;
1805
- background: transparent 50% 50% no-repeat;
1806
- }
1807
-
1808
- .icon.hflip {
1809
- transform: scaleX(-1);
1810
- }
1811
-
1812
- .active .icon {
1813
- filter: brightness(0.2);
1814
- }
1815
-
1816
- .icon-read-aloud {
1817
- width: 20px;
1818
- height: 16px;
1819
- background-image: url("icons/read-aloud.svg");
1820
- }
1821
-
1822
- .icon-onepg {
1823
- width: 11px;
1824
- height: 19px;
1825
- background-image: url("icons/1up.svg");
1826
- }
1827
-
1828
- .icon-twopg {
1829
- width: 20px;
1830
- height: 19px;
1831
- background-image: url("icons/2up.svg");
1832
- }
1833
-
1834
- .icon-fullscreen,
1835
- .icon-fullscreen-exit {
1836
- width: 18px;
1837
- height: 18px;
1838
- background-image: url("icons/fullscreen.svg");
1839
- }
1840
-
1841
- .icon-fullscreen-exit {
1842
- background-image: url("icons/fullscreen_exit.svg");
1843
- }
1844
-
1845
- .icon-thumb {
1846
- width: 17px;
1847
- height: 19px;
1848
- background-image: url("icons/thumbnails.svg");
1849
- }
1850
-
1851
- .icon-playback-speed {
1852
- width: 24px;
1853
- height: 32px;
1854
- background-image: url("icons/playback-speed.svg");
1855
- }
1856
-
1857
- .icon-review,
1858
- .icon-advance {
1859
- width: 21px;
1860
- height: 19px;
1861
- background-image: url("icons/review.svg");
1862
- }
1863
-
1864
- .icon-advance {
1865
- background-image: url("icons/advance.svg");
1866
- }
1867
-
1868
- .icon-volume-full {
1869
- width: 23px;
1870
- height: 22px;
1871
- background-image: url("icons/volume-full.svg");
1872
- }
1873
-
1874
- .icon-play,
1875
- .icon-pause {
1876
- width: 40px;
1877
- height: 40px;
1878
- background-image: url("icons/play.svg");
1879
- }
1880
-
1881
- .icon-pause {
1882
- background-image: url("icons/pause.svg");
1883
- }
1884
-
1885
- .icon-left-arrow {
1886
- width: 12px;
1887
- height: 14px;
1888
- background-image: url("icons/left-arrow.svg");
1889
- }
1890
-
1891
- .icon-magnify {
1892
- position: relative;
1893
- width: 18px;
1894
- height: 18px;
1895
- background-image: url("icons/magnify-minus.svg");
1896
- }
1897
- .icon-magnify.plus {
1898
- background-image: url("icons/magnify-plus.svg");
1899
- }
1900
-
1901
- .icon-search {
1902
- width: 19px;
1903
- height: 19px;
1904
- background-image: url("images/icon_search_button.svg");
1905
- }
1906
-
1907
- .icon-chevron {
1908
- width: 5px;
1909
- height: 8px;
1910
- background-image: url("icons/chevron-right.svg");
1911
- }
1912
-
1913
- .icon-close {
1914
- width: 12px;
1915
- height: 12px;
1916
- background-image: url("icons/close-circle.svg");
1917
- }
1918
-
1919
- .icon-close-dark {
1920
- width: 12px;
1921
- height: 12px;
1922
- background-image: url("icons/close-circle-dark.svg");
1923
- }
1924
-
1925
- .icon-toggle-slider {
1926
- background-size: 25px;
1927
- width: 25px;
1928
- height: 25px;
1929
- background-image: url("icons/slider-toggle.svg");
1930
- }
1931
-
1932
- .BRcontrols {
1933
- width: 100%;
1934
- }
1935
- .BRcontrols .BRtooltip {
1936
- display: none;
1937
- position: absolute;
1938
- width: auto;
1939
- left: 50%;
1940
- bottom: calc(100% + 10px);
1941
- transform: translateX(-50%);
1942
- padding: 5px 10px;
1943
- font-weight: bold;
1944
- white-space: nowrap;
1945
- color: #fff;
1946
- border-radius: 3px;
1947
- background: #333;
1948
- pointer-events: none;
1949
- }
1950
- .BRcontrols .full .BRtooltip {
1951
- left: auto;
1952
- right: 0;
1953
- transform: translateX(0);
1954
- }
1955
- .BRfullscreenActive .BRcontrols .icon-fullscreen {
1956
- background-image: url("icons/fullscreen_exit.svg");
1957
- }
1958
- .BRcontrols select.playback-speed, .BRcontrols select.playback-voices {
1959
- padding-top: 18px;
1960
- -moz-appearance: none;
1961
- -webkit-appearance: none;
1962
- appearance: none;
1963
- font-size: 10px;
1964
- text-align-last: center;
1965
- color: #fff;
1966
- border: none;
1967
- cursor: pointer;
1968
- }
1969
- .BRcontrols select.playback-speed option, .BRcontrols select.playback-speed optgroup, .BRcontrols select.playback-voices option, .BRcontrols select.playback-voices optgroup {
1970
- background: #333;
1971
- }
1972
- .BRcontrols select.playback-speed {
1973
- width: 30px;
1974
- background: transparent url("icons/playback-speed.svg") 50% 0 no-repeat;
1975
- }
1976
- .BRcontrols select.playback-voices {
1977
- width: 30px;
1978
- background: transparent url("icons/voice.svg") 50% 0 no-repeat;
1979
- background-size: 18px;
1980
- }
1981
- .BRcontrols .active {
1982
- background: #fff;
1983
- }
1984
- .BRcontrols li {
1985
- position: relative;
1986
- }
1987
- .BRcontrols .controls {
1988
- position: relative;
1989
- z-index: 2;
1990
- display: flex;
1991
- padding: 2px 10px;
1992
- margin: 0;
1993
- list-style: none;
1994
- background: #333;
1995
- }
1996
- @media (max-width: 800px) {
1997
- .BRcontrols .controls {
1998
- padding-left: 0;
1999
- }
2000
- }
2001
- .BRcontrols .controls button {
2002
- width: 30px;
2003
- height: 30px;
2004
- }
2005
- .BRcontrols .controls .hide {
2006
- display: none;
2007
- }
2008
- @keyframes slideUp {
2009
- from {
2010
- opacity: 0;
2011
- transform: translateY(10px);
2012
- }
2013
- to {
2014
- opacity: 1;
2015
- transform: translateY(0);
2016
- }
2017
- }
2018
- .BRcontrols .read-aloud {
2019
- display: none;
2020
- position: absolute;
2021
- bottom: 100%;
2022
- right: 0;
2023
- left: 0;
2024
- z-index: 1;
2025
- padding: 5px 0;
2026
- margin: 0;
2027
- align-items: center;
2028
- justify-content: center;
2029
- list-style: none;
2030
- background: #333;
2031
- }
2032
- .BRcontrols .read-aloud.visible {
2033
- display: flex;
2034
- animation: slideUp 0.2s;
2035
- }
2036
- .BRcontrols .read-aloud.visible button {
2037
- width: unset;
2038
- height: unset;
2039
- }
2040
- .BRcontrols .read-aloud li {
2041
- padding: 0 10px;
2042
- }
2043
- .BRcontrols .read-aloud [name=play] .icon-pause {
2044
- display: none;
2045
- }
2046
- .BRcontrols .read-aloud [name=play].playing .icon-play {
2047
- display: none;
2048
- }
2049
- .BRcontrols .read-aloud [name=play].playing .icon-pause {
2050
- display: inline-block;
2051
- }
2052
- .BRcontrols .scrubber {
2053
- display: flex;
2054
- width: 100%;
2055
- height: 30px;
2056
- }
2057
- .BRcontrols .frame {
2058
- position: relative;
2059
- width: 100%;
2060
- }
2061
- .BRcontrols .color-fill {
2062
- position: absolute;
2063
- top: 50%;
2064
- left: 0;
2065
- transform: translateY(-50%);
2066
- width: 100%;
2067
- height: 8px;
2068
- border-radius: 8px;
2069
- }
2070
- .BRcontrols .scrubber input[type=range] {
2071
- position: absolute;
2072
- top: 50%;
2073
- left: 0;
2074
- transform: translateY(-50%);
2075
- width: 100%;
2076
- background-color: transparent;
2077
- -webkit-appearance: none;
2078
- }
2079
- .BRcontrols .scrubber input[type=range]:focus {
2080
- outline: none;
2081
- }
2082
- .BRcontrols .scrubber input[type=range]::-webkit-slider-runnable-track {
2083
- background: transparent;
2084
- border: 0px solid rgba(204, 204, 204, 0);
2085
- border: 0;
2086
- border-radius: 8px;
2087
- width: 100%;
2088
- height: 8px;
2089
- cursor: pointer;
2090
- }
2091
- .BRcontrols .scrubber input[type=range]::-webkit-slider-thumb {
2092
- margin-top: -4px;
2093
- width: 16px;
2094
- height: 16px;
2095
- background: #ffffff;
2096
- border: 0px solid rgba(0, 0, 0, 0);
2097
- border: 0;
2098
- border-radius: 8px;
2099
- cursor: pointer;
2100
- -webkit-appearance: none;
2101
- }
2102
- .BRcontrols .scrubber input[type=range]::-moz-range-track {
2103
- background: #666666;
2104
- border: 0px solid rgba(204, 204, 204, 0);
2105
- border: 0;
2106
- border-radius: 8px;
2107
- width: 100%;
2108
- height: 8px;
2109
- cursor: pointer;
2110
- }
2111
- .BRcontrols .scrubber input[type=range]::-moz-range-progress {
2112
- height: 8px;
2113
- background: #ccc;
2114
- }
2115
- .BRcontrols .scrubber input[type=range]::-ms-track {
2116
- border: none;
2117
- color: transparent;
2118
- background: #666;
2119
- }
2120
- .BRcontrols .scrubber input[type=range]::-ms-fill-lower {
2121
- background: #ccc;
2122
- }
2123
- .BRcontrols .scrubber input[type=range]::-ms-tooltip {
2124
- display: none;
2125
- }
2126
- .BRcontrols .scrubber input[type=range]::-moz-range-thumb {
2127
- width: 16px;
2128
- height: 16px;
2129
- background: #ffffff;
2130
- border: 0px solid rgba(0, 0, 0, 0);
2131
- border: 0;
2132
- border-radius: 8px;
2133
- cursor: pointer;
2134
- }
2135
- .BRcontrols .scrubber p {
2136
- padding: 0 20px 0 13px;
2137
- margin: 0;
2138
- align-self: stretch;
2139
- font-weight: 700;
2140
- line-height: 26px;
2141
- color: #fff;
2142
- }
2143
- @media (max-width: 800px) {
2144
- .BRcontrols .scrubber p {
2145
- padding: 0;
2146
- }
2147
- }
2148
- .BRcontrols {
2149
- /* BookReader defaults overrides */
2150
- }
2151
- .BRcontrols .BRnavline {
2152
- top: -4px;
2153
- }
2154
- .BRcontrols .scrubber .BRpager.ui-slider {
2155
- top: 10px;
2156
- background-color: #666;
2157
- }
2158
- .BRcontrols .scrubber .BRpager.ui-slider .ui-slider-range {
2159
- background-color: #ccc;
2160
- }
2161
-
2162
- .BRtextLayer, .BRtranslateLayer {
2163
- z-index: 2;
2164
- position: absolute;
2165
- top: 0;
2166
- left: 0;
2167
- color: transparent;
2168
- transform-origin: 0 0;
2169
- pointer-events: none;
2170
- cursor: text;
2171
- }
2172
-
2173
- .BRtextLayer {
2174
- mix-blend-mode: multiply;
2175
- }
2176
-
2177
- .BRtranslateLayer {
2178
- hyphens: auto;
2179
- }
2180
-
2181
- .BRparagraphElement {
2182
- margin: 0;
2183
- cursor: text;
2184
- font-family: Georgia, serif;
2185
- line-height: 0;
2186
- }
2187
-
2188
- .BRlineElement {
2189
- pointer-events: all;
2190
- white-space: nowrap;
2191
- display: inline-block;
2192
- }
2193
- .BRtextLayer[dir=ltr] .BRlineElement {
2194
- margin-right: 100%;
2195
- }
2196
- .BRtextLayer[dir=rtl] .BRlineElement {
2197
- margin-left: 100%;
2198
- }
2199
-
2200
- .BRwordElement::selection, .BRspace::selection, .BRparagraphElement::selection, .BRparagraphElement br::selection {
2201
- background: hsla(210, 74%, 62%, 0.4);
2202
- }
2203
- .BRwordElement::-moz-selection, .BRspace::-moz-selection, .BRparagraphElement::-moz-selection, .BRparagraphElement br::-moz-selection {
2204
- background: hsla(210, 74%, 62%, 0.4);
2205
- color: transparent;
2206
- }
2207
-
2208
- .BRtranslateLayer ::selection {
2209
- background: hsla(210, 74%, 62%, 0.4);
2210
- }
2211
-
2212
- .BRtranslateLayer ::-moz-selection {
2213
- background: hsla(210, 74%, 62%, 0.4);
2214
- }
2215
-
2216
- .BRparagraphElement br {
2217
- visibility: hidden;
2218
- }
2219
-
2220
- .BRwordElement--hyphen::after {
2221
- content: "-";
2222
- }
2223
-
2224
- .BRsmooth-zooming .BRpagecontainer:not(.BRpagecontainer--hasSelection):not(:has(hypothesis-highlight)):not(:has(.BRhighlight)) .BRtextLayer, .BRscrolling-active .BRpagecontainer:not(.BRpagecontainer--hasSelection):not(:has(hypothesis-highlight)):not(:has(.BRhighlight)) .BRtextLayer {
2225
- display: none;
2226
- }
2227
-
2228
- .BRmode1up .BRpagecontainer:not(.BRpage-visible) .BRtextLayer {
2229
- display: none;
2230
- }
2231
-
2232
- .BRpagecontainer img {
2233
- -webkit-user-select: none;
2234
- -moz-user-select: none;
2235
- user-select: none;
2236
- }
2237
-
2238
- .BRtextLayer:has([_istranslated="1"], msreadoutspan) {
2239
- mix-blend-mode: normal;
2240
- }
2241
-
2242
- .BRwordElement[_istranslated="1"], .BRwordElement[_msttexthash], .BRspace[_istranslated="1"], .BRspace[_msttexthash] {
2243
- color: black;
2244
- letter-spacing: unset !important;
2245
- }
2246
-
2247
- .BRlineElement:has([_istranslated="1"], [_msttexthash]) {
2248
- background: rgba(248, 237, 192, 0.8);
2249
- backdrop-filter: blur(8px);
2250
- color: black;
2251
- text-align: justify;
2252
- width: inherit;
2253
- }
2254
- .BRlineElement:has([_istranslated="1"], [_msttexthash]):not(:nth-last-child(2)) {
2255
- text-align-last: justify;
2256
- }
2257
-
2258
- .BRlineElement[_msttexthash] {
2259
- word-spacing: unset !important;
2260
- }
2261
-
2262
- .BRtranslateLayer .BRparagraphElement {
2263
- pointer-events: auto;
2264
- overflow-y: auto;
2265
- background: rgba(248, 237, 192, 0.8);
2266
- backdrop-filter: blur(8px);
2267
- color: black;
2268
- line-height: 1em;
2269
- text-align: justify;
2270
- }
2271
-
2272
- .BRtranslateLayer .BRparagraphElement .BRlineElement {
2273
- white-space: break-spaces;
2274
- display: inline-block;
2275
- }
2276
-
2277
- .BRtextLayer.showingTranslation {
2278
- display: none;
2279
- }
2280
-
2281
- .BRtranslateLayer .BRparagraphElement.BRtranslateHidden {
2282
- display: none;
2283
- }
2284
-
2285
- .br-select-menu__root {
2286
- display: none;
2287
- border-radius: 20px;
2288
- background-color: #333;
2289
- color: white;
2290
- color-scheme: dark;
2291
- padding: 2px;
2292
- overflow: hidden;
2293
- opacity: 1;
2294
- transition: border-radius 0.2s, opacity 0.2s;
2295
- }
2296
- @starting-style {
2297
- .br-select-menu__root {
2298
- opacity: 0;
2299
- }
2300
- }
2301
-
2302
- .br-select-menu__root--scrolling {
2303
- opacity: 0;
2304
- pointer-events: none;
2305
- }
2306
-
2307
- .br-select-menu__root:hover {
2308
- border-radius: 8px;
2309
- }
2310
-
2311
- .br-select-menu__root:hover .br-select-menu__option {
2312
- border-radius: 6px;
2313
- }
2314
-
2315
- .br-select-menu__option {
2316
- --iconWidth: 15px;
2317
- --iconHeight: 15px;
2318
- --iconFillColor: currentColor;
2319
- background: transparent;
2320
- display: flex;
2321
- align-items: center;
2322
- border-radius: 20px;
2323
- font-family: inherit;
2324
- color: inherit;
2325
- border: 0;
2326
- transition: background-color 0.2s, border-radius 0.2s;
2327
- cursor: pointer;
2328
- text-wrap: nowrap;
2329
- padding: 4px;
2330
- }
2331
-
2332
- .br-select-menu__option:hover {
2333
- background-color: rgba(255, 255, 255, 0.1);
2334
- }
2335
-
2336
- .br-select-menu__icon {
2337
- display: block;
2338
- flex-shrink: 0;
2339
- width: 17px;
2340
- height: 17px;
2341
- }
2342
-
2343
- .br-select-menu__label {
2344
- margin-left: 4px;
2345
- font-size: 12px;
2346
- }
2347
-
2348
- @media (hover: hover) {
2349
- .br-select-menu__label {
2350
- width: 0px;
2351
- margin-left: 0;
2352
- opacity: 0;
2353
- interpolate-size: allow-keywords;
2354
- transition: width 0.2s;
2355
- }
2356
- .br-select-menu__root:hover .br-select-menu__label {
2357
- width: auto;
2358
- margin-left: 4px;
2359
- opacity: 1;
2360
- }
2361
- }
2362
- .BRtextLayer .BRhighlight {
2363
- background-color: yellow;
2364
- pointer-events: all;
2365
- color: transparent;
2366
- }
2367
-
2368
- @keyframes highlightTargetFlash {
2369
- to {
2370
- background-color: hsl(45, 80%, 66%);
2371
- }
2372
- }
2373
- .BRtextLayer .BRhighlight--target-text, .BRtextLayer ::target-text {
2374
- background-color: hsla(45, 80%, 66%, 0.6);
2375
- color: transparent;
2376
- animation: highlightTargetFlash 600ms 1 reverse;
2377
- }
2378
-
2379
- /**
2380
- * Hide modal-manager that loads item-navigator-modal
2381
- * loading bookmarks related alert messages
2382
- */
2383
- modal-manager[mode=closed] {
2384
- display: none;
2385
- }
2386
-
2387
- .BRpagecontainer {
2388
- --iconWidth: 16px;
2389
- --iconHeight: 24px;
2390
- --iconFillColor: #000;
2391
- }
2392
-
2393
- /* BOOKMARKS - on page */
2394
- .BRpagecontainer .bookmark-button {
2395
- position: absolute;
2396
- top: 0;
2397
- right: 0;
2398
- z-index: 2;
2399
- opacity: 0;
2400
- }
2401
-
2402
- .BRmode2up .BRpagecontainer[data-side=L] .bookmark-button {
2403
- right: auto;
2404
- left: 0;
2405
- }
2406
-
2407
- .BRpagecontainer .bookmark-button.filled {
2408
- opacity: 1;
2409
- }
2410
-
2411
- .BRpagecontainer .bookmark-button.default {
2412
- --iconFillColor: var(--defaultBookmarkColor, #eb3223);
2413
- }
2414
-
2415
- .BRpagecontainer .bookmark-button.blue {
2416
- --iconFillColor: var(--blueBookmarkColor, #0023f5);
2417
- }
2418
-
2419
- .BRpagecontainer .bookmark-button.red {
2420
- --iconFillColor: var(--redBookmarkColor, #eb3223);
2421
- }
2422
-
2423
- .BRpagecontainer .bookmark-button.green {
2424
- --iconFillColor: var(--greenBookmarkColor, #75ef4c);
2425
- }