@novely/solid-renderer 0.52.0 → 0.54.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/index.d.ts +152 -1
- package/dist/index.js +2402 -0
- package/dist/index.js.map +1 -0
- package/dist/{styles/index.css → style.css} +253 -243
- package/package.json +13 -12
- package/dist/actions.d.ts +0 -2
- package/dist/components/Await.d.ts +0 -7
- package/dist/components/Canvas.d.ts +0 -9
- package/dist/components/Character.d.ts +0 -8
- package/dist/components/ControlPanelButtons.d.ts +0 -10
- package/dist/components/DialogName.d.ts +0 -8
- package/dist/components/DialogOverview.d.ts +0 -14
- package/dist/components/Icon.d.ts +0 -7
- package/dist/components/Modal.d.ts +0 -11
- package/dist/components/Range.d.ts +0 -14
- package/dist/components/Root.d.ts +0 -23
- package/dist/components/Save.d.ts +0 -11
- package/dist/components/Select.d.ts +0 -14
- package/dist/components/Typewriter.d.ts +0 -14
- package/dist/components/index.d.ts +0 -13
- package/dist/constants.d.ts +0 -7
- package/dist/context/index.d.ts +0 -38
- package/dist/context-state.d.ts +0 -9
- package/dist/custom-actions/index.d.ts +0 -2
- package/dist/custom-actions/mood.d.ts +0 -3
- package/dist/custom-actions/show-hide-image.d.ts +0 -25
- package/dist/emitter.d.ts +0 -12
- package/dist/hooks/index.d.ts +0 -1
- package/dist/hooks/useMedia.d.ts +0 -2
- package/dist/index.jsx +0 -5487
- package/dist/renderer.d.ts +0 -79
- package/dist/screens/custom-screen.d.ts +0 -9
- package/dist/screens/game.d.ts +0 -14
- package/dist/screens/index.d.ts +0 -6
- package/dist/screens/loading.d.ts +0 -6
- package/dist/screens/mainmenu.d.ts +0 -3
- package/dist/screens/saves.d.ts +0 -3
- package/dist/screens/settings.d.ts +0 -6
- package/dist/shared.d.ts +0 -3
- package/dist/types.d.ts +0 -50
- package/dist/utils.d.ts +0 -27
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
/* src/styles/root/root.css */
|
|
2
1
|
.root {
|
|
3
2
|
background-image: var(--novely-root-background-image);
|
|
4
3
|
background-repeat: var(--novely-root-background-repeat, no-repeat);
|
|
5
4
|
background-position: var(--novely-root-background-position, center);
|
|
6
5
|
background-size: var(--novely-root-background-size, cover);
|
|
7
|
-
-webkit-user-select: none;
|
|
8
6
|
user-select: none;
|
|
9
7
|
-webkit-tap-highlight-color: #0000;
|
|
10
8
|
-webkit-tap-highlight-color: transparent;
|
|
@@ -12,32 +10,15 @@
|
|
|
12
10
|
--novely-px: .0625rem;
|
|
13
11
|
width: 100vw;
|
|
14
12
|
height: 100vh;
|
|
15
|
-
font-family:
|
|
16
|
-
ui-sans-serif,
|
|
17
|
-
system-ui,
|
|
18
|
-
-apple-system,
|
|
19
|
-
BlinkMacSystemFont,
|
|
20
|
-
Segoe UI,
|
|
21
|
-
Roboto,
|
|
22
|
-
Helvetica Neue,
|
|
23
|
-
Arial,
|
|
24
|
-
Noto Sans,
|
|
25
|
-
sans-serif,
|
|
26
|
-
Apple Color Emoji,
|
|
27
|
-
Segoe UI Emoji,
|
|
28
|
-
Segoe UI Symbol,
|
|
29
|
-
Noto Color Emoji;
|
|
13
|
+
font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
|
|
30
14
|
font-size: 1rem;
|
|
31
15
|
overflow: clip;
|
|
32
16
|
}
|
|
33
|
-
|
|
34
|
-
.root * {
|
|
17
|
+
|
|
18
|
+
.root, .root * {
|
|
35
19
|
box-sizing: border-box;
|
|
36
20
|
}
|
|
37
21
|
|
|
38
|
-
/* src/styles/root/index.css */
|
|
39
|
-
|
|
40
|
-
/* src/styles/button/button.css */
|
|
41
22
|
.button {
|
|
42
23
|
background-color: var(--novely-button-background-color, #ffe9f3);
|
|
43
24
|
color: var(--novely-button-color, #000);
|
|
@@ -55,28 +36,25 @@
|
|
|
55
36
|
line-height: 1.2;
|
|
56
37
|
position: relative;
|
|
57
38
|
}
|
|
39
|
+
|
|
58
40
|
.button:hover {
|
|
59
41
|
background-color: var(--novely-button-hover-background-color, #fff);
|
|
60
42
|
border-color: var(--novely-button-hover-border-color, #ffc6d8);
|
|
61
43
|
color: var(--novely-button-hover-color, #ffb7a2);
|
|
62
44
|
}
|
|
63
|
-
|
|
45
|
+
|
|
46
|
+
.button[aria-disabled="true"] {
|
|
64
47
|
cursor: not-allowed;
|
|
65
48
|
opacity: .9;
|
|
66
49
|
}
|
|
50
|
+
|
|
67
51
|
.button:after {
|
|
68
52
|
content: "";
|
|
69
53
|
border-radius: .25rem;
|
|
70
54
|
position: absolute;
|
|
71
|
-
|
|
72
|
-
bottom: -.15rem;
|
|
73
|
-
left: -.15rem;
|
|
74
|
-
right: -.15rem;
|
|
55
|
+
inset: -.15rem;
|
|
75
56
|
}
|
|
76
57
|
|
|
77
|
-
/* src/styles/button/index.css */
|
|
78
|
-
|
|
79
|
-
/* src/styles/characters/characters.css */
|
|
80
58
|
.characters {
|
|
81
59
|
z-index: 3;
|
|
82
60
|
pointer-events: none;
|
|
@@ -88,6 +66,7 @@
|
|
|
88
66
|
position: fixed;
|
|
89
67
|
overflow: hidden;
|
|
90
68
|
}
|
|
69
|
+
|
|
91
70
|
.characters > div {
|
|
92
71
|
background-image: var(--background-image);
|
|
93
72
|
min-width: unset;
|
|
@@ -98,27 +77,27 @@
|
|
|
98
77
|
background-size: contain;
|
|
99
78
|
position: relative;
|
|
100
79
|
}
|
|
101
|
-
|
|
80
|
+
|
|
81
|
+
@media (aspect-ratio <= .26) {
|
|
102
82
|
.characters {
|
|
103
|
-
padding-
|
|
83
|
+
padding-block-end: 50vh;
|
|
104
84
|
}
|
|
105
85
|
}
|
|
106
86
|
|
|
107
|
-
/* src/styles/characters/index.css */
|
|
108
|
-
|
|
109
|
-
/* src/styles/control-panel/control-panel.css */
|
|
110
87
|
.control-panel {
|
|
111
88
|
z-index: 31;
|
|
112
89
|
position: fixed;
|
|
113
90
|
bottom: .45rem;
|
|
114
91
|
right: .4rem;
|
|
115
92
|
}
|
|
93
|
+
|
|
116
94
|
.control-panel-container {
|
|
117
95
|
justify-content: end;
|
|
118
96
|
gap: calc(var(--novely-px) * 3);
|
|
119
97
|
width: 100%;
|
|
120
98
|
display: flex;
|
|
121
99
|
}
|
|
100
|
+
|
|
122
101
|
.control-panel-container--center:not(.control-panel-container--wide-open) {
|
|
123
102
|
bottom: calc(var(--novely-dialog-border-width, .18rem) + .4rem);
|
|
124
103
|
justify-content: center;
|
|
@@ -127,9 +106,11 @@
|
|
|
127
106
|
right: 50%;
|
|
128
107
|
transform: translateX(-50%);
|
|
129
108
|
}
|
|
109
|
+
|
|
130
110
|
.control-panel-container--wide-closed {
|
|
131
111
|
display: none;
|
|
132
112
|
}
|
|
113
|
+
|
|
133
114
|
.control-panel-container--wide-open {
|
|
134
115
|
z-index: 31;
|
|
135
116
|
flex-direction: column;
|
|
@@ -139,28 +120,27 @@
|
|
|
139
120
|
bottom: .4rem;
|
|
140
121
|
left: .4rem;
|
|
141
122
|
}
|
|
123
|
+
|
|
142
124
|
.control-panel-container-backdrop {
|
|
143
125
|
z-index: 23;
|
|
144
126
|
background-color: var(--novely-control-panel-container-backdrop-background-color, #1616166c);
|
|
145
127
|
position: fixed;
|
|
146
|
-
|
|
147
|
-
bottom: 0;
|
|
148
|
-
left: 0;
|
|
149
|
-
right: 0;
|
|
128
|
+
inset: 0;
|
|
150
129
|
}
|
|
130
|
+
|
|
151
131
|
.control-panel-container-fix {
|
|
152
132
|
vertical-align: middle;
|
|
153
133
|
height: 100vh;
|
|
154
134
|
display: inline-block;
|
|
155
135
|
}
|
|
156
|
-
|
|
136
|
+
|
|
137
|
+
@media (aspect-ratio <= .8) and ((aspect-ratio >= .26) or (aspect-ratio <= .1)) {
|
|
157
138
|
.control-panel {
|
|
158
139
|
bottom: .4rem;
|
|
159
140
|
left: .4rem;
|
|
160
141
|
}
|
|
161
142
|
}
|
|
162
143
|
|
|
163
|
-
/* src/styles/control-panel/button/button.css */
|
|
164
144
|
.control-panel__button {
|
|
165
145
|
--button-box-shadow-spread-radius: var(--novely-px);
|
|
166
146
|
border: .125rem solid var(--novely-button-border-color, #ffc7df);
|
|
@@ -173,17 +153,20 @@
|
|
|
173
153
|
line-height: 1;
|
|
174
154
|
display: flex;
|
|
175
155
|
}
|
|
176
|
-
|
|
177
|
-
.control-panel__button--auto-mode {
|
|
156
|
+
|
|
157
|
+
.control-panel__button__icon, .control-panel__button--auto-mode {
|
|
178
158
|
display: none;
|
|
179
159
|
}
|
|
180
|
-
|
|
160
|
+
|
|
161
|
+
@media (aspect-ratio <= .8) and ((aspect-ratio >= .26) or (aspect-ratio <= .1)) {
|
|
181
162
|
.control-panel__button {
|
|
182
163
|
flex-grow: 1;
|
|
183
164
|
}
|
|
165
|
+
|
|
184
166
|
.control-panel__button__icon {
|
|
185
167
|
display: block;
|
|
186
168
|
}
|
|
169
|
+
|
|
187
170
|
.control-panel__button__content {
|
|
188
171
|
clip: rect(0 0 0 0);
|
|
189
172
|
clip-path: inset(50%);
|
|
@@ -194,15 +177,13 @@
|
|
|
194
177
|
overflow: hidden;
|
|
195
178
|
}
|
|
196
179
|
}
|
|
180
|
+
|
|
197
181
|
@media (prefers-reduced-motion: no-preference) {
|
|
198
182
|
.control-panel__button--auto-mode {
|
|
199
183
|
display: flex;
|
|
200
184
|
}
|
|
201
185
|
}
|
|
202
186
|
|
|
203
|
-
/* src/styles/control-panel/index.css */
|
|
204
|
-
|
|
205
|
-
/* src/styles/action-text/action-text.css */
|
|
206
187
|
.action-text {
|
|
207
188
|
z-index: 10;
|
|
208
189
|
text-align: center;
|
|
@@ -213,53 +194,54 @@
|
|
|
213
194
|
font-size: 2rem;
|
|
214
195
|
display: none;
|
|
215
196
|
position: fixed;
|
|
216
|
-
|
|
217
|
-
bottom: 0;
|
|
218
|
-
left: 0;
|
|
219
|
-
right: 0;
|
|
197
|
+
inset: 0;
|
|
220
198
|
}
|
|
199
|
+
|
|
221
200
|
.action-text--shown {
|
|
222
201
|
justify-content: center;
|
|
223
202
|
align-items: center;
|
|
224
203
|
display: flex;
|
|
225
204
|
}
|
|
205
|
+
|
|
226
206
|
.action-text > span {
|
|
227
207
|
cursor: pointer;
|
|
228
208
|
word-wrap: break-word;
|
|
229
209
|
word-break: break-word;
|
|
230
210
|
}
|
|
211
|
+
|
|
231
212
|
.action-text:focus-visible > span {
|
|
232
213
|
text-decoration: underline;
|
|
233
214
|
}
|
|
234
|
-
|
|
235
|
-
.action-text > span {
|
|
215
|
+
|
|
216
|
+
.action-text, .action-text > span {
|
|
236
217
|
-webkit-tap-highlight-color: #0000;
|
|
237
218
|
-webkit-tap-highlight-color: transparent;
|
|
238
219
|
-webkit-touch-callout: none;
|
|
239
220
|
touch-action: none;
|
|
240
221
|
}
|
|
241
|
-
|
|
222
|
+
|
|
223
|
+
@media (aspect-ratio <= .8) {
|
|
242
224
|
.action-text {
|
|
243
225
|
font-size: 1.2rem;
|
|
244
226
|
}
|
|
245
227
|
}
|
|
246
|
-
|
|
228
|
+
|
|
229
|
+
@media only screen and (aspect-ratio >= .8) and (pointer: coarse) {
|
|
247
230
|
.action-text {
|
|
248
231
|
font-size: 1.2rem;
|
|
249
232
|
}
|
|
250
233
|
}
|
|
234
|
+
|
|
251
235
|
.preview .action-text {
|
|
252
236
|
font-size: 2rem;
|
|
253
237
|
}
|
|
254
|
-
|
|
238
|
+
|
|
239
|
+
@media only screen and (aspect-ratio >= .8) and (pointer: coarse) {
|
|
255
240
|
.preview .action-text {
|
|
256
241
|
font-size: 1.8rem;
|
|
257
242
|
}
|
|
258
243
|
}
|
|
259
244
|
|
|
260
|
-
/* src/styles/action-text/index.css */
|
|
261
|
-
|
|
262
|
-
/* src/styles/select/select.css */
|
|
263
245
|
.select {
|
|
264
246
|
flex-direction: column;
|
|
265
247
|
align-items: start;
|
|
@@ -267,38 +249,37 @@
|
|
|
267
249
|
display: flex;
|
|
268
250
|
}
|
|
269
251
|
|
|
270
|
-
/* src/styles/select/select/select.css */
|
|
271
252
|
.select__select {
|
|
272
253
|
background-color: var(--novely-select-background-color, #ffe9f3);
|
|
273
254
|
color: var(--novely-select-color, #000);
|
|
274
255
|
box-shadow: 0 0 0 var(--select-box-shadow-spread-radius, .25rem) var(--novely-select-border-color, #ffc7df);
|
|
275
256
|
outline-offset: var(--select-box-shadow-spread-radius, .25rem);
|
|
276
|
-
margin: calc(var(--select-box-shadow-spread-radius, .25rem) + .4rem)
|
|
257
|
+
margin: calc(var(--select-box-shadow-spread-radius, .25rem) + .4rem)
|
|
258
|
+
var(--select-box-shadow-spread-radius, .25rem);
|
|
277
259
|
width: calc(100% - (var(--select-box-shadow-spread-radius, .25rem) * 2));
|
|
278
260
|
border: none;
|
|
279
261
|
border-radius: .25rem;
|
|
280
262
|
padding: .4rem;
|
|
281
263
|
font-size: 1rem;
|
|
282
264
|
}
|
|
265
|
+
|
|
283
266
|
@supports ((-webkit-appearance: none)) {
|
|
284
267
|
.select__select {
|
|
285
|
-
-webkit-appearance: none;
|
|
286
268
|
appearance: none;
|
|
287
269
|
padding-right: 2rem;
|
|
288
270
|
}
|
|
289
271
|
}
|
|
290
272
|
|
|
291
|
-
/* src/styles/select/select/container.css */
|
|
292
273
|
.select__select-container {
|
|
293
274
|
position: relative;
|
|
294
275
|
}
|
|
295
|
-
|
|
276
|
+
|
|
277
|
+
@media (aspect-ratio <= .8) {
|
|
296
278
|
.select__select-container {
|
|
297
279
|
min-width: 70%;
|
|
298
280
|
}
|
|
299
281
|
}
|
|
300
282
|
|
|
301
|
-
/* src/styles/select/label/label.css */
|
|
302
283
|
.select__label {
|
|
303
284
|
background: var(--novely-select-label-background, #ffe9f3);
|
|
304
285
|
color: var(--novely-select-color, #000);
|
|
@@ -309,23 +290,25 @@
|
|
|
309
290
|
font-size: 1rem;
|
|
310
291
|
display: flex;
|
|
311
292
|
}
|
|
293
|
+
|
|
312
294
|
.select__label__icon {
|
|
313
295
|
justify-content: center;
|
|
314
296
|
align-items: center;
|
|
315
297
|
display: flex;
|
|
316
298
|
}
|
|
317
|
-
|
|
299
|
+
|
|
300
|
+
@media (aspect-ratio <= .8) {
|
|
318
301
|
.select__label {
|
|
319
302
|
min-width: 70%;
|
|
320
303
|
}
|
|
321
304
|
}
|
|
322
|
-
|
|
305
|
+
|
|
306
|
+
@media (aspect-ratio <= .26) {
|
|
323
307
|
.select__label {
|
|
324
308
|
min-width: 100%;
|
|
325
309
|
}
|
|
326
310
|
}
|
|
327
311
|
|
|
328
|
-
/* src/styles/select/icon/icon.css */
|
|
329
312
|
.select__icon {
|
|
330
313
|
pointer-events: none;
|
|
331
314
|
width: 1rem;
|
|
@@ -335,9 +318,6 @@
|
|
|
335
318
|
right: .8rem;
|
|
336
319
|
}
|
|
337
320
|
|
|
338
|
-
/* src/styles/select/index.css */
|
|
339
|
-
|
|
340
|
-
/* src/styles/range/range.css */
|
|
341
321
|
.range {
|
|
342
322
|
flex-direction: column;
|
|
343
323
|
align-items: start;
|
|
@@ -345,7 +325,6 @@
|
|
|
345
325
|
display: flex;
|
|
346
326
|
}
|
|
347
327
|
|
|
348
|
-
/* src/styles/range/label/label.css */
|
|
349
328
|
.range__label {
|
|
350
329
|
background: var(--novely-range-label-background, #ffe9f3);
|
|
351
330
|
color: var(--novely-range-color, #000);
|
|
@@ -356,50 +335,44 @@
|
|
|
356
335
|
font-size: 1.02rem;
|
|
357
336
|
display: flex;
|
|
358
337
|
}
|
|
338
|
+
|
|
359
339
|
.range__label__icon {
|
|
360
340
|
justify-content: center;
|
|
361
341
|
align-items: center;
|
|
362
342
|
display: flex;
|
|
363
343
|
}
|
|
364
|
-
|
|
344
|
+
|
|
345
|
+
@media (aspect-ratio <= .8) {
|
|
365
346
|
.range__label {
|
|
366
347
|
min-width: 70%;
|
|
367
348
|
}
|
|
368
349
|
}
|
|
369
|
-
|
|
350
|
+
|
|
351
|
+
@media (aspect-ratio <= .26) {
|
|
370
352
|
.range__label {
|
|
371
353
|
min-width: 100%;
|
|
372
354
|
}
|
|
373
355
|
}
|
|
374
356
|
|
|
375
|
-
/* src/styles/range/range/range.css */
|
|
376
357
|
.range__range {
|
|
377
|
-
-webkit-appearance: none;
|
|
378
358
|
appearance: none;
|
|
379
359
|
background-color: #0000;
|
|
380
360
|
margin: .4rem 0;
|
|
381
361
|
position: relative;
|
|
382
362
|
}
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
border-radius: 9999px;
|
|
386
|
-
width: 100%;
|
|
387
|
-
height: .75rem;
|
|
388
|
-
}
|
|
389
|
-
.range__range::-moz-range-track {
|
|
363
|
+
|
|
364
|
+
.range__range::-webkit-slider-runnable-track, .range__range::-moz-range-track {
|
|
390
365
|
background-color: var(--novely-range-track-background, #ffe9f3);
|
|
391
366
|
border-radius: 9999px;
|
|
392
367
|
width: 100%;
|
|
393
368
|
height: .75rem;
|
|
394
369
|
}
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
}
|
|
398
|
-
.range__range::-moz-range-thumb {
|
|
370
|
+
|
|
371
|
+
.range__range::-webkit-slider-thumb, .range__range::-moz-range-thumb {
|
|
399
372
|
background-color: var(--novely-range-thumb-color, #ff86ba);
|
|
400
373
|
}
|
|
374
|
+
|
|
401
375
|
.range__range::-webkit-slider-thumb {
|
|
402
|
-
-webkit-appearance: none;
|
|
403
376
|
appearance: none;
|
|
404
377
|
border-style: none;
|
|
405
378
|
border-radius: 9999px;
|
|
@@ -409,6 +382,7 @@
|
|
|
409
382
|
top: 50%;
|
|
410
383
|
transform: translateY(-50%);
|
|
411
384
|
}
|
|
385
|
+
|
|
412
386
|
.range__range::-moz-range-thumb {
|
|
413
387
|
border-style: none;
|
|
414
388
|
border-radius: 9999px;
|
|
@@ -417,26 +391,23 @@
|
|
|
417
391
|
position: relative;
|
|
418
392
|
top: 50%;
|
|
419
393
|
}
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
}
|
|
423
|
-
.range__range:active::-moz-range-thumb {
|
|
394
|
+
|
|
395
|
+
.range__range:active::-webkit-slider-thumb, .range__range:active::-moz-range-thumb {
|
|
424
396
|
background-color: var(--novely-range-thumb-active-color, #ff66a8);
|
|
425
397
|
}
|
|
426
|
-
|
|
398
|
+
|
|
399
|
+
@media (aspect-ratio <= .8) {
|
|
427
400
|
.range__range {
|
|
428
401
|
min-width: 70%;
|
|
429
402
|
}
|
|
430
403
|
}
|
|
431
|
-
|
|
404
|
+
|
|
405
|
+
@media (aspect-ratio <= .26) {
|
|
432
406
|
.range__range {
|
|
433
407
|
min-width: 100%;
|
|
434
408
|
}
|
|
435
409
|
}
|
|
436
410
|
|
|
437
|
-
/* src/styles/range/index.css */
|
|
438
|
-
|
|
439
|
-
/* src/styles/action-dialog/action-dialog.css */
|
|
440
411
|
.action-dialog {
|
|
441
412
|
--min-dialog-height: 26vh;
|
|
442
413
|
min-height: var(--min-dialog-height);
|
|
@@ -452,12 +423,15 @@
|
|
|
452
423
|
left: 50%;
|
|
453
424
|
transform: translateX(-50%);
|
|
454
425
|
}
|
|
426
|
+
|
|
455
427
|
.action-dialog--visible {
|
|
456
428
|
display: flex;
|
|
457
429
|
}
|
|
430
|
+
|
|
458
431
|
.action-dialog--hidden {
|
|
459
432
|
display: none;
|
|
460
433
|
}
|
|
434
|
+
|
|
461
435
|
.action-dialog-container {
|
|
462
436
|
height: 100%;
|
|
463
437
|
min-height: 18vh;
|
|
@@ -471,9 +445,10 @@
|
|
|
471
445
|
background-size: var(--novely-dialog-background-size);
|
|
472
446
|
flex-wrap: nowrap;
|
|
473
447
|
flex-grow: 1;
|
|
474
|
-
padding-
|
|
448
|
+
padding-block-end: 2.8rem;
|
|
475
449
|
display: flex;
|
|
476
450
|
}
|
|
451
|
+
|
|
477
452
|
.action-dialog-person {
|
|
478
453
|
justify-content: center;
|
|
479
454
|
align-items: flex-end;
|
|
@@ -481,16 +456,19 @@
|
|
|
481
456
|
max-height: 25vh;
|
|
482
457
|
display: flex;
|
|
483
458
|
}
|
|
459
|
+
|
|
484
460
|
.action-dialog-name {
|
|
485
461
|
margin: 0;
|
|
486
462
|
padding: .2rem 1.5vmin;
|
|
487
463
|
display: block;
|
|
488
464
|
}
|
|
465
|
+
|
|
489
466
|
.action-dialog-content {
|
|
490
467
|
margin: 0;
|
|
491
468
|
padding: 1vmin;
|
|
492
469
|
display: block;
|
|
493
470
|
}
|
|
471
|
+
|
|
494
472
|
.action-dialog-name {
|
|
495
473
|
width: fit-content;
|
|
496
474
|
box-shadow: var(--novely-px) var(--novely-px) .15rem #00000042;
|
|
@@ -500,32 +478,35 @@
|
|
|
500
478
|
font-size: 1.85rem;
|
|
501
479
|
line-height: 1.2;
|
|
502
480
|
}
|
|
481
|
+
|
|
503
482
|
.action-dialog-mood-separator {
|
|
504
483
|
vertical-align: middle;
|
|
505
484
|
font-size: .6rem;
|
|
506
485
|
}
|
|
486
|
+
|
|
507
487
|
.action-dialog-content {
|
|
508
488
|
word-wrap: break-word;
|
|
509
489
|
word-break: break-word;
|
|
510
490
|
width: 100%;
|
|
511
|
-
text-shadow:
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
calc(var(--novely-px) * -1) var(--novely-px) 0 black;
|
|
491
|
+
text-shadow: var(--novely-px) var(--novely-px) 0 black,
|
|
492
|
+
calc(var(--novely-px) * -1) calc(var(--novely-px) * -1) 0 black,
|
|
493
|
+
var(--novely-px) calc(var(--novely-px) * -1) 0 black,
|
|
494
|
+
calc(var(--novely-px) * -1) var(--novely-px) 0 black;
|
|
516
495
|
font-size: 2rem;
|
|
517
496
|
line-height: 1.2;
|
|
518
497
|
}
|
|
498
|
+
|
|
519
499
|
.action-dialog-content--disable-shadow {
|
|
520
500
|
text-shadow: none;
|
|
521
501
|
}
|
|
522
|
-
|
|
523
|
-
.action-dialog-person > img {
|
|
502
|
+
|
|
503
|
+
.action-dialog-person > canvas, .action-dialog-person > img {
|
|
524
504
|
object-fit: contain;
|
|
525
505
|
max-width: 100%;
|
|
526
506
|
max-height: 100%;
|
|
527
507
|
}
|
|
528
|
-
|
|
508
|
+
|
|
509
|
+
@media (aspect-ratio <= .8) {
|
|
529
510
|
.action-dialog {
|
|
530
511
|
--min-dialog-height: 20vh;
|
|
531
512
|
--dialog-bottom-offset: min(calc(2.8rem * 4), 22vh);
|
|
@@ -536,79 +517,77 @@
|
|
|
536
517
|
transform: unset;
|
|
537
518
|
justify-content: flex-start;
|
|
538
519
|
}
|
|
520
|
+
|
|
539
521
|
.action-dialog-container {
|
|
540
522
|
flex-grow: unset;
|
|
541
523
|
height: auto;
|
|
542
524
|
min-height: 12vh;
|
|
543
|
-
padding-
|
|
525
|
+
padding-block-end: 0;
|
|
544
526
|
}
|
|
527
|
+
|
|
545
528
|
.action-dialog-name {
|
|
546
529
|
font-size: 1.2rem;
|
|
547
530
|
}
|
|
531
|
+
|
|
548
532
|
.action-dialog-content {
|
|
549
533
|
text-shadow: none;
|
|
550
534
|
font-size: 1.2rem;
|
|
551
535
|
}
|
|
552
536
|
}
|
|
553
|
-
|
|
537
|
+
|
|
538
|
+
@media (aspect-ratio <= .26) {
|
|
554
539
|
.action-dialog {
|
|
555
540
|
height: unset;
|
|
556
541
|
}
|
|
542
|
+
|
|
557
543
|
.action-dialog-container {
|
|
558
544
|
height: 50vh !important;
|
|
559
545
|
}
|
|
560
546
|
}
|
|
561
|
-
|
|
547
|
+
|
|
548
|
+
@media only screen and (aspect-ratio >= .8) and (pointer: coarse) {
|
|
562
549
|
.action-dialog-name {
|
|
563
550
|
font-size: 1.2rem;
|
|
564
551
|
}
|
|
552
|
+
|
|
565
553
|
.action-dialog-content {
|
|
566
554
|
text-shadow: none;
|
|
567
555
|
font-size: 1.2rem;
|
|
568
556
|
line-height: 1.15;
|
|
569
557
|
}
|
|
570
558
|
}
|
|
571
|
-
|
|
572
|
-
.preview .action-dialog-content {
|
|
559
|
+
|
|
560
|
+
.preview .action-dialog-name, .preview .action-dialog-content {
|
|
573
561
|
font-size: 2rem;
|
|
574
562
|
}
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
.preview .action-dialog-content {
|
|
563
|
+
|
|
564
|
+
@media only screen and (aspect-ratio >= .8) and (pointer: coarse) {
|
|
565
|
+
.preview .action-dialog-name, .preview .action-dialog-content {
|
|
578
566
|
font-size: 1.8rem;
|
|
579
567
|
}
|
|
580
568
|
}
|
|
581
569
|
|
|
582
|
-
/* src/styles/action-dialog/index.css */
|
|
583
|
-
|
|
584
|
-
/* src/styles/custom-actions/image/image.css */
|
|
585
570
|
.action-image {
|
|
586
571
|
z-index: 1;
|
|
587
572
|
position: fixed;
|
|
588
|
-
|
|
589
|
-
bottom: 0;
|
|
590
|
-
left: 0;
|
|
591
|
-
right: 0;
|
|
573
|
+
inset: 0;
|
|
592
574
|
}
|
|
575
|
+
|
|
593
576
|
.action-image__image-container {
|
|
594
577
|
z-index: var(--z-index, 1);
|
|
595
578
|
position: absolute;
|
|
596
579
|
}
|
|
597
|
-
|
|
598
|
-
.action-image__image {
|
|
580
|
+
|
|
581
|
+
.action-image__image-container, .action-image__image {
|
|
599
582
|
width: 100vw;
|
|
600
583
|
height: 100vh;
|
|
601
584
|
}
|
|
585
|
+
|
|
602
586
|
.action-image__image {
|
|
603
587
|
object-fit: cover;
|
|
604
588
|
object-position: 50% 50%;
|
|
605
589
|
}
|
|
606
590
|
|
|
607
|
-
/* src/styles/custom-actions/image/index.css */
|
|
608
|
-
|
|
609
|
-
/* src/styles/custom-actions/index.css */
|
|
610
|
-
|
|
611
|
-
/* src/styles/dialog/dialog.css */
|
|
612
591
|
.dialog {
|
|
613
592
|
z-index: 25;
|
|
614
593
|
text-align: left;
|
|
@@ -617,74 +596,70 @@
|
|
|
617
596
|
min-width: 50vw;
|
|
618
597
|
max-width: 100vw;
|
|
619
598
|
min-height: 40vh;
|
|
620
|
-
padding-
|
|
621
|
-
padding-
|
|
622
|
-
padding-left: .25rem;
|
|
623
|
-
padding-right: .25rem;
|
|
599
|
+
padding-block: 0;
|
|
600
|
+
padding-inline: .25rem;
|
|
624
601
|
position: absolute;
|
|
625
|
-
|
|
626
|
-
bottom: 0;
|
|
627
|
-
left: 0;
|
|
628
|
-
right: 0;
|
|
602
|
+
inset: 0;
|
|
629
603
|
}
|
|
604
|
+
|
|
630
605
|
.dialog[open] {
|
|
631
606
|
display: flex;
|
|
632
607
|
}
|
|
608
|
+
|
|
633
609
|
.dialog[open]::backdrop {
|
|
634
610
|
background-color: var(--novely-dialog-backdrop-background-color, #1616166c);
|
|
635
611
|
}
|
|
612
|
+
|
|
636
613
|
.dialog-label {
|
|
637
614
|
border-radius: .25rem;
|
|
638
615
|
padding: .25rem .5rem;
|
|
639
616
|
font-size: 1.2375rem;
|
|
640
617
|
}
|
|
641
|
-
|
|
618
|
+
|
|
619
|
+
.dialog-label[data-used="true"] {
|
|
642
620
|
background: var(--novely-dialog-label-background, #ffe9f3);
|
|
643
621
|
color: var(--novely-dialog-label-color, #000);
|
|
644
622
|
}
|
|
645
|
-
|
|
623
|
+
|
|
624
|
+
@media (aspect-ratio <= .8) {
|
|
646
625
|
.dialog {
|
|
647
626
|
width: calc(100vw - .5rem);
|
|
648
627
|
}
|
|
649
628
|
}
|
|
650
629
|
|
|
651
|
-
/* src/styles/dialog/index.css */
|
|
652
|
-
|
|
653
|
-
/* src/styles/choice-dialog/choice-dialog.css */
|
|
654
630
|
.choice-dialog {
|
|
655
631
|
background: none;
|
|
656
632
|
border: none;
|
|
657
633
|
}
|
|
658
634
|
|
|
659
|
-
/* src/styles/choice-dialog/choices.css */
|
|
660
635
|
.choice-dialog__choices {
|
|
661
636
|
flex-direction: column;
|
|
662
637
|
width: 100%;
|
|
663
638
|
height: 100%;
|
|
664
639
|
display: flex;
|
|
665
640
|
}
|
|
641
|
+
|
|
666
642
|
.choice-dialog__choices:has(.choice-dialog__choice-image) {
|
|
667
643
|
flex-direction: row;
|
|
668
644
|
gap: .5rem;
|
|
669
645
|
}
|
|
646
|
+
|
|
670
647
|
.choice-dialog__choice {
|
|
671
648
|
flex-direction: column;
|
|
672
649
|
align-items: center;
|
|
673
650
|
display: flex;
|
|
674
651
|
}
|
|
652
|
+
|
|
675
653
|
.choice-dialog__choice:has(.choice-dialog__choice-image) {
|
|
676
654
|
flex-grow: 1;
|
|
677
655
|
}
|
|
656
|
+
|
|
678
657
|
.choice-dialog__choice-image {
|
|
679
658
|
max-width: 25vw;
|
|
680
659
|
max-height: 25vh;
|
|
681
660
|
}
|
|
682
661
|
|
|
683
|
-
/* src/styles/choice-dialog/index.css */
|
|
684
|
-
|
|
685
|
-
/* src/styles/input-dialog/input-dialog.css */
|
|
686
662
|
.input-dialog__text {
|
|
687
|
-
min-height: 1rem;
|
|
688
663
|
-webkit-tap-highlight-color: #0000;
|
|
689
664
|
-webkit-tap-highlight-color: transparent;
|
|
690
665
|
-webkit-touch-callout: none;
|
|
@@ -694,14 +669,16 @@
|
|
|
694
669
|
margin: .4rem 0;
|
|
695
670
|
font-size: 1.2375rem;
|
|
696
671
|
}
|
|
672
|
+
|
|
697
673
|
.input-dialog__label {
|
|
698
674
|
width: auto;
|
|
699
|
-
margin-
|
|
675
|
+
margin-block-end: .6rem;
|
|
700
676
|
}
|
|
677
|
+
|
|
701
678
|
.input-dialog__error {
|
|
702
|
-
min-height: 1rem;
|
|
703
679
|
min-height: 1lh;
|
|
704
680
|
}
|
|
681
|
+
|
|
705
682
|
.input-dialog {
|
|
706
683
|
min-width: 35vw;
|
|
707
684
|
color: var(--novely-input-dialog-color, #fff);
|
|
@@ -715,18 +692,18 @@
|
|
|
715
692
|
justify-content: center;
|
|
716
693
|
align-items: center;
|
|
717
694
|
}
|
|
718
|
-
|
|
695
|
+
|
|
696
|
+
@media (aspect-ratio <= .8) {
|
|
719
697
|
.input-dialog__text {
|
|
720
698
|
width: calc(100vw - .5rem);
|
|
721
699
|
}
|
|
700
|
+
|
|
722
701
|
.input-dialog__error {
|
|
723
|
-
min-height: 3rem;
|
|
724
702
|
min-height: 3lh;
|
|
725
703
|
}
|
|
726
704
|
}
|
|
727
705
|
|
|
728
|
-
|
|
729
|
-
input[name=novely-input] {
|
|
706
|
+
input[name="novely-input"] {
|
|
730
707
|
border: none;
|
|
731
708
|
border-radius: .25rem;
|
|
732
709
|
min-width: min(10rem, 100%);
|
|
@@ -735,37 +712,34 @@ input[name=novely-input] {
|
|
|
735
712
|
display: block;
|
|
736
713
|
position: relative;
|
|
737
714
|
}
|
|
738
|
-
|
|
739
|
-
input[name=novely-input][type=number],
|
|
740
|
-
input[name=novely-input][type=password] {
|
|
715
|
+
|
|
716
|
+
input[name="novely-input"][type="text"], input[name="novely-input"][type="number"], input[name="novely-input"][type="password"] {
|
|
741
717
|
box-shadow: 0 0 0 var(--input-box-shadow-spread-radius, .15rem) var(--novely-input-border-color, #ffc7df);
|
|
742
718
|
outline-offset: var(--input-box-shadow-spread-radius, .15rem);
|
|
743
719
|
}
|
|
744
|
-
|
|
720
|
+
|
|
721
|
+
input[name="novely-input"][type="checkbox"] {
|
|
745
722
|
min-width: unset;
|
|
746
723
|
}
|
|
724
|
+
|
|
747
725
|
@supports ((-webkit-appearance: none)) {
|
|
748
|
-
input[name=novely-input][type=number] {
|
|
749
|
-
-webkit-appearance: textfield;
|
|
726
|
+
input[name="novely-input"][type="number"] {
|
|
750
727
|
appearance: textfield;
|
|
751
728
|
}
|
|
752
729
|
}
|
|
753
730
|
|
|
754
|
-
/* src/styles/input-dialog/button/button.css */
|
|
755
731
|
.dialog-input__button {
|
|
756
732
|
width: fit-content;
|
|
757
733
|
padding: .4rem .6rem;
|
|
758
734
|
font-size: 1.2375rem;
|
|
759
735
|
}
|
|
760
|
-
|
|
736
|
+
|
|
737
|
+
@media (aspect-ratio <= .8) {
|
|
761
738
|
.dialog-input__button {
|
|
762
739
|
font-size: 1.1rem;
|
|
763
740
|
}
|
|
764
741
|
}
|
|
765
742
|
|
|
766
|
-
/* src/styles/input-dialog/index.css */
|
|
767
|
-
|
|
768
|
-
/* src/styles/exit-dialog/exit-dialog.css */
|
|
769
743
|
.exit-dialog {
|
|
770
744
|
color: var(--novely-exit-dialog-color, #fff);
|
|
771
745
|
border: var(--novely-exit-dialog-border-width, .15rem) solid var(--novely-exit-dialog-border-color, #fff);
|
|
@@ -778,19 +752,18 @@ input[name=novely-input][type=checkbox] {
|
|
|
778
752
|
justify-content: center;
|
|
779
753
|
align-items: center;
|
|
780
754
|
}
|
|
755
|
+
|
|
781
756
|
.exit-dialog-buttons {
|
|
782
757
|
gap: .5rem;
|
|
783
758
|
display: flex;
|
|
784
759
|
}
|
|
785
|
-
|
|
760
|
+
|
|
761
|
+
@media (aspect-ratio <= .26) {
|
|
786
762
|
.exit-dialog-buttons {
|
|
787
763
|
flex-direction: column;
|
|
788
764
|
}
|
|
789
765
|
}
|
|
790
766
|
|
|
791
|
-
/* src/styles/exit-dialog/index.css */
|
|
792
|
-
|
|
793
|
-
/* src/styles/game/background/background.css */
|
|
794
767
|
.background {
|
|
795
768
|
z-index: 1;
|
|
796
769
|
background-position: 50%;
|
|
@@ -801,29 +774,25 @@ input[name=novely-input][type=checkbox] {
|
|
|
801
774
|
position: fixed;
|
|
802
775
|
}
|
|
803
776
|
|
|
804
|
-
/* src/styles/game/game/game.css */
|
|
805
777
|
.game {
|
|
806
778
|
width: 100%;
|
|
807
779
|
height: 100%;
|
|
808
780
|
}
|
|
809
781
|
|
|
810
|
-
/* src/styles/game/index.css */
|
|
811
|
-
|
|
812
|
-
/* src/styles/main-menu/main-menu.css */
|
|
813
782
|
.main-menu {
|
|
814
783
|
height: 100%;
|
|
815
784
|
padding: 0 1rem;
|
|
816
785
|
display: flex;
|
|
817
786
|
overflow: hidden;
|
|
818
787
|
}
|
|
819
|
-
|
|
788
|
+
|
|
789
|
+
@media (aspect-ratio <= .8) {
|
|
820
790
|
.main-menu {
|
|
821
791
|
flex-direction: column;
|
|
822
792
|
justify-content: center;
|
|
823
793
|
}
|
|
824
794
|
}
|
|
825
795
|
|
|
826
|
-
/* src/styles/main-menu/controls/controls.css */
|
|
827
796
|
.main-menu__controls {
|
|
828
797
|
flex-direction: column;
|
|
829
798
|
justify-content: center;
|
|
@@ -831,7 +800,6 @@ input[name=novely-input][type=checkbox] {
|
|
|
831
800
|
display: flex;
|
|
832
801
|
}
|
|
833
802
|
|
|
834
|
-
/* src/styles/main-menu/button/button.css */
|
|
835
803
|
.main-menu__button {
|
|
836
804
|
grid-template-rows: 1fr;
|
|
837
805
|
grid-template-columns: calc(100% - 1.5rem) 1.5rem;
|
|
@@ -840,26 +808,27 @@ input[name=novely-input][type=checkbox] {
|
|
|
840
808
|
min-width: 30vw;
|
|
841
809
|
display: grid;
|
|
842
810
|
}
|
|
811
|
+
|
|
843
812
|
.main-menu__button__text {
|
|
844
813
|
align-self: center;
|
|
845
814
|
}
|
|
846
|
-
|
|
815
|
+
|
|
816
|
+
@media (aspect-ratio <= .8) {
|
|
847
817
|
.main-menu__button {
|
|
848
818
|
min-width: calc(100% - calc(var(--button-box-shadow-spread-radius, .25rem) * 2));
|
|
849
819
|
}
|
|
850
820
|
}
|
|
851
|
-
|
|
821
|
+
|
|
822
|
+
@media (aspect-ratio <= .26) {
|
|
852
823
|
.main-menu__button {
|
|
853
824
|
grid-template-columns: 1fr;
|
|
854
825
|
}
|
|
826
|
+
|
|
855
827
|
.main-menu__button__text {
|
|
856
828
|
display: none;
|
|
857
829
|
}
|
|
858
830
|
}
|
|
859
831
|
|
|
860
|
-
/* src/styles/main-menu/index.css */
|
|
861
|
-
|
|
862
|
-
/* src/styles/loading/loading.css */
|
|
863
832
|
.loading {
|
|
864
833
|
background: #000;
|
|
865
834
|
justify-content: center;
|
|
@@ -867,24 +836,23 @@ input[name=novely-input][type=checkbox] {
|
|
|
867
836
|
display: flex;
|
|
868
837
|
overflow: hidden;
|
|
869
838
|
}
|
|
839
|
+
|
|
870
840
|
.loading.overlay {
|
|
871
841
|
position: absolute;
|
|
872
|
-
|
|
873
|
-
bottom: 0;
|
|
874
|
-
left: 0;
|
|
875
|
-
right: 0;
|
|
842
|
+
inset: 0;
|
|
876
843
|
}
|
|
844
|
+
|
|
877
845
|
.loading.game {
|
|
878
846
|
z-index: 30;
|
|
879
847
|
}
|
|
880
848
|
|
|
881
|
-
/* src/styles/loading/animation/animation.css */
|
|
882
849
|
.loading__animation {
|
|
883
850
|
width: 5rem;
|
|
884
851
|
height: 5rem;
|
|
885
852
|
display: inline-block;
|
|
886
853
|
position: relative;
|
|
887
854
|
}
|
|
855
|
+
|
|
888
856
|
.loading__animation div {
|
|
889
857
|
background: #fff;
|
|
890
858
|
border-radius: 50%;
|
|
@@ -894,92 +862,100 @@ input[name=novely-input][type=checkbox] {
|
|
|
894
862
|
position: absolute;
|
|
895
863
|
top: 2rem;
|
|
896
864
|
}
|
|
865
|
+
|
|
897
866
|
.loading__animation div:first-child {
|
|
898
867
|
animation: .6s infinite lds-ellipsis1;
|
|
899
868
|
left: .5rem;
|
|
900
869
|
}
|
|
870
|
+
|
|
901
871
|
.loading__animation div:nth-child(2) {
|
|
902
872
|
animation: .6s infinite lds-ellipsis2;
|
|
903
873
|
left: .5rem;
|
|
904
874
|
}
|
|
875
|
+
|
|
905
876
|
.loading__animation div:nth-child(3) {
|
|
906
877
|
animation: .6s infinite lds-ellipsis2;
|
|
907
878
|
left: 2rem;
|
|
908
879
|
}
|
|
880
|
+
|
|
909
881
|
.loading__animation div:nth-child(4) {
|
|
910
882
|
animation: .6s infinite lds-ellipsis3;
|
|
911
883
|
left: 3.5rem;
|
|
912
884
|
}
|
|
885
|
+
|
|
913
886
|
.loading__animation div {
|
|
914
887
|
animation-direction: normal !important;
|
|
915
888
|
animation-play-state: running !important;
|
|
916
889
|
animation-fill-mode: none !important;
|
|
917
890
|
}
|
|
891
|
+
|
|
918
892
|
@keyframes lds-ellipsis1 {
|
|
919
893
|
0% {
|
|
920
894
|
transform: scale(0);
|
|
921
895
|
}
|
|
896
|
+
|
|
922
897
|
100% {
|
|
923
898
|
transform: scale(1);
|
|
924
899
|
}
|
|
925
900
|
}
|
|
901
|
+
|
|
926
902
|
@keyframes lds-ellipsis3 {
|
|
927
903
|
0% {
|
|
928
904
|
transform: scale(1);
|
|
929
905
|
}
|
|
906
|
+
|
|
930
907
|
100% {
|
|
931
908
|
transform: scale(0);
|
|
932
909
|
}
|
|
933
910
|
}
|
|
911
|
+
|
|
934
912
|
@keyframes lds-ellipsis2 {
|
|
935
913
|
0% {
|
|
936
914
|
transform: translate(0);
|
|
937
915
|
}
|
|
916
|
+
|
|
938
917
|
100% {
|
|
939
918
|
transform: translate(1.5rem);
|
|
940
919
|
}
|
|
941
920
|
}
|
|
942
921
|
|
|
943
|
-
/* src/styles/loading/index.css */
|
|
944
|
-
|
|
945
|
-
/* src/styles/settings/settings.css */
|
|
946
922
|
.settings {
|
|
947
923
|
gap: 1rem;
|
|
948
924
|
height: 100%;
|
|
949
925
|
padding: 0 1rem;
|
|
950
926
|
display: flex;
|
|
951
927
|
}
|
|
952
|
-
|
|
928
|
+
|
|
929
|
+
@media (aspect-ratio <= .8) {
|
|
953
930
|
.settings {
|
|
954
931
|
flex-direction: column-reverse;
|
|
955
932
|
}
|
|
956
933
|
}
|
|
957
934
|
|
|
958
|
-
/* src/styles/settings/button/button.css */
|
|
959
935
|
.settings__button {
|
|
960
936
|
min-width: 30vw;
|
|
961
937
|
}
|
|
962
|
-
|
|
938
|
+
|
|
939
|
+
@media (aspect-ratio <= .8) {
|
|
963
940
|
.settings__button {
|
|
964
941
|
min-width: calc(100% - calc(var(--button-box-shadow-spread-radius, .25rem) * 2));
|
|
965
942
|
}
|
|
966
943
|
}
|
|
967
944
|
|
|
968
|
-
/* src/styles/settings/controls/controls.css */
|
|
969
945
|
.settings__controls {
|
|
970
946
|
flex-flow: column wrap;
|
|
971
947
|
justify-content: flex-start;
|
|
972
948
|
align-items: center;
|
|
973
|
-
padding-
|
|
949
|
+
padding-block-start: 1rem;
|
|
974
950
|
display: flex;
|
|
975
951
|
}
|
|
976
|
-
|
|
952
|
+
|
|
953
|
+
@media (aspect-ratio <= .8) {
|
|
977
954
|
.settings__controls {
|
|
978
|
-
padding-
|
|
955
|
+
padding-block-end: 1rem;
|
|
979
956
|
}
|
|
980
957
|
}
|
|
981
958
|
|
|
982
|
-
/* src/styles/settings/options/options.css */
|
|
983
959
|
.settings__options {
|
|
984
960
|
flex-direction: column;
|
|
985
961
|
flex-grow: 1;
|
|
@@ -987,64 +963,68 @@ input[name=novely-input][type=checkbox] {
|
|
|
987
963
|
align-items: center;
|
|
988
964
|
display: flex;
|
|
989
965
|
}
|
|
990
|
-
|
|
966
|
+
|
|
967
|
+
@media (aspect-ratio <= .8) {
|
|
991
968
|
.settings__options {
|
|
992
969
|
flex-grow: unset;
|
|
993
970
|
}
|
|
994
971
|
}
|
|
995
972
|
|
|
996
|
-
/* src/styles/settings/index.css */
|
|
997
|
-
|
|
998
|
-
/* src/styles/saves/saves.css */
|
|
999
973
|
.saves {
|
|
1000
974
|
gap: 1rem;
|
|
1001
975
|
height: 100%;
|
|
1002
976
|
padding: 0 1rem;
|
|
1003
977
|
display: flex;
|
|
1004
978
|
}
|
|
1005
|
-
|
|
979
|
+
|
|
980
|
+
@media (aspect-ratio <= .8) {
|
|
1006
981
|
.saves {
|
|
1007
982
|
flex-direction: column-reverse;
|
|
1008
983
|
}
|
|
1009
984
|
}
|
|
1010
|
-
|
|
985
|
+
|
|
986
|
+
@media (aspect-ratio <= .26) {
|
|
1011
987
|
.saves {
|
|
1012
988
|
padding: 0 .1rem;
|
|
1013
989
|
}
|
|
1014
990
|
}
|
|
1015
991
|
|
|
1016
|
-
/* src/styles/saves/button/button.css */
|
|
1017
992
|
.saves__button {
|
|
1018
993
|
min-width: 30vw;
|
|
1019
994
|
}
|
|
995
|
+
|
|
1020
996
|
.saves__button-load {
|
|
1021
997
|
width: 100%;
|
|
1022
998
|
touch-action: auto !important;
|
|
1023
999
|
}
|
|
1000
|
+
|
|
1024
1001
|
.saves__button-reset {
|
|
1025
1002
|
--button-box-shadow-spread-radius: .15rem;
|
|
1026
1003
|
border-radius: .4rem;
|
|
1027
1004
|
margin: 0;
|
|
1028
1005
|
}
|
|
1029
|
-
|
|
1006
|
+
|
|
1007
|
+
@media (aspect-ratio <= .8) {
|
|
1030
1008
|
.saves__button {
|
|
1031
1009
|
min-width: calc(100% - calc(var(--button-box-shadow-spread-radius, .25rem) * 2));
|
|
1032
1010
|
}
|
|
1011
|
+
|
|
1033
1012
|
.saves__button-load {
|
|
1034
1013
|
margin-bottom: 0;
|
|
1035
1014
|
}
|
|
1015
|
+
|
|
1036
1016
|
.saves__button-reset {
|
|
1037
1017
|
margin-top: .25rem;
|
|
1038
1018
|
}
|
|
1039
1019
|
}
|
|
1040
|
-
|
|
1020
|
+
|
|
1021
|
+
@media (aspect-ratio <= .26) {
|
|
1041
1022
|
.saves__button-load {
|
|
1042
1023
|
flex-direction: column;
|
|
1043
1024
|
display: flex;
|
|
1044
1025
|
}
|
|
1045
1026
|
}
|
|
1046
1027
|
|
|
1047
|
-
/* src/styles/saves/list/list.css */
|
|
1048
1028
|
.saves__list-container {
|
|
1049
1029
|
justify-content: center;
|
|
1050
1030
|
align-items: center;
|
|
@@ -1053,6 +1033,7 @@ input[name=novely-input][type=checkbox] {
|
|
|
1053
1033
|
display: flex;
|
|
1054
1034
|
overflow: hidden;
|
|
1055
1035
|
}
|
|
1036
|
+
|
|
1056
1037
|
.saves__list {
|
|
1057
1038
|
width: 100%;
|
|
1058
1039
|
height: 80%;
|
|
@@ -1063,33 +1044,37 @@ input[name=novely-input][type=checkbox] {
|
|
|
1063
1044
|
flex-wrap: wrap;
|
|
1064
1045
|
place-content: flex-start;
|
|
1065
1046
|
gap: 1rem;
|
|
1066
|
-
margin-
|
|
1067
|
-
margin-bottom: 0;
|
|
1047
|
+
margin-block: 0;
|
|
1068
1048
|
list-style: none;
|
|
1069
1049
|
display: flex;
|
|
1070
|
-
overflow
|
|
1071
|
-
overflow-y: scroll;
|
|
1050
|
+
overflow: hidden scroll;
|
|
1072
1051
|
touch-action: auto !important;
|
|
1073
1052
|
}
|
|
1053
|
+
|
|
1074
1054
|
.saves__list::-webkit-scrollbar {
|
|
1075
1055
|
width: var(--novely-saves-list-border-width, .875rem);
|
|
1076
1056
|
}
|
|
1057
|
+
|
|
1077
1058
|
.saves__list::-webkit-scrollbar-track {
|
|
1078
1059
|
background-color: var(--novely-scrollbar-track-bg-color, #ffe9f3);
|
|
1079
1060
|
border-radius: var(--novely-scrollbar-track-border-radius, .438rem);
|
|
1080
1061
|
}
|
|
1062
|
+
|
|
1081
1063
|
.saves__list::-webkit-scrollbar-thumb {
|
|
1082
1064
|
background-color: var(--novely-scrollbar-thumb-bg-color, #ff66a8);
|
|
1083
1065
|
border-radius: var(--novely-scrollbar-thumb-border-radius, .438rem);
|
|
1084
1066
|
}
|
|
1067
|
+
|
|
1085
1068
|
.saves__list::-webkit-scrollbar-thumb:hover {
|
|
1086
1069
|
background-color: var(--novely-scrollbar-thumb-hover-bg-color, #ff4596);
|
|
1087
1070
|
}
|
|
1071
|
+
|
|
1088
1072
|
.saves__list--empty {
|
|
1089
1073
|
color: var(--novely-saves-list-empty-color, black);
|
|
1090
1074
|
place-content: center;
|
|
1091
1075
|
align-items: center;
|
|
1092
1076
|
}
|
|
1077
|
+
|
|
1093
1078
|
.saves__list-item {
|
|
1094
1079
|
--saves-list-iframe-border-radius: .4rem;
|
|
1095
1080
|
background-color: var(--novely-saves-list-item-background-color, #ffe9f3);
|
|
@@ -1101,19 +1086,21 @@ input[name=novely-input][type=checkbox] {
|
|
|
1101
1086
|
padding: .4rem;
|
|
1102
1087
|
display: flex;
|
|
1103
1088
|
}
|
|
1104
|
-
|
|
1089
|
+
|
|
1090
|
+
@media only screen and (aspect-ratio >= .8) and (pointer: coarse) {
|
|
1105
1091
|
.saves__list-item {
|
|
1106
1092
|
width: max(22vmin, 50% - 1rem);
|
|
1107
1093
|
}
|
|
1108
1094
|
}
|
|
1095
|
+
|
|
1109
1096
|
.saves__list-item__description {
|
|
1110
1097
|
font-variant-numeric: tabular-nums;
|
|
1111
1098
|
flex-direction: column;
|
|
1112
1099
|
width: 100%;
|
|
1113
1100
|
display: flex;
|
|
1114
1101
|
}
|
|
1102
|
+
|
|
1115
1103
|
.saves__list-item__iframe {
|
|
1116
|
-
-webkit-backdrop-filter: blur();
|
|
1117
1104
|
backdrop-filter: blur();
|
|
1118
1105
|
border-radius: var(--saves-list-iframe-border-radius);
|
|
1119
1106
|
aspect-ratio: 8 / 5;
|
|
@@ -1123,88 +1110,95 @@ input[name=novely-input][type=checkbox] {
|
|
|
1123
1110
|
height: 100%;
|
|
1124
1111
|
display: block;
|
|
1125
1112
|
}
|
|
1113
|
+
|
|
1126
1114
|
.saves__list-item__load {
|
|
1127
1115
|
cursor: pointer;
|
|
1128
1116
|
width: 100%;
|
|
1129
1117
|
position: relative;
|
|
1130
1118
|
}
|
|
1119
|
+
|
|
1131
1120
|
.saves__list-item__overlay {
|
|
1132
1121
|
z-index: 3;
|
|
1133
1122
|
pointer-events: none;
|
|
1134
1123
|
background-color: var(--novely-saves-list-overlay-item-background-color, var(--novely-saves-list-item-background-color, #ffe9f3));
|
|
1135
1124
|
position: absolute;
|
|
1136
|
-
|
|
1137
|
-
bottom: 0;
|
|
1138
|
-
left: 0;
|
|
1139
|
-
right: 0;
|
|
1125
|
+
inset: 0;
|
|
1140
1126
|
}
|
|
1141
|
-
|
|
1142
|
-
.saves__list-item__overlay-exit-active {
|
|
1127
|
+
|
|
1128
|
+
.saves__list-item__overlay-enter-active, .saves__list-item__overlay-exit-active {
|
|
1143
1129
|
transition: opacity .3s, transform .3s;
|
|
1144
1130
|
}
|
|
1145
|
-
|
|
1146
|
-
.saves__list-item__overlay-exit-to {
|
|
1131
|
+
|
|
1132
|
+
.saves__list-item__overlay-enter, .saves__list-item__overlay-exit-to {
|
|
1147
1133
|
opacity: 0;
|
|
1148
1134
|
}
|
|
1149
|
-
|
|
1135
|
+
|
|
1136
|
+
@media (aspect-ratio <= .8) {
|
|
1150
1137
|
.saves__list {
|
|
1151
1138
|
height: 100%;
|
|
1152
|
-
padding-
|
|
1153
|
-
padding-right: .2rem;
|
|
1139
|
+
padding-inline: .2rem;
|
|
1154
1140
|
}
|
|
1141
|
+
|
|
1155
1142
|
.saves__list-container {
|
|
1156
1143
|
margin-top: 1rem;
|
|
1157
1144
|
}
|
|
1145
|
+
|
|
1158
1146
|
.saves__list-item {
|
|
1159
1147
|
flex-direction: column;
|
|
1160
1148
|
width: 100%;
|
|
1161
1149
|
}
|
|
1162
1150
|
}
|
|
1163
|
-
|
|
1151
|
+
|
|
1152
|
+
@media (aspect-ratio <= .26) {
|
|
1164
1153
|
.saves {
|
|
1165
1154
|
padding: 0 .1rem;
|
|
1166
1155
|
}
|
|
1156
|
+
|
|
1167
1157
|
.saves__list {
|
|
1168
1158
|
border-radius: var(--novely-saves-list-border-radius, .438rem);
|
|
1169
1159
|
}
|
|
1160
|
+
|
|
1170
1161
|
.saves__list::-webkit-scrollbar {
|
|
1171
1162
|
width: .438rem;
|
|
1172
1163
|
}
|
|
1164
|
+
|
|
1173
1165
|
.saves__list::-webkit-scrollbar-track {
|
|
1174
1166
|
border-radius: var(--novely-scrollbar-track-border-radius, .22rem);
|
|
1175
1167
|
}
|
|
1168
|
+
|
|
1176
1169
|
.saves__list::-webkit-scrollbar-thumb {
|
|
1177
1170
|
border-radius: var(--novely-scrollbar-thumb-border-radius, .22rem);
|
|
1178
1171
|
}
|
|
1179
1172
|
}
|
|
1173
|
+
|
|
1180
1174
|
@supports ((-moz-appearance: none)) {
|
|
1181
1175
|
.saves__list {
|
|
1182
1176
|
scrollbar-gutter: stable;
|
|
1183
|
-
scrollbar-color: var(--novely-scrollbar-thumb-bg-color, #ff66a8)
|
|
1177
|
+
scrollbar-color: var(--novely-scrollbar-thumb-bg-color, #ff66a8)
|
|
1178
|
+
var(--novely-scrollbar-track-bg-color, #ffcbe1);
|
|
1184
1179
|
padding: 0;
|
|
1185
1180
|
}
|
|
1181
|
+
|
|
1186
1182
|
.saves__list:active {
|
|
1187
|
-
scrollbar-color: var(--novely-scrollbar-thumb-hover-bg-color, #ff4596)
|
|
1183
|
+
scrollbar-color: var(--novely-scrollbar-thumb-hover-bg-color, #ff4596)
|
|
1184
|
+
var(--novely-scrollbar-track-bg-color, #ffcbe1);
|
|
1188
1185
|
}
|
|
1189
1186
|
}
|
|
1190
1187
|
|
|
1191
|
-
/* src/styles/saves/controls/controls.css */
|
|
1192
1188
|
.saves__controls {
|
|
1193
1189
|
flex-flow: column wrap;
|
|
1194
1190
|
align-items: center;
|
|
1195
|
-
padding-
|
|
1191
|
+
padding-block-start: 1rem;
|
|
1196
1192
|
display: flex;
|
|
1197
1193
|
}
|
|
1198
|
-
|
|
1194
|
+
|
|
1195
|
+
@media (aspect-ratio <= .8) {
|
|
1199
1196
|
.saves__controls {
|
|
1200
1197
|
justify-content: center;
|
|
1201
|
-
padding-
|
|
1198
|
+
padding-block-end: 1rem;
|
|
1202
1199
|
}
|
|
1203
1200
|
}
|
|
1204
1201
|
|
|
1205
|
-
/* src/styles/saves/index.css */
|
|
1206
|
-
|
|
1207
|
-
/* src/styles/dialog-overview/dialog-overview.css */
|
|
1208
1202
|
.dialog-overview {
|
|
1209
1203
|
background: #00000085;
|
|
1210
1204
|
border: none;
|
|
@@ -1214,20 +1208,23 @@ input[name=novely-input][type=checkbox] {
|
|
|
1214
1208
|
height: 100%;
|
|
1215
1209
|
overflow: hidden;
|
|
1216
1210
|
}
|
|
1211
|
+
|
|
1217
1212
|
.dialog-overview[open] {
|
|
1218
1213
|
display: flex;
|
|
1219
1214
|
}
|
|
1215
|
+
|
|
1220
1216
|
.dialog-overview:modal {
|
|
1221
1217
|
max-width: 100vw;
|
|
1222
1218
|
max-height: 100vh;
|
|
1223
1219
|
}
|
|
1220
|
+
|
|
1224
1221
|
.dialog-overview::backdrop {
|
|
1225
|
-
-webkit-backdrop-filter: blur(10px);
|
|
1226
1222
|
backdrop-filter: blur(10px);
|
|
1227
1223
|
}
|
|
1224
|
+
|
|
1228
1225
|
.dialog-overview__head {
|
|
1229
1226
|
color: #fff;
|
|
1230
|
-
border-
|
|
1227
|
+
border-block-end: var(--novely-px) solid #ffc7df;
|
|
1231
1228
|
justify-content: space-between;
|
|
1232
1229
|
align-items: center;
|
|
1233
1230
|
gap: 1rem;
|
|
@@ -1236,10 +1233,12 @@ input[name=novely-input][type=checkbox] {
|
|
|
1236
1233
|
padding: .55rem;
|
|
1237
1234
|
display: flex;
|
|
1238
1235
|
}
|
|
1236
|
+
|
|
1239
1237
|
.dialog-overview__head > span {
|
|
1240
1238
|
font-size: 1.25rem;
|
|
1241
1239
|
line-height: 1.2;
|
|
1242
1240
|
}
|
|
1241
|
+
|
|
1243
1242
|
.dialog-overview__body {
|
|
1244
1243
|
width: 100%;
|
|
1245
1244
|
height: calc(100vh - 4rem);
|
|
@@ -1247,43 +1246,52 @@ input[name=novely-input][type=checkbox] {
|
|
|
1247
1246
|
justify-content: center;
|
|
1248
1247
|
align-items: baseline;
|
|
1249
1248
|
display: flex;
|
|
1250
|
-
overflow
|
|
1251
|
-
overflow-y: scroll;
|
|
1249
|
+
overflow: hidden scroll;
|
|
1252
1250
|
}
|
|
1251
|
+
|
|
1253
1252
|
.dialog-overview__body::-webkit-scrollbar {
|
|
1254
1253
|
width: var(--novely-saves-list-border-width, .675rem);
|
|
1255
1254
|
}
|
|
1255
|
+
|
|
1256
1256
|
.dialog-overview__body::-webkit-scrollbar-track {
|
|
1257
1257
|
background-color: var(--novely-scrollbar-track-bg-color, #ffe9f3);
|
|
1258
1258
|
}
|
|
1259
|
+
|
|
1259
1260
|
.dialog-overview__body::-webkit-scrollbar-thumb {
|
|
1260
1261
|
background-color: var(--novely-scrollbar-thumb-bg-color, #ff66a8);
|
|
1261
1262
|
}
|
|
1263
|
+
|
|
1262
1264
|
.dialog-overview__body::-webkit-scrollbar-thumb:hover {
|
|
1263
1265
|
background-color: var(--novely-scrollbar-thumb-hover-bg-color, #ff4596);
|
|
1264
1266
|
}
|
|
1267
|
+
|
|
1265
1268
|
.dialog-overview__list {
|
|
1266
1269
|
border-collapse: separate;
|
|
1267
1270
|
border-spacing: .75rem;
|
|
1268
1271
|
width: 60%;
|
|
1269
1272
|
padding: 1rem;
|
|
1270
1273
|
}
|
|
1274
|
+
|
|
1271
1275
|
.dialog-overview__list-item {
|
|
1272
1276
|
vertical-align: top;
|
|
1273
1277
|
height: 1.2rem;
|
|
1274
1278
|
font-size: 1.45rem;
|
|
1275
1279
|
}
|
|
1280
|
+
|
|
1276
1281
|
.dialog-overview__list-item__name {
|
|
1277
1282
|
color: #ed5c87;
|
|
1278
1283
|
}
|
|
1284
|
+
|
|
1279
1285
|
.dialog-overview__list-item__text {
|
|
1280
1286
|
color: #fff;
|
|
1281
1287
|
}
|
|
1288
|
+
|
|
1282
1289
|
.dialog-overview__button-audio-control {
|
|
1283
1290
|
color: #fff;
|
|
1284
1291
|
width: 2cap;
|
|
1285
1292
|
height: 2cap;
|
|
1286
1293
|
box-shadow: 0 0 0 var(--novely-px) #0003;
|
|
1294
|
+
padding: 0;
|
|
1287
1295
|
cursor: pointer;
|
|
1288
1296
|
background-color: #00000017;
|
|
1289
1297
|
border: none;
|
|
@@ -1293,25 +1301,27 @@ input[name=novely-input][type=checkbox] {
|
|
|
1293
1301
|
padding: .4rem;
|
|
1294
1302
|
display: flex;
|
|
1295
1303
|
}
|
|
1296
|
-
|
|
1304
|
+
|
|
1305
|
+
@media (aspect-ratio <= .8) {
|
|
1297
1306
|
.dialog-overview__list {
|
|
1298
1307
|
width: 100%;
|
|
1299
1308
|
}
|
|
1300
1309
|
}
|
|
1310
|
+
|
|
1301
1311
|
@supports ((-moz-appearance: none)) {
|
|
1302
1312
|
.dialog-overview__body {
|
|
1303
1313
|
scrollbar-gutter: stable;
|
|
1304
|
-
scrollbar-color: var(--novely-scrollbar-thumb-bg-color, #ff66a8)
|
|
1314
|
+
scrollbar-color: var(--novely-scrollbar-thumb-bg-color, #ff66a8)
|
|
1315
|
+
var(--novely-scrollbar-track-bg-color, #ffcbe1);
|
|
1305
1316
|
padding: 0;
|
|
1306
1317
|
}
|
|
1318
|
+
|
|
1307
1319
|
.dialog-overview__body:active {
|
|
1308
|
-
scrollbar-color: var(--novely-scrollbar-thumb-hover-bg-color, #ff4596)
|
|
1320
|
+
scrollbar-color: var(--novely-scrollbar-thumb-hover-bg-color, #ff4596)
|
|
1321
|
+
var(--novely-scrollbar-track-bg-color, #ffcbe1);
|
|
1309
1322
|
}
|
|
1310
1323
|
}
|
|
1324
|
+
|
|
1311
1325
|
[data-dialog-overview-button] {
|
|
1312
1326
|
display: none;
|
|
1313
1327
|
}
|
|
1314
|
-
|
|
1315
|
-
/* src/styles/dialog-overview/index.css */
|
|
1316
|
-
|
|
1317
|
-
/* src/styles/index.css */
|