@edrlab/thorium-web 1.1.6 → 1.2.0

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