BlueGit

timfa questward

Files

questward / client / ui / editor.css

editor.css

editor.css 29.9 KiB Download Raw
1:root {
2 color-scheme: dark;
3 font-family: "Segoe UI", sans-serif;
4 background: #12151b;
5 color: #e8e4d9;
6}
7
8html,
9body {
10 margin: 0;
11 min-height: 100%;
12}
13
14body>header {
15 display: flex;
16 align-items: flex-start;
17 justify-content: space-between;
18 gap: 1rem;
19 padding: 0.6rem 1rem;
20 border-bottom: 1px solid #2c3340;
21}
22
23.editor-header-main {
24 min-width: 0;
25 flex: 1 1 auto;
26}
27
28.editor-header-main h1,
29.editor-header-main p {
30 margin: 0.15rem 0;
31}
32
33#editor-restart-now {
34 flex: 0 0 auto;
35 margin-top: 0.15rem;
36 padding: 0.35rem 0.65rem;
37 border: 1px solid #7a4a4a;
38 border-radius: 0.35rem;
39 background: #2a1818;
40 color: #f0c8c8;
41 font: inherit;
42 cursor: pointer;
43 white-space: nowrap;
44}
45
46#editor-restart-now:hover:not(:disabled) {
47 background: #3a2020;
48}
49
50#editor-restart-now:disabled {
51 opacity: 0.55;
52 cursor: default;
53}
54
55#editor-restart-now[hidden] {
56 display: none !important;
57}
58
59body>aside {
60 position: absolute;
61 left: 0;
62 top: 56px;
63 width: 250px;
64 bottom: 0;
65 overflow: auto;
66 padding: 0.75rem;
67 box-sizing: border-box;
68 background: #1a1e26;
69 border-right: 1px solid #2c3340;
70}
71
72#side-panels {
73 position: absolute;
74 right: 0;
75 top: 56px;
76 width: 320px;
77 bottom: 0;
78 display: flex;
79 flex-direction: column;
80 box-sizing: border-box;
81 background: #1a1e26;
82 border-left: 1px solid #2c3340;
83}
84
85.side-panel-tabs {
86 display: flex;
87 gap: 0;
88 border-bottom: 1px solid #2c3340;
89 flex: 0 0 auto;
90}
91
92.side-panel-tab {
93 flex: 1 1 0;
94 border: 0;
95 border-radius: 0;
96 background: transparent;
97 color: #9aa3b2;
98 padding: 0.55rem 0.4rem;
99 cursor: pointer;
100}
101
102.side-panel-tab.active {
103 color: #e8e4d9;
104 background: #222833;
105 box-shadow: inset 0 -2px 0 #6a8cbf;
106}
107
108.side-panel-body {
109 flex: 1 1 auto;
110 min-height: 0;
111 overflow: auto;
112 padding: 0.75rem;
113 box-sizing: border-box;
114}
115
116#editor-console {
117 margin: 0;
118 padding: 0.4rem;
119 min-height: 12rem;
120 max-height: calc(100% - 2.5rem);
121 overflow: auto;
122 font: 0.72rem/1.35 ui-monospace, Consolas, monospace;
123 white-space: pre-wrap;
124 word-break: break-word;
125 background: #0e1116;
126 border: 1px solid #2c3340;
127 color: #c8d0dc;
128}
129
130#editor-console .console-warn {
131 color: #e0c070;
132}
133
134#editor-console .console-error {
135 color: #f0a0a0;
136}
137
138#editor-console .console-debug {
139 color: #7a8494;
140}
141
142#console-clear {
143 margin-top: 0.5rem;
144 width: 100%;
145}
146
147.nav,
148.palette {
149 display: flex;
150 flex-direction: column;
151 gap: 0.35rem;
152 margin: 0.75rem 0;
153}
154
155.dimension-picker {
156 margin: 0.75rem 0 0.35rem;
157 display: flex;
158 flex-direction: column;
159 gap: 0.35rem;
160}
161
162.dimension-picker>label,
163.dimension-picker-label {
164 font-size: 0.85rem;
165 color: #9aa3b2;
166}
167
168.dim-combo {
169 position: relative;
170 display: flex;
171 align-items: stretch;
172}
173
174.dim-combo-input {
175 flex: 1 1 auto;
176 width: 0;
177 min-width: 0;
178 box-sizing: border-box;
179}
180
181.dim-combo-toggle {
182 flex: 0 0 auto;
183 padding: 0 0.45rem;
184 border: 1px solid #3a4250;
185 border-left: none;
186 background: #1a1f28;
187 color: #c8d0dc;
188 cursor: pointer;
189}
190
191.dim-combo-toggle:hover {
192 background: #243044;
193}
194
195.dim-combo-list {
196 position: absolute;
197 left: 0;
198 right: 0;
199 top: calc(100% + 2px);
200 z-index: 20;
201 margin: 0;
202 padding: 0.2rem 0;
203 list-style: none;
204 max-height: 220px;
205 overflow: auto;
206 background: #101216;
207 border: 1px solid #3a4250;
208 box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
209}
210
211.dim-combo-option,
212.dim-combo-empty {
213 display: flex;
214 flex-direction: column;
215 gap: 0.1rem;
216 padding: 0.35rem 0.55rem;
217 cursor: pointer;
218}
219
220.dim-combo-option:hover,
221.dim-combo-option.selected {
222 background: #243044;
223}
224
225.dim-combo-option.disabled {
226 opacity: 0.55;
227}
228
229.dim-combo-option.create {
230 color: #b8d4a0;
231 border-top: 1px solid #2c3340;
232}
233
234.dim-combo-option-hint,
235.dim-combo-empty {
236 font-size: 0.78rem;
237 color: #9aa3b2;
238}
239
240.dimension-settings {
241 display: flex;
242 flex-direction: column;
243 gap: 0.45rem;
244 margin: 0.5rem 0 0.85rem;
245 padding: 0.55rem 0.6rem;
246 border: 1px solid #2c3340;
247 background: #151922;
248}
249
250.dimension-settings label {
251 display: flex;
252 flex-direction: column;
253 gap: 0.2rem;
254 font-size: 0.85rem;
255 color: #9aa3b2;
256}
257
258.dimension-settings input,
259.dimension-settings select {
260 width: 100%;
261 box-sizing: border-box;
262}
263
264.dimension-settings-actions {
265 display: flex;
266 flex-wrap: wrap;
267 gap: 0.35rem;
268}
269
270#dim-delete {
271 border-color: #8a3a3a;
272 color: #f0a0a0;
273}
274
275button,
276input {
277 font: inherit;
278 background: #101216;
279 color: inherit;
280 border: 1px solid #3a4250;
281 padding: 0.3rem 0.5rem;
282}
283
284button {
285 cursor: pointer;
286}
287
288button:disabled {
289 opacity: 0.45;
290 cursor: not-allowed;
291}
292
293#save.save-dirty:not(:disabled) {
294 animation: save-pulse 1.1s ease-in-out infinite;
295 border-color: #c9a227;
296 box-shadow: 0 0 0 1px rgba(201, 162, 39, 0.35);
297}
298
299@keyframes save-pulse {
300
301 0%,
302 100% {
303 opacity: 1;
304 }
305
306 50% {
307 opacity: 0.55;
308 }
309}
310
311#unsaved-chunk-backdrop {
312 position: fixed;
313 inset: 0;
314 background: rgba(0, 0, 0, 0.62);
315 z-index: 29;
316}
317
318#unsaved-chunk-modal {
319 position: fixed;
320 left: 50%;
321 top: 50%;
322 transform: translate(-50%, -50%);
323 z-index: 30;
324 width: min(420px, 92vw);
325 padding: 1rem 1.1rem;
326 background: #161a22;
327 border: 1px solid #3a4250;
328 box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
329}
330
331#unsaved-chunk-modal header {
332 margin: 0 0 0.5rem;
333 padding: 0;
334 border: 0;
335}
336
337#unsaved-chunk-modal h2 {
338 margin: 0;
339 font-size: 1.1rem;
340}
341
342#dimension-settings-backdrop {
343 position: fixed;
344 inset: 0;
345 background: rgba(0, 0, 0, 0.62);
346 z-index: 29;
347}
348
349#dimension-settings-modal {
350 position: fixed;
351 left: 50%;
352 top: 50%;
353 transform: translate(-50%, -50%);
354 z-index: 30;
355 width: min(420px, 92vw);
356 padding: 1rem 1.1rem;
357 background: #161a22;
358 border: 1px solid #3a4250;
359 box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
360}
361
362#dimension-settings-modal header {
363 display: flex;
364 align-items: center;
365 justify-content: space-between;
366 gap: 0.75rem;
367 margin: 0 0 0.75rem;
368 padding: 0;
369 border: 0;
370}
371
372#dimension-settings-modal h2 {
373 margin: 0;
374 font-size: 1.1rem;
375}
376
377#dimension-settings-modal .dimension-settings {
378 margin: 0;
379 padding: 0;
380 border: 0;
381 background: transparent;
382}
383
384.unsaved-chunk-actions {
385 display: flex;
386 justify-content: flex-end;
387 gap: 0.5rem;
388 margin-top: 1rem;
389}
390
391#apply-status.ok {
392 color: #b8d4a0;
393}
394
395.error {
396 color: #f0a0a0;
397}
398
399.hint {
400 color: #9aa3b2;
401 font-size: 0.85rem;
402}
403
404.open-toggle {
405 display: flex;
406 gap: 0.4rem;
407 align-items: center;
408}
409
410article {
411 margin-bottom: 0.75rem;
412}
413
414fieldset {
415 border-color: #3a4250;
416 margin-top: 1rem;
417}
418
419#selection-border {
420 position: fixed;
421 pointer-events: none;
422 box-sizing: border-box;
423 border: 2px solid #e23d3d;
424 box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.55);
425 z-index: 4;
426}
427
428label {
429 display: block;
430 margin: 0.4rem 0;
431}
432
433#settings-backdrop {
434 position: fixed;
435 inset: 0;
436 background: rgba(0, 0, 0, 0.62);
437 z-index: 19;
438}
439
440#settings-modal {
441 position: fixed;
442 inset: 4vh 4vw;
443 z-index: 20;
444 display: flex;
445 background: #161a22;
446 border: 1px solid #3a4250;
447 box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
448}
449
450#settings-modal[hidden],
451#settings-backdrop[hidden] {
452 display: none !important;
453}
454
455#settings-main {
456 flex: 1;
457 min-width: 0;
458 display: flex;
459 flex-direction: column;
460}
461
462#settings-main header,
463#settings-main footer {
464 display: flex;
465 align-items: center;
466 justify-content: space-between;
467 gap: 0.75rem;
468 padding: 0.75rem 1rem;
469 border-bottom: 1px solid #2c3340;
470}
471
472#settings-main footer {
473 border-bottom: 0;
474 border-top: 1px solid #2c3340;
475}
476
477#settings-form {
478 flex: 1;
479 overflow: auto;
480 padding: 0;
481 display: flex;
482 flex-direction: column;
483 min-height: 0;
484}
485
486.settings-tabs {
487 display: flex;
488 flex-wrap: wrap;
489 gap: 0.25rem;
490 padding: 0.65rem 1rem 0.5rem;
491 border-bottom: 1px solid #2c3340;
492 background: #12151c;
493}
494
495.settings-tab {
496 appearance: none;
497 border: 1px solid transparent;
498 background: transparent;
499 color: #a8a295;
500 padding: 0.35rem 0.7rem;
501 border-radius: 4px;
502 cursor: pointer;
503 font: inherit;
504}
505
506.settings-tab:hover {
507 color: #e8e2d4;
508 background: #1c222c;
509}
510
511.settings-tab.active {
512 color: #1a1510;
513 background: #d4c48a;
514 border-color: #d4c48a;
515}
516
517.settings-panels {
518 flex: 1;
519 overflow: auto;
520 padding: 0.75rem 1rem 1.25rem;
521}
522
523.settings-category {
524 margin-bottom: 0;
525}
526
527.settings-category h3 {
528 margin: 0 0 0.5rem;
529 font-size: 0.95rem;
530 color: #d4c48a;
531 border-bottom: 1px solid #2c3340;
532 padding-bottom: 0.25rem;
533}
534
535.setting-row {
536 display: grid;
537 grid-template-columns: minmax(12rem, 1fr) minmax(8rem, 14rem) 4rem;
538 gap: 0.4rem 0.75rem;
539 align-items: center;
540 padding: 0.45rem 0.5rem;
541 margin: 0.2rem 0;
542 border-radius: 4px;
543}
544
545.setting-row .hint {
546 grid-column: 1 / -1;
547 margin: 0;
548}
549
550.setting-row.dirty {
551 background: #4a3d18;
552 box-shadow: inset 0 0 0 1px #c4a35a;
553}
554
555.setting-value {
556 font-variant-numeric: tabular-nums;
557 color: #c5c0b4;
558}
559
560.seed-price-panel {
561 display: flex;
562 flex-direction: column;
563 gap: 0.65rem;
564 min-height: 0;
565}
566
567.seed-price-toolbar {
568 display: flex;
569 flex-wrap: wrap;
570 gap: 0.55rem 0.75rem;
571 align-items: center;
572}
573
574.seed-price-search {
575 flex: 1 1 12rem;
576 min-width: 10rem;
577 padding: 0.4rem 0.55rem;
578 background: #10141b;
579 border: 1px solid #3a4250;
580 color: #e8e4d9;
581 font: inherit;
582}
583
584.seed-price-meta {
585 flex: 0 0 auto;
586}
587
588.seed-price-pager {
589 display: flex;
590 align-items: center;
591 gap: 0.45rem;
592 margin-left: auto;
593}
594
595.seed-price-pager button {
596 appearance: none;
597 border: 1px solid #3a4250;
598 background: #1c222c;
599 color: #e8e4d9;
600 padding: 0.3rem 0.55rem;
601 cursor: pointer;
602 font: inherit;
603}
604
605.seed-price-pager button:disabled {
606 opacity: 0.4;
607 cursor: default;
608}
609
610.seed-price-header,
611.seed-price-row {
612 display: grid;
613 grid-template-columns: minmax(10rem, 1.6fr) 6.5rem 5.5rem 5.5rem;
614 gap: 0.5rem 0.65rem;
615 align-items: center;
616}
617
618.seed-price-header {
619 padding: 0.25rem 0.4rem;
620 color: #a8a295;
621 font-size: 0.78rem;
622 text-transform: uppercase;
623 letter-spacing: 0.04em;
624 border-bottom: 1px solid #2c3340;
625}
626
627.seed-price-list {
628 display: flex;
629 flex-direction: column;
630 gap: 0.25rem;
631}
632
633.seed-price-row {
634 padding: 0.4rem;
635 border-radius: 4px;
636}
637
638.seed-price-row.dirty {
639 background: #4a3d18;
640 box-shadow: inset 0 0 0 1px #c4a35a;
641}
642
643.seed-price-name {
644 display: flex;
645 flex-direction: column;
646 gap: 0.1rem;
647 min-width: 0;
648}
649
650.seed-price-name strong {
651 overflow: hidden;
652 text-overflow: ellipsis;
653 white-space: nowrap;
654}
655
656.seed-price-name small {
657 color: #8b8790;
658 font-size: 0.75rem;
659}
660
661.seed-price-seed {
662 display: flex;
663 flex-direction: column;
664 gap: 0.15rem;
665 font-size: 0.75rem;
666 color: #a8a295;
667}
668
669.seed-price-seed input {
670 width: 100%;
671 padding: 0.3rem 0.4rem;
672 background: #10141b;
673 border: 1px solid #3a4250;
674 color: #e8e4d9;
675 font: inherit;
676}
677
678.seed-price-readonly {
679 display: flex;
680 flex-direction: column;
681 gap: 0.15rem;
682 font-size: 0.75rem;
683 color: #a8a295;
684}
685
686.seed-price-readonly strong {
687 font-size: 0.95rem;
688 color: #e8e4d9;
689 font-variant-numeric: tabular-nums;
690}
691
692.seed-price-readonly strong.muted {
693 color: #6d6875;
694}
695
696.starter-equipment-panel h3 {
697 margin: 0.85rem 0 0.4rem;
698 font-size: 0.85rem;
699 text-transform: uppercase;
700 letter-spacing: 0.03em;
701 color: #9aa3b2;
702}
703
704.starter-equip-list,
705.starter-inv-list {
706 display: flex;
707 flex-direction: column;
708 gap: 0.4rem;
709}
710
711.starter-equip-row {
712 display: grid;
713 grid-template-columns: 5.5rem 1fr;
714 gap: 0.5rem;
715 align-items: center;
716}
717
718.starter-equip-row.dirty select,
719.starter-inv-row.dirty select,
720.starter-inv-row.dirty input {
721 border-color: #c4a35a;
722}
723
724.starter-inv-row {
725 display: grid;
726 grid-template-columns: 1fr 4.5rem auto;
727 gap: 0.4rem;
728 align-items: center;
729}
730
731.initial-quests-panel .hint {
732 margin: 0 0 0.6rem;
733}
734
735.initial-quests-list {
736 display: flex;
737 flex-direction: column;
738 gap: 0.4rem;
739 margin-bottom: 0.6rem;
740}
741
742.initial-quest-row {
743 display: grid;
744 grid-template-columns: 1fr auto;
745 gap: 0.4rem;
746 align-items: center;
747}
748
749.equip-stats-panel {
750 display: flex;
751 flex-direction: column;
752 gap: 0.75rem;
753 min-width: 0;
754}
755
756.equip-stats-toolbar {
757 display: flex;
758 flex-wrap: wrap;
759 gap: 0.75rem;
760 align-items: center;
761}
762
763.equip-stats-category-label {
764 display: flex;
765 align-items: center;
766 gap: 0.5rem;
767 font-size: 0.85rem;
768 color: #c5ccd8;
769}
770
771.equip-stats-category {
772 min-width: 12rem;
773}
774
775.equip-stats-tables {
776 display: flex;
777 flex-direction: column;
778 gap: 1rem;
779 overflow: auto;
780 max-height: min(62vh, 640px);
781}
782
783.equip-stats-table-wrap {
784 overflow: auto;
785}
786
787.equip-stats-table {
788 border-collapse: collapse;
789 width: max-content;
790 min-width: 100%;
791 font-size: 0.8rem;
792}
793
794.equip-stats-table th,
795.equip-stats-table td {
796 border: 1px solid #2c3340;
797 padding: 0.35rem 0.45rem;
798 vertical-align: middle;
799 text-align: center;
800}
801
802.equip-stats-table th {
803 background: #1a1f28;
804 color: #9aa3b2;
805 font-weight: 600;
806 position: sticky;
807 top: 0;
808 z-index: 1;
809}
810
811.equip-stats-table th:first-child,
812.equip-stats-table td.equip-stats-item {
813 position: sticky;
814 left: 0;
815 z-index: 2;
816 background: #151922;
817 text-align: left;
818 min-width: 9rem;
819}
820
821.equip-stats-table th:first-child {
822 z-index: 3;
823}
824
825.equip-stats-item {
826 display: flex;
827 align-items: center;
828 gap: 0.45rem;
829 white-space: nowrap;
830}
831
832.equip-stats-icon {
833 image-rendering: pixelated;
834 flex-shrink: 0;
835 background: #0e1218;
836 border: 1px solid #2c3340;
837}
838
839.equip-stats-cell.empty {
840 color: #5c6575;
841}
842
843.equip-stats-cell-inner {
844 display: flex;
845 flex-direction: column;
846 gap: 0.25rem;
847 align-items: stretch;
848}
849
850.equip-stats-stat {
851 display: flex;
852 align-items: center;
853 gap: 0.3rem;
854 margin: 0;
855}
856
857.equip-stats-stat img {
858 flex-shrink: 0;
859}
860
861.equip-stats-stat input {
862 width: 3.2rem;
863 padding: 0.15rem 0.25rem;
864}
865
866.equip-stats-stat.dirty input {
867 border-color: #c4a35a;
868}
869
870#settings-log-wrap {
871 width: min(340px, 32vw);
872 flex-shrink: 0;
873 border-left: 1px solid #2c3340;
874 display: flex;
875 flex-direction: column;
876 background: #1a1e26;
877}
878
879#settings-log-wrap h2 {
880 margin: 0;
881 padding: 0.75rem 1rem;
882 border-bottom: 1px solid #2c3340;
883 font-size: 1rem;
884}
885
886#settings-log {
887 flex: 1;
888 overflow: auto;
889 padding: 0.75rem 1rem;
890}
891
892#palette-backdrop,
893#tile-config-backdrop {
894 position: fixed;
895 inset: 0;
896 background: rgba(0, 0, 0, 0.62);
897 z-index: 19;
898}
899
900#palette-modal,
901#tile-config-modal {
902 position: fixed;
903 z-index: 20;
904 display: flex;
905 flex-direction: column;
906 background: #161a22;
907 border: 1px solid #3a4250;
908 box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
909}
910
911#palette-modal {
912 inset: 8vh 12vw;
913}
914
915#tile-config-modal {
916 top: 10vh;
917 left: 50%;
918 transform: translateX(-50%);
919 width: min(440px, 92vw);
920 max-height: 80vh;
921}
922
923#palette-modal[hidden],
924#palette-backdrop[hidden],
925#tile-config-modal[hidden],
926#tile-config-backdrop[hidden],
927#tile-tooltip[hidden] {
928 display: none !important;
929}
930
931#palette-modal>header,
932#tile-config-modal>header,
933#tile-config-modal>footer {
934 display: flex;
935 align-items: center;
936 justify-content: space-between;
937 gap: 0.75rem;
938 padding: 0.75rem 1rem;
939 border-bottom: 1px solid #2c3340;
940}
941
942#tile-config-modal>footer {
943 border-bottom: 0;
944 border-top: 1px solid #2c3340;
945}
946
947#palette-panels {
948 flex: 1;
949 overflow: auto;
950 padding: 0.75rem 1rem 1.25rem;
951}
952
953.palette-grid {
954 display: grid;
955 grid-template-columns: repeat(auto-fill, minmax(7.5rem, 1fr));
956 gap: 0.6rem;
957}
958
959.palette-card {
960 display: flex;
961 flex-direction: column;
962 align-items: center;
963 gap: 0.35rem;
964 padding: 0.55rem 0.4rem;
965 min-height: 6.5rem;
966}
967
968.palette-thumb {
969 width: 48px;
970 height: 48px;
971 display: grid;
972 place-items: center;
973 background: #0d1016;
974 border: 1px solid #2c3340;
975 image-rendering: pixelated;
976 font-weight: 600;
977 color: #9aa3b2;
978}
979
980.palette-thumb img {
981 width: 100%;
982 height: 100%;
983 object-fit: contain;
984 image-rendering: pixelated;
985}
986
987#tile-config-form {
988 padding: 0.75rem 1rem 1rem;
989 display: flex;
990 flex-direction: column;
991 gap: 0.35rem;
992 flex: 1;
993 min-height: 0;
994 overflow: auto;
995 max-height: min(70vh, 640px);
996}
997
998#tile-config-form .tile-config-hint {
999 margin: 0;
1000 opacity: 0.85;
1001 font-size: 0.9rem;
1002}
1003
1004#tile-config-form .door-requirements-when {
1005 display: flex;
1006 flex-direction: column;
1007 gap: 0.5rem;
1008}
1009
1010.spawner-sells-header {
1011 display: flex;
1012 align-items: center;
1013 justify-content: space-between;
1014 gap: 0.5rem;
1015 margin-top: 0.55rem;
1016}
1017
1018.spawner-sells-list {
1019 display: flex;
1020 flex-direction: column;
1021 gap: 0.35rem;
1022}
1023
1024.spawner-sells-row {
1025 display: grid;
1026 grid-template-columns: 1fr 4.5rem auto;
1027 gap: 0.4rem;
1028 align-items: center;
1029}
1030
1031.spawner-drops-row {
1032 display: grid;
1033 grid-template-columns: 1fr 3.5rem 3.5rem 4.5rem auto;
1034 gap: 0.4rem;
1035 align-items: center;
1036}
1037
1038.spawner-sells-name {
1039 overflow: hidden;
1040 text-overflow: ellipsis;
1041 white-space: nowrap;
1042}
1043
1044.spawner-drops-chance {
1045 display: flex;
1046 align-items: center;
1047 gap: 0.2rem;
1048}
1049
1050.spawner-drops-chance input {
1051 width: 100%;
1052 min-width: 0;
1053}
1054
1055.spawner-equip-list {
1056 display: flex;
1057 flex-direction: column;
1058 gap: 0.35rem;
1059}
1060
1061.spawner-equip-row {
1062 display: grid;
1063 grid-template-columns: 4.5rem 1fr auto auto auto;
1064 gap: 0.35rem;
1065 align-items: center;
1066}
1067
1068.spawner-equip-slot {
1069 text-transform: capitalize;
1070 color: #9aa3b2;
1071 font-size: 0.85rem;
1072}
1073
1074.spawner-equip-name {
1075 overflow: hidden;
1076 text-overflow: ellipsis;
1077 white-space: nowrap;
1078}
1079
1080.spawner-equip-dye-swatch {
1081 display: inline-block;
1082 width: 0.85rem;
1083 height: 0.85rem;
1084 margin-right: 0.35rem;
1085 border: 1px solid #3a4250;
1086 vertical-align: -0.1rem;
1087 border-radius: 2px;
1088}
1089
1090#equip-dye-backdrop {
1091 position: fixed;
1092 inset: 0;
1093 background: rgba(0, 0, 0, 0.55);
1094 z-index: 23;
1095}
1096
1097#equip-dye-modal {
1098 position: fixed;
1099 z-index: 24;
1100 top: 18vh;
1101 left: 50%;
1102 transform: translateX(-50%);
1103 width: min(340px, 90vw);
1104 display: flex;
1105 flex-direction: column;
1106 background: #161a22;
1107 border: 1px solid #3a4250;
1108 box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
1109}
1110
1111#equip-dye-modal[hidden],
1112#equip-dye-backdrop[hidden] {
1113 display: none !important;
1114}
1115
1116#equip-dye-modal>header {
1117 display: flex;
1118 align-items: center;
1119 justify-content: space-between;
1120 gap: 0.75rem;
1121 padding: 0.75rem 1rem;
1122 border-bottom: 1px solid #2c3340;
1123}
1124
1125.equip-dye-body {
1126 padding: 0.85rem 1rem 1rem;
1127 display: flex;
1128 flex-direction: column;
1129 gap: 0.55rem;
1130}
1131
1132.equip-dye-preview {
1133 height: 3rem;
1134 border: 1px solid #3a4250;
1135 border-radius: 4px;
1136 background: #c85078;
1137}
1138
1139.equip-dye-channel {
1140 display: grid;
1141 grid-template-columns: 1.25rem 1fr 3.5rem;
1142 gap: 0.4rem;
1143 align-items: center;
1144 font-size: 0.85rem;
1145 color: #9aa3b2;
1146}
1147
1148.equip-dye-channel input[type="number"] {
1149 width: 100%;
1150}
1151
1152.equip-dye-actions {
1153 display: flex;
1154 justify-content: flex-end;
1155 gap: 0.4rem;
1156 margin-top: 0.25rem;
1157}
1158
1159.spawner-buys-row {
1160 display: flex;
1161 align-items: center;
1162 gap: 0.4rem;
1163 margin-top: 0.45rem;
1164}
1165
1166#shop-item-search-backdrop {
1167 position: fixed;
1168 inset: 0;
1169 background: rgba(0, 0, 0, 0.55);
1170 z-index: 21;
1171}
1172
1173#shop-item-search-modal {
1174 position: fixed;
1175 z-index: 22;
1176 top: 18vh;
1177 left: 50%;
1178 transform: translateX(-50%);
1179 width: min(420px, 92vw);
1180 max-height: 70vh;
1181 display: flex;
1182 flex-direction: column;
1183 background: #161a22;
1184 border: 1px solid #3a4250;
1185 box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
1186}
1187
1188#shop-item-search-modal[hidden],
1189#shop-item-search-backdrop[hidden] {
1190 display: none !important;
1191}
1192
1193#shop-item-search-modal>header {
1194 display: flex;
1195 align-items: center;
1196 justify-content: space-between;
1197 gap: 0.75rem;
1198 padding: 0.75rem 1rem;
1199 border-bottom: 1px solid #2c3340;
1200}
1201
1202#shop-item-search-modal>.shop-item-search-body {
1203 padding: 0.75rem 1rem 1rem;
1204 display: flex;
1205 flex-direction: column;
1206 gap: 0.5rem;
1207 min-height: 0;
1208 overflow: hidden;
1209}
1210
1211#shop-item-search-results {
1212 overflow: auto;
1213 max-height: 40vh;
1214 display: flex;
1215 flex-direction: column;
1216 gap: 0.25rem;
1217}
1218
1219.shop-item-search-row {
1220 text-align: left;
1221 padding: 0.4rem 0.5rem;
1222 display: flex;
1223 flex-direction: column;
1224 align-items: flex-start;
1225 gap: 0.1rem;
1226}
1227
1228.shop-item-search-row-name {
1229 font: inherit;
1230 color: inherit;
1231}
1232
1233.shop-item-search-row-key {
1234 font-size: 0.78rem;
1235 color: #9aa3b2;
1236}
1237
1238.shop-item-search-footer {
1239 display: flex;
1240 align-items: center;
1241 justify-content: space-between;
1242 gap: 0.5rem;
1243 flex-shrink: 0;
1244}
1245
1246#shop-item-search-page {
1247 flex: 1;
1248 text-align: center;
1249 font-variant-numeric: tabular-nums;
1250}
1251
1252#tile-tooltip {
1253 position: fixed;
1254 z-index: 15;
1255 pointer-events: none;
1256 max-width: 16rem;
1257 padding: 0.4rem 0.55rem;
1258 background: rgba(12, 14, 18, 0.92);
1259 border: 1px solid #3a4250;
1260 color: #e8e4d9;
1261 font-size: 0.8rem;
1262 white-space: pre-wrap;
1263 box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
1264}
1265
1266#hover-status {
1267 position: fixed;
1268 left: 250px;
1269 right: 280px;
1270 bottom: 0;
1271 z-index: 5;
1272 margin: 0;
1273 padding: 0.35rem 0.75rem;
1274 border-top: 1px solid #2c3340;
1275 background: #1a1e26;
1276 color: #c5c9d2;
1277 font-size: 0.85rem;
1278 pointer-events: none;
1279}
1280
1281#hover-status-text {
1282 font-variant-numeric: tabular-nums;
1283}
1284
1285
1286#quests-backdrop,
1287#dialogues-backdrop,
1288#gifts-backdrop,
1289#dialogue-tokens-backdrop {
1290 position: fixed;
1291 inset: 0;
1292 background: rgba(0, 0, 0, 0.62);
1293 z-index: 19;
1294}
1295
1296#dialogue-tokens-backdrop {
1297 z-index: 21;
1298}
1299
1300#dialogue-tokens-modal {
1301 z-index: 22;
1302 inset: 12vh 18vw;
1303 max-width: 720px;
1304 margin: 0 auto;
1305}
1306
1307#quests-modal,
1308#dialogues-modal,
1309#gifts-modal,
1310#dialogue-tokens-modal,
1311#global-changelog-modal {
1312 position: fixed;
1313 inset: 5vh 5vw;
1314 z-index: 20;
1315 display: flex;
1316 flex-direction: column;
1317 background: #161a22;
1318 border: 1px solid #3a4250;
1319 box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
1320}
1321
1322#quests-modal,
1323#dialogues-modal {
1324 flex-direction: row;
1325}
1326
1327#quests-main,
1328#dialogues-main {
1329 flex: 1;
1330 min-width: 0;
1331 display: flex;
1332 flex-direction: column;
1333}
1334
1335#quests-modal[hidden],
1336#quests-backdrop[hidden],
1337#dialogues-modal[hidden],
1338#dialogues-backdrop[hidden],
1339#gifts-modal[hidden],
1340#gifts-backdrop[hidden],
1341#dialogue-tokens-modal[hidden],
1342#dialogue-tokens-backdrop[hidden],
1343#global-changelog-modal[hidden],
1344#global-changelog-backdrop[hidden] {
1345 display: none !important;
1346}
1347
1348#global-changelog-backdrop {
1349 position: fixed;
1350 inset: 0;
1351 background: rgba(0, 0, 0, 0.62);
1352 z-index: 19;
1353}
1354
1355#global-changelog-modal {
1356 inset: 6vh 8vw;
1357}
1358
1359#global-changelog-modal>header {
1360 display: flex;
1361 align-items: center;
1362 justify-content: space-between;
1363 gap: 0.75rem;
1364 padding: 0.75rem 1rem;
1365 border-bottom: 1px solid #2c3340;
1366}
1367
1368.global-changelog-body {
1369 flex: 1;
1370 min-height: 0;
1371 overflow: auto;
1372 padding: 0.75rem 1rem 1rem;
1373}
1374
1375.content-editor-log-wrap {
1376 width: min(320px, 30vw);
1377 flex-shrink: 0;
1378 border-left: 1px solid #2c3340;
1379 display: flex;
1380 flex-direction: column;
1381 background: #1a1e26;
1382}
1383
1384.content-editor-log-wrap h2 {
1385 margin: 0;
1386 padding: 0.75rem 1rem;
1387 border-bottom: 1px solid #2c3340;
1388 font-size: 1rem;
1389}
1390
1391#quests-log,
1392#dialogues-log {
1393 flex: 1;
1394 overflow: auto;
1395 padding: 0.75rem 1rem;
1396}
1397
1398#quests-main>header,
1399#dialogues-main>header,
1400#gifts-modal>header,
1401#dialogue-tokens-modal>header,
1402#quests-main>footer,
1403#dialogues-main>footer {
1404 display: flex;
1405 align-items: center;
1406 justify-content: space-between;
1407 gap: 0.75rem;
1408 padding: 0.75rem 1rem;
1409 border-bottom: 1px solid #2c3340;
1410}
1411
1412#quests-main>footer,
1413#dialogues-main>footer {
1414 border-bottom: 0;
1415 border-top: 1px solid #2c3340;
1416 justify-content: flex-end;
1417}
1418
1419.gifts-layout {
1420 flex: 1;
1421 min-height: 0;
1422 display: flex;
1423 overflow: hidden;
1424}
1425
1426.gifts-search-pane {
1427 width: 260px;
1428 flex-shrink: 0;
1429 border-right: 1px solid #2c3340;
1430 padding: 0.65rem;
1431 display: flex;
1432 flex-direction: column;
1433 gap: 0.5rem;
1434 overflow: auto;
1435 background: #12151c;
1436}
1437
1438.gifts-search-label {
1439 display: flex;
1440 flex-direction: column;
1441 gap: 0.35rem;
1442 font-size: 0.85rem;
1443}
1444
1445.gifts-detail {
1446 flex: 1;
1447 min-width: 0;
1448 overflow: auto;
1449 padding: 0.85rem 1rem;
1450 display: flex;
1451 flex-direction: column;
1452 gap: 0.75rem;
1453}
1454
1455.gifts-message-label {
1456 display: flex;
1457 flex-direction: column;
1458 gap: 0.35rem;
1459}
1460
1461.gifts-message-label textarea {
1462 width: 100%;
1463 min-height: 6rem;
1464 resize: vertical;
1465 font: inherit;
1466}
1467
1468.gifts-items-header {
1469 display: flex;
1470 align-items: center;
1471 justify-content: space-between;
1472 gap: 0.5rem;
1473}
1474
1475.gifts-item-list {
1476 display: flex;
1477 flex-direction: column;
1478 gap: 0.35rem;
1479}
1480
1481.gifts-item-row {
1482 display: flex;
1483 align-items: center;
1484 gap: 0.5rem;
1485}
1486
1487.gifts-item-row span {
1488 flex: 1;
1489 min-width: 0;
1490}
1491
1492.gifts-item-row input[type="number"] {
1493 width: 5rem;
1494}
1495
1496.gifts-item-search-results {
1497 display: flex;
1498 flex-direction: column;
1499 gap: 0.2rem;
1500 max-height: 14rem;
1501 min-height: 4rem;
1502 overflow: auto;
1503 border: 1px solid #2c3340;
1504 background: #0f1218;
1505 padding: 0.35rem;
1506}
1507
1508.gifts-item-search-results .shop-item-search-row {
1509 width: 100%;
1510}
1511
1512.gifts-preview-wrap {
1513 display: flex;
1514 flex-direction: column;
1515 gap: 0.4rem;
1516 margin-top: 0.25rem;
1517}
1518
1519.gifts-letter-preview,
1520.gifts-letter-signature {
1521 margin: 0;
1522 padding: 0.75rem;
1523 background: #0f1218;
1524 border: 1px solid #2c3340;
1525 white-space: pre-wrap;
1526 font-family: Georgia, "Times New Roman", serif;
1527 font-size: 0.92rem;
1528 line-height: 1.35;
1529}
1530
1531.gifts-letter-signature {
1532 opacity: 0.9;
1533}
1534
1535#gifts-status.error {
1536 color: #e8a0a0;
1537}
1538
1539.content-editor-layout {
1540 flex: 1;
1541 min-height: 0;
1542 display: flex;
1543 overflow: hidden;
1544}
1545
1546.content-editor-list-pane {
1547 width: 220px;
1548 flex-shrink: 0;
1549 border-right: 1px solid #2c3340;
1550 padding: 0.65rem;
1551 display: flex;
1552 flex-direction: column;
1553 gap: 0.5rem;
1554 overflow: auto;
1555 background: #12151c;
1556}
1557
1558.content-editor-list {
1559 display: flex;
1560 flex-direction: column;
1561 gap: 0.25rem;
1562}
1563
1564.content-editor-list button {
1565 text-align: left;
1566 width: 100%;
1567}
1568
1569.content-editor-list button.active {
1570 border-color: #6b8cae;
1571 background: #1c2838;
1572}
1573
1574.content-editor-detail {
1575 flex: 1;
1576 min-width: 0;
1577 overflow: auto;
1578 padding: 0.75rem 1rem 1rem;
1579}
1580
1581.content-editor-detail label {
1582 display: block;
1583 margin: 0.4rem 0;
1584}
1585
1586.content-editor-detail input[type="text"],
1587.content-editor-detail input[type="number"],
1588.content-editor-detail textarea,
1589.content-editor-detail select {
1590 display: block;
1591 width: 100%;
1592 margin-top: 0.2rem;
1593 box-sizing: border-box;
1594}
1595
1596.content-editor-section {
1597 border: 1px solid #2c3340;
1598 padding: 0.55rem 0.65rem;
1599 margin: 0.55rem 0;
1600 background: #12151c;
1601}
1602
1603.content-editor-section-header {
1604 display: flex;
1605 align-items: center;
1606 justify-content: space-between;
1607 gap: 0.5rem;
1608 margin-bottom: 0.35rem;
1609}
1610
1611.content-editor-row {
1612 display: flex;
1613 flex-wrap: wrap;
1614 gap: 0.35rem;
1615 align-items: center;
1616 margin: 0.35rem 0;
1617}
1618
1619.content-editor-remove,
1620#dialogues-delete,
1621#quests-delete {
1622 color: #f0e8e8;
1623 background: #8a3030;
1624 border-color: #a84848;
1625}
1626
1627.content-editor-remove:hover,
1628#dialogues-delete:hover:not(:disabled),
1629#quests-delete:hover:not(:disabled) {
1630 background: #a83838;
1631 border-color: #c06060;
1632}
1633
1634#dialogues-delete:disabled,
1635#quests-delete:disabled {
1636 opacity: 0.45;
1637}
1638
1639.content-editor-add-step {
1640 display: block;
1641 width: 100%;
1642 margin: 0.35rem 0 0.75rem;
1643 padding: 0.45rem 0.6rem;
1644 color: #9eb0c8;
1645 background: transparent;
1646 border: 1px dashed #3a4558;
1647 cursor: pointer;
1648}
1649
1650.content-editor-add-step:hover {
1651 color: #c5d4e8;
1652 border-color: #5a6a82;
1653 background: #1a2230;
1654}
1655
1656.quest-reward-bank {
1657 display: inline-flex;
1658 align-items: center;
1659 gap: 0.25rem;
1660 white-space: nowrap;
1661 font-size: 0.85rem;
1662}
1663
1664.content-editor-clause {
1665 border: 1px dashed #3a4250;
1666 padding: 0.4rem;
1667 margin: 0.35rem 0;
1668}
1669
1670.content-editor-hint {
1671 color: #8a909c;
1672 font-size: 0.85rem;
1673 margin: 0.25rem 0 0.5rem;
1674}
1675
1676#dialogue-simulate-backdrop {
1677 position: fixed;
1678 inset: 0;
1679 z-index: 80;
1680 background: rgba(0, 0, 0, 0.45);
1681}
1682
1683#dialogue-simulate-panel {
1684 position: fixed;
1685 z-index: 81;
1686 left: 50%;
1687 top: 50%;
1688 transform: translate(-50%, -50%);
1689 width: min(420px, calc(100vw - 2rem));
1690 max-height: min(70vh, 560px);
1691 display: flex;
1692 flex-direction: column;
1693 gap: 0.65rem;
1694 padding: 0.85rem 1rem 1rem;
1695 border-radius: 10px;
1696 background: #161a22;
1697 border: 1px solid #3a4250;
1698 box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
1699 color: #e8ecf4;
1700}
1701
1702#dialogue-simulate-panel[hidden],
1703#dialogue-simulate-backdrop[hidden] {
1704 display: none;
1705}
1706
1707#dialogue-simulate-panel > header {
1708 display: flex;
1709 align-items: center;
1710 justify-content: space-between;
1711 gap: 0.5rem;
1712}
1713
1714#dialogue-simulate-lines {
1715 min-height: 4rem;
1716 display: flex;
1717 flex-direction: column;
1718 gap: 0.5rem;
1719 overflow: auto;
1720}
1721
1722.dialogue-simulate-line {
1723 display: flex;
1724 gap: 0.55rem;
1725 align-items: flex-start;
1726}
1727
1728.dialogue-simulate-icon {
1729 flex: 0 0 auto;
1730 border-radius: 6px;
1731 image-rendering: pixelated;
1732}
1733
1734.dialogue-simulate-player {
1735 flex-direction: row-reverse;
1736}
1737
1738#dialogue-simulate-actions {
1739 display: flex;
1740 flex-wrap: wrap;
1741 gap: 0.4rem;
1742}
1743
1744.quest-condition-item-picker {
1745 display: flex;
1746 flex-direction: column;
1747 gap: 0.25rem;
1748 min-width: 12rem;
1749}
1750
1751.quest-condition-pair {
1752 display: flex;
1753 flex-wrap: wrap;
1754 gap: 0.35rem;
1755 align-items: center;
1756}
1757
1758.quest-condition-pair select {
1759 min-width: 10rem;
1760 max-width: 18rem;
1761}
1762
1763.quest-condition-attile {
1764 display: flex;
1765 flex-direction: column;
1766 gap: 0.35rem;
1767 min-width: 14rem;
1768}
1769
1770.quest-condition-tile-info {
1771 margin: 0;
1772 padding: 0.35rem 0.45rem;
1773 max-width: 28rem;
1774 white-space: pre-wrap;
1775 font-size: 0.8rem;
1776 line-height: 1.35;
1777 color: #c5d4e8;
1778 background: #12151c;
1779 border: 1px solid #3a4250;
1780 border-radius: 4px;
1781}
1782
1783.quest-condition-dim {
1784 min-width: 14rem;
1785 max-width: 22rem;
1786}
1787
1788.dialogue-reward-item-search {
1789 display: flex;
1790 flex-direction: column;
1791 gap: 0.35rem;
1792 margin: 0.35rem 0 0.6rem;
1793}
1794
1795.dialogue-reward-item-results {
1796 max-height: 220px;
1797 overflow: auto;
1798 border: 1px solid #3a4250;
1799 border-radius: 4px;
1800 background: #12151c;
1801}
1802
1803.dialogue-item-take-unguaranteed {
1804 background: rgba(224, 168, 74, 0.18);
1805 border: 1px solid #e0a84a;
1806 border-radius: 4px;
1807 padding: 0.2rem 0.35rem;
1808}
1809
1810.dialogue-item-take-unguaranteed .spawner-sells-name {
1811 color: #e8c84a;
1812}
1813
1814.dialogues-header-title {
1815 display: flex;
1816 align-items: center;
1817 gap: 0.55rem;
1818}
1819
1820.dialogues-header-title h2 {
1821 margin: 0;
1822}
1823
1824#dialogues-tokens-help {
1825 width: 1.55rem;
1826 height: 1.55rem;
1827 border-radius: 999px;
1828 border: 1px solid #5a6578;
1829 background: #1c2230;
1830 color: #d6d1c4;
1831 font: inherit;
1832 font-size: 0.85rem;
1833 font-weight: 700;
1834 line-height: 1;
1835 cursor: pointer;
1836 padding: 0;
1837}
1838
1839#dialogues-tokens-help:hover {
1840 border-color: #e0a84a;
1841 color: #e8c84a;
1842}
1843
1844.dialogue-tokens-body {
1845 padding: 0.85rem 1rem 1.1rem;
1846 overflow: auto;
1847 display: flex;
1848 flex-direction: column;
1849 gap: 0.85rem;
1850}
1851
1852.dialogue-tokens-list {
1853 margin: 0;
1854 padding-left: 1.15rem;
1855 display: grid;
1856 gap: 0.25rem;
1857 color: #c5d4e8;
1858 font-size: 0.92rem;
1859}
1860
1861.dialogue-tokens-list code {
1862 color: #e8c84a;
1863 font-size: 0.88rem;
1864}
1865
1866.dialogue-tokens-preview-label {
1867 display: flex;
1868 flex-direction: column;
1869 gap: 0.35rem;
1870 color: #d6d1c4;
1871 font-size: 0.9rem;
1872}
1873
1874.dialogue-tokens-preview-label input {
1875 font: inherit;
1876 padding: 0.45rem 0.6rem;
1877 border: 1px solid #3a4250;
1878 border-radius: 4px;
1879 background: #12151c;
1880 color: #f0ebe0;
1881}
1882
1883.dialogue-tokens-preview-row {
1884 display: grid;
1885 grid-template-columns: 1fr 1fr;
1886 gap: 0.75rem;
1887}
1888
1889.dialogue-tokens-preview-col {
1890 border: 1px solid #2c3340;
1891 border-radius: 4px;
1892 padding: 0.55rem 0.65rem;
1893 background: #12151c;
1894}
1895
1896.dialogue-tokens-preview-col strong {
1897 display: block;
1898 margin-bottom: 0.35rem;
1899 color: #d6d1c4;
1900 font-size: 0.85rem;
1901}
1902
1903.dialogue-tokens-preview-out {
1904 margin: 0;
1905 min-height: 2.4rem;
1906 color: #f0ebe0;
1907 white-space: pre-wrap;
1908 word-break: break-word;
1909}