@edrlab/thorium-web 1.2.1 → 1.3.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.
- package/dist/{ThPreferencesAdapter-DrZ5_6Dv.d.mts → ThPreferencesAdapter-D0rzsGRl.d.mts} +50 -13
- package/dist/{ThSettingsWrapper-8Kx0SnH4.d.mts → ThSettingsWrapper-BXuRgdqp.d.mts} +42 -4
- package/dist/{actions-D2CHvCHu.d.mts → actions-BLAr0oaM.d.mts} +16 -4
- package/dist/{actionsReducer-kc-S130w.d.mts → actionsReducer-BhG1wicI.d.mts} +37 -12
- package/dist/chunk-3GDQP6AS.mjs +14 -0
- package/dist/chunk-3GDQP6AS.mjs.map +1 -0
- package/dist/{chunk-72XCX5TD.mjs → chunk-3LDWKC5N.mjs} +13 -8
- package/dist/chunk-3LDWKC5N.mjs.map +1 -0
- package/dist/{chunk-NYZBHYW2.mjs → chunk-4ODYHZKD.mjs} +343 -38
- package/dist/chunk-4ODYHZKD.mjs.map +1 -0
- package/dist/{chunk-QPE574OW.mjs → chunk-4TVEDX7L.mjs} +23 -32
- package/dist/chunk-4TVEDX7L.mjs.map +1 -0
- package/dist/chunk-7CGMWOZN.mjs +20 -0
- package/dist/chunk-7CGMWOZN.mjs.map +1 -0
- package/dist/{chunk-7NEQAW7J.mjs → chunk-C236BQQB.mjs} +656 -917
- package/dist/chunk-C236BQQB.mjs.map +1 -0
- package/dist/{chunk-PXAUQJEU.mjs → chunk-D7MFLHXV.mjs} +2267 -1599
- package/dist/chunk-D7MFLHXV.mjs.map +1 -0
- package/dist/{chunk-47AIIJFO.mjs → chunk-ITDBOMY5.mjs} +3 -3
- package/dist/{chunk-47AIIJFO.mjs.map → chunk-ITDBOMY5.mjs.map} +1 -1
- package/dist/{chunk-XVSFXHYB.mjs → chunk-L4XGZAZ5.mjs} +23 -20
- package/dist/chunk-L4XGZAZ5.mjs.map +1 -0
- package/dist/chunk-OWHP7ONM.mjs +134 -0
- package/dist/chunk-OWHP7ONM.mjs.map +1 -0
- package/dist/{chunk-P4V3LA5R.mjs → chunk-RRVLWDT3.mjs} +10 -7
- package/dist/chunk-RRVLWDT3.mjs.map +1 -0
- package/dist/chunk-T2E6MRVP.mjs +862 -0
- package/dist/chunk-T2E6MRVP.mjs.map +1 -0
- package/dist/chunk-TEZB4ULX.mjs +57 -0
- package/dist/chunk-TEZB4ULX.mjs.map +1 -0
- package/dist/chunk-UCTMVCW7.mjs +833 -0
- package/dist/chunk-UCTMVCW7.mjs.map +1 -0
- package/dist/chunk-WECWPYZB.mjs +1950 -0
- package/dist/chunk-WECWPYZB.mjs.map +1 -0
- package/dist/{chunk-4VHEHMJN.mjs → chunk-XBZWGRDM.mjs} +228 -94
- package/dist/chunk-XBZWGRDM.mjs.map +1 -0
- package/dist/{chunk-K3K7TUWM.mjs → chunk-YZ3KCMKY.mjs} +237 -83
- package/dist/chunk-YZ3KCMKY.mjs.map +1 -0
- package/dist/components/Audio/index.css +1858 -0
- package/dist/components/Audio/index.css.map +1 -0
- package/dist/components/Audio/index.d.mts +103 -0
- package/dist/components/Audio/index.mjs +23 -0
- package/dist/components/Audio/index.mjs.map +1 -0
- package/dist/components/Epub/index.css +365 -9
- package/dist/components/Epub/index.css.map +1 -1
- package/dist/components/Epub/index.d.mts +17 -19
- package/dist/components/Epub/index.mjs +15 -10
- package/dist/components/Misc/index.css +5 -2
- package/dist/components/Misc/index.css.map +1 -1
- package/dist/components/Misc/index.mjs +4 -132
- package/dist/components/Misc/index.mjs.map +1 -1
- package/dist/components/Reader/index.css +1022 -183
- package/dist/components/Reader/index.css.map +1 -1
- package/dist/components/Reader/index.d.mts +16 -16
- package/dist/components/Reader/index.mjs +121 -22
- package/dist/components/Reader/index.mjs.map +1 -1
- package/dist/components/WebPub/index.css +365 -9
- package/dist/components/WebPub/index.css.map +1 -1
- package/dist/components/WebPub/index.d.mts +16 -16
- package/dist/components/WebPub/index.mjs +15 -10
- package/dist/core/Components/index.d.mts +64 -15
- package/dist/core/Components/index.mjs +2 -1
- package/dist/core/Helpers/index.d.mts +2 -2
- package/dist/core/Helpers/index.mjs +4 -2
- package/dist/core/Hooks/index.d.mts +7 -8
- package/dist/core/Hooks/index.mjs +3 -1
- package/dist/i18n/index.mjs +4 -5
- package/dist/lib/index.d.mts +159 -15
- package/dist/lib/index.mjs +4 -2
- package/dist/lib-M3PPQDJJ.mjs +6548 -0
- package/dist/lib-M3PPQDJJ.mjs.map +1 -0
- package/dist/locales/en/thorium-web.json +22 -0
- package/dist/next-lib/index.mjs +2 -0
- package/dist/next-lib/index.mjs.map +1 -1
- package/dist/preferences/index.d.mts +111 -13
- package/dist/preferences/index.mjs +6 -3
- package/dist/{settingsReducer-C1wwCAMv.d.mts → settingsReducer-Bu1zeveu.d.mts} +1 -1
- package/dist/{ui-CamWuqOo.d.mts → ui-nBv8gfr0.d.mts} +20 -1
- package/dist/useAudioNavigator-C5aW4-eT.d.mts +133 -0
- package/dist/{useContrast-D6sjPjxy.d.mts → useContrast-2t429O9O.d.mts} +16 -8
- package/dist/usePreferences-VaBf46eP.d.mts +230 -0
- package/dist/useReaderTransitions-JDzlBFsu.d.mts +530 -0
- package/dist/{useTimeline-DyMx_aWY.d.mts → useTimeline-DCZ1qoCO.d.mts} +4 -2
- package/package.json +15 -11
- package/dist/chunk-4VHEHMJN.mjs.map +0 -1
- package/dist/chunk-72XCX5TD.mjs.map +0 -1
- package/dist/chunk-7NEQAW7J.mjs.map +0 -1
- package/dist/chunk-K3K7TUWM.mjs.map +0 -1
- package/dist/chunk-NYZBHYW2.mjs.map +0 -1
- package/dist/chunk-P4V3LA5R.mjs.map +0 -1
- package/dist/chunk-PXAUQJEU.mjs.map +0 -1
- package/dist/chunk-QPE574OW.mjs.map +0 -1
- package/dist/chunk-XVSFXHYB.mjs.map +0 -1
- package/dist/useEpubNavigator-CwHJfoiV.d.mts +0 -42
- package/dist/usePreferences-BXFJbval.d.mts +0 -43
- package/dist/useReaderTransitions-guT-eA-Q.d.mts +0 -365
- package/dist/useWebPubNavigator-CuSNQKMw.d.mts +0 -39
|
@@ -71,7 +71,7 @@ input {
|
|
|
71
71
|
.thorium_web_button_dockerButton svg,
|
|
72
72
|
.thorium_web_button_closeButton svg,
|
|
73
73
|
.thorium_web_button_backButton svg {
|
|
74
|
-
fill:
|
|
74
|
+
fill: currentColor;
|
|
75
75
|
width: var(--th-icon-size, 24px);
|
|
76
76
|
height: var(--th-icon-size, 24px);
|
|
77
77
|
}
|
|
@@ -91,12 +91,6 @@ input {
|
|
|
91
91
|
.thorium_web_button_backButton[data-disabled] {
|
|
92
92
|
color: var(--th-theme-disable);
|
|
93
93
|
}
|
|
94
|
-
.thorium_web_button_icon[data-disabled] svg,
|
|
95
|
-
.thorium_web_button_dockerButton[data-disabled] svg,
|
|
96
|
-
.thorium_web_button_closeButton[data-disabled] svg,
|
|
97
|
-
.thorium_web_button_backButton[data-disabled] svg {
|
|
98
|
-
fill: var(--th-theme-disable);
|
|
99
|
-
}
|
|
100
94
|
.thorium_web_button_tooltip {
|
|
101
95
|
background-color: var(--th-theme-text);
|
|
102
96
|
color: var(--th-theme-background);
|
|
@@ -248,6 +242,32 @@ input {
|
|
|
248
242
|
color: var(--th-theme-text);
|
|
249
243
|
align-items: center;
|
|
250
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
|
+
}
|
|
251
271
|
.thorium_web_sheets_popover {
|
|
252
272
|
overflow-y: auto;
|
|
253
273
|
scroll-padding-top: calc(var(--th-sheet-sticky-header, 80px) + var(--th-layout-spacing));
|
|
@@ -264,6 +284,22 @@ input {
|
|
|
264
284
|
border: 1px solid var(--th-theme-subdue);
|
|
265
285
|
filter: drop-shadow(var(--th-theme-elevate));
|
|
266
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
|
+
}
|
|
267
303
|
.thorium_web_sheets_draggable {
|
|
268
304
|
box-sizing: border-box;
|
|
269
305
|
max-width: var(--th-layout-constraints-bottomSheet, 600px);
|
|
@@ -389,6 +425,17 @@ input {
|
|
|
389
425
|
margin: 0;
|
|
390
426
|
padding: 0;
|
|
391
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
|
+
}
|
|
392
439
|
.thorium_web_sheets_body {
|
|
393
440
|
padding: var(--th-layout-spacing);
|
|
394
441
|
}
|
|
@@ -550,6 +597,7 @@ input {
|
|
|
550
597
|
}
|
|
551
598
|
.thorium_web_reader_settings_radio[data-focus-visible] {
|
|
552
599
|
outline: 2px solid var(--th-theme-focus);
|
|
600
|
+
outline-offset: 2px;
|
|
553
601
|
}
|
|
554
602
|
.thorium_web_reader_settings_radio svg {
|
|
555
603
|
width: var(--th-icon-size, 32px);
|
|
@@ -646,6 +694,50 @@ input {
|
|
|
646
694
|
.thorium_web_reader_settings_sliderPlaceholder {
|
|
647
695
|
color: var(--th-theme-subdue);
|
|
648
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
|
+
}
|
|
649
741
|
.thorium_web_reader_settings_sliderWithTicks .thorium_web_reader_settings_sliderTrack::before {
|
|
650
742
|
background:
|
|
651
743
|
linear-gradient(
|
|
@@ -728,10 +820,16 @@ input {
|
|
|
728
820
|
}
|
|
729
821
|
.thorium_web_reader_settings_dropdownListboxItem {
|
|
730
822
|
padding: calc(var(--th-layout-spacing) / 4);
|
|
823
|
+
border-radius: var(--th-layout-radius);
|
|
824
|
+
outline: none;
|
|
731
825
|
}
|
|
732
826
|
.thorium_web_reader_settings_dropdownListboxItem[data-selected] {
|
|
733
827
|
color: var(--th-theme-subdue);
|
|
734
828
|
}
|
|
829
|
+
.thorium_web_reader_settings_dropdownListboxItem[data-hovered] {
|
|
830
|
+
background-color: var(--th-theme-hover);
|
|
831
|
+
color: var(--th-theme-onHover);
|
|
832
|
+
}
|
|
735
833
|
.thorium_web_reader_settings_dropdownListboxItem[data-focus-visible] {
|
|
736
834
|
outline: 2px solid var(--th-theme-focus);
|
|
737
835
|
}
|
|
@@ -900,7 +998,7 @@ input {
|
|
|
900
998
|
transition: rotate 200ms;
|
|
901
999
|
width: 100%;
|
|
902
1000
|
height: 100%;
|
|
903
|
-
fill:
|
|
1001
|
+
fill: currentColor;
|
|
904
1002
|
}
|
|
905
1003
|
.thorium_web_toc_treeItem[data-expanded] .thorium_web_toc_treeItemButton svg {
|
|
906
1004
|
rotate: 90deg;
|
|
@@ -911,6 +1009,261 @@ input {
|
|
|
911
1009
|
text-wrap: balance;
|
|
912
1010
|
}
|
|
913
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
|
+
|
|
914
1267
|
/* src/components/assets/styles/thorium-web.reader.app.module.css */
|
|
915
1268
|
.thorium_web_reader_app_wrapper {
|
|
916
1269
|
height: 100%;
|
|
@@ -1203,6 +1556,9 @@ input {
|
|
|
1203
1556
|
background-color: var(--th-theme-hover);
|
|
1204
1557
|
color: var(--th-theme-onHover);
|
|
1205
1558
|
}
|
|
1559
|
+
.thorium_web_backlink_link[data-hovered] svg {
|
|
1560
|
+
fill: var(--th-theme-onHover);
|
|
1561
|
+
}
|
|
1206
1562
|
.thorium_web_backlink_link[data-focus-visible] {
|
|
1207
1563
|
outline: 2px solid var(--th-theme-focus);
|
|
1208
1564
|
}
|
|
@@ -1278,7 +1634,7 @@ input {
|
|
|
1278
1634
|
flex: none;
|
|
1279
1635
|
width: var(--th-icon-size, 24px);
|
|
1280
1636
|
height: var(--th-icon-size, 24px);
|
|
1281
|
-
fill:
|
|
1637
|
+
fill: currentColor;
|
|
1282
1638
|
}
|
|
1283
1639
|
|
|
1284
1640
|
/* src/components/assets/styles/thorium-web.reader.progression.module.css */
|