@internetarchive/bookreader 5.0.0-93 → 5.0.0-95

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