@edrlab/thorium-web 1.0.9 → 1.1.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 (66) hide show
  1. package/README.md +2 -0
  2. package/dist/{StatefulReader-DdQrrgZY.d.mts → StatefulReader-BjH7bkU1.d.mts} +1 -25
  3. package/dist/chunk-7CGMWOZN.mjs +20 -0
  4. package/dist/chunk-7CGMWOZN.mjs.map +1 -0
  5. package/dist/{chunk-PVGIY5SC.mjs → chunk-D24O64OP.mjs} +375 -278
  6. package/dist/chunk-D24O64OP.mjs.map +1 -0
  7. package/dist/{chunk-G2SKPGPO.mjs → chunk-FG6BJGVE.mjs} +5 -25
  8. package/dist/chunk-FG6BJGVE.mjs.map +1 -0
  9. package/dist/{chunk-SQHOOSST.mjs → chunk-HE3WFPGE.mjs} +84 -85
  10. package/dist/chunk-HE3WFPGE.mjs.map +1 -0
  11. package/dist/chunk-KKJA56IZ.mjs +27 -0
  12. package/dist/chunk-KKJA56IZ.mjs.map +1 -0
  13. package/dist/{chunk-OXZU5FTD.mjs → chunk-SPAC7T57.mjs} +32 -21
  14. package/dist/chunk-SPAC7T57.mjs.map +1 -0
  15. package/dist/components/Epub/index.css +1282 -0
  16. package/dist/components/Epub/index.css.map +1 -0
  17. package/dist/components/Epub/index.d.mts +1 -1
  18. package/dist/components/Epub/index.mjs +47 -44
  19. package/dist/components/Epub/index.mjs.map +1 -1
  20. package/dist/components/Misc/index.css +102 -0
  21. package/dist/components/Misc/index.css.map +1 -0
  22. package/dist/components/Misc/index.d.mts +28 -0
  23. package/dist/components/Misc/index.mjs +110 -0
  24. package/dist/components/Misc/index.mjs.map +1 -0
  25. package/dist/components/WebPub/index.css +1214 -0
  26. package/dist/components/WebPub/index.css.map +1 -0
  27. package/dist/components/WebPub/index.d.mts +2 -2
  28. package/dist/components/WebPub/index.mjs +28 -25
  29. package/dist/components/WebPub/index.mjs.map +1 -1
  30. package/dist/core/Components/index.mjs +0 -1
  31. package/dist/core/Helpers/index.d.mts +12 -2
  32. package/dist/core/Helpers/index.mjs +1 -2
  33. package/dist/core/Hooks/index.mjs +0 -1
  34. package/dist/i18n/index.mjs +5 -5
  35. package/dist/lib/index.mjs +2 -3
  36. package/dist/locales/et/thorium-web.json +1 -0
  37. package/dist/locales/it/thorium-web.json +1 -0
  38. package/dist/locales/pl/thorium-web.json +26 -13
  39. package/dist/locales/sv/thorium-web.json +37 -37
  40. package/dist/next-lib/index.mjs +0 -2
  41. package/dist/next-lib/index.mjs.map +1 -1
  42. package/dist/preferences/index.mjs +3 -4
  43. package/package.json +38 -34
  44. package/dist/backLink.module-QFOMD4RA.module.css +0 -36
  45. package/dist/chunk-3QS3WKRC.mjs +0 -29
  46. package/dist/chunk-3QS3WKRC.mjs.map +0 -1
  47. package/dist/chunk-G2SKPGPO.mjs.map +0 -1
  48. package/dist/chunk-OXZU5FTD.mjs.map +0 -1
  49. package/dist/chunk-PVGIY5SC.mjs.map +0 -1
  50. package/dist/chunk-SQHOOSST.mjs.map +0 -1
  51. package/dist/chunk-TTGURRX3.mjs +0 -19
  52. package/dist/chunk-TTGURRX3.mjs.map +0 -1
  53. package/dist/docking.module-TDNYZX4H.module.css +0 -40
  54. package/dist/jumpToPosition.module-4C47UYPE.module.css +0 -41
  55. package/dist/overflowMenu.module-QL32ISXF.module.css +0 -68
  56. package/dist/publicationGrid.module-T6ISNRGM.module.css +0 -70
  57. package/dist/reader-NGCQJKLX.css +0 -261
  58. package/dist/readerArrowButton.module-EFLOIADG.module.css +0 -77
  59. package/dist/readerHeader.module-RNGQFLVS.module.css +0 -35
  60. package/dist/readerLoader.module-KDBPCQZJ.module.css +0 -40
  61. package/dist/readerPagination.module-DYBZAQ7H.module.css +0 -76
  62. package/dist/readerProgression.module-7PU7L74S.module.css +0 -5
  63. package/dist/readerSharedUI.module-Y2VDWFS5.module.css +0 -98
  64. package/dist/settings.module-H5MUDFJO.module.css +0 -437
  65. package/dist/sheets.module-LJOLY4MK.module.css +0 -195
  66. package/dist/toc.module-F47C5CDS.module.css +0 -153
@@ -0,0 +1,1214 @@
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
+ z-index: 1000000 !important;
718
+ }
719
+ .thorium_web_reader_settings_dropdownListbox {
720
+ display: flex;
721
+ flex-direction: column;
722
+ gap: calc(var(--th-layout-spacing) / 2);
723
+ }
724
+ .thorium_web_reader_settings_dropdownListboxItem {
725
+ padding: calc(var(--th-layout-spacing) / 4);
726
+ }
727
+ .thorium_web_reader_settings_dropdownListboxItem[data-selected] {
728
+ color: var(--th-theme-subdue);
729
+ }
730
+ .thorium_web_reader_settings_dropdownListboxItem[data-focus-visible] {
731
+ outline: 2px solid var(--th-theme-focus);
732
+ }
733
+ .thorium_web_reader_settings_dropdownListboxItem[data-disabled] {
734
+ color: var(--th-theme-disable);
735
+ }
736
+ .thorium_web_reader_settings_switch {
737
+ display: flex;
738
+ align-items: center;
739
+ gap: clamp(10px, calc(var(--th-layout-spacing) / 2), 20px);
740
+ color: var(--th-theme-text);
741
+ margin: var(--th-layout-spacing) 0;
742
+ }
743
+ .thorium_web_reader_settings_switchIndicator {
744
+ width: 2rem;
745
+ height: 1.143rem;
746
+ border: 2px solid var(--th-theme-subdue);
747
+ background: var(--th-theme-background);
748
+ border-radius: 1.143rem;
749
+ transition: all 200ms;
750
+ flex-shrink: 0;
751
+ }
752
+ .thorium_web_reader_settings_switchIndicator::before {
753
+ content: "";
754
+ display: block;
755
+ margin: 0.143rem;
756
+ width: 0.857rem;
757
+ height: 0.857rem;
758
+ background: var(--th-theme-subdue);
759
+ border-radius: 16px;
760
+ transition: all 200ms;
761
+ }
762
+ .thorium_web_reader_settings_switch[data-selected] .thorium_web_reader_settings_switchIndicator::before {
763
+ background: var(--th-theme-text);
764
+ transform: translateX(100%);
765
+ }
766
+ :dir(rtl) .thorium_web_reader_settings_switch[data-selected] .thorium_web_reader_settings_switchIndicator::before {
767
+ background: var(--th-theme-text);
768
+ transform: translateX(-100%);
769
+ }
770
+ .thorium_web_reader_settings_switch[data-focus-visible] .thorium_web_reader_settings_switchIndicator {
771
+ outline: 2px solid var(--th-theme-focus);
772
+ }
773
+ .thorium_web_reader_settings_switch[data-disabled] {
774
+ color: var(--th-theme-disable);
775
+ }
776
+ .thorium_web_reader_settings_switch[data-disabled] .thorium_web_reader_settings_switchIndicator::before {
777
+ background: var(--th-theme-disable) !important;
778
+ }
779
+
780
+ /* src/components/Actions/Toc/assets/styles/thorium-web.toc.module.css */
781
+ .thorium_web_toc_wrapper {
782
+ }
783
+ .thorium_web_toc_search {
784
+ margin-bottom: var(--th-layout-spacing);
785
+ display: grid;
786
+ grid-template-areas: "label label" "input button";
787
+ grid-template-columns: 1fr auto;
788
+ align-items: center;
789
+ width: 100%;
790
+ }
791
+ .thorium_web_toc_searchLabel {
792
+ grid-area: label;
793
+ margin-bottom: calc(var(--th-layout-spacing) / 2);
794
+ }
795
+ .thorium_web_toc_searchInput {
796
+ grid-area: input;
797
+ box-sizing: border-box;
798
+ width: 100%;
799
+ max-width: 100%;
800
+ display: block;
801
+ border-radius: var(--th-layout-radius);
802
+ border: 2px solid var(--th-theme-subdue);
803
+ padding: calc(var(--th-icon-size, 24px) * (1/4)) calc(var(--th-layout-spacing) / 2);
804
+ }
805
+ .thorium_web_toc_searchInput::-webkit-search-cancel-button,
806
+ .thorium_web_toc_searchInput::-webkit-search-decoration {
807
+ -webkit-appearance: none;
808
+ }
809
+ .thorium_web_toc_searchInput[data-focus-visible] {
810
+ outline: 2px solid var(--th-theme-focus);
811
+ }
812
+ .thorium_web_toc_searchIcon,
813
+ .thorium_web_toc_clearButton {
814
+ grid-area: button;
815
+ margin-inline-start: calc(var(--th-icon-size, 24px) * -1.25);
816
+ height: 100%;
817
+ display: flex;
818
+ align-items: center;
819
+ }
820
+ .thorium_web_toc_searchIcon svg {
821
+ fill: var(--th-theme-subdue);
822
+ width: var(--th-icon-size, 24px);
823
+ height: var(--th-icon-size, 24px);
824
+ }
825
+ .thorium_web_toc_clearButton svg {
826
+ fill: var(--th-theme-text);
827
+ width: var(--th-icon-size, 24px);
828
+ height: var(--th-icon-size, 24px);
829
+ }
830
+ .thorium_web_toc_searchIcon[hidden],
831
+ .thorium_web_toc_clearButton[data-disabled] {
832
+ display: none;
833
+ }
834
+ .thorium_web_toc_tree {
835
+ background: var(--th-theme-background);
836
+ color: var(--th-theme-text);
837
+ outline: none;
838
+ width: 100%;
839
+ max-height: 100%;
840
+ box-sizing: border-box;
841
+ }
842
+ .thorium_web_toc_treeItem {
843
+ display: flex;
844
+ padding: calc(var(--th-layout-spacing) / 2);
845
+ padding-inline-start: calc(((var(--tree-item-level) - 1) * var(--th-layout-spacing)) + (var(--th-layout-spacing) / 2));
846
+ border-radius: var(--th-layout-radius);
847
+ border: 2px solid transparent;
848
+ box-sizing: border-box;
849
+ }
850
+ .thorium_web_toc_tree:has(.thorium_web_toc_treeItemButton) .thorium_web_toc_treeItem {
851
+ padding-inline-start: calc((var(--tree-item-level) * var(--th-layout-spacing)) + (var(--th-layout-spacing) / 2));
852
+ }
853
+ .thorium_web_toc_tree .thorium_web_toc_treeItem:has(.thorium_web_toc_treeItemButton) {
854
+ padding-inline-start: calc(((var(--tree-item-level) - 1) * var(--th-layout-spacing)));
855
+ }
856
+ .thorium_web_toc_treeItemText {
857
+ display: flex;
858
+ flex: 1 1 auto;
859
+ }
860
+ .thorium_web_toc_treeItemTextTitle {
861
+ text-wrap: balance;
862
+ }
863
+ .thorium_web_toc_treeItemTextPosition {
864
+ margin-inline-start: auto;
865
+ padding-inline-start: calc(var(--th-layout-spacing) / 2);
866
+ color: var(--th-theme-subdue);
867
+ font-variant-numeric: lining-nums tabular-nums;
868
+ }
869
+ .thorium_web_toc_treeItemButton {
870
+ align-self: flex-start;
871
+ width: calc(var(--th-icon-size, 24px) * 5/6);
872
+ height: calc(var(--th-icon-size, 24px) * 5/6);
873
+ margin-inline-end: calc(var(--th-layout-spacing) / 2);
874
+ flex-shrink: 0;
875
+ }
876
+ .thorium_web_toc_treeItem[data-href] {
877
+ cursor: pointer;
878
+ }
879
+ .thorium_web_toc_treeItem:hover {
880
+ background-color: var(--th-theme-hover);
881
+ }
882
+ .thorium_web_toc_treeItem[data-focus-visible] {
883
+ outline: 2px solid var(--th-theme-focus);
884
+ }
885
+ .thorium_web_toc_treeItem[data-disabled] {
886
+ color: var(--th-theme-disable);
887
+ }
888
+ .thorium_web_toc_treeItem[data-selected] {
889
+ border: 2px solid var(--th-theme-subdue);
890
+ }
891
+ .thorium_web_toc_treeItemButton svg {
892
+ flex: none;
893
+ rotate: 0deg;
894
+ transition: rotate 200ms;
895
+ width: 100%;
896
+ height: 100%;
897
+ fill: var(--th-theme-text);
898
+ }
899
+ .thorium_web_toc_treeItem[data-expanded] .thorium_web_toc_treeItemButton svg {
900
+ rotate: 90deg;
901
+ }
902
+ .thorium_web_toc_empty {
903
+ max-width: 25ch;
904
+ text-align: start;
905
+ text-wrap: balance;
906
+ }
907
+
908
+ /* src/components/assets/styles/thorium-web.reader.app.module.css */
909
+ .thorium_web_reader_app_wrapper {
910
+ height: 100%;
911
+ width: 100%;
912
+ margin: 0;
913
+ }
914
+ .thorium_web_reader_app_main {
915
+ width: 100%;
916
+ height: 100%;
917
+ margin: 0;
918
+ }
919
+ .thorium_web_reader_app_shell {
920
+ width: 100%;
921
+ height: 100%;
922
+ margin: 0;
923
+ }
924
+ .thorium_web_reader_app_leftDock {
925
+ height: 100vh;
926
+ height: 100dvh;
927
+ }
928
+ .thorium_web_reader_app_rightDock {
929
+ height: 100vh;
930
+ height: 100dvh;
931
+ }
932
+ .thorium_web_reader_app_bottomBar,
933
+ .thorium_web_reader_app_topBar {
934
+ box-sizing: border-box;
935
+ gap: 2px;
936
+ touch-action: manipulation;
937
+ background-color: var(--th-theme-background);
938
+ }
939
+ .thorium_web_reader_app_bottomBar {
940
+ display: flex;
941
+ justify-content: center;
942
+ align-items: center;
943
+ }
944
+ .thorium_web_reader_app_main .thorium_web_stackedUI {
945
+ position: relative;
946
+ display: flex;
947
+ flex-direction: column;
948
+ flex: 1 1 0;
949
+ height: 100vh;
950
+ height: 100dvh;
951
+ max-height: 100%;
952
+ background-color: var(--th-theme-background);
953
+ }
954
+ .thorium_web_stackedUI .thorium_web_reader_app_topBar,
955
+ .thorium_web_stackedUI .thorium_web_reader_app_bottomBar {
956
+ flex: 0 0 calc(var(--th-icon-size, 24px) * 2.5);
957
+ height: calc(var(--th-icon-size, 24px) * 2.5);
958
+ }
959
+ .thorium_web_stackedUI.thorium_web_isImmersive:not(.thorium_web_isHovering) .thorium_web_reader_app_topBar,
960
+ .thorium_web_stackedUI.thorium_web_isImmersive:not(.thorium_web_isHovering) .thorium_web_reader_app_bottomBar {
961
+ opacity: var(--th-theme-immerse);
962
+ }
963
+ .thorium_web_reader_app_main .thorium_web_layeredUI {
964
+ position: relative;
965
+ top: 0;
966
+ bottom: 0;
967
+ left: 0;
968
+ right: 0;
969
+ height: 100vh;
970
+ height: 100dvh;
971
+ max-height: 100%;
972
+ background-color: var(--th-theme-background);
973
+ }
974
+ .thorium_web_layeredUI .thorium_web_reader_app_topBar,
975
+ .thorium_web_layeredUI .thorium_web_reader_app_bottomBar {
976
+ position: absolute;
977
+ left: 0;
978
+ right: 0;
979
+ height: calc(var(--th-icon-size, 24px) * 2.5);
980
+ z-index: 2;
981
+ box-shadow: var(--th-theme-elevate);
982
+ overflow: hidden;
983
+ transition-property: transform, box-shadow;
984
+ transition-duration: 200ms;
985
+ transition-timing-function: ease-in-out;
986
+ transform: translateY(0);
987
+ }
988
+ .thorium_web_layeredUI .thorium_web_reader_app_topBar {
989
+ top: 0;
990
+ }
991
+ .thorium_web_layeredUI .thorium_web_reader_app_bottomBar {
992
+ bottom: 0;
993
+ }
994
+ .thorium_web_layeredUI.thorium_web_isImmersive:not(.thorium_web_isHovering) .thorium_web_reader_app_topBar {
995
+ transform: translateY(calc(var(--th-icon-size, 24px) * -2.5));
996
+ box-shadow: none;
997
+ overflow: unset;
998
+ }
999
+ .thorium_web_layeredUI.thorium_web_isImmersive:not(.thorium_web_isHovering) .thorium_web_reader_app_bottomBar {
1000
+ transform: translateY(calc(var(--th-icon-size, 24px) * 2.5));
1001
+ box-shadow: none;
1002
+ }
1003
+ .thorium_web_reader_app_barOverlay {
1004
+ position: absolute;
1005
+ left: 0;
1006
+ right: 0;
1007
+ height: calc(var(--th-icon-size, 24px) * 2.5);
1008
+ pointer-events: auto;
1009
+ opacity: 0;
1010
+ z-index: 1000;
1011
+ }
1012
+ .thorium_web_reader_app_headerOverlay {
1013
+ position: absolute;
1014
+ left: 0;
1015
+ right: 0;
1016
+ height: calc(var(--th-icon-size, 24px) * 2.5);
1017
+ pointer-events: auto;
1018
+ opacity: 0;
1019
+ z-index: 1000;
1020
+ top: 0;
1021
+ }
1022
+ .thorium_web_reader_app_footerOverlay {
1023
+ position: absolute;
1024
+ left: 0;
1025
+ right: 0;
1026
+ height: calc(var(--th-icon-size, 24px) * 2.5);
1027
+ pointer-events: auto;
1028
+ opacity: 0;
1029
+ z-index: 1000;
1030
+ bottom: 0;
1031
+ }
1032
+ .thorium_web_reader_app_iframeContainer {
1033
+ contain: content;
1034
+ width: 100%;
1035
+ height: 100%;
1036
+ margin: 0 auto;
1037
+ }
1038
+ .thorium_web_reader_app_iframeContainer .readium-navigator-iframe {
1039
+ width: 100%;
1040
+ height: 100%;
1041
+ border-width: 0;
1042
+ }
1043
+ @keyframes thorium_web_reader_app_loading {
1044
+ 0% {
1045
+ transform: rotate(0deg);
1046
+ }
1047
+ 100% {
1048
+ transform: rotate(360deg);
1049
+ }
1050
+ }
1051
+ .thorium_web_reader_app_iframeContainer div:has(> .readium-navigator-iframe.blank)::after {
1052
+ content: "";
1053
+ position: absolute;
1054
+ top: 50%;
1055
+ left: 50%;
1056
+ margin-top: -30px;
1057
+ margin-left: -30px;
1058
+ width: 50px;
1059
+ height: 50px;
1060
+ border-radius: 50px;
1061
+ border: 5px solid grey;
1062
+ border-top-color: black;
1063
+ animation: thorium_web_reader_app_loading 2s linear infinite;
1064
+ }
1065
+ .thorium_web_reader_app_srOnly {
1066
+ clip: rect(0 0 0 0);
1067
+ clip-path: inset(50%);
1068
+ height: 1px;
1069
+ overflow: hidden;
1070
+ position: absolute;
1071
+ white-space: nowrap;
1072
+ width: 1px;
1073
+ }
1074
+
1075
+ /* src/components/assets/styles/thorium-web.reader.header.module.css */
1076
+ .thorium_web_reader_header_header {
1077
+ box-sizing: border-box;
1078
+ display: grid;
1079
+ grid-template-areas: "header-start header-center header-end";
1080
+ grid-template-columns: 1fr 3fr 1fr;
1081
+ padding: 0.25rem 0.5rem 0;
1082
+ }
1083
+ .thorium_web_reader_header_backlinkWrapper {
1084
+ grid-area: header-start;
1085
+ justify-self: start;
1086
+ align-self: center;
1087
+ }
1088
+ .thorium_web_reader_header_header h1 {
1089
+ font-size: 1rem;
1090
+ color: var(--th-theme-text);
1091
+ font-weight: normal;
1092
+ grid-area: header-center;
1093
+ justify-self: center;
1094
+ align-self: center;
1095
+ max-width: 100%;
1096
+ white-space: nowrap;
1097
+ overflow: hidden;
1098
+ text-overflow: ellipsis;
1099
+ transition: opacity 200ms ease-in-out;
1100
+ }
1101
+ .thorium_web_reader_header_actionsWrapper {
1102
+ grid-area: header-end;
1103
+ justify-self: end;
1104
+ display: flex;
1105
+ align-items: center;
1106
+ gap: 2px;
1107
+ }
1108
+
1109
+ /* src/components/assets/styles/thorium-web.backlink.module.css */
1110
+ .thorium_web_backlink_link {
1111
+ display: block;
1112
+ box-sizing: content-box;
1113
+ padding: calc(var(--th-icon-size, 24px) * (1/4));
1114
+ text-align: start;
1115
+ border-radius: var(--th-layout-radius);
1116
+ max-width: 100%;
1117
+ height: var(--th-icon-size, 24px);
1118
+ }
1119
+ .thorium_web_backlink_link svg {
1120
+ fill: var(--th-theme-text);
1121
+ max-width: 100%;
1122
+ height: 100%;
1123
+ }
1124
+ .thorium_web_backlink_link img {
1125
+ max-width: 100%;
1126
+ height: 100%;
1127
+ }
1128
+ .thorium_web_backlink_link[data-hovered] {
1129
+ background-color: var(--th-theme-hover);
1130
+ }
1131
+ .thorium_web_backlink_link[data-focus-visible] {
1132
+ outline: 2px solid var(--th-theme-focus);
1133
+ }
1134
+ .thorium_web_backlink_link[data-disabled] {
1135
+ color: var(--th-theme-disable);
1136
+ }
1137
+ .thorium_web_backlink_link[data-disabled] svg {
1138
+ fill: var(--th-theme-disable);
1139
+ }
1140
+
1141
+ /* src/components/assets/styles/thorium-web.reader.pagination.module.css */
1142
+ .thorium_web_reader_pagination_wrapper {
1143
+ box-sizing: border-box;
1144
+ display: grid;
1145
+ gap: calc(var(--th-layout-spacing) / 2);
1146
+ grid-template-areas: "pagination-start pagination-center pagination-end";
1147
+ grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
1148
+ background-color: var(--th-theme-background);
1149
+ color: var(--th-theme-text);
1150
+ align-items: center;
1151
+ width: 100%;
1152
+ max-width: var(--th-layout-constraints-pagination, 100%);
1153
+ }
1154
+ .thorium_web_reader_pagination_listItem {
1155
+ box-sizing: border-box;
1156
+ list-style: none;
1157
+ }
1158
+ .thorium_web_reader_pagination_listItem:has(.thorium_web_reader_pagination_previousButton) {
1159
+ grid-area: pagination-start;
1160
+ justify-self: start;
1161
+ }
1162
+ .thorium_web_reader_pagination_listItem:has(.thorium_web_reader_pagination_progression) {
1163
+ grid-area: pagination-center;
1164
+ justify-self: center;
1165
+ }
1166
+ .thorium_web_reader_pagination_listItem:has(.thorium_web_reader_pagination_nextButton) {
1167
+ grid-area: pagination-end;
1168
+ justify-self: end;
1169
+ }
1170
+ .thorium_web_reader_pagination_listItem button {
1171
+ box-sizing: border-box;
1172
+ padding: calc(var(--th-icon-size, 24px) * (1/4)) calc(var(--th-layout-spacing) / 2);
1173
+ gap: calc(var(--th-layout-spacing) / 2);
1174
+ max-height: calc(var(--th-icon-size, 24px) * 2);
1175
+ max-width: 100%;
1176
+ border-radius: var(--th-layout-radius);
1177
+ display: flex;
1178
+ align-items: center;
1179
+ }
1180
+ .thorium_web_reader_pagination_nextButton {
1181
+ margin-inline-start: auto;
1182
+ text-align: end;
1183
+ }
1184
+ .thorium_web_reader_pagination_listItem button[data-hovered] {
1185
+ background-color: var(--th-theme-hover);
1186
+ }
1187
+ .thorium_web_reader_pagination_listItem button[data-focus-visible] {
1188
+ outline: 2px solid var(--th-theme-focus);
1189
+ }
1190
+ .thorium_web_reader_pagination_listItem button[data-disabled] {
1191
+ color: var(--th-theme-disable);
1192
+ }
1193
+ .thorium_web_reader_pagination_listItem button .thorium_web_reader_pagination_label {
1194
+ display: -webkit-box;
1195
+ -webkit-box-orient: vertical;
1196
+ overflow: hidden;
1197
+ white-space: normal;
1198
+ -webkit-line-clamp: 1;
1199
+ line-clamp: 1;
1200
+ }
1201
+ .thorium_web_reader_pagination_listItem button svg {
1202
+ flex: none;
1203
+ width: var(--th-icon-size, 24px);
1204
+ height: var(--th-icon-size, 24px);
1205
+ fill: var(--th-theme-text);
1206
+ }
1207
+
1208
+ /* src/components/assets/styles/thorium-web.reader.progression.module.css */
1209
+ .thorium_web_reader_progression_wrapper {
1210
+ color: var(--th-theme-text);
1211
+ font-variant-numeric: lining-nums tabular-nums;
1212
+ text-align: center;
1213
+ }
1214
+ /*# sourceMappingURL=index.css.map */