@edrlab/thorium-web 1.2.1 → 1.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (100) hide show
  1. package/dist/{ThPreferencesAdapter-DrZ5_6Dv.d.mts → ThPreferencesAdapter-D0rzsGRl.d.mts} +50 -13
  2. package/dist/{ThSettingsWrapper-8Kx0SnH4.d.mts → ThSettingsWrapper-BXuRgdqp.d.mts} +42 -4
  3. package/dist/{actions-D2CHvCHu.d.mts → actions-BLAr0oaM.d.mts} +16 -4
  4. package/dist/{actionsReducer-kc-S130w.d.mts → actionsReducer-XWTGGNUd.d.mts} +46 -14
  5. package/dist/chunk-2ORXUOH3.mjs +134 -0
  6. package/dist/chunk-2ORXUOH3.mjs.map +1 -0
  7. package/dist/chunk-3GDQP6AS.mjs +14 -0
  8. package/dist/chunk-3GDQP6AS.mjs.map +1 -0
  9. package/dist/chunk-6BUN7DEA.mjs +854 -0
  10. package/dist/chunk-6BUN7DEA.mjs.map +1 -0
  11. package/dist/{chunk-IYAFKTPL.mjs → chunk-6EHFW43Y.mjs} +5 -4
  12. package/dist/chunk-6EHFW43Y.mjs.map +1 -0
  13. package/dist/chunk-7CGMWOZN.mjs +20 -0
  14. package/dist/chunk-7CGMWOZN.mjs.map +1 -0
  15. package/dist/{chunk-4VHEHMJN.mjs → chunk-A3FZBEUL.mjs} +228 -94
  16. package/dist/chunk-A3FZBEUL.mjs.map +1 -0
  17. package/dist/{chunk-NYZBHYW2.mjs → chunk-DETZMFZ7.mjs} +366 -61
  18. package/dist/chunk-DETZMFZ7.mjs.map +1 -0
  19. package/dist/{chunk-QPE574OW.mjs → chunk-DMZFSOHK.mjs} +28 -36
  20. package/dist/chunk-DMZFSOHK.mjs.map +1 -0
  21. package/dist/{chunk-7NEQAW7J.mjs → chunk-DTPO3J2C.mjs} +676 -930
  22. package/dist/chunk-DTPO3J2C.mjs.map +1 -0
  23. package/dist/{chunk-K3K7TUWM.mjs → chunk-EZG6SBSO.mjs} +358 -94
  24. package/dist/chunk-EZG6SBSO.mjs.map +1 -0
  25. package/dist/chunk-GPWW5OML.mjs +1955 -0
  26. package/dist/chunk-GPWW5OML.mjs.map +1 -0
  27. package/dist/{chunk-P4V3LA5R.mjs → chunk-I4BKU5NN.mjs} +13 -9
  28. package/dist/chunk-I4BKU5NN.mjs.map +1 -0
  29. package/dist/{chunk-47AIIJFO.mjs → chunk-ITDBOMY5.mjs} +3 -3
  30. package/dist/{chunk-47AIIJFO.mjs.map → chunk-ITDBOMY5.mjs.map} +1 -1
  31. package/dist/{chunk-XVSFXHYB.mjs → chunk-L4XGZAZ5.mjs} +23 -20
  32. package/dist/chunk-L4XGZAZ5.mjs.map +1 -0
  33. package/dist/{chunk-PXAUQJEU.mjs → chunk-LP3JFZ4A.mjs} +2425 -1634
  34. package/dist/chunk-LP3JFZ4A.mjs.map +1 -0
  35. package/dist/{chunk-72XCX5TD.mjs → chunk-NKO3K3QS.mjs} +14 -9
  36. package/dist/chunk-NKO3K3QS.mjs.map +1 -0
  37. package/dist/chunk-SAUOY37Q.mjs +862 -0
  38. package/dist/chunk-SAUOY37Q.mjs.map +1 -0
  39. package/dist/chunk-TEZB4ULX.mjs +57 -0
  40. package/dist/chunk-TEZB4ULX.mjs.map +1 -0
  41. package/dist/components/Audio/index.css +1858 -0
  42. package/dist/components/Audio/index.css.map +1 -0
  43. package/dist/components/Audio/index.d.mts +103 -0
  44. package/dist/components/Audio/index.mjs +23 -0
  45. package/dist/components/Audio/index.mjs.map +1 -0
  46. package/dist/components/Epub/index.css +365 -9
  47. package/dist/components/Epub/index.css.map +1 -1
  48. package/dist/components/Epub/index.d.mts +17 -19
  49. package/dist/components/Epub/index.mjs +18 -13
  50. package/dist/components/Misc/index.css +7 -4
  51. package/dist/components/Misc/index.css.map +1 -1
  52. package/dist/components/Misc/index.mjs +5 -133
  53. package/dist/components/Misc/index.mjs.map +1 -1
  54. package/dist/components/Reader/index.css +1022 -183
  55. package/dist/components/Reader/index.css.map +1 -1
  56. package/dist/components/Reader/index.d.mts +16 -16
  57. package/dist/components/Reader/index.mjs +124 -25
  58. package/dist/components/Reader/index.mjs.map +1 -1
  59. package/dist/components/WebPub/index.css +365 -9
  60. package/dist/components/WebPub/index.css.map +1 -1
  61. package/dist/components/WebPub/index.d.mts +16 -16
  62. package/dist/components/WebPub/index.mjs +18 -13
  63. package/dist/core/Components/index.d.mts +64 -15
  64. package/dist/core/Components/index.mjs +2 -1
  65. package/dist/core/Helpers/index.d.mts +2 -2
  66. package/dist/core/Helpers/index.mjs +4 -2
  67. package/dist/core/Hooks/index.d.mts +7 -8
  68. package/dist/core/Hooks/index.mjs +3 -1
  69. package/dist/i18n/index.mjs +6 -7
  70. package/dist/lib/index.d.mts +159 -15
  71. package/dist/lib/index.mjs +4 -2
  72. package/dist/lib-M3PPQDJJ.mjs +6548 -0
  73. package/dist/lib-M3PPQDJJ.mjs.map +1 -0
  74. package/dist/locales/en/thorium-web.json +22 -0
  75. package/dist/next-lib/index.mjs +2 -0
  76. package/dist/next-lib/index.mjs.map +1 -1
  77. package/dist/preferences/index.d.mts +111 -13
  78. package/dist/preferences/index.mjs +6 -3
  79. package/dist/{settingsReducer-C1wwCAMv.d.mts → settingsReducer-Bu1zeveu.d.mts} +1 -1
  80. package/dist/{ui-CamWuqOo.d.mts → ui-nBv8gfr0.d.mts} +20 -1
  81. package/dist/useAudioNavigator-C5aW4-eT.d.mts +133 -0
  82. package/dist/{useContrast-D6sjPjxy.d.mts → useContrast-2t429O9O.d.mts} +16 -8
  83. package/dist/usePreferences-VaBf46eP.d.mts +230 -0
  84. package/dist/useReaderTransitions-IBGdE7qi.d.mts +530 -0
  85. package/dist/{useTimeline-DyMx_aWY.d.mts → useTimeline-DCZ1qoCO.d.mts} +4 -2
  86. package/package.json +17 -13
  87. package/dist/chunk-4VHEHMJN.mjs.map +0 -1
  88. package/dist/chunk-72XCX5TD.mjs.map +0 -1
  89. package/dist/chunk-7NEQAW7J.mjs.map +0 -1
  90. package/dist/chunk-IYAFKTPL.mjs.map +0 -1
  91. package/dist/chunk-K3K7TUWM.mjs.map +0 -1
  92. package/dist/chunk-NYZBHYW2.mjs.map +0 -1
  93. package/dist/chunk-P4V3LA5R.mjs.map +0 -1
  94. package/dist/chunk-PXAUQJEU.mjs.map +0 -1
  95. package/dist/chunk-QPE574OW.mjs.map +0 -1
  96. package/dist/chunk-XVSFXHYB.mjs.map +0 -1
  97. package/dist/useEpubNavigator-CwHJfoiV.d.mts +0 -42
  98. package/dist/usePreferences-BXFJbval.d.mts +0 -43
  99. package/dist/useReaderTransitions-guT-eA-Q.d.mts +0 -365
  100. package/dist/useWebPubNavigator-CuSNQKMw.d.mts +0 -39
@@ -0,0 +1,1858 @@
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: currentColor;
75
+ width: var(--th-icon-size, 24px);
76
+ height: var(--th-icon-size, 24px);
77
+ }
78
+ .thorium_web_button_icon[data-hovered],
79
+ .thorium_web_button_dockerButton[data-hovered],
80
+ .thorium_web_button_closeButton[data-hovered],
81
+ .thorium_web_button_backButton[data-hovered] {
82
+ background-color: var(--th-theme-hover);
83
+ color: var(--th-theme-onHover);
84
+ }
85
+ .thorium_web_button_icon[data-focus-visible],
86
+ .thorium_web_button_dockerButton[data-focus-visible],
87
+ .thorium_web_button_closeButton[data-focus-visible],
88
+ .thorium_web_button_backButton[data-focus-visible] {
89
+ outline: 2px solid var(--th-theme-focus);
90
+ }
91
+ .thorium_web_button_backButton[data-disabled] {
92
+ color: var(--th-theme-disable);
93
+ }
94
+ .thorium_web_button_tooltip {
95
+ background-color: var(--th-theme-text);
96
+ color: var(--th-theme-background);
97
+ padding: 5px;
98
+ border-radius: var(--th-layout-radius);
99
+ }
100
+ .thorium_web_button_alwaysVisible {
101
+ opacity: 1;
102
+ }
103
+ .thorium_web_stackedUI.thorium_web_isImmersive:not(.thorium_web_isHovering) .thorium_web_button_partiallyVisible {
104
+ opacity: 0;
105
+ }
106
+ .thorium_web_button_iconCompSm {
107
+ padding: calc(var(--th-icon-size, 24px) * (1/3));
108
+ }
109
+ .thorium_web_button_iconCompSm svg {
110
+ width: calc(var(--th-icon-size, 24px) * (3/4));
111
+ height: calc(var(--th-icon-size, 24px) * (3/4));
112
+ stroke: var(--th-theme-text);
113
+ }
114
+ .thorium_web_button_iconCompLg {
115
+ padding: calc(var(--th-icon-size, 24px) * (1/6));
116
+ }
117
+ .thorium_web_button_iconCompLg svg {
118
+ width: calc(var(--th-icon-size, 24px) * (4/3));
119
+ height: calc(var(--th-icon-size, 24px) * (4/3));
120
+ }
121
+ .thorium_web_button_iconApplyStroke svg {
122
+ stroke: var(--th-theme-text);
123
+ }
124
+
125
+ /* src/components/Actions/assets/styles/thorium-web.overflow.module.css */
126
+ .thorium_web_layeredUI.thorium_web_isImmersive:not(.thorium_web_isHovering) .thorium_web_overflow_hint {
127
+ transform: translateY(calc(var(--th-icon-size, 24px) * 2.5));
128
+ transition-property: transform;
129
+ transition-duration: 200ms;
130
+ transition-timing-function: ease-in-out;
131
+ }
132
+ .thorium_web_layeredUI.thorium_web_isReflow.thorium_web_isScroll.thorium_web_isImmersive:not(.thorium_web_isHovering) .thorium_web_overflow_hint {
133
+ outline: 1px solid var(--th-theme-subdue);
134
+ background-color: var(--th-theme-background);
135
+ }
136
+ .thorium_web_overflow_popover {
137
+ background-color: var(--th-theme-background);
138
+ color: var(--th-theme-text);
139
+ padding: calc(var(--th-layout-spacing) / 2);
140
+ border-radius: var(--th-layout-radius);
141
+ border: 1px solid var(--th-theme-subdue);
142
+ filter: drop-shadow(var(--th-theme-elevate));
143
+ box-sizing: border-box;
144
+ max-width: var(--th-layout-constraints-popover, 500px);
145
+ width: max-content;
146
+ }
147
+ .thorium_web_overflow_menu {
148
+ outline: none;
149
+ }
150
+ .thorium_web_overflow_menuItem {
151
+ display: flex;
152
+ align-items: center;
153
+ gap: calc(var(--th-layout-spacing) / 2);
154
+ padding: calc(var(--th-layout-spacing) / 2);
155
+ border-radius: var(--th-layout-radius);
156
+ outline: none;
157
+ }
158
+ .thorium_web_overflow_menuItem[data-hovered] {
159
+ background-color: var(--th-theme-hover);
160
+ color: var(--th-theme-onHover);
161
+ }
162
+ .thorium_web_overflow_menuItem[data-focus-visible] {
163
+ outline: 2px solid var(--th-theme-focus);
164
+ }
165
+ .thorium_web_overflow_menuItem[data-disabled] {
166
+ color: var(--th-theme-disable);
167
+ }
168
+ .thorium_web_overflow_menuItem > svg {
169
+ width: calc(var(--th-icon-size, 24px) / 1.5);
170
+ height: calc(var(--th-icon-size, 24px) / 1.5);
171
+ fill: currentColor;
172
+ }
173
+ .thorium_web_overflow_menuItemLabel {
174
+ font-size: 1rem;
175
+ }
176
+ .thorium_web_overflow_menuItemShortcut {
177
+ font-family: monospace;
178
+ font-weight: bold;
179
+ color: var(--th-theme-subdue);
180
+ padding: 5px;
181
+ margin-inline-start: auto;
182
+ border-radius: var(--th-layout-radius);
183
+ border: 1px solid var(--th-theme-subdue);
184
+ }
185
+
186
+ /* src/components/Actions/JumpToPosition/assets/styles/thorium-web.jumpToPosition.module.css */
187
+ .thorium_web_jumpToPosition_wrapper {
188
+ }
189
+ .thorium_web_jumpToPosition_form {
190
+ display: flex;
191
+ gap: calc(var(--th-layout-spacing) / 2);
192
+ }
193
+ .thorium_web_jumpToPosition_label {
194
+ margin-block: 0 var(--th-layout-spacing);
195
+ display: block;
196
+ }
197
+ .thorium_web_jumpToPosition_input {
198
+ display: block;
199
+ font-weight: bold;
200
+ padding: calc(var(--th-icon-size, 24px) * (1/4)) calc(var(--th-layout-spacing) / 2);
201
+ border-radius: var(--th-layout-radius);
202
+ border: 2px solid var(--th-theme-subdue);
203
+ }
204
+ .thorium_web_jumpToPosition_button {
205
+ box-sizing: content-box;
206
+ border: 2px solid var(--th-theme-subdue);
207
+ padding: calc(var(--th-icon-size, 24px) * (1/4)) calc(var(--th-icon-size, 24px) * (1/2));
208
+ text-align: center;
209
+ border-radius: var(--th-layout-radius);
210
+ margin-inline-start: auto;
211
+ align-self: flex-end;
212
+ }
213
+ .thorium_web_jumpToPosition_button[data-hovered] {
214
+ background-color: var(--th-theme-hover);
215
+ color: var(--th-theme-onHover);
216
+ }
217
+ .thorium_web_jumpToPosition_input[data-focus-visible],
218
+ .thorium_web_jumpToPosition_button[data-focus-visible] {
219
+ outline: 2px solid var(--th-theme-focus);
220
+ }
221
+ .thorium_web_jumpToPosition_numberField[data-disabled],
222
+ .thorium_web_jumpToPosition_button[data-disabled] {
223
+ color: var(--th-theme-disable);
224
+ }
225
+
226
+ /* src/components/Sheets/assets/styles/thorium-web.sheets.module.css */
227
+ .thorium_web_sheets_fullscreen {
228
+ position: fixed;
229
+ top: 0;
230
+ left: 0;
231
+ right: 0;
232
+ bottom: 0;
233
+ z-index: 10;
234
+ overflow-y: auto;
235
+ scroll-padding-top: calc(var(--th-sheet-sticky-header, 80px) + var(--th-layout-spacing));
236
+ scroll-padding-bottom: var(--th-layout-spacing);
237
+ box-sizing: border-box;
238
+ width: 100%;
239
+ height: 100%;
240
+ max-height: var(--visual-viewport-height, 100dvh);
241
+ background-color: var(--th-theme-background);
242
+ color: var(--th-theme-text);
243
+ align-items: center;
244
+ }
245
+ .thorium_web_sheets_modal {
246
+ position: fixed;
247
+ inset: 0;
248
+ z-index: 10;
249
+ display: flex;
250
+ align-items: center;
251
+ justify-content: center;
252
+ padding: var(--th-layout-spacing);
253
+ background-color: var(--th-layout-defaults-scrim, rgba(0, 0, 0, 0.2));
254
+ pointer-events: none;
255
+ }
256
+ .thorium_web_sheets_modalDialog {
257
+ pointer-events: auto;
258
+ overflow-y: auto;
259
+ scroll-padding-top: calc(var(--th-sheet-sticky-header, 80px) + var(--th-layout-spacing));
260
+ scroll-padding-bottom: var(--th-layout-spacing);
261
+ box-sizing: border-box;
262
+ width: 100%;
263
+ max-width: var(--th-layout-constraints-modal, 600px);
264
+ max-height: 90dvh;
265
+ background-color: var(--th-theme-background);
266
+ color: var(--th-theme-text);
267
+ border-radius: var(--th-layout-radius);
268
+ border: 1px solid var(--th-theme-subdue);
269
+ filter: drop-shadow(var(--th-theme-elevate));
270
+ }
271
+ .thorium_web_sheets_popover {
272
+ overflow-y: auto;
273
+ scroll-padding-top: calc(var(--th-sheet-sticky-header, 80px) + var(--th-layout-spacing));
274
+ scroll-padding-bottom: var(--th-layout-spacing);
275
+ box-sizing: border-box;
276
+ width: calc(340px + (2 * var(--th-layout-spacing)));
277
+ max-width: var(--th-layout-constraints-popover, 500px);
278
+ max-height: 100%;
279
+ max-height: var(--visual-viewport-height, 100dvh);
280
+ padding: 0;
281
+ background-color: var(--th-theme-background);
282
+ color: var(--th-theme-text);
283
+ border-radius: var(--th-layout-radius);
284
+ border: 1px solid var(--th-theme-subdue);
285
+ filter: drop-shadow(var(--th-theme-elevate));
286
+ }
287
+ .thorium_web_sheets_compactPopover {
288
+ overflow-y: auto;
289
+ scroll-padding-top: var(--th-layout-spacing);
290
+ scroll-padding-bottom: var(--th-layout-spacing);
291
+ box-sizing: border-box;
292
+ width: calc(340px + (2 * var(--th-layout-spacing)));
293
+ max-width: var(--th-layout-constraints-popover, 500px);
294
+ max-height: 100%;
295
+ max-height: var(--visual-viewport-height, 100dvh);
296
+ padding: 0;
297
+ background-color: var(--th-theme-background);
298
+ color: var(--th-theme-text);
299
+ border-radius: var(--th-layout-radius);
300
+ border: 1px solid var(--th-theme-subdue);
301
+ filter: drop-shadow(var(--th-theme-elevate));
302
+ }
303
+ .thorium_web_sheets_draggable {
304
+ box-sizing: border-box;
305
+ max-width: var(--th-layout-constraints-bottomSheet, 600px);
306
+ left: max(calc((100% - var(--th-layout-constraints-bottomSheet, 600px)) / 2), 0px) !important;
307
+ background-color: var(--th-theme-background) !important;
308
+ color: var(--th-theme-text) !important;
309
+ border: none;
310
+ filter: none !important;
311
+ box-shadow: none !important;
312
+ border-top-left-radius: 28px !important;
313
+ border-top-right-radius: 28px !important;
314
+ transition: border-radius 500ms;
315
+ }
316
+ .thorium_web_sheets_draggable::after {
317
+ content: "";
318
+ z-index: -1;
319
+ position: absolute;
320
+ top: 0;
321
+ left: 0;
322
+ right: 0;
323
+ bottom: 0;
324
+ transform: translateZ(0);
325
+ box-shadow: var(--th-theme-elevate);
326
+ border-top-left-radius: 28px;
327
+ border-top-right-radius: 28px;
328
+ }
329
+ .thorium_web_sheets_draggableFullHeightDetent {
330
+ height: calc(100% - env(safe-area-inset-top)) !important;
331
+ }
332
+ .thorium_web_sheets_draggableContentHeightDetent {
333
+ max-height: calc(100% - env(safe-area-inset-top)) !important;
334
+ }
335
+ .thorium_web_sheets_draggable[data-full-height] {
336
+ border-top-left-radius: 0 !important;
337
+ border-top-right-radius: 0 !important;
338
+ transition: border-radius 500ms;
339
+ }
340
+ .thorium_web_sheets_draggableBackdrop {
341
+ pointer-events: auto !important;
342
+ background-color: transparent !important;
343
+ }
344
+ .thorium_web_sheets_draggableScrim {
345
+ background-color: var(--th-layout-defaults-scrim) !important;
346
+ }
347
+ .thorium_web_sheets_draggableContainer {
348
+ padding: 0;
349
+ background-color: var(--th-theme-background);
350
+ color: var(--th-theme-text);
351
+ }
352
+ .thorium_web_sheets_draggableScroller {
353
+ position: relative;
354
+ scroll-padding-bottom: calc(var(--th-layout-spacing) * 4);
355
+ }
356
+ .thorium_web_sheets_dragIndicator {
357
+ width: calc(var(--th-icon-size, 40px) * 1.5);
358
+ position: absolute;
359
+ top: 0;
360
+ left: 50%;
361
+ transform: translateX(-50%);
362
+ }
363
+ .thorium_web_sheets_dragIndicator[data-focus-visible] {
364
+ border-radius: var(--th-layout-radius);
365
+ outline: 2px solid var(--th-theme-focus);
366
+ }
367
+ .thorium_web_sheets_dragIndicator svg {
368
+ fill: var(--th-theme-subdue);
369
+ width: 100%;
370
+ height: auto;
371
+ }
372
+ .thorium_web_sheets_docked {
373
+ position: relative;
374
+ overflow-y: auto;
375
+ scroll-padding-top: calc(var(--th-sheet-sticky-header, 80px) + var(--th-layout-spacing));
376
+ scroll-padding-bottom: var(--th-layout-spacing);
377
+ box-sizing: border-box;
378
+ width: 100%;
379
+ max-width: 100%;
380
+ height: 100vh;
381
+ height: 100dvh;
382
+ background-color: var(--th-theme-background);
383
+ color: var(--th-theme-text);
384
+ }
385
+ .thorium_web_sheets_dockedLeftBorder {
386
+ border-right: 1px solid var(--th-theme-subdue);
387
+ }
388
+ .thorium_web_sheets_dockedRightBorder {
389
+ border-left: 1px solid var(--th-theme-subdue);
390
+ }
391
+ .thorium_web_sheets_dialog {
392
+ outline: none;
393
+ }
394
+ .thorium_web_sheets_header {
395
+ display: flex;
396
+ align-items: center;
397
+ position: sticky;
398
+ top: 0;
399
+ left: 0;
400
+ right: 0;
401
+ z-index: 10;
402
+ padding: calc(var(--th-layout-spacing) / 2) var(--th-layout-spacing);
403
+ background-color: var(--th-theme-background);
404
+ border-bottom: 1px solid var(--th-theme-subdue);
405
+ }
406
+ .thorium_web_sheets_draggableHeader {
407
+ box-sizing: border-box;
408
+ display: flex;
409
+ align-items: center;
410
+ background-color: var(--th-theme-background);
411
+ border-bottom: 1px solid var(--th-theme-subdue);
412
+ padding: var(--th-layout-spacing) var(--th-layout-spacing) calc(var(--th-layout-spacing) / 2) var(--th-layout-spacing);
413
+ border-top-left-radius: 28px !important;
414
+ border-top-right-radius: 28px !important;
415
+ transition: border-radius 500ms;
416
+ }
417
+ .thorium_web_sheets_draggable[data-full-height] .thorium_web_sheets_draggableHeader {
418
+ border-top-left-radius: 0 !important;
419
+ border-top-right-radius: 0 !important;
420
+ transition: border-radius 500ms;
421
+ }
422
+ .thorium_web_sheets_heading {
423
+ font-size: 1.25rem;
424
+ line-height: 1;
425
+ margin: 0;
426
+ padding: 0;
427
+ }
428
+ .thorium_web_sheets_compactHeader {
429
+ position: absolute;
430
+ width: 1px;
431
+ height: 1px;
432
+ padding: 0;
433
+ margin: -1px;
434
+ overflow: hidden;
435
+ clip: rect(0, 0, 0, 0);
436
+ white-space: nowrap;
437
+ border: 0;
438
+ }
439
+ .thorium_web_sheets_body {
440
+ padding: var(--th-layout-spacing);
441
+ }
442
+
443
+ /* src/components/Docking/assets/styles/thorium-web.docking.module.css */
444
+ .thorium_web_docking_dockerWrapper {
445
+ margin-inline-start: auto;
446
+ margin-inline-end: calc(var(--th-icon-size, 24px) * (1 / 4) * -1);
447
+ display: flex;
448
+ gap: 2px;
449
+ padding-inline-start: var(--th-layout-spacing);
450
+ }
451
+ .thorium_web_docking_docker {
452
+ display: flex;
453
+ gap: 2px;
454
+ }
455
+ .thorium_web_docking_resizeHandle {
456
+ position: relative;
457
+ width: 0;
458
+ }
459
+ .thorium_web_docking_resizeHandle:focus-visible {
460
+ outline: 2px solid var(--th-theme-focus);
461
+ }
462
+ .thorium_web_docking_resizeHandleGrab {
463
+ position: absolute;
464
+ z-index: 1000;
465
+ top: 50%;
466
+ transform: translateY(-50%);
467
+ width: 5px;
468
+ height: 50px;
469
+ border-radius: 5px;
470
+ background-color: var(--th-theme-subdue);
471
+ }
472
+ .thorium_web_docking_resizeHandleGrabLeft {
473
+ left: 0;
474
+ }
475
+ .thorium_web_docking_resizeHandleGrabRight {
476
+ left: -5px;
477
+ }
478
+
479
+ /* src/components/Settings/assets/styles/thorium-web.reader.settings.module.css */
480
+ .thorium_web_reader_settings_wrapper {
481
+ }
482
+ .thorium_web_reader_settings_group {
483
+ margin: calc(var(--th-layout-spacing) * 2) 0;
484
+ }
485
+ .thorium_web_reader_settings_advancedGroup {
486
+ position: relative;
487
+ }
488
+ .thorium_web_reader_settings_advancedIcon {
489
+ position: absolute;
490
+ inset-inline-end: 0;
491
+ inset-block-start: 0;
492
+ }
493
+ .thorium_web_reader_settings_label {
494
+ display: block;
495
+ font-weight: bold;
496
+ font-size: 1rem;
497
+ margin: 0;
498
+ }
499
+ .thorium_web_reader_settings_groupLabel {
500
+ padding-top: calc(var(--th-icon-size, 24px) * (1/3));
501
+ }
502
+ .thorium_web_reader_settings_radioWrapper,
503
+ .thorium_web_reader_settings_groupWrapper {
504
+ margin: var(--th-layout-spacing) 0;
505
+ text-align: center;
506
+ border-radius: var(--th-layout-radius);
507
+ }
508
+ .thorium_web_reader_settings_numberField .thorium_web_reader_settings_groupWrapper {
509
+ margin-bottom: 0;
510
+ }
511
+ .thorium_web_reader_settings_radioWrapper {
512
+ display: grid;
513
+ grid-template-columns: repeat(auto-fill, minmax(min(100%, 100px), 1fr));
514
+ gap: calc(var(--th-layout-spacing) / 4);
515
+ width: 100%;
516
+ }
517
+ .thorium_web_reader_settings_groupWrapper {
518
+ display: flex;
519
+ width: fit-content;
520
+ gap: var(--th-layout-spacing) calc(var(--th-layout-spacing) / 2);
521
+ }
522
+ .thorium_web_reader_settings_advancedGroup .thorium_web_reader_settings_radioWrapper {
523
+ margin-bottom: 0;
524
+ }
525
+ .thorium_web_reader_settings_groupWrapper[data-focus-within]:has(input[data-focus-visible]) {
526
+ outline: 2px solid var(--th-theme-focus);
527
+ }
528
+ .thorium_web_reader_settings_numberFieldWrapper,
529
+ .thorium_web_reader_settings_sliderWrapper {
530
+ display: flex;
531
+ align-items: flex-start;
532
+ max-width: 100%;
533
+ }
534
+ .thorium_web_reader_settings_numberFieldWrapper .thorium_web_reader_settings_numberField,
535
+ .thorium_web_reader_settings_sliderWrapper .thorium_web_reader_settings_slider {
536
+ flex: 1 0 auto;
537
+ }
538
+ .thorium_web_reader_settings_group:first-of-type {
539
+ margin-top: 0;
540
+ }
541
+ .thorium_web_reader_settings_group:last-of-type {
542
+ margin-bottom: 0;
543
+ }
544
+ .thorium_web_reader_settings_resetButton {
545
+ margin-inline-start: auto;
546
+ }
547
+ .thorium_web_reader_settings_numberField .thorium_web_reader_settings_input {
548
+ background-color: var(--th-theme-background);
549
+ color: var(--th-theme-text);
550
+ font-weight: bold;
551
+ align-self: center;
552
+ max-width: 20ch;
553
+ }
554
+ .thorium_web_reader_settings_groupWrapper[data-disabled] .thorium_web_reader_settings_input {
555
+ color: var(--th-theme-disable);
556
+ }
557
+ .thorium_web_reader_settings_radio {
558
+ padding: calc(var(--th-layout-spacing) / 2);
559
+ border-radius: var(--th-layout-radius);
560
+ box-sizing: border-box;
561
+ border: 2px solid transparent;
562
+ }
563
+ .thorium_web_reader_settings_radio:not(.thorium_web_reader_settings_themeRadio) {
564
+ display: flex;
565
+ flex-direction: column;
566
+ align-items: center;
567
+ gap: calc(var(--th-layout-spacing) / 2);
568
+ min-width: 0;
569
+ width: 100%;
570
+ }
571
+ .thorium_web_reader_settings_radio:not(.thorium_web_reader_settings_themeRadio) > * {
572
+ width: 100%;
573
+ text-align: center;
574
+ }
575
+ .thorium_web_reader_settings_radio:not(.thorium_web_reader_settings_themeRadio) span {
576
+ display: -webkit-box;
577
+ -webkit-line-clamp: 2;
578
+ line-clamp: 2;
579
+ -webkit-box-orient: vertical;
580
+ overflow: hidden;
581
+ text-overflow: ellipsis;
582
+ line-height: 1.2em;
583
+ max-height: 2.4em;
584
+ width: 100%;
585
+ box-sizing: border-box;
586
+ white-space: normal;
587
+ }
588
+ .thorium_web_reader_settings_radio:not(.thorium_web_reader_settings_themeRadio)[data-selected] {
589
+ border: 2px solid var(--th-theme-subdue);
590
+ }
591
+ .thorium_web_reader_settings_radio[data-disabled] {
592
+ color: var(--th-theme-disable);
593
+ }
594
+ .thorium_web_reader_settings_radio[data-hovered] {
595
+ background-color: var(--th-theme-hover);
596
+ color: var(--th-theme-onHover);
597
+ }
598
+ .thorium_web_reader_settings_radio[data-focus-visible] {
599
+ outline: 2px solid var(--th-theme-focus);
600
+ outline-offset: 2px;
601
+ }
602
+ .thorium_web_reader_settings_radio svg {
603
+ width: var(--th-icon-size, 32px);
604
+ height: var(--th-icon-size, 32px);
605
+ fill: currentColor;
606
+ }
607
+ .thorium_web_reader_settings_themesWrapper {
608
+ display: grid;
609
+ grid-template-columns: repeat(2, 1fr);
610
+ grid-auto-flow: row;
611
+ max-width: 100%;
612
+ gap: calc(var(--th-layout-spacing) / 2);
613
+ }
614
+ .thorium_web_reader_settings_themeRadio {
615
+ padding-block: calc(var(--th-layout-spacing) / 4);
616
+ padding-inline: calc((var(--th-icon-size, 24px) * 5/6) + (var(--th-layout-spacing) / 4));
617
+ position: relative;
618
+ white-space: nowrap;
619
+ overflow: hidden;
620
+ text-overflow: ellipsis;
621
+ }
622
+ .thorium_web_reader_settings_themeRadio svg {
623
+ width: calc(var(--th-icon-size, 24px) * 5/6);
624
+ height: calc(var(--th-icon-size, 24px) * 5/6);
625
+ position: absolute;
626
+ inset-inline-end: 5px;
627
+ inset-block-end: 5px;
628
+ fill: currentColor;
629
+ }
630
+ .thorium_web_reader_settings_separator {
631
+ border: none;
632
+ border-top: 1px solid var(--th-theme-subdue);
633
+ }
634
+ .thorium_web_reader_settings_slider {
635
+ display: grid;
636
+ grid-template-areas: "label output" "track track";
637
+ grid-template-columns: 1fr auto;
638
+ gap: calc(var(--th-layout-spacing) / 2);
639
+ color: var(--th-theme-text);
640
+ flex-direction: column;
641
+ max-width: min(calc(100% - (var(--th-layout-spacing) / 2)), 80%);
642
+ }
643
+ .thorium_web_reader_settings_sliderLabel {
644
+ grid-area: label;
645
+ white-space: nowrap;
646
+ overflow: hidden;
647
+ text-overflow: ellipsis;
648
+ max-width: 100%;
649
+ }
650
+ .thorium_web_reader_settings_sliderOutput {
651
+ grid-area: output;
652
+ }
653
+ .thorium_web_reader_settings_slider[data-disabled] .thorium_web_reader_settings_sliderLabel,
654
+ .thorium_web_reader_settings_slider[data-disabled] .thorium_web_reader_settings_sliderOutput {
655
+ color: var(--th-theme-disable);
656
+ }
657
+ .thorium_web_reader_settings_sliderTrack {
658
+ grid-area: track;
659
+ position: relative;
660
+ height: 30px;
661
+ width: auto;
662
+ box-sizing: border-box;
663
+ margin-inline: calc(var(--th-layout-spacing) / 2);
664
+ }
665
+ .thorium_web_reader_settings_sliderTrack::before {
666
+ content: "";
667
+ display: block;
668
+ position: absolute;
669
+ background: var(--th-theme-subdue);
670
+ height: 3px;
671
+ width: 100%;
672
+ top: 50%;
673
+ transform: translateY(-50%);
674
+ }
675
+ .thorium_web_reader_settings_sliderThumb {
676
+ width: 1.25rem;
677
+ height: 1.25rem;
678
+ border-radius: 50%;
679
+ background: var(--th-theme-text);
680
+ border: 2px solid var(--th-theme-subdue);
681
+ top: 50%;
682
+ }
683
+ .thorium_web_reader_settings_slider[data-disabled] .thorium_web_reader_settings_sliderThumb {
684
+ background: var(--th-theme-disable);
685
+ border: 2px solid var(--th-theme-disable);
686
+ }
687
+ .thorium_web_reader_settings_sliderThumb[data-dragging] {
688
+ background: var(--th-theme-subdue);
689
+ }
690
+ .thorium_web_reader_settings_sliderThumb[data-focus-visible] {
691
+ outline: 2px solid var(--th-theme-focus);
692
+ border: 2px solid var(--th-theme-focus);
693
+ }
694
+ .thorium_web_reader_settings_sliderPlaceholder {
695
+ color: var(--th-theme-subdue);
696
+ }
697
+ .thorium_web_reader_settings_sliderWithPresetsWrapper {
698
+ display: flex;
699
+ flex-direction: column;
700
+ gap: var(--th-layout-spacing);
701
+ }
702
+ .thorium_web_reader_settings_sliderWithPresetsWrapper .thorium_web_reader_settings_sliderWrapper {
703
+ width: 100%;
704
+ }
705
+ .thorium_web_reader_settings_sliderWithPresetsWrapper .thorium_web_reader_settings_slider {
706
+ max-width: 100%;
707
+ }
708
+ .thorium_web_reader_settings_sliderWithPresetsRadioGroup {
709
+ display: grid;
710
+ grid-template-columns: repeat(auto-fill, minmax(4.5rem, 1fr));
711
+ gap: calc(var(--th-layout-spacing) / 4);
712
+ list-style: none;
713
+ margin: 0;
714
+ padding: 0;
715
+ }
716
+ .thorium_web_reader_settings_sliderWithPresetsRadio {
717
+ padding: calc(var(--th-layout-spacing) / 2);
718
+ border-radius: var(--th-layout-radius);
719
+ box-sizing: border-box;
720
+ border: 2px solid transparent;
721
+ text-align: center;
722
+ font-variant-numeric: tabular-nums;
723
+ background: transparent;
724
+ color: var(--th-theme-text);
725
+ }
726
+ .thorium_web_reader_settings_sliderWithPresetsRadio[data-selected] {
727
+ border: 2px solid var(--th-theme-subdue);
728
+ }
729
+ .thorium_web_reader_settings_sliderWithPresetsRadio[data-hovered] {
730
+ background-color: var(--th-theme-hover);
731
+ color: var(--th-theme-onHover);
732
+ }
733
+ .thorium_web_reader_settings_sliderWithPresetsRadio[data-focus-visible] {
734
+ outline: 2px solid var(--th-theme-focus);
735
+ outline-offset: 2px;
736
+ }
737
+ .thorium_web_reader_settings_sliderWithPresetsRadio[data-disabled] {
738
+ color: var(--th-theme-disable);
739
+ border-color: var(--th-theme-disable);
740
+ }
741
+ .thorium_web_reader_settings_sliderWithTicks .thorium_web_reader_settings_sliderTrack::before {
742
+ background:
743
+ linear-gradient(
744
+ to right,
745
+ var(--th-theme-subdue) 0%,
746
+ var(--th-theme-subdue) 100%) 0 50% / 100% 3px no-repeat,
747
+ repeating-linear-gradient(
748
+ to right,
749
+ var(--th-theme-text) 0%,
750
+ var(--th-theme-text) 1px,
751
+ transparent 1px,
752
+ transparent calc((100% - 2px) / var(--th-slider-ticks, 10))) 0 50% / 100% 15px no-repeat;
753
+ height: 15px;
754
+ transform: translateY(-50%);
755
+ position: relative;
756
+ }
757
+ .thorium_web_reader_settings_sliderWithTicks .thorium_web_reader_settings_sliderTrack::after {
758
+ content: "";
759
+ background:
760
+ linear-gradient(
761
+ to right,
762
+ var(--th-theme-subdue) 0%,
763
+ var(--th-theme-subdue) 3px,
764
+ transparent 3px,
765
+ transparent 100%) 0 50% / 100% 20px no-repeat,
766
+ linear-gradient(
767
+ to left,
768
+ var(--th-theme-subdue) 0%,
769
+ var(--th-theme-subdue) 3px,
770
+ transparent 3px,
771
+ transparent 100%) 100% 50% / 100% 20px no-repeat;
772
+ position: absolute;
773
+ top: 50%;
774
+ left: 0;
775
+ right: 0;
776
+ height: 20px;
777
+ transform: translateY(-50%);
778
+ pointer-events: none;
779
+ }
780
+ .thorium_web_reader_settings_dropdown[data-disabled] {
781
+ color: var(--th-theme-disable);
782
+ }
783
+ .thorium_web_reader_settings_dropdownButton {
784
+ margin-top: var(--th-layout-spacing);
785
+ position: relative;
786
+ padding-block: calc(var(--th-layout-spacing) / 2);
787
+ padding-inline: calc(var(--th-layout-spacing) / 2) calc(var(--th-icon-size, 24px) * 6/5);
788
+ border-radius: var(--th-layout-radius);
789
+ box-sizing: border-box;
790
+ border: 1px solid var(--th-theme-subdue);
791
+ max-width: 100%;
792
+ }
793
+ .thorium_web_reader_settings_dropdownButton[data-focus-visible] {
794
+ outline: 2px solid var(--th-theme-focus);
795
+ }
796
+ .thorium_web_reader_settings_dropdownButton svg {
797
+ width: calc(var(--th-icon-size, 24px) * 5/6);
798
+ height: calc(var(--th-icon-size, 24px) * 5/6);
799
+ position: absolute;
800
+ inset-inline-end: calc(var(--th-layout-spacing) / 4);
801
+ inset-block-start: calc(var(--th-layout-spacing) / 2);
802
+ fill: currentColor;
803
+ }
804
+ .thorium_web_reader_settings_dropdownPopover {
805
+ background-color: var(--th-theme-background);
806
+ color: var(--th-theme-text);
807
+ padding: calc(var(--th-layout-spacing) / 2);
808
+ border-radius: var(--th-layout-radius);
809
+ border: 1px solid var(--th-theme-subdue);
810
+ filter: drop-shadow(var(--th-theme-elevate));
811
+ box-sizing: border-box;
812
+ width: max-content;
813
+ overflow-y: auto;
814
+ z-index: 1000000 !important;
815
+ }
816
+ .thorium_web_reader_settings_dropdownListbox {
817
+ display: flex;
818
+ flex-direction: column;
819
+ gap: calc(var(--th-layout-spacing) / 2);
820
+ }
821
+ .thorium_web_reader_settings_dropdownListboxItem {
822
+ padding: calc(var(--th-layout-spacing) / 4);
823
+ border-radius: var(--th-layout-radius);
824
+ outline: none;
825
+ }
826
+ .thorium_web_reader_settings_dropdownListboxItem[data-selected] {
827
+ color: var(--th-theme-subdue);
828
+ }
829
+ .thorium_web_reader_settings_dropdownListboxItem[data-hovered] {
830
+ background-color: var(--th-theme-hover);
831
+ color: var(--th-theme-onHover);
832
+ }
833
+ .thorium_web_reader_settings_dropdownListboxItem[data-focus-visible] {
834
+ outline: 2px solid var(--th-theme-focus);
835
+ }
836
+ .thorium_web_reader_settings_dropdownListboxItem[data-disabled] {
837
+ color: var(--th-theme-disable);
838
+ }
839
+ .thorium_web_reader_settings_switch {
840
+ display: flex;
841
+ align-items: center;
842
+ gap: clamp(10px, calc(var(--th-layout-spacing) / 2), 20px);
843
+ color: var(--th-theme-text);
844
+ margin: var(--th-layout-spacing) 0;
845
+ }
846
+ .thorium_web_reader_settings_switchIndicator {
847
+ width: 2rem;
848
+ height: 1.143rem;
849
+ border: 2px solid var(--th-theme-subdue);
850
+ background: var(--th-theme-background);
851
+ border-radius: 1.143rem;
852
+ transition: all 200ms;
853
+ flex-shrink: 0;
854
+ }
855
+ .thorium_web_reader_settings_switchIndicator::before {
856
+ content: "";
857
+ display: block;
858
+ margin: 0.143rem;
859
+ width: 0.857rem;
860
+ height: 0.857rem;
861
+ background: var(--th-theme-subdue);
862
+ border-radius: 16px;
863
+ transition: all 200ms;
864
+ }
865
+ .thorium_web_reader_settings_switch[data-selected] .thorium_web_reader_settings_switchIndicator::before {
866
+ background: var(--th-theme-text);
867
+ transform: translateX(100%);
868
+ }
869
+ :dir(rtl) .thorium_web_reader_settings_switch[data-selected] .thorium_web_reader_settings_switchIndicator::before {
870
+ background: var(--th-theme-text);
871
+ transform: translateX(-100%);
872
+ }
873
+ .thorium_web_reader_settings_switch[data-focus-visible] .thorium_web_reader_settings_switchIndicator {
874
+ outline: 2px solid var(--th-theme-focus);
875
+ }
876
+ .thorium_web_reader_settings_switch[data-disabled] {
877
+ color: var(--th-theme-disable);
878
+ }
879
+ .thorium_web_reader_settings_switch[data-disabled] .thorium_web_reader_settings_switchIndicator::before {
880
+ background: var(--th-theme-disable) !important;
881
+ }
882
+
883
+ /* src/components/Actions/Toc/assets/styles/thorium-web.toc.module.css */
884
+ .thorium_web_toc_wrapper {
885
+ }
886
+ .thorium_web_toc_search {
887
+ margin-bottom: var(--th-layout-spacing);
888
+ display: grid;
889
+ grid-template-areas: "label label" "input button";
890
+ grid-template-columns: 1fr auto;
891
+ align-items: center;
892
+ width: 100%;
893
+ }
894
+ .thorium_web_toc_searchLabel {
895
+ grid-area: label;
896
+ margin-bottom: calc(var(--th-layout-spacing) / 2);
897
+ }
898
+ .thorium_web_toc_searchInput {
899
+ grid-area: input;
900
+ box-sizing: border-box;
901
+ width: 100%;
902
+ max-width: 100%;
903
+ display: block;
904
+ border-radius: var(--th-layout-radius);
905
+ border: 2px solid var(--th-theme-subdue);
906
+ padding: calc(var(--th-icon-size, 24px) * (1/4)) calc(var(--th-layout-spacing) / 2);
907
+ }
908
+ .thorium_web_toc_searchInput::-webkit-search-cancel-button,
909
+ .thorium_web_toc_searchInput::-webkit-search-decoration {
910
+ -webkit-appearance: none;
911
+ }
912
+ .thorium_web_toc_searchInput[data-focus-visible] {
913
+ outline: 2px solid var(--th-theme-focus);
914
+ }
915
+ .thorium_web_toc_searchIcon,
916
+ .thorium_web_toc_clearButton {
917
+ grid-area: button;
918
+ margin-inline-start: calc(var(--th-icon-size, 24px) * -1.25);
919
+ height: 100%;
920
+ display: flex;
921
+ align-items: center;
922
+ }
923
+ .thorium_web_toc_searchIcon svg {
924
+ fill: var(--th-theme-subdue);
925
+ width: var(--th-icon-size, 24px);
926
+ height: var(--th-icon-size, 24px);
927
+ }
928
+ .thorium_web_toc_clearButton svg {
929
+ fill: var(--th-theme-text);
930
+ width: var(--th-icon-size, 24px);
931
+ height: var(--th-icon-size, 24px);
932
+ }
933
+ .thorium_web_toc_searchIcon[hidden],
934
+ .thorium_web_toc_clearButton[data-disabled] {
935
+ display: none;
936
+ }
937
+ .thorium_web_toc_tree {
938
+ background: var(--th-theme-background);
939
+ color: var(--th-theme-text);
940
+ outline: none;
941
+ width: 100%;
942
+ max-height: 100%;
943
+ box-sizing: border-box;
944
+ }
945
+ .thorium_web_toc_treeItem {
946
+ display: flex;
947
+ padding: calc(var(--th-layout-spacing) / 2);
948
+ padding-inline-start: calc(((var(--tree-item-level) - 1) * var(--th-layout-spacing)) + (var(--th-layout-spacing) / 2));
949
+ border-radius: var(--th-layout-radius);
950
+ border: 2px solid transparent;
951
+ box-sizing: border-box;
952
+ }
953
+ .thorium_web_toc_tree:has(.thorium_web_toc_treeItemButton) .thorium_web_toc_treeItem {
954
+ padding-inline-start: calc((var(--tree-item-level) * var(--th-layout-spacing)) + (var(--th-layout-spacing) / 2));
955
+ }
956
+ .thorium_web_toc_tree .thorium_web_toc_treeItem:has(.thorium_web_toc_treeItemButton) {
957
+ padding-inline-start: calc(((var(--tree-item-level) - 1) * var(--th-layout-spacing)));
958
+ }
959
+ .thorium_web_toc_treeItemText {
960
+ display: flex;
961
+ flex: 1 1 auto;
962
+ }
963
+ .thorium_web_toc_treeItemTextTitle {
964
+ text-wrap: balance;
965
+ }
966
+ .thorium_web_toc_treeItemTextPosition {
967
+ margin-inline-start: auto;
968
+ padding-inline-start: calc(var(--th-layout-spacing) / 2);
969
+ color: var(--th-theme-subdue);
970
+ font-variant-numeric: lining-nums tabular-nums;
971
+ }
972
+ .thorium_web_toc_treeItemButton {
973
+ align-self: flex-start;
974
+ width: calc(var(--th-icon-size, 24px) * 5/6);
975
+ height: calc(var(--th-icon-size, 24px) * 5/6);
976
+ margin-inline-end: calc(var(--th-layout-spacing) / 2);
977
+ flex-shrink: 0;
978
+ }
979
+ .thorium_web_toc_treeItem[data-href] {
980
+ cursor: pointer;
981
+ }
982
+ .thorium_web_toc_treeItem:hover {
983
+ background-color: var(--th-theme-hover);
984
+ color: var(--th-theme-onHover);
985
+ }
986
+ .thorium_web_toc_treeItem[data-focus-visible] {
987
+ outline: 2px solid var(--th-theme-focus);
988
+ }
989
+ .thorium_web_toc_treeItem[data-disabled] {
990
+ color: var(--th-theme-disable);
991
+ }
992
+ .thorium_web_toc_treeItem[data-selected] {
993
+ border: 2px solid var(--th-theme-subdue);
994
+ }
995
+ .thorium_web_toc_treeItemButton svg {
996
+ flex: none;
997
+ rotate: 0deg;
998
+ transition: rotate 200ms;
999
+ width: 100%;
1000
+ height: 100%;
1001
+ fill: currentColor;
1002
+ }
1003
+ .thorium_web_toc_treeItem[data-expanded] .thorium_web_toc_treeItemButton svg {
1004
+ rotate: 90deg;
1005
+ }
1006
+ .thorium_web_toc_empty {
1007
+ max-width: 25ch;
1008
+ text-align: start;
1009
+ text-wrap: balance;
1010
+ }
1011
+
1012
+ /* src/components/Audio/actions/Volume/assets/styles/thorium-web.volume.module.css */
1013
+ .thorium_web_volume_wrapper {
1014
+ width: auto;
1015
+ }
1016
+ .thorium_web_volume_button {
1017
+ --th-icon-size: calc(var(--audio-icon-base) * (5/4));
1018
+ padding: calc(var(--th-icon-size) * (1/4));
1019
+ outline: none;
1020
+ }
1021
+ .thorium_web_volume_button[data-focus-visible] {
1022
+ outline: 2px solid var(--th-theme-focus);
1023
+ }
1024
+ .thorium_web_volume_button[data-disabled] {
1025
+ color: var(--th-theme-disable);
1026
+ }
1027
+ .thorium_web_volume_sliderTrack {
1028
+ position: relative;
1029
+ box-sizing: border-box;
1030
+ }
1031
+ .thorium_web_volume_sliderTrack::before {
1032
+ content: "";
1033
+ display: block;
1034
+ position: absolute;
1035
+ background: var(--th-theme-subdue);
1036
+ }
1037
+ .thorium_web_volume_slider[data-disabled] .thorium_web_volume_sliderTrack::before {
1038
+ background: var(--th-theme-disable);
1039
+ }
1040
+ .thorium_web_volume_slider[data-orientation=vertical] .thorium_web_volume_sliderTrack {
1041
+ height: 150px;
1042
+ width: 30px;
1043
+ margin-block: calc(1.25rem / 2);
1044
+ }
1045
+ .thorium_web_volume_slider[data-orientation=vertical] .thorium_web_volume_sliderTrack::before {
1046
+ width: 3px;
1047
+ height: 100%;
1048
+ left: 50%;
1049
+ transform: translateX(-50%);
1050
+ }
1051
+ .thorium_web_volume_slider[data-orientation=vertical] .thorium_web_volume_sliderThumb {
1052
+ left: 50%;
1053
+ transform: translateX(-50%);
1054
+ }
1055
+ .thorium_web_volume_slider[data-orientation=horizontal] {
1056
+ max-width: 320px;
1057
+ width: 100%;
1058
+ }
1059
+ .thorium_web_volume_slider[data-orientation=horizontal] .thorium_web_volume_sliderTrack {
1060
+ width: 100%;
1061
+ height: 30px;
1062
+ }
1063
+ .thorium_web_volume_slider[data-orientation=horizontal] .thorium_web_volume_sliderTrack::before {
1064
+ height: 3px;
1065
+ width: 100%;
1066
+ top: 50%;
1067
+ transform: translateY(-50%);
1068
+ }
1069
+ .thorium_web_volume_slider[data-orientation=horizontal] .thorium_web_volume_sliderThumb {
1070
+ top: 50%;
1071
+ transform: translateY(-50%);
1072
+ }
1073
+ .thorium_web_volume_sliderThumb {
1074
+ width: 1.25rem;
1075
+ height: 1.25rem;
1076
+ border-radius: 50%;
1077
+ background: var(--th-theme-text);
1078
+ border: 2px solid var(--th-theme-subdue);
1079
+ }
1080
+ .thorium_web_volume_slider[data-disabled] .thorium_web_volume_sliderThumb {
1081
+ background: var(--th-theme-disable);
1082
+ border: 2px solid var(--th-theme-disable);
1083
+ }
1084
+ .thorium_web_volume_sliderThumb[data-dragging] {
1085
+ background: var(--th-theme-subdue);
1086
+ }
1087
+ .thorium_web_volume_sliderThumb[data-focus-visible] {
1088
+ outline: 2px solid var(--th-theme-focus);
1089
+ border: 2px solid var(--th-theme-focus);
1090
+ }
1091
+
1092
+ /* src/components/Audio/actions/PlaybackRate/assets/styles/thorium-web.playbackRate.module.css */
1093
+ .thorium_web_playbackRate_wrapper {
1094
+ width: auto;
1095
+ }
1096
+ .thorium_web_playbackRate_button {
1097
+ --th-icon-size: calc(var(--audio-icon-base) * (5/4));
1098
+ padding: calc(var(--th-icon-size) * (1/4));
1099
+ position: relative;
1100
+ display: flex;
1101
+ flex-direction: column;
1102
+ align-items: center;
1103
+ outline: none;
1104
+ }
1105
+ .thorium_web_playbackRate_button[data-focus-visible] {
1106
+ outline: 2px solid var(--th-theme-focus);
1107
+ }
1108
+ .thorium_web_playbackRate_button[data-disabled] {
1109
+ color: var(--th-theme-disable);
1110
+ }
1111
+ .thorium_web_playbackRate_button:has(.thorium_web_playbackRate_label) {
1112
+ padding-bottom: calc(var(--th-icon-size) * (2/3));
1113
+ }
1114
+ .thorium_web_playbackRate_label {
1115
+ position: absolute;
1116
+ bottom: calc(var(--th-icon-size) * (1/4));
1117
+ left: 50%;
1118
+ transform: translateX(-50%);
1119
+ white-space: nowrap;
1120
+ line-height: 1;
1121
+ font-size: calc(var(--th-icon-size, 24px) * (5/12));
1122
+ font-variant-numeric: tabular-nums;
1123
+ font-weight: bold;
1124
+ }
1125
+ .thorium_web_playbackRate_slider {
1126
+ min-width: 260px;
1127
+ }
1128
+ .thorium_web_playbackRate_numberfield {
1129
+ min-width: 140px;
1130
+ display: flex;
1131
+ justify-content: center;
1132
+ }
1133
+
1134
+ /* src/components/Audio/actions/Toc/assets/styles/thorium-web.audioToc.module.css */
1135
+ .thorium_web_audioToc_button {
1136
+ --th-icon-size: calc(var(--audio-icon-base) * (5/4));
1137
+ padding: calc(var(--th-icon-size) * (1/4));
1138
+ outline: none;
1139
+ }
1140
+ .thorium_web_audioToc_button[data-focus-visible] {
1141
+ outline: 2px solid var(--th-theme-focus);
1142
+ }
1143
+ .thorium_web_audioToc_button[data-disabled] {
1144
+ color: var(--th-theme-disable);
1145
+ }
1146
+
1147
+ /* src/components/Audio/actions/SleepTimer/assets/styles/thorium-web.sleepTimer.module.css */
1148
+ .thorium_web_sleepTimer_wrapper {
1149
+ }
1150
+ .thorium_web_sleepTimer_button {
1151
+ --th-icon-size: calc(var(--audio-icon-base) * (5/4));
1152
+ padding: calc(var(--th-icon-size) * (1/4));
1153
+ position: relative;
1154
+ display: flex;
1155
+ flex-direction: column;
1156
+ align-items: center;
1157
+ outline: none;
1158
+ }
1159
+ .thorium_web_sleepTimer_button[data-focus-visible] {
1160
+ outline: 2px solid var(--th-theme-focus);
1161
+ }
1162
+ .thorium_web_sleepTimer_button[data-disabled] {
1163
+ color: var(--th-theme-disable);
1164
+ }
1165
+ .thorium_web_sleepTimer_button:has(.thorium_web_sleepTimer_label) {
1166
+ padding-bottom: calc(var(--th-icon-size) * (2/3));
1167
+ }
1168
+ .thorium_web_sleepTimer_label {
1169
+ position: absolute;
1170
+ bottom: calc(var(--th-icon-size) * (1/4));
1171
+ left: 50%;
1172
+ transform: translateX(-50%);
1173
+ white-space: nowrap;
1174
+ line-height: 1;
1175
+ font-size: calc(var(--th-icon-size, 24px) * (5/12));
1176
+ font-variant-numeric: tabular-nums;
1177
+ font-weight: bold;
1178
+ }
1179
+ .thorium_web_sleepTimer_listbox {
1180
+ display: flex;
1181
+ flex-direction: column;
1182
+ gap: calc(var(--th-layout-spacing) / 2);
1183
+ }
1184
+ .thorium_web_sleepTimer_listboxItem {
1185
+ padding: calc(var(--th-layout-spacing) / 4);
1186
+ border-radius: var(--th-layout-radius);
1187
+ outline: none;
1188
+ cursor: default;
1189
+ }
1190
+ .thorium_web_sleepTimer_listboxItem[data-selected] {
1191
+ background-color: var(--th-theme-hover);
1192
+ font-weight: bold;
1193
+ }
1194
+ .thorium_web_sleepTimer_listboxItem[data-hovered]:not([data-selected]) {
1195
+ background-color: var(--th-theme-hover);
1196
+ color: var(--th-theme-onHover);
1197
+ }
1198
+ .thorium_web_sleepTimer_listboxItem[data-focus-visible] {
1199
+ outline: 2px solid var(--th-theme-focus);
1200
+ }
1201
+ .thorium_web_sleepTimer_durationField {
1202
+ display: flex;
1203
+ flex-direction: column;
1204
+ }
1205
+ .thorium_web_sleepTimer_instruction {
1206
+ display: block;
1207
+ margin: 0 0 var(--th-layout-spacing) 0;
1208
+ }
1209
+ .thorium_web_sleepTimer_inputs {
1210
+ display: flex;
1211
+ align-items: center;
1212
+ justify-content: center;
1213
+ gap: calc(var(--th-layout-spacing) / 4);
1214
+ margin-bottom: var(--th-layout-spacing);
1215
+ }
1216
+ .thorium_web_sleepTimer_fieldGroup {
1217
+ display: contents;
1218
+ }
1219
+ .thorium_web_sleepTimer_fieldInput {
1220
+ width: 4ch;
1221
+ text-align: center;
1222
+ background: transparent;
1223
+ border: 2px solid var(--th-theme-subdue);
1224
+ border-radius: var(--th-layout-radius);
1225
+ padding: calc(var(--th-icon-size, 24px) * (1/4)) calc(var(--th-layout-spacing) / 2);
1226
+ color: var(--th-theme-text);
1227
+ font-variant-numeric: tabular-nums;
1228
+ font-weight: bold;
1229
+ outline: none;
1230
+ }
1231
+ .thorium_web_sleepTimer_fieldInput[data-focus-visible] {
1232
+ outline: 2px solid var(--th-theme-focus);
1233
+ }
1234
+ .thorium_web_sleepTimer_unitLabel {
1235
+ margin-inline-end: calc(var(--th-layout-spacing) / 4);
1236
+ }
1237
+ .thorium_web_sleepTimer_remaining {
1238
+ font-variant-numeric: tabular-nums;
1239
+ font-weight: bold;
1240
+ margin: 0 0 var(--th-layout-spacing) 0;
1241
+ }
1242
+ .thorium_web_sleepTimer_cancelButton {
1243
+ margin-top: var(--th-layout-spacing);
1244
+ }
1245
+ .thorium_web_sleepTimer_startButton {
1246
+ padding: calc(var(--th-icon-size, 24px) * (1/4)) calc(var(--th-icon-size, 24px) * (1/2));
1247
+ border-radius: var(--th-layout-radius);
1248
+ border: 2px solid var(--th-theme-subdue);
1249
+ background: transparent;
1250
+ color: var(--th-theme-text);
1251
+ cursor: default;
1252
+ width: 100%;
1253
+ box-sizing: border-box;
1254
+ text-align: center;
1255
+ }
1256
+ .thorium_web_sleepTimer_startButton[data-hovered] {
1257
+ background-color: var(--th-theme-hover);
1258
+ color: var(--th-theme-onHover);
1259
+ }
1260
+ .thorium_web_sleepTimer_startButton[data-focus-visible] {
1261
+ outline: 2px solid var(--th-theme-focus);
1262
+ }
1263
+ .thorium_web_sleepTimer_startButton[data-disabled] {
1264
+ color: var(--th-theme-disable);
1265
+ }
1266
+
1267
+ /* src/components/Audio/controls/assets/styles/thorium-web.audioPlayback.module.css */
1268
+ .thorium_web_audioPlayback_audioControls {
1269
+ display: flex;
1270
+ align-items: center;
1271
+ justify-content: center;
1272
+ gap: 1rem;
1273
+ --audio-icon-base: var(--th-icon-size, 24px);
1274
+ }
1275
+ @container (max-width: 300px) {
1276
+ .thorium_web_audioPlayback_audioControls {
1277
+ --th-icon-size: 18px;
1278
+ }
1279
+ }
1280
+ .thorium_web_audioPlayback_audioPreviousButton,
1281
+ .thorium_web_audioPlayback_audioNextButton {
1282
+ --th-icon-size: calc(var(--audio-icon-base) * (5/4));
1283
+ padding: calc(var(--th-icon-size) * (1/5));
1284
+ }
1285
+ .thorium_web_audioPlayback_audioSkipBackwardButton,
1286
+ .thorium_web_audioPlayback_audioSkipForwardButton {
1287
+ --th-icon-size: calc(var(--audio-icon-base) * (3/2));
1288
+ padding: calc(var(--th-icon-size) * (1/6));
1289
+ }
1290
+ .thorium_web_audioPlayback_audioPlayPauseButton {
1291
+ --th-icon-size: calc(var(--audio-icon-base) * 2);
1292
+ padding: calc(var(--th-icon-size) * (1/8));
1293
+ }
1294
+
1295
+ /* src/components/Audio/controls/assets/styles/thorium-web.audioProgressBar.module.css */
1296
+ .thorium_web_audioProgressBar_wrapper {
1297
+ width: 100%;
1298
+ max-width: 600px;
1299
+ display: grid;
1300
+ grid-template-areas: "chapter chapter chapter" "progress progress progress" "elapsed . remaining";
1301
+ grid-template-columns: 1fr 1fr 1fr;
1302
+ align-items: center;
1303
+ gap: 0.5rem;
1304
+ container-type: inline-size;
1305
+ }
1306
+ .thorium_web_audioProgressBar_current {
1307
+ grid-area: chapter;
1308
+ text-align: center;
1309
+ white-space: nowrap;
1310
+ overflow: hidden;
1311
+ text-overflow: ellipsis;
1312
+ }
1313
+ .thorium_web_audioProgressBar_slider {
1314
+ grid-area: progress;
1315
+ }
1316
+ .thorium_web_audioProgressBar_track {
1317
+ grid-area: progress;
1318
+ position: relative;
1319
+ height: 30px;
1320
+ width: auto;
1321
+ box-sizing: border-box;
1322
+ margin-inline: calc(var(--th-layout-spacing) / 2);
1323
+ }
1324
+ .thorium_web_audioProgressBar_track::before {
1325
+ content: "";
1326
+ display: block;
1327
+ position: absolute;
1328
+ background: var(--th-theme-subdue);
1329
+ height: 3px;
1330
+ width: 100%;
1331
+ top: 50%;
1332
+ transform: translateY(-50%);
1333
+ }
1334
+ .thorium_web_audioProgressBar_thumb {
1335
+ z-index: 2;
1336
+ width: 1.25rem;
1337
+ height: 1.25rem;
1338
+ border-radius: 50%;
1339
+ background: var(--th-theme-text);
1340
+ border: none;
1341
+ top: 50%;
1342
+ transform: translateY(-50%);
1343
+ }
1344
+ .thorium_web_audioProgressBar_slider[data-disabled] .thorium_web_audioProgressBar_track::before {
1345
+ background: var(--th-theme-disable);
1346
+ }
1347
+ .thorium_web_audioProgressBar_slider[data-disabled] .thorium_web_audioProgressBar_thumb {
1348
+ background: var(--th-theme-disable);
1349
+ }
1350
+ .thorium_web_audioProgressBar_slider[data-disabled] .thorium_web_audioProgressBar_seekableRange {
1351
+ background: var(--th-theme-disable);
1352
+ }
1353
+ .thorium_web_audioProgressBar_slider[data-disabled] .thorium_web_audioProgressBar_current,
1354
+ .thorium_web_audioProgressBar_slider[data-disabled] .thorium_web_audioProgressBar_elapsed,
1355
+ .thorium_web_audioProgressBar_slider[data-disabled] .thorium_web_audioProgressBar_remaining {
1356
+ color: var(--th-theme-disable);
1357
+ }
1358
+ .thorium_web_audioProgressBar_thumb[data-dragging] {
1359
+ background: var(--th-theme-subdue);
1360
+ }
1361
+ .thorium_web_audioProgressBar_thumb[data-focus-visible] {
1362
+ outline: 2px solid var(--th-theme-focus);
1363
+ }
1364
+ .thorium_web_audioProgressBar_seekableRange {
1365
+ position: absolute;
1366
+ height: 3px;
1367
+ top: 50%;
1368
+ transform: translateY(-50%);
1369
+ background: color-mix(in srgb, var(--th-theme-text) 55%, var(--th-theme-subdue));
1370
+ pointer-events: none;
1371
+ border-radius: 1px;
1372
+ z-index: 1;
1373
+ }
1374
+ .thorium_web_audioProgressBar_tick {
1375
+ position: absolute;
1376
+ width: 1px;
1377
+ height: 15px;
1378
+ top: 50%;
1379
+ transform: translateY(-50%);
1380
+ background: var(--th-theme-text);
1381
+ pointer-events: none;
1382
+ z-index: 1;
1383
+ }
1384
+ .thorium_web_audioProgressBar_tooltip {
1385
+ background-color: var(--th-theme-text);
1386
+ color: var(--th-theme-background);
1387
+ border-radius: var(--th-layout-radius);
1388
+ padding: calc(var(--th-layout-spacing) / 2);
1389
+ font-size: 0.75rem;
1390
+ pointer-events: none;
1391
+ max-width: 320px;
1392
+ text-wrap: pretty;
1393
+ display: -webkit-box;
1394
+ -webkit-box-orient: vertical;
1395
+ -webkit-line-clamp: 2;
1396
+ overflow: hidden;
1397
+ }
1398
+ .thorium_web_audioProgressBar_elapsed {
1399
+ grid-area: elapsed;
1400
+ justify-self: start;
1401
+ font-size: 0.875rem;
1402
+ color: var(--th-theme-text);
1403
+ }
1404
+ .thorium_web_audioProgressBar_remaining {
1405
+ grid-area: remaining;
1406
+ justify-self: end;
1407
+ font-size: 0.875rem;
1408
+ color: var(--th-theme-text);
1409
+ }
1410
+ @container (max-width: 300px) {
1411
+ .thorium_web_audioProgressBar_current {
1412
+ font-size: 0.875rem;
1413
+ }
1414
+ }
1415
+
1416
+ /* src/components/Audio/actions/assets/styles/thorium-web.audioActions.module.css */
1417
+ .thorium_web_audioActions_wrapper {
1418
+ display: flex;
1419
+ align-items: flex-start;
1420
+ justify-content: center;
1421
+ gap: 1rem;
1422
+ --audio-icon-base: var(--th-icon-size, 24px);
1423
+ }
1424
+ @container (max-width: 300px) {
1425
+ .thorium_web_audioActions_wrapper {
1426
+ --th-icon-size: 18px;
1427
+ }
1428
+ }
1429
+ .thorium_web_audioActions_popover {
1430
+ width: auto;
1431
+ max-width: 95%;
1432
+ }
1433
+
1434
+ /* src/components/Audio/assets/styles/thorium-web.audio.app.module.css */
1435
+ .thorium_web_audio_app_main {
1436
+ width: 100%;
1437
+ height: 100%;
1438
+ margin: 0;
1439
+ }
1440
+ .thorium_web_audio_app_shell {
1441
+ position: relative;
1442
+ display: flex;
1443
+ flex-direction: column;
1444
+ flex: 1 1 0;
1445
+ height: 100vh;
1446
+ height: 100dvh;
1447
+ max-height: 100%;
1448
+ background-color: var(--th-theme-background);
1449
+ }
1450
+ .thorium_web_audio_app_topBar {
1451
+ flex: 0 0 calc(var(--th-icon-size, 24px) * 2.5);
1452
+ height: calc(var(--th-icon-size, 24px) * 2.5);
1453
+ box-sizing: border-box;
1454
+ gap: 2px;
1455
+ touch-action: manipulation;
1456
+ background-color: var(--th-theme-background);
1457
+ }
1458
+
1459
+ /* src/components/Audio/assets/styles/thorium-web.audioPlayer.module.css */
1460
+ .thorium_web_audioPlayer_audioPlayerWrapper {
1461
+ display: flex;
1462
+ flex-direction: column;
1463
+ align-items: center;
1464
+ justify-content: center;
1465
+ box-sizing: border-box;
1466
+ gap: var(--th-layout-spacing);
1467
+ padding: var(--th-layout-spacing);
1468
+ height: 100%;
1469
+ width: 100%;
1470
+ overflow: hidden;
1471
+ }
1472
+ .thorium_web_audioPlayer_audioPlayerWrapperExpanded {
1473
+ display: flex;
1474
+ flex-direction: row;
1475
+ align-items: stretch;
1476
+ box-sizing: border-box;
1477
+ gap: var(--th-layout-spacing);
1478
+ padding: var(--th-layout-spacing);
1479
+ height: 100%;
1480
+ width: 100%;
1481
+ max-width: 960px;
1482
+ margin-inline: auto;
1483
+ container-type: inline-size;
1484
+ }
1485
+ .thorium_web_audioPlayer_audioPlayerExpandedStart {
1486
+ display: flex;
1487
+ flex-direction: column;
1488
+ align-items: center;
1489
+ justify-content: center;
1490
+ flex: 1 1 0;
1491
+ min-width: 0;
1492
+ gap: var(--th-layout-spacing);
1493
+ container-type: inline-size;
1494
+ }
1495
+ .thorium_web_audioPlayer_audioPlayerExpandedEnd {
1496
+ display: flex;
1497
+ flex-direction: column;
1498
+ align-items: center;
1499
+ justify-content: center;
1500
+ flex: 1 1 0;
1501
+ min-width: 0;
1502
+ gap: var(--th-layout-spacing);
1503
+ container-type: inline-size;
1504
+ }
1505
+ .thorium_web_audioPlayer_coverMetadataGroup {
1506
+ display: flex;
1507
+ flex-direction: column;
1508
+ align-items: center;
1509
+ gap: var(--th-layout-spacing);
1510
+ flex: 0 1 auto;
1511
+ width: 100%;
1512
+ }
1513
+
1514
+ /* src/components/assets/styles/thorium-web.reader.app.module.css */
1515
+ .thorium_web_reader_app_wrapper {
1516
+ height: 100%;
1517
+ width: 100%;
1518
+ margin: 0;
1519
+ }
1520
+ .thorium_web_reader_app_main {
1521
+ width: 100%;
1522
+ height: 100%;
1523
+ margin: 0;
1524
+ }
1525
+ .thorium_web_reader_app_shell {
1526
+ width: 100%;
1527
+ height: 100%;
1528
+ margin: 0;
1529
+ }
1530
+ .thorium_web_reader_app_leftDock {
1531
+ height: 100vh;
1532
+ height: 100dvh;
1533
+ }
1534
+ .thorium_web_reader_app_rightDock {
1535
+ height: 100vh;
1536
+ height: 100dvh;
1537
+ }
1538
+ .thorium_web_reader_app_bottomBar,
1539
+ .thorium_web_reader_app_topBar {
1540
+ box-sizing: border-box;
1541
+ gap: 2px;
1542
+ touch-action: manipulation;
1543
+ background-color: var(--th-theme-background);
1544
+ }
1545
+ .thorium_web_reader_app_bottomBar {
1546
+ display: flex;
1547
+ justify-content: center;
1548
+ align-items: center;
1549
+ }
1550
+ .thorium_web_reader_app_main .thorium_web_stackedUI {
1551
+ position: relative;
1552
+ display: flex;
1553
+ flex-direction: column;
1554
+ flex: 1 1 0;
1555
+ height: 100vh;
1556
+ height: 100dvh;
1557
+ max-height: 100%;
1558
+ background-color: var(--th-theme-background);
1559
+ }
1560
+ .thorium_web_stackedUI .thorium_web_reader_app_topBar,
1561
+ .thorium_web_stackedUI .thorium_web_reader_app_bottomBar {
1562
+ flex: 0 0 calc(var(--th-icon-size, 24px) * 2.5);
1563
+ height: calc(var(--th-icon-size, 24px) * 2.5);
1564
+ }
1565
+ .thorium_web_stackedUI.thorium_web_isImmersive:not(.thorium_web_isHovering) .thorium_web_reader_app_topBar,
1566
+ .thorium_web_stackedUI.thorium_web_isImmersive:not(.thorium_web_isHovering) .thorium_web_reader_app_bottomBar {
1567
+ opacity: var(--th-theme-immerse);
1568
+ }
1569
+ .thorium_web_reader_app_main .thorium_web_layeredUI {
1570
+ position: relative;
1571
+ top: 0;
1572
+ bottom: 0;
1573
+ left: 0;
1574
+ right: 0;
1575
+ height: 100vh;
1576
+ height: 100dvh;
1577
+ max-height: 100%;
1578
+ background-color: var(--th-theme-background);
1579
+ }
1580
+ .thorium_web_layeredUI .thorium_web_reader_app_topBar,
1581
+ .thorium_web_layeredUI .thorium_web_reader_app_bottomBar {
1582
+ position: absolute;
1583
+ left: 0;
1584
+ right: 0;
1585
+ height: calc(var(--th-icon-size, 24px) * 2.5);
1586
+ z-index: 2;
1587
+ box-shadow: var(--th-theme-elevate);
1588
+ overflow: hidden;
1589
+ transition-property: transform, box-shadow;
1590
+ transition-duration: 200ms;
1591
+ transition-timing-function: ease-in-out;
1592
+ transform: translateY(0);
1593
+ }
1594
+ .thorium_web_layeredUI .thorium_web_reader_app_topBar {
1595
+ top: 0;
1596
+ }
1597
+ .thorium_web_layeredUI .thorium_web_reader_app_bottomBar {
1598
+ bottom: 0;
1599
+ }
1600
+ .thorium_web_layeredUI.thorium_web_isImmersive:not(.thorium_web_isHovering) .thorium_web_reader_app_topBar {
1601
+ transform: translateY(calc(var(--th-icon-size, 24px) * -2.5));
1602
+ box-shadow: none;
1603
+ overflow: unset;
1604
+ }
1605
+ .thorium_web_layeredUI.thorium_web_isImmersive:not(.thorium_web_isHovering) .thorium_web_reader_app_bottomBar {
1606
+ transform: translateY(calc(var(--th-icon-size, 24px) * 2.5));
1607
+ box-shadow: none;
1608
+ }
1609
+ .thorium_web_reader_app_barOverlay {
1610
+ position: absolute;
1611
+ left: 0;
1612
+ right: 0;
1613
+ height: calc(var(--th-icon-size, 24px) * 2.5);
1614
+ pointer-events: auto;
1615
+ opacity: 0;
1616
+ z-index: 1000;
1617
+ }
1618
+ .thorium_web_reader_app_headerOverlay {
1619
+ position: absolute;
1620
+ left: 0;
1621
+ right: 0;
1622
+ height: calc(var(--th-icon-size, 24px) * 2.5);
1623
+ pointer-events: auto;
1624
+ opacity: 0;
1625
+ z-index: 1000;
1626
+ top: 0;
1627
+ }
1628
+ .thorium_web_reader_app_footerOverlay {
1629
+ position: absolute;
1630
+ left: 0;
1631
+ right: 0;
1632
+ height: calc(var(--th-icon-size, 24px) * 2.5);
1633
+ pointer-events: auto;
1634
+ opacity: 0;
1635
+ z-index: 1000;
1636
+ bottom: 0;
1637
+ }
1638
+ .thorium_web_reader_app_iframeContainer {
1639
+ contain: content;
1640
+ width: 100%;
1641
+ height: 100%;
1642
+ margin: 0 auto;
1643
+ }
1644
+ .thorium_web_reader_app_iframeContainer .readium-navigator-iframe {
1645
+ width: 100%;
1646
+ height: 100%;
1647
+ border-width: 0;
1648
+ }
1649
+ @keyframes thorium_web_reader_app_loading {
1650
+ 0% {
1651
+ transform: rotate(0deg);
1652
+ }
1653
+ 100% {
1654
+ transform: rotate(360deg);
1655
+ }
1656
+ }
1657
+ .thorium_web_reader_app_iframeContainer div:has(> .readium-navigator-iframe.blank)::after {
1658
+ content: "";
1659
+ position: absolute;
1660
+ top: 50%;
1661
+ left: 50%;
1662
+ margin-top: -30px;
1663
+ margin-left: -30px;
1664
+ width: 50px;
1665
+ height: 50px;
1666
+ border-radius: 50px;
1667
+ border: 5px solid grey;
1668
+ border-top-color: black;
1669
+ animation: thorium_web_reader_app_loading 2s linear infinite;
1670
+ }
1671
+ .thorium_web_reader_app_srOnly {
1672
+ clip: rect(0 0 0 0);
1673
+ clip-path: inset(50%);
1674
+ height: 1px;
1675
+ overflow: hidden;
1676
+ position: absolute;
1677
+ white-space: nowrap;
1678
+ width: 1px;
1679
+ }
1680
+
1681
+ /* src/components/assets/styles/thorium-web.reader.header.module.css */
1682
+ .thorium_web_reader_header_header {
1683
+ box-sizing: border-box;
1684
+ display: grid;
1685
+ grid-template-areas: "header-start header-center header-end";
1686
+ grid-template-columns: 1fr 3fr 1fr;
1687
+ padding: 0.25rem 0.5rem 0;
1688
+ }
1689
+ .thorium_web_reader_header_backlinkWrapper {
1690
+ grid-area: header-start;
1691
+ justify-self: start;
1692
+ align-self: center;
1693
+ }
1694
+ .thorium_web_reader_header_header h1 {
1695
+ font-size: 1rem;
1696
+ color: var(--th-theme-text);
1697
+ font-weight: normal;
1698
+ grid-area: header-center;
1699
+ justify-self: center;
1700
+ align-self: center;
1701
+ max-width: 100%;
1702
+ white-space: nowrap;
1703
+ overflow: hidden;
1704
+ text-overflow: ellipsis;
1705
+ transition: opacity 200ms ease-in-out;
1706
+ }
1707
+ .thorium_web_reader_header_actionsWrapper {
1708
+ grid-area: header-end;
1709
+ justify-self: end;
1710
+ display: flex;
1711
+ align-items: center;
1712
+ gap: 2px;
1713
+ }
1714
+
1715
+ /* src/components/assets/styles/thorium-web.backlink.module.css */
1716
+ .thorium_web_backlink_link {
1717
+ display: block;
1718
+ box-sizing: content-box;
1719
+ padding: calc(var(--th-icon-size, 24px) * (1/4));
1720
+ text-align: start;
1721
+ border-radius: var(--th-layout-radius);
1722
+ max-width: 100%;
1723
+ height: var(--th-icon-size, 24px);
1724
+ }
1725
+ .thorium_web_backlink_link svg {
1726
+ fill: var(--th-theme-text);
1727
+ max-width: 100%;
1728
+ height: 100%;
1729
+ }
1730
+ .thorium_web_backlink_link img {
1731
+ max-width: 100%;
1732
+ height: 100%;
1733
+ }
1734
+ .thorium_web_backlink_link[data-hovered] {
1735
+ background-color: var(--th-theme-hover);
1736
+ color: var(--th-theme-onHover);
1737
+ }
1738
+ .thorium_web_backlink_link[data-hovered] svg {
1739
+ fill: var(--th-theme-onHover);
1740
+ }
1741
+ .thorium_web_backlink_link[data-focus-visible] {
1742
+ outline: 2px solid var(--th-theme-focus);
1743
+ }
1744
+ .thorium_web_backlink_link[data-disabled] {
1745
+ color: var(--th-theme-disable);
1746
+ }
1747
+ .thorium_web_backlink_link[data-disabled] svg {
1748
+ fill: var(--th-theme-disable);
1749
+ }
1750
+
1751
+ /* src/components/Audio/assets/styles/thorium-web.audioCover.module.css */
1752
+ .thorium_web_audioCover_audioCoverSection {
1753
+ position: relative;
1754
+ display: flex;
1755
+ justify-content: center;
1756
+ align-items: center;
1757
+ flex: 1 1 auto;
1758
+ min-height: 100px;
1759
+ max-height: var(--th-layout-constraints-cover, 300px);
1760
+ width: 100%;
1761
+ margin: 0;
1762
+ }
1763
+ .thorium_web_audioCover_audioCoverImage {
1764
+ height: 100%;
1765
+ width: auto;
1766
+ max-width: 100%;
1767
+ object-fit: contain;
1768
+ border-radius: var(--th-layout-radius);
1769
+ filter: drop-shadow(var(--th-theme-elevate));
1770
+ }
1771
+ .thorium_web_audioCover_audioCoverPlaceholder {
1772
+ max-height: var(--th-layout-constraints-cover, 300px);
1773
+ width: auto;
1774
+ max-width: 100%;
1775
+ aspect-ratio: 1 / 1;
1776
+ box-sizing: border-box;
1777
+ display: flex;
1778
+ align-items: center;
1779
+ justify-content: center;
1780
+ background-color: var(--th-theme-background);
1781
+ border-radius: var(--th-layout-radius);
1782
+ border: 1px solid var(--th-theme-subdue);
1783
+ filter: drop-shadow(var(--th-theme-elevate));
1784
+ }
1785
+ .thorium_web_audioCover_audioCoverPlaceholder svg {
1786
+ width: 50%;
1787
+ height: 50%;
1788
+ fill: var(--th-theme-text);
1789
+ }
1790
+ .thorium_web_audioCover_audioCoverSyncOverlay {
1791
+ position: absolute;
1792
+ top: 50%;
1793
+ left: 50%;
1794
+ transform: translate(-50%, -50%);
1795
+ max-height: var(--th-layout-constraints-cover, 300px);
1796
+ width: auto;
1797
+ max-width: 100%;
1798
+ aspect-ratio: 1 / 1;
1799
+ display: flex;
1800
+ align-items: center;
1801
+ justify-content: center;
1802
+ border-radius: var(--th-layout-radius);
1803
+ background-color: color-mix(in srgb, var(--th-theme-background) 60%, transparent);
1804
+ }
1805
+ .thorium_web_audioCover_audioCoverSyncIcon {
1806
+ width: calc(var(--th-icon-size, 24px) * 2);
1807
+ height: calc(var(--th-icon-size, 24px) * 2);
1808
+ fill: var(--th-theme-text);
1809
+ animation: thorium_web_audioCover_audioCoverSpin 1.2s linear infinite;
1810
+ }
1811
+ @keyframes thorium_web_audioCover_audioCoverSpin {
1812
+ from {
1813
+ transform: rotate(0deg);
1814
+ }
1815
+ to {
1816
+ transform: rotate(360deg);
1817
+ }
1818
+ }
1819
+
1820
+ /* src/components/Audio/assets/styles/thorium-web.audioMetadata.module.css */
1821
+ .thorium_web_audioMetadata_audioMetadata {
1822
+ display: flex;
1823
+ flex-direction: column;
1824
+ align-items: center;
1825
+ margin: 0;
1826
+ gap: var(--th-layout-spacing);
1827
+ text-align: center;
1828
+ }
1829
+ .thorium_web_audioMetadata_audioMetadata hgroup {
1830
+ display: flex;
1831
+ flex-direction: column;
1832
+ align-items: center;
1833
+ gap: 0;
1834
+ margin: 0;
1835
+ }
1836
+ .thorium_web_audioMetadata_audioMetadataTitle {
1837
+ margin: 0;
1838
+ font-size: 1em;
1839
+ font-weight: bold;
1840
+ color: var(--th-theme-text);
1841
+ }
1842
+ .thorium_web_audioMetadata_audioMetadataSubtitle {
1843
+ display: block;
1844
+ margin: 0;
1845
+ margin-top: calc(var(--th-layout-spacing) / 4);
1846
+ font-weight: normal;
1847
+ color: var(--th-theme-text);
1848
+ }
1849
+ .thorium_web_audioMetadata_audioMetadataAuthors {
1850
+ margin: 0;
1851
+ color: var(--th-theme-subdue-text);
1852
+ }
1853
+ @container (max-width: 300px) {
1854
+ .thorium_web_audioMetadata_audioMetadata {
1855
+ font-size: 0.875rem;
1856
+ }
1857
+ }
1858
+ /*# sourceMappingURL=index.css.map */