@edrlab/thorium-web 1.1.7 → 1.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (79) hide show
  1. package/dist/{ThPreferencesAdapter-B8AYujCA.d.mts → ThPreferencesAdapter-DrZ5_6Dv.d.mts} +4 -139
  2. package/dist/{ThSettingsWrapper-BlmAxcWF.d.mts → ThSettingsWrapper-8Kx0SnH4.d.mts} +1 -1
  3. package/dist/{actions-BRtHsxpm.d.mts → actions-D2CHvCHu.d.mts} +2 -2
  4. package/dist/{actionsReducer-bT0pfxLJ.d.mts → actionsReducer-kc-S130w.d.mts} +3 -24
  5. package/dist/{chunk-KJXHAJYK.mjs → chunk-4VHEHMJN.mjs} +128 -11
  6. package/dist/chunk-4VHEHMJN.mjs.map +1 -0
  7. package/dist/{chunk-6V3O7FCS.mjs → chunk-72XCX5TD.mjs} +3 -3
  8. package/dist/{chunk-6V3O7FCS.mjs.map → chunk-72XCX5TD.mjs.map} +1 -1
  9. package/dist/{chunk-YIW2OOMW.mjs → chunk-7NEQAW7J.mjs} +2 -2
  10. package/dist/chunk-7NEQAW7J.mjs.map +1 -0
  11. package/dist/{chunk-COQXDRKD.mjs → chunk-K3K7TUWM.mjs} +2 -2
  12. package/dist/chunk-K3K7TUWM.mjs.map +1 -0
  13. package/dist/chunk-P4V3LA5R.mjs +407 -0
  14. package/dist/chunk-P4V3LA5R.mjs.map +1 -0
  15. package/dist/{chunk-4C3UOTX4.mjs → chunk-PXAUQJEU.mjs} +172 -27
  16. package/dist/chunk-PXAUQJEU.mjs.map +1 -0
  17. package/dist/chunk-QPE574OW.mjs +913 -0
  18. package/dist/chunk-QPE574OW.mjs.map +1 -0
  19. package/dist/chunk-RRDEPGBK.mjs +75 -0
  20. package/dist/chunk-RRDEPGBK.mjs.map +1 -0
  21. package/dist/components/Epub/index.css +7 -0
  22. package/dist/components/Epub/index.css.map +1 -1
  23. package/dist/components/Epub/index.d.mts +17 -11
  24. package/dist/components/Epub/index.mjs +9 -828
  25. package/dist/components/Epub/index.mjs.map +1 -1
  26. package/dist/components/Misc/index.css +23 -0
  27. package/dist/components/Misc/index.css.map +1 -1
  28. package/dist/components/Misc/index.d.mts +10 -1
  29. package/dist/components/Misc/index.mjs +31 -3
  30. package/dist/components/Misc/index.mjs.map +1 -1
  31. package/dist/components/Reader/index.css +1290 -0
  32. package/dist/components/Reader/index.css.map +1 -0
  33. package/dist/components/Reader/index.d.mts +30 -0
  34. package/dist/components/Reader/index.mjs +79 -0
  35. package/dist/components/Reader/index.mjs.map +1 -0
  36. package/dist/components/WebPub/index.css +7 -0
  37. package/dist/components/WebPub/index.css.map +1 -1
  38. package/dist/components/WebPub/index.d.mts +16 -32
  39. package/dist/components/WebPub/index.mjs +9 -372
  40. package/dist/components/WebPub/index.mjs.map +1 -1
  41. package/dist/core/Components/index.d.mts +7 -6
  42. package/dist/core/Helpers/index.d.mts +1 -1
  43. package/dist/core/Hooks/index.d.mts +55 -6
  44. package/dist/core/Hooks/index.mjs +1 -1
  45. package/dist/errorHandler-CL2YIfQY.d.mts +26 -0
  46. package/dist/i18n/index.mjs +2 -2
  47. package/dist/immer.d-CoRThNOF.d.mts +23 -0
  48. package/dist/lib/index.d.mts +12 -162
  49. package/dist/lib/index.mjs +1 -1
  50. package/dist/locales/el/thorium-web.json +31 -0
  51. package/dist/locales/en/thorium-shared.json +84 -0
  52. package/dist/locales/en/thorium-web.json +10 -1
  53. package/dist/locales/et/thorium-shared.json +93 -2
  54. package/dist/locales/et/thorium-web.json +6 -2
  55. package/dist/locales/fi/thorium-shared.json +82 -8
  56. package/dist/locales/fi/thorium-web.json +2 -1
  57. package/dist/locales/fr/thorium-shared.json +100 -0
  58. package/dist/locales/it/thorium-shared.json +9 -0
  59. package/dist/locales/lt/thorium-shared.json +22 -13
  60. package/dist/locales/lt/thorium-web.json +2 -1
  61. package/dist/locales/pt-PT/thorium-shared.json +64 -1
  62. package/dist/locales/pt-PT/thorium-web.json +4 -3
  63. package/dist/locales/sv/thorium-shared.json +61 -3
  64. package/dist/locales/sv/thorium-web.json +4 -3
  65. package/dist/preferences/index.d.mts +8 -7
  66. package/dist/preferences/index.mjs +1 -1
  67. package/dist/settingsReducer-C1wwCAMv.d.mts +159 -0
  68. package/dist/{ui-BVlJcPL_.d.mts → ui-CamWuqOo.d.mts} +1 -1
  69. package/dist/useContrast-D6sjPjxy.d.mts +152 -0
  70. package/dist/{useEpubNavigator-CsraD65e.d.mts → useEpubNavigator-CwHJfoiV.d.mts} +1 -1
  71. package/dist/{usePreferences-rfT368__.d.mts → usePreferences-BXFJbval.d.mts} +1 -1
  72. package/dist/{StatefulReader-CjgFzHoO.d.mts → useReaderTransitions-guT-eA-Q.d.mts} +50 -50
  73. package/dist/{useWebPubNavigator-Che8r5Wg.d.mts → useWebPubNavigator-CuSNQKMw.d.mts} +1 -1
  74. package/package.json +5 -3
  75. package/dist/chunk-4C3UOTX4.mjs.map +0 -1
  76. package/dist/chunk-COQXDRKD.mjs.map +0 -1
  77. package/dist/chunk-KJXHAJYK.mjs.map +0 -1
  78. package/dist/chunk-YIW2OOMW.mjs.map +0 -1
  79. package/dist/useContrast-Cgsrl7GS.d.mts +0 -15
@@ -0,0 +1,1290 @@
1
+ /* src/app/read/app.css */
2
+ html,
3
+ body {
4
+ min-height: 100%;
5
+ height: 100%;
6
+ margin: 0;
7
+ overflow: hidden;
8
+ touch-action: pan-x pan-y;
9
+ overscroll-behavior-x: none;
10
+ overscroll-behavior-y: none;
11
+ background-color: var(--th-theme-background);
12
+ color: var(--th-theme-text);
13
+ position: relative;
14
+ }
15
+
16
+ /* src/app/reset.css */
17
+ button {
18
+ -webkit-appearance: none;
19
+ appearance: none;
20
+ border: none;
21
+ background: none;
22
+ padding: 0;
23
+ margin: 0;
24
+ font: inherit;
25
+ color: inherit;
26
+ cursor: pointer;
27
+ outline: none;
28
+ -webkit-tap-highlight-color: transparent;
29
+ }
30
+ input {
31
+ font-size: 1rem;
32
+ border-radius: 0;
33
+ text-align: inherit;
34
+ background: none;
35
+ box-shadow: none;
36
+ padding: 0;
37
+ cursor: text;
38
+ border: none;
39
+ color: inherit;
40
+ font: inherit;
41
+ outline: none;
42
+ }
43
+ ::selection {
44
+ background-color: var(--th-theme-select);
45
+ color: var(--th-theme-onSelect);
46
+ }
47
+
48
+ /* src/components/assets/styles/thorium-web.button.module.css */
49
+ .thorium_web_button_icon,
50
+ .thorium_web_button_dockerButton,
51
+ .thorium_web_button_closeButton,
52
+ .thorium_web_button_backButton {
53
+ box-sizing: border-box;
54
+ padding: calc(var(--th-icon-size, 24px) * (1/4));
55
+ text-align: center;
56
+ border-radius: var(--th-layout-radius);
57
+ line-height: 0;
58
+ }
59
+ .thorium_web_button_backButton {
60
+ box-sizing: content-box;
61
+ height: var(--th-icon-size, 24px);
62
+ border: 2px solid transparent;
63
+ display: flex;
64
+ align-items: center;
65
+ }
66
+ .thorium_web_button_closeButton,
67
+ .thorium_web_button_backButton {
68
+ margin-inline-start: auto;
69
+ }
70
+ .thorium_web_button_icon svg,
71
+ .thorium_web_button_dockerButton svg,
72
+ .thorium_web_button_closeButton svg,
73
+ .thorium_web_button_backButton svg {
74
+ fill: var(--th-theme-text);
75
+ width: var(--th-icon-size, 24px);
76
+ height: var(--th-icon-size, 24px);
77
+ }
78
+ .thorium_web_button_icon[data-hovered],
79
+ .thorium_web_button_dockerButton[data-hovered],
80
+ .thorium_web_button_closeButton[data-hovered],
81
+ .thorium_web_button_backButton[data-hovered] {
82
+ background-color: var(--th-theme-hover);
83
+ color: var(--th-theme-onHover);
84
+ }
85
+ .thorium_web_button_icon[data-focus-visible],
86
+ .thorium_web_button_dockerButton[data-focus-visible],
87
+ .thorium_web_button_closeButton[data-focus-visible],
88
+ .thorium_web_button_backButton[data-focus-visible] {
89
+ outline: 2px solid var(--th-theme-focus);
90
+ }
91
+ .thorium_web_button_backButton[data-disabled] {
92
+ color: var(--th-theme-disable);
93
+ }
94
+ .thorium_web_button_icon[data-disabled] svg,
95
+ .thorium_web_button_dockerButton[data-disabled] svg,
96
+ .thorium_web_button_closeButton[data-disabled] svg,
97
+ .thorium_web_button_backButton[data-disabled] svg {
98
+ fill: var(--th-theme-disable);
99
+ }
100
+ .thorium_web_button_tooltip {
101
+ background-color: var(--th-theme-text);
102
+ color: var(--th-theme-background);
103
+ padding: 5px;
104
+ border-radius: var(--th-layout-radius);
105
+ }
106
+ .thorium_web_button_alwaysVisible {
107
+ opacity: 1;
108
+ }
109
+ .thorium_web_stackedUI.thorium_web_isImmersive:not(.thorium_web_isHovering) .thorium_web_button_partiallyVisible {
110
+ opacity: 0;
111
+ }
112
+ .thorium_web_button_iconCompSm {
113
+ padding: calc(var(--th-icon-size, 24px) * (1/3));
114
+ }
115
+ .thorium_web_button_iconCompSm svg {
116
+ width: calc(var(--th-icon-size, 24px) * (3/4));
117
+ height: calc(var(--th-icon-size, 24px) * (3/4));
118
+ stroke: var(--th-theme-text);
119
+ }
120
+ .thorium_web_button_iconCompLg {
121
+ padding: calc(var(--th-icon-size, 24px) * (1/6));
122
+ }
123
+ .thorium_web_button_iconCompLg svg {
124
+ width: calc(var(--th-icon-size, 24px) * (4/3));
125
+ height: calc(var(--th-icon-size, 24px) * (4/3));
126
+ }
127
+ .thorium_web_button_iconApplyStroke svg {
128
+ stroke: var(--th-theme-text);
129
+ }
130
+
131
+ /* src/components/Actions/assets/styles/thorium-web.overflow.module.css */
132
+ .thorium_web_layeredUI.thorium_web_isImmersive:not(.thorium_web_isHovering) .thorium_web_overflow_hint {
133
+ transform: translateY(calc(var(--th-icon-size, 24px) * 2.5));
134
+ transition-property: transform;
135
+ transition-duration: 200ms;
136
+ transition-timing-function: ease-in-out;
137
+ }
138
+ .thorium_web_layeredUI.thorium_web_isReflow.thorium_web_isScroll.thorium_web_isImmersive:not(.thorium_web_isHovering) .thorium_web_overflow_hint {
139
+ outline: 1px solid var(--th-theme-subdue);
140
+ background-color: var(--th-theme-background);
141
+ }
142
+ .thorium_web_overflow_popover {
143
+ background-color: var(--th-theme-background);
144
+ color: var(--th-theme-text);
145
+ padding: calc(var(--th-layout-spacing) / 2);
146
+ border-radius: var(--th-layout-radius);
147
+ border: 1px solid var(--th-theme-subdue);
148
+ filter: drop-shadow(var(--th-theme-elevate));
149
+ box-sizing: border-box;
150
+ max-width: var(--th-layout-constraints-popover, 500px);
151
+ width: max-content;
152
+ }
153
+ .thorium_web_overflow_menu {
154
+ outline: none;
155
+ }
156
+ .thorium_web_overflow_menuItem {
157
+ display: flex;
158
+ align-items: center;
159
+ gap: calc(var(--th-layout-spacing) / 2);
160
+ padding: calc(var(--th-layout-spacing) / 2);
161
+ border-radius: var(--th-layout-radius);
162
+ outline: none;
163
+ }
164
+ .thorium_web_overflow_menuItem[data-hovered] {
165
+ background-color: var(--th-theme-hover);
166
+ color: var(--th-theme-onHover);
167
+ }
168
+ .thorium_web_overflow_menuItem[data-focus-visible] {
169
+ outline: 2px solid var(--th-theme-focus);
170
+ }
171
+ .thorium_web_overflow_menuItem[data-disabled] {
172
+ color: var(--th-theme-disable);
173
+ }
174
+ .thorium_web_overflow_menuItem > svg {
175
+ width: calc(var(--th-icon-size, 24px) / 1.5);
176
+ height: calc(var(--th-icon-size, 24px) / 1.5);
177
+ fill: currentColor;
178
+ }
179
+ .thorium_web_overflow_menuItemLabel {
180
+ font-size: 1rem;
181
+ }
182
+ .thorium_web_overflow_menuItemShortcut {
183
+ font-family: monospace;
184
+ font-weight: bold;
185
+ color: var(--th-theme-subdue);
186
+ padding: 5px;
187
+ margin-inline-start: auto;
188
+ border-radius: var(--th-layout-radius);
189
+ border: 1px solid var(--th-theme-subdue);
190
+ }
191
+
192
+ /* src/components/Actions/JumpToPosition/assets/styles/thorium-web.jumpToPosition.module.css */
193
+ .thorium_web_jumpToPosition_wrapper {
194
+ }
195
+ .thorium_web_jumpToPosition_form {
196
+ display: flex;
197
+ gap: calc(var(--th-layout-spacing) / 2);
198
+ }
199
+ .thorium_web_jumpToPosition_label {
200
+ margin-block: 0 var(--th-layout-spacing);
201
+ display: block;
202
+ }
203
+ .thorium_web_jumpToPosition_input {
204
+ display: block;
205
+ font-weight: bold;
206
+ padding: calc(var(--th-icon-size, 24px) * (1/4)) calc(var(--th-layout-spacing) / 2);
207
+ border-radius: var(--th-layout-radius);
208
+ border: 2px solid var(--th-theme-subdue);
209
+ }
210
+ .thorium_web_jumpToPosition_button {
211
+ box-sizing: content-box;
212
+ border: 2px solid var(--th-theme-subdue);
213
+ padding: calc(var(--th-icon-size, 24px) * (1/4)) calc(var(--th-icon-size, 24px) * (1/2));
214
+ text-align: center;
215
+ border-radius: var(--th-layout-radius);
216
+ margin-inline-start: auto;
217
+ align-self: flex-end;
218
+ }
219
+ .thorium_web_jumpToPosition_button[data-hovered] {
220
+ background-color: var(--th-theme-hover);
221
+ color: var(--th-theme-onHover);
222
+ }
223
+ .thorium_web_jumpToPosition_input[data-focus-visible],
224
+ .thorium_web_jumpToPosition_button[data-focus-visible] {
225
+ outline: 2px solid var(--th-theme-focus);
226
+ }
227
+ .thorium_web_jumpToPosition_numberField[data-disabled],
228
+ .thorium_web_jumpToPosition_button[data-disabled] {
229
+ color: var(--th-theme-disable);
230
+ }
231
+
232
+ /* src/components/Sheets/assets/styles/thorium-web.sheets.module.css */
233
+ .thorium_web_sheets_fullscreen {
234
+ position: fixed;
235
+ top: 0;
236
+ left: 0;
237
+ right: 0;
238
+ bottom: 0;
239
+ z-index: 10;
240
+ overflow-y: auto;
241
+ scroll-padding-top: calc(var(--th-sheet-sticky-header, 80px) + var(--th-layout-spacing));
242
+ scroll-padding-bottom: var(--th-layout-spacing);
243
+ box-sizing: border-box;
244
+ width: 100%;
245
+ height: 100%;
246
+ max-height: var(--visual-viewport-height, 100dvh);
247
+ background-color: var(--th-theme-background);
248
+ color: var(--th-theme-text);
249
+ align-items: center;
250
+ }
251
+ .thorium_web_sheets_popover {
252
+ overflow-y: auto;
253
+ scroll-padding-top: calc(var(--th-sheet-sticky-header, 80px) + var(--th-layout-spacing));
254
+ scroll-padding-bottom: var(--th-layout-spacing);
255
+ box-sizing: border-box;
256
+ width: calc(340px + (2 * var(--th-layout-spacing)));
257
+ max-width: var(--th-layout-constraints-popover, 500px);
258
+ max-height: 100%;
259
+ max-height: var(--visual-viewport-height, 100dvh);
260
+ padding: 0;
261
+ background-color: var(--th-theme-background);
262
+ color: var(--th-theme-text);
263
+ border-radius: var(--th-layout-radius);
264
+ border: 1px solid var(--th-theme-subdue);
265
+ filter: drop-shadow(var(--th-theme-elevate));
266
+ }
267
+ .thorium_web_sheets_draggable {
268
+ box-sizing: border-box;
269
+ max-width: var(--th-layout-constraints-bottomSheet, 600px);
270
+ left: max(calc((100% - var(--th-layout-constraints-bottomSheet, 600px)) / 2), 0px) !important;
271
+ background-color: var(--th-theme-background) !important;
272
+ color: var(--th-theme-text) !important;
273
+ border: none;
274
+ filter: none !important;
275
+ box-shadow: none !important;
276
+ border-top-left-radius: 28px !important;
277
+ border-top-right-radius: 28px !important;
278
+ transition: border-radius 500ms;
279
+ }
280
+ .thorium_web_sheets_draggable::after {
281
+ content: "";
282
+ z-index: -1;
283
+ position: absolute;
284
+ top: 0;
285
+ left: 0;
286
+ right: 0;
287
+ bottom: 0;
288
+ transform: translateZ(0);
289
+ box-shadow: var(--th-theme-elevate);
290
+ border-top-left-radius: 28px;
291
+ border-top-right-radius: 28px;
292
+ }
293
+ .thorium_web_sheets_draggableFullHeightDetent {
294
+ height: calc(100% - env(safe-area-inset-top)) !important;
295
+ }
296
+ .thorium_web_sheets_draggableContentHeightDetent {
297
+ max-height: calc(100% - env(safe-area-inset-top)) !important;
298
+ }
299
+ .thorium_web_sheets_draggable[data-full-height] {
300
+ border-top-left-radius: 0 !important;
301
+ border-top-right-radius: 0 !important;
302
+ transition: border-radius 500ms;
303
+ }
304
+ .thorium_web_sheets_draggableBackdrop {
305
+ pointer-events: auto !important;
306
+ background-color: transparent !important;
307
+ }
308
+ .thorium_web_sheets_draggableScrim {
309
+ background-color: var(--th-layout-defaults-scrim) !important;
310
+ }
311
+ .thorium_web_sheets_draggableContainer {
312
+ padding: 0;
313
+ background-color: var(--th-theme-background);
314
+ color: var(--th-theme-text);
315
+ }
316
+ .thorium_web_sheets_draggableScroller {
317
+ position: relative;
318
+ scroll-padding-bottom: calc(var(--th-layout-spacing) * 4);
319
+ }
320
+ .thorium_web_sheets_dragIndicator {
321
+ width: calc(var(--th-icon-size, 40px) * 1.5);
322
+ position: absolute;
323
+ top: 0;
324
+ left: 50%;
325
+ transform: translateX(-50%);
326
+ }
327
+ .thorium_web_sheets_dragIndicator[data-focus-visible] {
328
+ border-radius: var(--th-layout-radius);
329
+ outline: 2px solid var(--th-theme-focus);
330
+ }
331
+ .thorium_web_sheets_dragIndicator svg {
332
+ fill: var(--th-theme-subdue);
333
+ width: 100%;
334
+ height: auto;
335
+ }
336
+ .thorium_web_sheets_docked {
337
+ position: relative;
338
+ overflow-y: auto;
339
+ scroll-padding-top: calc(var(--th-sheet-sticky-header, 80px) + var(--th-layout-spacing));
340
+ scroll-padding-bottom: var(--th-layout-spacing);
341
+ box-sizing: border-box;
342
+ width: 100%;
343
+ max-width: 100%;
344
+ height: 100vh;
345
+ height: 100dvh;
346
+ background-color: var(--th-theme-background);
347
+ color: var(--th-theme-text);
348
+ }
349
+ .thorium_web_sheets_dockedLeftBorder {
350
+ border-right: 1px solid var(--th-theme-subdue);
351
+ }
352
+ .thorium_web_sheets_dockedRightBorder {
353
+ border-left: 1px solid var(--th-theme-subdue);
354
+ }
355
+ .thorium_web_sheets_dialog {
356
+ outline: none;
357
+ }
358
+ .thorium_web_sheets_header {
359
+ display: flex;
360
+ align-items: center;
361
+ position: sticky;
362
+ top: 0;
363
+ left: 0;
364
+ right: 0;
365
+ z-index: 10;
366
+ padding: calc(var(--th-layout-spacing) / 2) var(--th-layout-spacing);
367
+ background-color: var(--th-theme-background);
368
+ border-bottom: 1px solid var(--th-theme-subdue);
369
+ }
370
+ .thorium_web_sheets_draggableHeader {
371
+ box-sizing: border-box;
372
+ display: flex;
373
+ align-items: center;
374
+ background-color: var(--th-theme-background);
375
+ border-bottom: 1px solid var(--th-theme-subdue);
376
+ padding: var(--th-layout-spacing) var(--th-layout-spacing) calc(var(--th-layout-spacing) / 2) var(--th-layout-spacing);
377
+ border-top-left-radius: 28px !important;
378
+ border-top-right-radius: 28px !important;
379
+ transition: border-radius 500ms;
380
+ }
381
+ .thorium_web_sheets_draggable[data-full-height] .thorium_web_sheets_draggableHeader {
382
+ border-top-left-radius: 0 !important;
383
+ border-top-right-radius: 0 !important;
384
+ transition: border-radius 500ms;
385
+ }
386
+ .thorium_web_sheets_heading {
387
+ font-size: 1.25rem;
388
+ line-height: 1;
389
+ margin: 0;
390
+ padding: 0;
391
+ }
392
+ .thorium_web_sheets_body {
393
+ padding: var(--th-layout-spacing);
394
+ }
395
+
396
+ /* src/components/Docking/assets/styles/thorium-web.docking.module.css */
397
+ .thorium_web_docking_dockerWrapper {
398
+ margin-inline-start: auto;
399
+ margin-inline-end: calc(var(--th-icon-size, 24px) * (1 / 4) * -1);
400
+ display: flex;
401
+ gap: 2px;
402
+ padding-inline-start: var(--th-layout-spacing);
403
+ }
404
+ .thorium_web_docking_docker {
405
+ display: flex;
406
+ gap: 2px;
407
+ }
408
+ .thorium_web_docking_resizeHandle {
409
+ position: relative;
410
+ width: 0;
411
+ }
412
+ .thorium_web_docking_resizeHandle:focus-visible {
413
+ outline: 2px solid var(--th-theme-focus);
414
+ }
415
+ .thorium_web_docking_resizeHandleGrab {
416
+ position: absolute;
417
+ z-index: 1000;
418
+ top: 50%;
419
+ transform: translateY(-50%);
420
+ width: 5px;
421
+ height: 50px;
422
+ border-radius: 5px;
423
+ background-color: var(--th-theme-subdue);
424
+ }
425
+ .thorium_web_docking_resizeHandleGrabLeft {
426
+ left: 0;
427
+ }
428
+ .thorium_web_docking_resizeHandleGrabRight {
429
+ left: -5px;
430
+ }
431
+
432
+ /* src/components/Settings/assets/styles/thorium-web.reader.settings.module.css */
433
+ .thorium_web_reader_settings_wrapper {
434
+ }
435
+ .thorium_web_reader_settings_group {
436
+ margin: calc(var(--th-layout-spacing) * 2) 0;
437
+ }
438
+ .thorium_web_reader_settings_advancedGroup {
439
+ position: relative;
440
+ }
441
+ .thorium_web_reader_settings_advancedIcon {
442
+ position: absolute;
443
+ inset-inline-end: 0;
444
+ inset-block-start: 0;
445
+ }
446
+ .thorium_web_reader_settings_label {
447
+ display: block;
448
+ font-weight: bold;
449
+ font-size: 1rem;
450
+ margin: 0;
451
+ }
452
+ .thorium_web_reader_settings_groupLabel {
453
+ padding-top: calc(var(--th-icon-size, 24px) * (1/3));
454
+ }
455
+ .thorium_web_reader_settings_radioWrapper,
456
+ .thorium_web_reader_settings_groupWrapper {
457
+ margin: var(--th-layout-spacing) 0;
458
+ text-align: center;
459
+ border-radius: var(--th-layout-radius);
460
+ }
461
+ .thorium_web_reader_settings_numberField .thorium_web_reader_settings_groupWrapper {
462
+ margin-bottom: 0;
463
+ }
464
+ .thorium_web_reader_settings_radioWrapper {
465
+ display: grid;
466
+ grid-template-columns: repeat(auto-fill, minmax(min(100%, 100px), 1fr));
467
+ gap: calc(var(--th-layout-spacing) / 4);
468
+ width: 100%;
469
+ }
470
+ .thorium_web_reader_settings_groupWrapper {
471
+ display: flex;
472
+ width: fit-content;
473
+ gap: var(--th-layout-spacing) calc(var(--th-layout-spacing) / 2);
474
+ }
475
+ .thorium_web_reader_settings_advancedGroup .thorium_web_reader_settings_radioWrapper {
476
+ margin-bottom: 0;
477
+ }
478
+ .thorium_web_reader_settings_groupWrapper[data-focus-within]:has(input[data-focus-visible]) {
479
+ outline: 2px solid var(--th-theme-focus);
480
+ }
481
+ .thorium_web_reader_settings_numberFieldWrapper,
482
+ .thorium_web_reader_settings_sliderWrapper {
483
+ display: flex;
484
+ align-items: flex-start;
485
+ max-width: 100%;
486
+ }
487
+ .thorium_web_reader_settings_numberFieldWrapper .thorium_web_reader_settings_numberField,
488
+ .thorium_web_reader_settings_sliderWrapper .thorium_web_reader_settings_slider {
489
+ flex: 1 0 auto;
490
+ }
491
+ .thorium_web_reader_settings_group:first-of-type {
492
+ margin-top: 0;
493
+ }
494
+ .thorium_web_reader_settings_group:last-of-type {
495
+ margin-bottom: 0;
496
+ }
497
+ .thorium_web_reader_settings_resetButton {
498
+ margin-inline-start: auto;
499
+ }
500
+ .thorium_web_reader_settings_numberField .thorium_web_reader_settings_input {
501
+ background-color: var(--th-theme-background);
502
+ color: var(--th-theme-text);
503
+ font-weight: bold;
504
+ align-self: center;
505
+ max-width: 20ch;
506
+ }
507
+ .thorium_web_reader_settings_groupWrapper[data-disabled] .thorium_web_reader_settings_input {
508
+ color: var(--th-theme-disable);
509
+ }
510
+ .thorium_web_reader_settings_radio {
511
+ padding: calc(var(--th-layout-spacing) / 2);
512
+ border-radius: var(--th-layout-radius);
513
+ box-sizing: border-box;
514
+ border: 2px solid transparent;
515
+ }
516
+ .thorium_web_reader_settings_radio:not(.thorium_web_reader_settings_themeRadio) {
517
+ display: flex;
518
+ flex-direction: column;
519
+ align-items: center;
520
+ gap: calc(var(--th-layout-spacing) / 2);
521
+ min-width: 0;
522
+ width: 100%;
523
+ }
524
+ .thorium_web_reader_settings_radio:not(.thorium_web_reader_settings_themeRadio) > * {
525
+ width: 100%;
526
+ text-align: center;
527
+ }
528
+ .thorium_web_reader_settings_radio:not(.thorium_web_reader_settings_themeRadio) span {
529
+ display: -webkit-box;
530
+ -webkit-line-clamp: 2;
531
+ line-clamp: 2;
532
+ -webkit-box-orient: vertical;
533
+ overflow: hidden;
534
+ text-overflow: ellipsis;
535
+ line-height: 1.2em;
536
+ max-height: 2.4em;
537
+ width: 100%;
538
+ box-sizing: border-box;
539
+ white-space: normal;
540
+ }
541
+ .thorium_web_reader_settings_radio:not(.thorium_web_reader_settings_themeRadio)[data-selected] {
542
+ border: 2px solid var(--th-theme-subdue);
543
+ }
544
+ .thorium_web_reader_settings_radio[data-disabled] {
545
+ color: var(--th-theme-disable);
546
+ }
547
+ .thorium_web_reader_settings_radio[data-hovered] {
548
+ background-color: var(--th-theme-hover);
549
+ color: var(--th-theme-onHover);
550
+ }
551
+ .thorium_web_reader_settings_radio[data-focus-visible] {
552
+ outline: 2px solid var(--th-theme-focus);
553
+ }
554
+ .thorium_web_reader_settings_radio svg {
555
+ width: var(--th-icon-size, 32px);
556
+ height: var(--th-icon-size, 32px);
557
+ fill: currentColor;
558
+ }
559
+ .thorium_web_reader_settings_themesWrapper {
560
+ display: grid;
561
+ grid-template-columns: repeat(2, 1fr);
562
+ grid-auto-flow: row;
563
+ max-width: 100%;
564
+ gap: calc(var(--th-layout-spacing) / 2);
565
+ }
566
+ .thorium_web_reader_settings_themeRadio {
567
+ padding-block: calc(var(--th-layout-spacing) / 4);
568
+ padding-inline: calc((var(--th-icon-size, 24px) * 5/6) + (var(--th-layout-spacing) / 4));
569
+ position: relative;
570
+ white-space: nowrap;
571
+ overflow: hidden;
572
+ text-overflow: ellipsis;
573
+ }
574
+ .thorium_web_reader_settings_themeRadio svg {
575
+ width: calc(var(--th-icon-size, 24px) * 5/6);
576
+ height: calc(var(--th-icon-size, 24px) * 5/6);
577
+ position: absolute;
578
+ inset-inline-end: 5px;
579
+ inset-block-end: 5px;
580
+ fill: currentColor;
581
+ }
582
+ .thorium_web_reader_settings_separator {
583
+ border: none;
584
+ border-top: 1px solid var(--th-theme-subdue);
585
+ }
586
+ .thorium_web_reader_settings_slider {
587
+ display: grid;
588
+ grid-template-areas: "label output" "track track";
589
+ grid-template-columns: 1fr auto;
590
+ gap: calc(var(--th-layout-spacing) / 2);
591
+ color: var(--th-theme-text);
592
+ flex-direction: column;
593
+ max-width: min(calc(100% - (var(--th-layout-spacing) / 2)), 80%);
594
+ }
595
+ .thorium_web_reader_settings_sliderLabel {
596
+ grid-area: label;
597
+ white-space: nowrap;
598
+ overflow: hidden;
599
+ text-overflow: ellipsis;
600
+ max-width: 100%;
601
+ }
602
+ .thorium_web_reader_settings_sliderOutput {
603
+ grid-area: output;
604
+ }
605
+ .thorium_web_reader_settings_slider[data-disabled] .thorium_web_reader_settings_sliderLabel,
606
+ .thorium_web_reader_settings_slider[data-disabled] .thorium_web_reader_settings_sliderOutput {
607
+ color: var(--th-theme-disable);
608
+ }
609
+ .thorium_web_reader_settings_sliderTrack {
610
+ grid-area: track;
611
+ position: relative;
612
+ height: 30px;
613
+ width: auto;
614
+ box-sizing: border-box;
615
+ margin-inline: calc(var(--th-layout-spacing) / 2);
616
+ }
617
+ .thorium_web_reader_settings_sliderTrack::before {
618
+ content: "";
619
+ display: block;
620
+ position: absolute;
621
+ background: var(--th-theme-subdue);
622
+ height: 3px;
623
+ width: 100%;
624
+ top: 50%;
625
+ transform: translateY(-50%);
626
+ }
627
+ .thorium_web_reader_settings_sliderThumb {
628
+ width: 1.25rem;
629
+ height: 1.25rem;
630
+ border-radius: 50%;
631
+ background: var(--th-theme-text);
632
+ border: 2px solid var(--th-theme-subdue);
633
+ top: 50%;
634
+ }
635
+ .thorium_web_reader_settings_slider[data-disabled] .thorium_web_reader_settings_sliderThumb {
636
+ background: var(--th-theme-disable);
637
+ border: 2px solid var(--th-theme-disable);
638
+ }
639
+ .thorium_web_reader_settings_sliderThumb[data-dragging] {
640
+ background: var(--th-theme-subdue);
641
+ }
642
+ .thorium_web_reader_settings_sliderThumb[data-focus-visible] {
643
+ outline: 2px solid var(--th-theme-focus);
644
+ border: 2px solid var(--th-theme-focus);
645
+ }
646
+ .thorium_web_reader_settings_sliderPlaceholder {
647
+ color: var(--th-theme-subdue);
648
+ }
649
+ .thorium_web_reader_settings_sliderWithTicks .thorium_web_reader_settings_sliderTrack::before {
650
+ background:
651
+ linear-gradient(
652
+ to right,
653
+ var(--th-theme-subdue) 0%,
654
+ var(--th-theme-subdue) 100%) 0 50% / 100% 3px no-repeat,
655
+ repeating-linear-gradient(
656
+ to right,
657
+ var(--th-theme-text) 0%,
658
+ var(--th-theme-text) 1px,
659
+ transparent 1px,
660
+ transparent calc((100% - 2px) / var(--th-slider-ticks, 10))) 0 50% / 100% 15px no-repeat;
661
+ height: 15px;
662
+ transform: translateY(-50%);
663
+ position: relative;
664
+ }
665
+ .thorium_web_reader_settings_sliderWithTicks .thorium_web_reader_settings_sliderTrack::after {
666
+ content: "";
667
+ background:
668
+ linear-gradient(
669
+ to right,
670
+ var(--th-theme-subdue) 0%,
671
+ var(--th-theme-subdue) 3px,
672
+ transparent 3px,
673
+ transparent 100%) 0 50% / 100% 20px no-repeat,
674
+ linear-gradient(
675
+ to left,
676
+ var(--th-theme-subdue) 0%,
677
+ var(--th-theme-subdue) 3px,
678
+ transparent 3px,
679
+ transparent 100%) 100% 50% / 100% 20px no-repeat;
680
+ position: absolute;
681
+ top: 50%;
682
+ left: 0;
683
+ right: 0;
684
+ height: 20px;
685
+ transform: translateY(-50%);
686
+ pointer-events: none;
687
+ }
688
+ .thorium_web_reader_settings_dropdown[data-disabled] {
689
+ color: var(--th-theme-disable);
690
+ }
691
+ .thorium_web_reader_settings_dropdownButton {
692
+ margin-top: var(--th-layout-spacing);
693
+ position: relative;
694
+ padding-block: calc(var(--th-layout-spacing) / 2);
695
+ padding-inline: calc(var(--th-layout-spacing) / 2) calc(var(--th-icon-size, 24px) * 6/5);
696
+ border-radius: var(--th-layout-radius);
697
+ box-sizing: border-box;
698
+ border: 1px solid var(--th-theme-subdue);
699
+ max-width: 100%;
700
+ }
701
+ .thorium_web_reader_settings_dropdownButton[data-focus-visible] {
702
+ outline: 2px solid var(--th-theme-focus);
703
+ }
704
+ .thorium_web_reader_settings_dropdownButton svg {
705
+ width: calc(var(--th-icon-size, 24px) * 5/6);
706
+ height: calc(var(--th-icon-size, 24px) * 5/6);
707
+ position: absolute;
708
+ inset-inline-end: calc(var(--th-layout-spacing) / 4);
709
+ inset-block-start: calc(var(--th-layout-spacing) / 2);
710
+ fill: currentColor;
711
+ }
712
+ .thorium_web_reader_settings_dropdownPopover {
713
+ background-color: var(--th-theme-background);
714
+ color: var(--th-theme-text);
715
+ padding: calc(var(--th-layout-spacing) / 2);
716
+ border-radius: var(--th-layout-radius);
717
+ border: 1px solid var(--th-theme-subdue);
718
+ filter: drop-shadow(var(--th-theme-elevate));
719
+ box-sizing: border-box;
720
+ width: max-content;
721
+ overflow-y: auto;
722
+ z-index: 1000000 !important;
723
+ }
724
+ .thorium_web_reader_settings_dropdownListbox {
725
+ display: flex;
726
+ flex-direction: column;
727
+ gap: calc(var(--th-layout-spacing) / 2);
728
+ }
729
+ .thorium_web_reader_settings_dropdownListboxItem {
730
+ padding: calc(var(--th-layout-spacing) / 4);
731
+ }
732
+ .thorium_web_reader_settings_dropdownListboxItem[data-selected] {
733
+ color: var(--th-theme-subdue);
734
+ }
735
+ .thorium_web_reader_settings_dropdownListboxItem[data-focus-visible] {
736
+ outline: 2px solid var(--th-theme-focus);
737
+ }
738
+ .thorium_web_reader_settings_dropdownListboxItem[data-disabled] {
739
+ color: var(--th-theme-disable);
740
+ }
741
+ .thorium_web_reader_settings_switch {
742
+ display: flex;
743
+ align-items: center;
744
+ gap: clamp(10px, calc(var(--th-layout-spacing) / 2), 20px);
745
+ color: var(--th-theme-text);
746
+ margin: var(--th-layout-spacing) 0;
747
+ }
748
+ .thorium_web_reader_settings_switchIndicator {
749
+ width: 2rem;
750
+ height: 1.143rem;
751
+ border: 2px solid var(--th-theme-subdue);
752
+ background: var(--th-theme-background);
753
+ border-radius: 1.143rem;
754
+ transition: all 200ms;
755
+ flex-shrink: 0;
756
+ }
757
+ .thorium_web_reader_settings_switchIndicator::before {
758
+ content: "";
759
+ display: block;
760
+ margin: 0.143rem;
761
+ width: 0.857rem;
762
+ height: 0.857rem;
763
+ background: var(--th-theme-subdue);
764
+ border-radius: 16px;
765
+ transition: all 200ms;
766
+ }
767
+ .thorium_web_reader_settings_switch[data-selected] .thorium_web_reader_settings_switchIndicator::before {
768
+ background: var(--th-theme-text);
769
+ transform: translateX(100%);
770
+ }
771
+ :dir(rtl) .thorium_web_reader_settings_switch[data-selected] .thorium_web_reader_settings_switchIndicator::before {
772
+ background: var(--th-theme-text);
773
+ transform: translateX(-100%);
774
+ }
775
+ .thorium_web_reader_settings_switch[data-focus-visible] .thorium_web_reader_settings_switchIndicator {
776
+ outline: 2px solid var(--th-theme-focus);
777
+ }
778
+ .thorium_web_reader_settings_switch[data-disabled] {
779
+ color: var(--th-theme-disable);
780
+ }
781
+ .thorium_web_reader_settings_switch[data-disabled] .thorium_web_reader_settings_switchIndicator::before {
782
+ background: var(--th-theme-disable) !important;
783
+ }
784
+
785
+ /* src/components/Actions/Toc/assets/styles/thorium-web.toc.module.css */
786
+ .thorium_web_toc_wrapper {
787
+ }
788
+ .thorium_web_toc_search {
789
+ margin-bottom: var(--th-layout-spacing);
790
+ display: grid;
791
+ grid-template-areas: "label label" "input button";
792
+ grid-template-columns: 1fr auto;
793
+ align-items: center;
794
+ width: 100%;
795
+ }
796
+ .thorium_web_toc_searchLabel {
797
+ grid-area: label;
798
+ margin-bottom: calc(var(--th-layout-spacing) / 2);
799
+ }
800
+ .thorium_web_toc_searchInput {
801
+ grid-area: input;
802
+ box-sizing: border-box;
803
+ width: 100%;
804
+ max-width: 100%;
805
+ display: block;
806
+ border-radius: var(--th-layout-radius);
807
+ border: 2px solid var(--th-theme-subdue);
808
+ padding: calc(var(--th-icon-size, 24px) * (1/4)) calc(var(--th-layout-spacing) / 2);
809
+ }
810
+ .thorium_web_toc_searchInput::-webkit-search-cancel-button,
811
+ .thorium_web_toc_searchInput::-webkit-search-decoration {
812
+ -webkit-appearance: none;
813
+ }
814
+ .thorium_web_toc_searchInput[data-focus-visible] {
815
+ outline: 2px solid var(--th-theme-focus);
816
+ }
817
+ .thorium_web_toc_searchIcon,
818
+ .thorium_web_toc_clearButton {
819
+ grid-area: button;
820
+ margin-inline-start: calc(var(--th-icon-size, 24px) * -1.25);
821
+ height: 100%;
822
+ display: flex;
823
+ align-items: center;
824
+ }
825
+ .thorium_web_toc_searchIcon svg {
826
+ fill: var(--th-theme-subdue);
827
+ width: var(--th-icon-size, 24px);
828
+ height: var(--th-icon-size, 24px);
829
+ }
830
+ .thorium_web_toc_clearButton svg {
831
+ fill: var(--th-theme-text);
832
+ width: var(--th-icon-size, 24px);
833
+ height: var(--th-icon-size, 24px);
834
+ }
835
+ .thorium_web_toc_searchIcon[hidden],
836
+ .thorium_web_toc_clearButton[data-disabled] {
837
+ display: none;
838
+ }
839
+ .thorium_web_toc_tree {
840
+ background: var(--th-theme-background);
841
+ color: var(--th-theme-text);
842
+ outline: none;
843
+ width: 100%;
844
+ max-height: 100%;
845
+ box-sizing: border-box;
846
+ }
847
+ .thorium_web_toc_treeItem {
848
+ display: flex;
849
+ padding: calc(var(--th-layout-spacing) / 2);
850
+ padding-inline-start: calc(((var(--tree-item-level) - 1) * var(--th-layout-spacing)) + (var(--th-layout-spacing) / 2));
851
+ border-radius: var(--th-layout-radius);
852
+ border: 2px solid transparent;
853
+ box-sizing: border-box;
854
+ }
855
+ .thorium_web_toc_tree:has(.thorium_web_toc_treeItemButton) .thorium_web_toc_treeItem {
856
+ padding-inline-start: calc((var(--tree-item-level) * var(--th-layout-spacing)) + (var(--th-layout-spacing) / 2));
857
+ }
858
+ .thorium_web_toc_tree .thorium_web_toc_treeItem:has(.thorium_web_toc_treeItemButton) {
859
+ padding-inline-start: calc(((var(--tree-item-level) - 1) * var(--th-layout-spacing)));
860
+ }
861
+ .thorium_web_toc_treeItemText {
862
+ display: flex;
863
+ flex: 1 1 auto;
864
+ }
865
+ .thorium_web_toc_treeItemTextTitle {
866
+ text-wrap: balance;
867
+ }
868
+ .thorium_web_toc_treeItemTextPosition {
869
+ margin-inline-start: auto;
870
+ padding-inline-start: calc(var(--th-layout-spacing) / 2);
871
+ color: var(--th-theme-subdue);
872
+ font-variant-numeric: lining-nums tabular-nums;
873
+ }
874
+ .thorium_web_toc_treeItemButton {
875
+ align-self: flex-start;
876
+ width: calc(var(--th-icon-size, 24px) * 5/6);
877
+ height: calc(var(--th-icon-size, 24px) * 5/6);
878
+ margin-inline-end: calc(var(--th-layout-spacing) / 2);
879
+ flex-shrink: 0;
880
+ }
881
+ .thorium_web_toc_treeItem[data-href] {
882
+ cursor: pointer;
883
+ }
884
+ .thorium_web_toc_treeItem:hover {
885
+ background-color: var(--th-theme-hover);
886
+ color: var(--th-theme-onHover);
887
+ }
888
+ .thorium_web_toc_treeItem[data-focus-visible] {
889
+ outline: 2px solid var(--th-theme-focus);
890
+ }
891
+ .thorium_web_toc_treeItem[data-disabled] {
892
+ color: var(--th-theme-disable);
893
+ }
894
+ .thorium_web_toc_treeItem[data-selected] {
895
+ border: 2px solid var(--th-theme-subdue);
896
+ }
897
+ .thorium_web_toc_treeItemButton svg {
898
+ flex: none;
899
+ rotate: 0deg;
900
+ transition: rotate 200ms;
901
+ width: 100%;
902
+ height: 100%;
903
+ fill: var(--th-theme-text);
904
+ }
905
+ .thorium_web_toc_treeItem[data-expanded] .thorium_web_toc_treeItemButton svg {
906
+ rotate: 90deg;
907
+ }
908
+ .thorium_web_toc_empty {
909
+ max-width: 25ch;
910
+ text-align: start;
911
+ text-wrap: balance;
912
+ }
913
+
914
+ /* src/components/assets/styles/thorium-web.reader.app.module.css */
915
+ .thorium_web_reader_app_wrapper {
916
+ height: 100%;
917
+ width: 100%;
918
+ margin: 0;
919
+ }
920
+ .thorium_web_reader_app_main {
921
+ width: 100%;
922
+ height: 100%;
923
+ margin: 0;
924
+ }
925
+ .thorium_web_reader_app_shell {
926
+ width: 100%;
927
+ height: 100%;
928
+ margin: 0;
929
+ }
930
+ .thorium_web_reader_app_leftDock {
931
+ height: 100vh;
932
+ height: 100dvh;
933
+ }
934
+ .thorium_web_reader_app_rightDock {
935
+ height: 100vh;
936
+ height: 100dvh;
937
+ }
938
+ .thorium_web_reader_app_bottomBar,
939
+ .thorium_web_reader_app_topBar {
940
+ box-sizing: border-box;
941
+ gap: 2px;
942
+ touch-action: manipulation;
943
+ background-color: var(--th-theme-background);
944
+ }
945
+ .thorium_web_reader_app_bottomBar {
946
+ display: flex;
947
+ justify-content: center;
948
+ align-items: center;
949
+ }
950
+ .thorium_web_reader_app_main .thorium_web_stackedUI {
951
+ position: relative;
952
+ display: flex;
953
+ flex-direction: column;
954
+ flex: 1 1 0;
955
+ height: 100vh;
956
+ height: 100dvh;
957
+ max-height: 100%;
958
+ background-color: var(--th-theme-background);
959
+ }
960
+ .thorium_web_stackedUI .thorium_web_reader_app_topBar,
961
+ .thorium_web_stackedUI .thorium_web_reader_app_bottomBar {
962
+ flex: 0 0 calc(var(--th-icon-size, 24px) * 2.5);
963
+ height: calc(var(--th-icon-size, 24px) * 2.5);
964
+ }
965
+ .thorium_web_stackedUI.thorium_web_isImmersive:not(.thorium_web_isHovering) .thorium_web_reader_app_topBar,
966
+ .thorium_web_stackedUI.thorium_web_isImmersive:not(.thorium_web_isHovering) .thorium_web_reader_app_bottomBar {
967
+ opacity: var(--th-theme-immerse);
968
+ }
969
+ .thorium_web_reader_app_main .thorium_web_layeredUI {
970
+ position: relative;
971
+ top: 0;
972
+ bottom: 0;
973
+ left: 0;
974
+ right: 0;
975
+ height: 100vh;
976
+ height: 100dvh;
977
+ max-height: 100%;
978
+ background-color: var(--th-theme-background);
979
+ }
980
+ .thorium_web_layeredUI .thorium_web_reader_app_topBar,
981
+ .thorium_web_layeredUI .thorium_web_reader_app_bottomBar {
982
+ position: absolute;
983
+ left: 0;
984
+ right: 0;
985
+ height: calc(var(--th-icon-size, 24px) * 2.5);
986
+ z-index: 2;
987
+ box-shadow: var(--th-theme-elevate);
988
+ overflow: hidden;
989
+ transition-property: transform, box-shadow;
990
+ transition-duration: 200ms;
991
+ transition-timing-function: ease-in-out;
992
+ transform: translateY(0);
993
+ }
994
+ .thorium_web_layeredUI .thorium_web_reader_app_topBar {
995
+ top: 0;
996
+ }
997
+ .thorium_web_layeredUI .thorium_web_reader_app_bottomBar {
998
+ bottom: 0;
999
+ }
1000
+ .thorium_web_layeredUI.thorium_web_isImmersive:not(.thorium_web_isHovering) .thorium_web_reader_app_topBar {
1001
+ transform: translateY(calc(var(--th-icon-size, 24px) * -2.5));
1002
+ box-shadow: none;
1003
+ overflow: unset;
1004
+ }
1005
+ .thorium_web_layeredUI.thorium_web_isImmersive:not(.thorium_web_isHovering) .thorium_web_reader_app_bottomBar {
1006
+ transform: translateY(calc(var(--th-icon-size, 24px) * 2.5));
1007
+ box-shadow: none;
1008
+ }
1009
+ .thorium_web_reader_app_barOverlay {
1010
+ position: absolute;
1011
+ left: 0;
1012
+ right: 0;
1013
+ height: calc(var(--th-icon-size, 24px) * 2.5);
1014
+ pointer-events: auto;
1015
+ opacity: 0;
1016
+ z-index: 1000;
1017
+ }
1018
+ .thorium_web_reader_app_headerOverlay {
1019
+ position: absolute;
1020
+ left: 0;
1021
+ right: 0;
1022
+ height: calc(var(--th-icon-size, 24px) * 2.5);
1023
+ pointer-events: auto;
1024
+ opacity: 0;
1025
+ z-index: 1000;
1026
+ top: 0;
1027
+ }
1028
+ .thorium_web_reader_app_footerOverlay {
1029
+ position: absolute;
1030
+ left: 0;
1031
+ right: 0;
1032
+ height: calc(var(--th-icon-size, 24px) * 2.5);
1033
+ pointer-events: auto;
1034
+ opacity: 0;
1035
+ z-index: 1000;
1036
+ bottom: 0;
1037
+ }
1038
+ .thorium_web_reader_app_iframeContainer {
1039
+ contain: content;
1040
+ width: 100%;
1041
+ height: 100%;
1042
+ margin: 0 auto;
1043
+ }
1044
+ .thorium_web_reader_app_iframeContainer .readium-navigator-iframe {
1045
+ width: 100%;
1046
+ height: 100%;
1047
+ border-width: 0;
1048
+ }
1049
+ @keyframes thorium_web_reader_app_loading {
1050
+ 0% {
1051
+ transform: rotate(0deg);
1052
+ }
1053
+ 100% {
1054
+ transform: rotate(360deg);
1055
+ }
1056
+ }
1057
+ .thorium_web_reader_app_iframeContainer div:has(> .readium-navigator-iframe.blank)::after {
1058
+ content: "";
1059
+ position: absolute;
1060
+ top: 50%;
1061
+ left: 50%;
1062
+ margin-top: -30px;
1063
+ margin-left: -30px;
1064
+ width: 50px;
1065
+ height: 50px;
1066
+ border-radius: 50px;
1067
+ border: 5px solid grey;
1068
+ border-top-color: black;
1069
+ animation: thorium_web_reader_app_loading 2s linear infinite;
1070
+ }
1071
+ .thorium_web_reader_app_srOnly {
1072
+ clip: rect(0 0 0 0);
1073
+ clip-path: inset(50%);
1074
+ height: 1px;
1075
+ overflow: hidden;
1076
+ position: absolute;
1077
+ white-space: nowrap;
1078
+ width: 1px;
1079
+ }
1080
+
1081
+ /* src/components/assets/styles/thorium-web.reader.paginatedArrow.module.css */
1082
+ .thorium_web_reader_paginatedArrow_container {
1083
+ position: absolute;
1084
+ z-index: 2;
1085
+ }
1086
+ .thorium_web_reader_paginatedArrow_leftContainer {
1087
+ top: 50vh;
1088
+ top: 50dvh;
1089
+ transform: translateY(-50%);
1090
+ left: 0;
1091
+ }
1092
+ .thorium_web_reader_paginatedArrow_leftContainer button {
1093
+ margin-left: var(--th-arrow-offset, 0);
1094
+ }
1095
+ .thorium_web_reader_paginatedArrow_rightContainer {
1096
+ top: 50vh;
1097
+ top: 50dvh;
1098
+ transform: translateY(-50%);
1099
+ right: 0;
1100
+ }
1101
+ .thorium_web_reader_paginatedArrow_rightContainer button {
1102
+ margin-right: var(--th-arrow-offset, 0);
1103
+ }
1104
+ .thorium_web_reader_paginatedArrow_container button {
1105
+ width: var(--th-arrow-size, 40px);
1106
+ height: 40vh;
1107
+ height: 40dvh;
1108
+ border-radius: var(--th-layout-radius);
1109
+ pointer-events: auto;
1110
+ box-sizing: border-box;
1111
+ padding: 5px;
1112
+ background-color: var(--th-theme-background);
1113
+ border: 1px solid var(--th-theme-text);
1114
+ }
1115
+ .thorium_web_reader_paginatedArrow_container .thorium_web_reader_paginatedArrow_occupiesSpace {
1116
+ background-color: transparent;
1117
+ border: none;
1118
+ }
1119
+ .thorium_web_reader_paginatedArrow_container button[data-disabled] {
1120
+ pointer-events: none;
1121
+ }
1122
+ .thorium_web_reader_paginatedArrow_container button[data-hovered] {
1123
+ opacity: 1;
1124
+ transition: all 200ms;
1125
+ }
1126
+ .thorium_web_reader_paginatedArrow_container .thorium_web_reader_paginatedArrow_visuallyHidden {
1127
+ opacity: 0;
1128
+ }
1129
+ .thorium_web_reader_paginatedArrow_container button[data-focused] {
1130
+ outline: 2px solid var(--th-theme-focus);
1131
+ opacity: 1;
1132
+ }
1133
+ .thorium_web_reader_paginatedArrow_container button[data-disabled] {
1134
+ opacity: 0;
1135
+ }
1136
+ @media (hover: hover) and (pointer: fine) {
1137
+ .thorium_web_reader_paginatedArrow_container button:not([data-disabled])[data-hovered] {
1138
+ opacity: 1;
1139
+ transition: all 200ms;
1140
+ }
1141
+ }
1142
+ .thorium_web_reader_paginatedArrow_container button svg {
1143
+ fill: var(--th-theme-text);
1144
+ stroke: var(--th-theme-text);
1145
+ width: 100%;
1146
+ height: 100%;
1147
+ }
1148
+
1149
+ /* src/components/assets/styles/thorium-web.reader.header.module.css */
1150
+ .thorium_web_reader_header_header {
1151
+ box-sizing: border-box;
1152
+ display: grid;
1153
+ grid-template-areas: "header-start header-center header-end";
1154
+ grid-template-columns: 1fr 3fr 1fr;
1155
+ padding: 0.25rem 0.5rem 0;
1156
+ }
1157
+ .thorium_web_reader_header_backlinkWrapper {
1158
+ grid-area: header-start;
1159
+ justify-self: start;
1160
+ align-self: center;
1161
+ }
1162
+ .thorium_web_reader_header_header h1 {
1163
+ font-size: 1rem;
1164
+ color: var(--th-theme-text);
1165
+ font-weight: normal;
1166
+ grid-area: header-center;
1167
+ justify-self: center;
1168
+ align-self: center;
1169
+ max-width: 100%;
1170
+ white-space: nowrap;
1171
+ overflow: hidden;
1172
+ text-overflow: ellipsis;
1173
+ transition: opacity 200ms ease-in-out;
1174
+ }
1175
+ .thorium_web_reader_header_actionsWrapper {
1176
+ grid-area: header-end;
1177
+ justify-self: end;
1178
+ display: flex;
1179
+ align-items: center;
1180
+ gap: 2px;
1181
+ }
1182
+
1183
+ /* src/components/assets/styles/thorium-web.backlink.module.css */
1184
+ .thorium_web_backlink_link {
1185
+ display: block;
1186
+ box-sizing: content-box;
1187
+ padding: calc(var(--th-icon-size, 24px) * (1/4));
1188
+ text-align: start;
1189
+ border-radius: var(--th-layout-radius);
1190
+ max-width: 100%;
1191
+ height: var(--th-icon-size, 24px);
1192
+ }
1193
+ .thorium_web_backlink_link svg {
1194
+ fill: var(--th-theme-text);
1195
+ max-width: 100%;
1196
+ height: 100%;
1197
+ }
1198
+ .thorium_web_backlink_link img {
1199
+ max-width: 100%;
1200
+ height: 100%;
1201
+ }
1202
+ .thorium_web_backlink_link[data-hovered] {
1203
+ background-color: var(--th-theme-hover);
1204
+ color: var(--th-theme-onHover);
1205
+ }
1206
+ .thorium_web_backlink_link[data-focus-visible] {
1207
+ outline: 2px solid var(--th-theme-focus);
1208
+ }
1209
+ .thorium_web_backlink_link[data-disabled] {
1210
+ color: var(--th-theme-disable);
1211
+ }
1212
+ .thorium_web_backlink_link[data-disabled] svg {
1213
+ fill: var(--th-theme-disable);
1214
+ }
1215
+
1216
+ /* src/components/assets/styles/thorium-web.reader.pagination.module.css */
1217
+ .thorium_web_reader_pagination_wrapper {
1218
+ box-sizing: border-box;
1219
+ display: grid;
1220
+ gap: calc(var(--th-layout-spacing) / 2);
1221
+ grid-template-areas: "pagination-start pagination-center pagination-end";
1222
+ grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
1223
+ background-color: var(--th-theme-background);
1224
+ color: var(--th-theme-text);
1225
+ align-items: center;
1226
+ width: 100%;
1227
+ max-width: var(--th-layout-constraints-pagination, 100%);
1228
+ }
1229
+ .thorium_web_reader_pagination_listItem {
1230
+ box-sizing: border-box;
1231
+ list-style: none;
1232
+ }
1233
+ .thorium_web_reader_pagination_listItem:has(.thorium_web_reader_pagination_previousButton) {
1234
+ grid-area: pagination-start;
1235
+ justify-self: start;
1236
+ }
1237
+ .thorium_web_reader_pagination_listItem:has(.thorium_web_reader_pagination_progression) {
1238
+ grid-area: pagination-center;
1239
+ justify-self: center;
1240
+ }
1241
+ .thorium_web_reader_pagination_listItem:has(.thorium_web_reader_pagination_nextButton) {
1242
+ grid-area: pagination-end;
1243
+ justify-self: end;
1244
+ }
1245
+ .thorium_web_reader_pagination_listItem button {
1246
+ box-sizing: border-box;
1247
+ padding: calc(var(--th-icon-size, 24px) * (1/4)) calc(var(--th-layout-spacing) / 2);
1248
+ gap: calc(var(--th-layout-spacing) / 2);
1249
+ max-height: calc(var(--th-icon-size, 24px) * 2);
1250
+ max-width: 100%;
1251
+ border-radius: var(--th-layout-radius);
1252
+ display: flex;
1253
+ align-items: center;
1254
+ }
1255
+ .thorium_web_reader_pagination_nextButton {
1256
+ margin-inline-start: auto;
1257
+ text-align: end;
1258
+ }
1259
+ .thorium_web_reader_pagination_listItem button[data-hovered] {
1260
+ background-color: var(--th-theme-hover);
1261
+ color: var(--th-theme-onHover);
1262
+ }
1263
+ .thorium_web_reader_pagination_listItem button[data-focus-visible] {
1264
+ outline: 2px solid var(--th-theme-focus);
1265
+ }
1266
+ .thorium_web_reader_pagination_listItem button[data-disabled] {
1267
+ color: var(--th-theme-disable);
1268
+ }
1269
+ .thorium_web_reader_pagination_listItem button .thorium_web_reader_pagination_label {
1270
+ display: -webkit-box;
1271
+ -webkit-box-orient: vertical;
1272
+ overflow: hidden;
1273
+ white-space: normal;
1274
+ -webkit-line-clamp: 1;
1275
+ line-clamp: 1;
1276
+ }
1277
+ .thorium_web_reader_pagination_listItem button svg {
1278
+ flex: none;
1279
+ width: var(--th-icon-size, 24px);
1280
+ height: var(--th-icon-size, 24px);
1281
+ fill: var(--th-theme-text);
1282
+ }
1283
+
1284
+ /* src/components/assets/styles/thorium-web.reader.progression.module.css */
1285
+ .thorium_web_reader_progression_wrapper {
1286
+ color: var(--th-theme-text);
1287
+ font-variant-numeric: lining-nums tabular-nums;
1288
+ text-align: center;
1289
+ }
1290
+ /*# sourceMappingURL=index.css.map */