@novely/solid-renderer 0.0.3 → 0.0.5

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.css DELETED
@@ -1,448 +0,0 @@
1
- /* esbuild-css-modules-plugin-namespace:./src/styles/root.module.css?esbuild-css-modules-plugin-built */
2
- .n-root {
3
- background-position: center;
4
- background-repeat: no-repeat;
5
- background-size: cover;
6
- height: 100vh;
7
- font-family:
8
- ui-sans-serif,
9
- system-ui,
10
- -apple-system,
11
- BlinkMacSystemFont,
12
- Segoe UI,
13
- Roboto,
14
- Helvetica Neue,
15
- Arial,
16
- Noto Sans,
17
- sans-serif,
18
- Apple Color Emoji,
19
- Segoe UI Emoji,
20
- Segoe UI Symbol,
21
- Noto Color Emoji;
22
- font-size: 1em;
23
- }
24
- .n-root * {
25
- box-sizing: border-box;
26
- }
27
-
28
- /* esbuild-css-modules-plugin-namespace:./src/styles/button.module.css?esbuild-css-modules-plugin-built */
29
- .n-button {
30
- background-color: var(--novely-button-background-color, #ffe9f3);
31
- border: 4px solid var(--novely-button-border-color, #ffc7df);
32
- color: var(--novely-button-color, #000);
33
- cursor: pointer;
34
- user-select: none;
35
- margin: .4em 0;
36
- padding: .4em;
37
- font-size: 1.02em;
38
- line-height: 1.2;
39
- }
40
- .n-button:hover {
41
- background-color: var(--novely-button-hover-background-color, #fff);
42
- border-color: var(--novely-button-hover-border-color, #ffc6d8);
43
- color: var(--novely-button-hover-color, #ffb7a2);
44
- }
45
- .n-button[aria-disabled=true] {
46
- cursor: not-allowed;
47
- opacity: .9;
48
- }
49
- .n-buttonInputDialogPanel {
50
- width: fit-content;
51
- padding: .4em .6em;
52
- font-size: 1.2375em;
53
- }
54
- .n-buttonMainMenu,
55
- .n-buttonSaves {
56
- width: 100%;
57
- }
58
- .n-buttonSavesDelete {
59
- margin-left: 1em;
60
- }
61
- .n-buttonSettings {
62
- width: 100%;
63
- }
64
- .n-buttonControlPanel {
65
- border: 2px solid var(--novely-button-border-color, #ffc7df);
66
- height: 2em;
67
- margin: 0;
68
- padding: .2em .4em;
69
- font-size: 1em;
70
- line-height: 1;
71
- }
72
-
73
- /* esbuild-css-modules-plugin-namespace:./src/styles/characters.module.css?esbuild-css-modules-plugin-built */
74
- .n-characters {
75
- z-index: 1;
76
- position: absolute;
77
- inset: 0;
78
- overflow: hidden;
79
- }
80
- .n-characters > canvas {
81
- height: 85vmin;
82
- max-height: 70vh;
83
- position: absolute;
84
- bottom: 0;
85
- }
86
-
87
- /* esbuild-css-modules-plugin-namespace:./src/styles/dialog.module.css?esbuild-css-modules-plugin-built */
88
- .n-dialog {
89
- z-index: 22;
90
- text-align: left;
91
- cursor: default;
92
- user-select: none;
93
- flex-direction: column;
94
- justify-content: flex-end;
95
- width: 75%;
96
- min-height: 26vh;
97
- position: absolute;
98
- bottom: .4em;
99
- left: 50%;
100
- transform: translateX(-50%);
101
- }
102
- .n-dialogContainer {
103
- color: var(--novely-dialog-color, #fff);
104
- border: 3px solid var(--novely-dialog-border-color, #fff);
105
- border-radius: var(--novely-dialog-border-radius, 14px);
106
- box-shadow: 1px 1px 4px var(--novely-dialog-box-shadow-color, #00000072);
107
- background-image: var(--novely-dialog-background-image, radial-gradient(#d6608998 20%, transparent 20%), radial-gradient(#d6608998 20%, transparent 20%));
108
- background-color: var(--novely-dialog-background-color, #f092b4d8);
109
- background-position: var(--novely-dialog-background-position, 0 0, 50px 50px);
110
- background-size: var(--novely-dialog-background-size, 100px 100px);
111
- flex-grow: 1;
112
- grid-template-areas: "n-pers n-text" "n-pers n-text";
113
- height: 100%;
114
- min-height: 18vh;
115
- padding-bottom: 2.8em;
116
- display: grid;
117
- }
118
- .n-dialogPerson {
119
- grid-area: n-pers;
120
- max-width: 25vw;
121
- max-height: 25vh;
122
- }
123
- .n-dialogContainerWithPerson[data-no-person=true] {
124
- grid-template-areas: "n-text n-text" "n-text n-text";
125
- }
126
- .n-dialogContainerWithPerson[data-no-person=true] > .n-dialogPerson {
127
- display: none;
128
- }
129
- .n-dialogName,
130
- .n-dialogContent {
131
- margin: 0;
132
- padding: 1vmin;
133
- display: block;
134
- }
135
- .n-dialogName {
136
- background: #fff;
137
- border-radius: 7px 7px 0 0;
138
- width: fit-content;
139
- margin-left: 5vmin;
140
- font-size: 1.4375em;
141
- line-height: 1.2;
142
- box-shadow: 1px 1px 3px #00000042;
143
- }
144
- .n-dialogContent {
145
- text-shadow:
146
- 1px 1px #000,
147
- -1px -1px #000,
148
- 1px -1px #000,
149
- -1px 1px #000;
150
- grid-area: n-text;
151
- width: 100%;
152
- font-size: 2.2375em;
153
- line-height: 1.2;
154
- }
155
- .n-dialogPerson > canvas,
156
- .n-dialogPerson > img {
157
- height: 100%;
158
- }
159
- @media (width <= 768px) {
160
- .n-dialog {
161
- bottom: 0;
162
- left: unset;
163
- transform: unset;
164
- width: 100%;
165
- }
166
- .n-dialogName {
167
- font-size: 1.02em;
168
- }
169
- .n-dialogContent {
170
- font-size: 1.32em;
171
- }
172
- .n-dialogContainer {
173
- border-radius: 14px 14px 0 0;
174
- }
175
- }
176
-
177
- /* esbuild-css-modules-plugin-namespace:./src/styles/headlessDialog.module.css?esbuild-css-modules-plugin-built */
178
- .n-headlessDialog {
179
- z-index: 20;
180
- position: fixed;
181
- inset: 0;
182
- overflow-y: auto;
183
- }
184
- .n-headlessDialogContainer {
185
- justify-content: center;
186
- align-items: center;
187
- min-height: 100vh;
188
- display: flex;
189
- }
190
- .n-headlessDialogFix {
191
- vertical-align: middle;
192
- height: 100vh;
193
- display: inline-block;
194
- }
195
- .n-headlessDialogPanel {
196
- text-align: left;
197
- z-index: 21;
198
- flex-direction: column;
199
- align-items: stretch;
200
- width: 100%;
201
- max-width: 40vw;
202
- min-height: 40vh;
203
- display: flex;
204
- }
205
- .n-headlessDialogPanelLabel {
206
- user-select: none;
207
- font-size: 1.2375em;
208
- }
209
- @media (width <= 768px) {
210
- .n-headlessDialogPanel {
211
- max-width: 95vw;
212
- }
213
- }
214
- .n-inputDialogLabel {
215
- flex-direction: column;
216
- justify-content: center;
217
- align-items: center;
218
- width: 100%;
219
- font-size: 1.2375em;
220
- display: flex;
221
- }
222
- .n-inputDialogLabel > span {
223
- min-height: 1lh;
224
- margin: .4em 0;
225
- }
226
- .n-inputDialogPanel {
227
- color: #fff;
228
- background-color: #f092b4d8;
229
- background-image: radial-gradient(#d6608998 20%, #0000 20%), radial-gradient(#d6608998 20%, #0000 20%);
230
- background-position: 0 0, 50px 50px;
231
- background-size: 100px 100px;
232
- border: 3px solid #fff;
233
- border-radius: 14px;
234
- justify-content: center;
235
- align-items: center;
236
- box-shadow: 1px 1px 4px #00000072;
237
- }
238
-
239
- /* esbuild-css-modules-plugin-namespace:./src/styles/mainMenu.module.css?esbuild-css-modules-plugin-built */
240
- .n-mainMenu {
241
- z-index: 1;
242
- background-image: var(--novely-main-menu-background-image);
243
- position: absolute;
244
- inset: 0;
245
- overflow: hidden;
246
- }
247
- .n-mainMenu > .n-controls {
248
- flex-direction: column;
249
- justify-content: center;
250
- align-items: center;
251
- width: 30vw;
252
- height: 100%;
253
- padding: 0 1em;
254
- display: flex;
255
- }
256
- @media (width <= 768px) {
257
- .n-mainMenu > .n-controls {
258
- width: 100%;
259
- }
260
- }
261
-
262
- /* esbuild-css-modules-plugin-namespace:./src/styles/saves.module.css?esbuild-css-modules-plugin-built */
263
- .n-saves {
264
- z-index: 1;
265
- background-image: var(--novely-saves-background-image);
266
- display: flex;
267
- position: absolute;
268
- inset: 0;
269
- overflow: hidden;
270
- }
271
- .n-saves > .n-controls {
272
- flex-direction: column;
273
- align-items: center;
274
- width: 30vw;
275
- height: 100%;
276
- padding: 0 1em;
277
- display: flex;
278
- }
279
- .n-saves > .n-list {
280
- flex-direction: column;
281
- align-items: center;
282
- width: 100%;
283
- height: 100%;
284
- padding: 0 1em;
285
- list-style: none;
286
- display: flex;
287
- overflow-y: scroll;
288
- }
289
- .n-saves > .n-list > li {
290
- display: flex;
291
- }
292
- @media (width <= 768px) {
293
- .n-saves {
294
- flex-direction: column;
295
- }
296
- .n-saves > .n-controls {
297
- width: auto;
298
- height: auto;
299
- }
300
- .n-saves > .n-list {
301
- height: auto;
302
- }
303
- }
304
-
305
- /* esbuild-css-modules-plugin-namespace:./src/styles/controlPanel.module.css?esbuild-css-modules-plugin-built */
306
- .n-controlPanel {
307
- z-index: 23;
308
- justify-content: end;
309
- display: flex;
310
- position: absolute;
311
- bottom: .4em;
312
- right: .4em;
313
- }
314
-
315
- /* esbuild-css-modules-plugin-namespace:./src/styles/settings.module.css?esbuild-css-modules-plugin-built */
316
- .n-settings {
317
- z-index: 1;
318
- background-image: var(--novely-settings-background-image);
319
- display: flex;
320
- position: absolute;
321
- inset: 0;
322
- overflow: hidden;
323
- }
324
- .n-settings .n-controls {
325
- flex-direction: column;
326
- justify-content: center;
327
- align-items: center;
328
- width: 30vw;
329
- height: 100%;
330
- padding-left: 1em;
331
- display: flex;
332
- }
333
- .n-content {
334
- flex-direction: column;
335
- flex: 1 1 0;
336
- justify-content: center;
337
- align-items: start;
338
- width: 100%;
339
- height: 100%;
340
- padding-left: 1em;
341
- list-style: none;
342
- display: flex;
343
- }
344
- .n-settings .n-select {
345
- flex-direction: column;
346
- align-items: start;
347
- display: flex;
348
- }
349
- .n-settings .n-select > select {
350
- background-color: var(--novely-select-background-color, #ffe9f3);
351
- border: 4px solid var(--novely-select-border-color, #ffc7df);
352
- color: var(--novely-select-color, #000);
353
- margin: .4em 0;
354
- padding: .4em;
355
- font-size: 1.02em;
356
- }
357
- .n-settings .n-select > label {
358
- color: var(--novely-select-color, #000);
359
- font-size: 1.42em;
360
- }
361
-
362
- /* esbuild-css-modules-plugin-namespace:./src/styles/loading.module.css?esbuild-css-modules-plugin-built */
363
- .n-loading {
364
- z-index: 1;
365
- background: #000;
366
- justify-content: center;
367
- align-items: center;
368
- display: flex;
369
- position: absolute;
370
- inset: 0;
371
- overflow: hidden;
372
- }
373
- .n-lds-ellipsis {
374
- width: 80px;
375
- height: 80px;
376
- display: inline-block;
377
- position: relative;
378
- }
379
- .n-lds-ellipsis div {
380
- background: #fff;
381
- border-radius: 50%;
382
- width: 13px;
383
- height: 13px;
384
- animation-timing-function: cubic-bezier(0, 1, 1, 0);
385
- position: absolute;
386
- top: 33px;
387
- }
388
- .n-lds-ellipsis div:first-child {
389
- animation: .6s infinite n-lds-ellipsis1;
390
- left: 8px;
391
- }
392
- .n-lds-ellipsis div:nth-child(2) {
393
- animation: .6s infinite n-lds-ellipsis2;
394
- left: 8px;
395
- }
396
- .n-lds-ellipsis div:nth-child(3) {
397
- animation: .6s infinite n-lds-ellipsis2;
398
- left: 32px;
399
- }
400
- .n-lds-ellipsis div:nth-child(4) {
401
- animation: .6s infinite n-lds-ellipsis3;
402
- left: 56px;
403
- }
404
- @keyframes n-lds-ellipsis1 {
405
- 0% {
406
- transform: scale(0);
407
- }
408
- 100% {
409
- transform: scale(1);
410
- }
411
- }
412
- @keyframes n-lds-ellipsis3 {
413
- 0% {
414
- transform: scale(1);
415
- }
416
- 100% {
417
- transform: scale(0);
418
- }
419
- }
420
- @keyframes n-lds-ellipsis2 {
421
- 0% {
422
- transform: translate(0);
423
- }
424
- 100% {
425
- transform: translate(24px);
426
- }
427
- }
428
-
429
- /* esbuild-css-modules-plugin-namespace:./src/styles/fullscreenText.module.css?esbuild-css-modules-plugin-built */
430
- .n-fullscreenText {
431
- z-index: 2;
432
- text-align: center;
433
- justify-content: center;
434
- align-items: center;
435
- font-size: 1.5em;
436
- display: none;
437
- position: absolute;
438
- inset: 0;
439
- }
440
- .n-fullscreenText[data-fullscreen-text-shown=true] {
441
- background: var(--novely-fullscreen-backgroun-color, #0000004d);
442
- text-shadow: var(--novely-fullscreen-text-shadow, 2px 2px 4px #00000080);
443
- color: var(--novely-fullscreen-text-color, white);
444
- display: flex;
445
- }
446
- .n-fullscreenText[data-fullscreen-text-shown=true] > span {
447
- cursor: pointer;
448
- }
@@ -1,2 +0,0 @@
1
- import style from './root.module.css';
2
- export { style };