BlueGit

timfa questward

Files

questward / client / ui / editor.css

editor.css

editor.css 26.4 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}
996
997.spawner-sells-header {
998 display: flex;
999 align-items: center;
1000 justify-content: space-between;
1001 gap: 0.5rem;
1002 margin-top: 0.55rem;
1003}
1004
1005.spawner-sells-list {
1006 display: flex;
1007 flex-direction: column;
1008 gap: 0.35rem;
1009}
1010
1011.spawner-sells-row {
1012 display: grid;
1013 grid-template-columns: 1fr 4.5rem auto;
1014 gap: 0.4rem;
1015 align-items: center;
1016}
1017
1018.spawner-drops-row {
1019 display: grid;
1020 grid-template-columns: 1fr 3.5rem 3.5rem 4.5rem auto;
1021 gap: 0.4rem;
1022 align-items: center;
1023}
1024
1025.spawner-sells-name {
1026 overflow: hidden;
1027 text-overflow: ellipsis;
1028 white-space: nowrap;
1029}
1030
1031.spawner-drops-chance {
1032 display: flex;
1033 align-items: center;
1034 gap: 0.2rem;
1035}
1036
1037.spawner-drops-chance input {
1038 width: 100%;
1039 min-width: 0;
1040}
1041
1042.spawner-equip-list {
1043 display: flex;
1044 flex-direction: column;
1045 gap: 0.35rem;
1046}
1047
1048.spawner-equip-row {
1049 display: grid;
1050 grid-template-columns: 4.5rem 1fr auto auto auto;
1051 gap: 0.35rem;
1052 align-items: center;
1053}
1054
1055.spawner-equip-slot {
1056 text-transform: capitalize;
1057 color: #9aa3b2;
1058 font-size: 0.85rem;
1059}
1060
1061.spawner-equip-name {
1062 overflow: hidden;
1063 text-overflow: ellipsis;
1064 white-space: nowrap;
1065}
1066
1067.spawner-equip-dye-swatch {
1068 display: inline-block;
1069 width: 0.85rem;
1070 height: 0.85rem;
1071 margin-right: 0.35rem;
1072 border: 1px solid #3a4250;
1073 vertical-align: -0.1rem;
1074 border-radius: 2px;
1075}
1076
1077#equip-dye-backdrop {
1078 position: fixed;
1079 inset: 0;
1080 background: rgba(0, 0, 0, 0.55);
1081 z-index: 23;
1082}
1083
1084#equip-dye-modal {
1085 position: fixed;
1086 z-index: 24;
1087 top: 18vh;
1088 left: 50%;
1089 transform: translateX(-50%);
1090 width: min(340px, 90vw);
1091 display: flex;
1092 flex-direction: column;
1093 background: #161a22;
1094 border: 1px solid #3a4250;
1095 box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
1096}
1097
1098#equip-dye-modal[hidden],
1099#equip-dye-backdrop[hidden] {
1100 display: none !important;
1101}
1102
1103#equip-dye-modal>header {
1104 display: flex;
1105 align-items: center;
1106 justify-content: space-between;
1107 gap: 0.75rem;
1108 padding: 0.75rem 1rem;
1109 border-bottom: 1px solid #2c3340;
1110}
1111
1112.equip-dye-body {
1113 padding: 0.85rem 1rem 1rem;
1114 display: flex;
1115 flex-direction: column;
1116 gap: 0.55rem;
1117}
1118
1119.equip-dye-preview {
1120 height: 3rem;
1121 border: 1px solid #3a4250;
1122 border-radius: 4px;
1123 background: #c85078;
1124}
1125
1126.equip-dye-channel {
1127 display: grid;
1128 grid-template-columns: 1.25rem 1fr 3.5rem;
1129 gap: 0.4rem;
1130 align-items: center;
1131 font-size: 0.85rem;
1132 color: #9aa3b2;
1133}
1134
1135.equip-dye-channel input[type="number"] {
1136 width: 100%;
1137}
1138
1139.equip-dye-actions {
1140 display: flex;
1141 justify-content: flex-end;
1142 gap: 0.4rem;
1143 margin-top: 0.25rem;
1144}
1145
1146.spawner-buys-row {
1147 display: flex;
1148 align-items: center;
1149 gap: 0.4rem;
1150 margin-top: 0.45rem;
1151}
1152
1153#shop-item-search-backdrop {
1154 position: fixed;
1155 inset: 0;
1156 background: rgba(0, 0, 0, 0.55);
1157 z-index: 21;
1158}
1159
1160#shop-item-search-modal {
1161 position: fixed;
1162 z-index: 22;
1163 top: 18vh;
1164 left: 50%;
1165 transform: translateX(-50%);
1166 width: min(420px, 92vw);
1167 max-height: 70vh;
1168 display: flex;
1169 flex-direction: column;
1170 background: #161a22;
1171 border: 1px solid #3a4250;
1172 box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
1173}
1174
1175#shop-item-search-modal[hidden],
1176#shop-item-search-backdrop[hidden] {
1177 display: none !important;
1178}
1179
1180#shop-item-search-modal>header {
1181 display: flex;
1182 align-items: center;
1183 justify-content: space-between;
1184 gap: 0.75rem;
1185 padding: 0.75rem 1rem;
1186 border-bottom: 1px solid #2c3340;
1187}
1188
1189#shop-item-search-modal>.shop-item-search-body {
1190 padding: 0.75rem 1rem 1rem;
1191 display: flex;
1192 flex-direction: column;
1193 gap: 0.5rem;
1194 min-height: 0;
1195 overflow: hidden;
1196}
1197
1198#shop-item-search-results {
1199 overflow: auto;
1200 max-height: 40vh;
1201 display: flex;
1202 flex-direction: column;
1203 gap: 0.25rem;
1204}
1205
1206.shop-item-search-row {
1207 text-align: left;
1208 padding: 0.4rem 0.5rem;
1209 display: flex;
1210 flex-direction: column;
1211 align-items: flex-start;
1212 gap: 0.1rem;
1213}
1214
1215.shop-item-search-row-name {
1216 font: inherit;
1217 color: inherit;
1218}
1219
1220.shop-item-search-row-key {
1221 font-size: 0.78rem;
1222 color: #9aa3b2;
1223}
1224
1225.shop-item-search-footer {
1226 display: flex;
1227 align-items: center;
1228 justify-content: space-between;
1229 gap: 0.5rem;
1230 flex-shrink: 0;
1231}
1232
1233#shop-item-search-page {
1234 flex: 1;
1235 text-align: center;
1236 font-variant-numeric: tabular-nums;
1237}
1238
1239#tile-tooltip {
1240 position: fixed;
1241 z-index: 15;
1242 pointer-events: none;
1243 max-width: 16rem;
1244 padding: 0.4rem 0.55rem;
1245 background: rgba(12, 14, 18, 0.92);
1246 border: 1px solid #3a4250;
1247 color: #e8e4d9;
1248 font-size: 0.8rem;
1249 white-space: pre-wrap;
1250 box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
1251}
1252
1253#hover-status {
1254 position: fixed;
1255 left: 250px;
1256 right: 280px;
1257 bottom: 0;
1258 z-index: 5;
1259 margin: 0;
1260 padding: 0.35rem 0.75rem;
1261 border-top: 1px solid #2c3340;
1262 background: #1a1e26;
1263 color: #c5c9d2;
1264 font-size: 0.85rem;
1265 pointer-events: none;
1266}
1267
1268#hover-status-text {
1269 font-variant-numeric: tabular-nums;
1270}
1271
1272
1273#quests-backdrop,
1274#dialogues-backdrop,
1275#gifts-backdrop {
1276 position: fixed;
1277 inset: 0;
1278 background: rgba(0, 0, 0, 0.62);
1279 z-index: 19;
1280}
1281
1282#quests-modal,
1283#dialogues-modal,
1284#gifts-modal {
1285 position: fixed;
1286 inset: 5vh 5vw;
1287 z-index: 20;
1288 display: flex;
1289 flex-direction: column;
1290 background: #161a22;
1291 border: 1px solid #3a4250;
1292 box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
1293}
1294
1295#quests-modal[hidden],
1296#quests-backdrop[hidden],
1297#dialogues-modal[hidden],
1298#dialogues-backdrop[hidden],
1299#gifts-modal[hidden],
1300#gifts-backdrop[hidden] {
1301 display: none !important;
1302}
1303
1304#quests-modal>header,
1305#dialogues-modal>header,
1306#gifts-modal>header,
1307#quests-modal>footer,
1308#dialogues-modal>footer {
1309 display: flex;
1310 align-items: center;
1311 justify-content: space-between;
1312 gap: 0.75rem;
1313 padding: 0.75rem 1rem;
1314 border-bottom: 1px solid #2c3340;
1315}
1316
1317#quests-modal>footer,
1318#dialogues-modal>footer {
1319 border-bottom: 0;
1320 border-top: 1px solid #2c3340;
1321 justify-content: flex-end;
1322}
1323
1324.gifts-layout {
1325 flex: 1;
1326 min-height: 0;
1327 display: flex;
1328 overflow: hidden;
1329}
1330
1331.gifts-search-pane {
1332 width: 260px;
1333 flex-shrink: 0;
1334 border-right: 1px solid #2c3340;
1335 padding: 0.65rem;
1336 display: flex;
1337 flex-direction: column;
1338 gap: 0.5rem;
1339 overflow: auto;
1340 background: #12151c;
1341}
1342
1343.gifts-search-label {
1344 display: flex;
1345 flex-direction: column;
1346 gap: 0.35rem;
1347 font-size: 0.85rem;
1348}
1349
1350.gifts-detail {
1351 flex: 1;
1352 min-width: 0;
1353 overflow: auto;
1354 padding: 0.85rem 1rem;
1355 display: flex;
1356 flex-direction: column;
1357 gap: 0.75rem;
1358}
1359
1360.gifts-message-label {
1361 display: flex;
1362 flex-direction: column;
1363 gap: 0.35rem;
1364}
1365
1366.gifts-message-label textarea {
1367 width: 100%;
1368 min-height: 6rem;
1369 resize: vertical;
1370 font: inherit;
1371}
1372
1373.gifts-items-header {
1374 display: flex;
1375 align-items: center;
1376 justify-content: space-between;
1377 gap: 0.5rem;
1378}
1379
1380.gifts-item-list {
1381 display: flex;
1382 flex-direction: column;
1383 gap: 0.35rem;
1384}
1385
1386.gifts-item-row {
1387 display: flex;
1388 align-items: center;
1389 gap: 0.5rem;
1390}
1391
1392.gifts-item-row span {
1393 flex: 1;
1394 min-width: 0;
1395}
1396
1397.gifts-item-row input[type="number"] {
1398 width: 5rem;
1399}
1400
1401.gifts-item-search-results {
1402 display: flex;
1403 flex-direction: column;
1404 gap: 0.2rem;
1405 max-height: 14rem;
1406 min-height: 4rem;
1407 overflow: auto;
1408 border: 1px solid #2c3340;
1409 background: #0f1218;
1410 padding: 0.35rem;
1411}
1412
1413.gifts-item-search-results .shop-item-search-row {
1414 width: 100%;
1415}
1416
1417.gifts-preview-wrap {
1418 display: flex;
1419 flex-direction: column;
1420 gap: 0.4rem;
1421 margin-top: 0.25rem;
1422}
1423
1424.gifts-letter-preview,
1425.gifts-letter-signature {
1426 margin: 0;
1427 padding: 0.75rem;
1428 background: #0f1218;
1429 border: 1px solid #2c3340;
1430 white-space: pre-wrap;
1431 font-family: Georgia, "Times New Roman", serif;
1432 font-size: 0.92rem;
1433 line-height: 1.35;
1434}
1435
1436.gifts-letter-signature {
1437 opacity: 0.9;
1438}
1439
1440#gifts-status.error {
1441 color: #e8a0a0;
1442}
1443
1444.content-editor-layout {
1445 flex: 1;
1446 min-height: 0;
1447 display: flex;
1448 overflow: hidden;
1449}
1450
1451.content-editor-list-pane {
1452 width: 220px;
1453 flex-shrink: 0;
1454 border-right: 1px solid #2c3340;
1455 padding: 0.65rem;
1456 display: flex;
1457 flex-direction: column;
1458 gap: 0.5rem;
1459 overflow: auto;
1460 background: #12151c;
1461}
1462
1463.content-editor-list {
1464 display: flex;
1465 flex-direction: column;
1466 gap: 0.25rem;
1467}
1468
1469.content-editor-list button {
1470 text-align: left;
1471 width: 100%;
1472}
1473
1474.content-editor-list button.active {
1475 border-color: #6b8cae;
1476 background: #1c2838;
1477}
1478
1479.content-editor-detail {
1480 flex: 1;
1481 min-width: 0;
1482 overflow: auto;
1483 padding: 0.75rem 1rem 1rem;
1484}
1485
1486.content-editor-detail label {
1487 display: block;
1488 margin: 0.4rem 0;
1489}
1490
1491.content-editor-detail input[type="text"],
1492.content-editor-detail input[type="number"],
1493.content-editor-detail textarea,
1494.content-editor-detail select {
1495 display: block;
1496 width: 100%;
1497 margin-top: 0.2rem;
1498 box-sizing: border-box;
1499}
1500
1501.content-editor-section {
1502 border: 1px solid #2c3340;
1503 padding: 0.55rem 0.65rem;
1504 margin: 0.55rem 0;
1505 background: #12151c;
1506}
1507
1508.content-editor-section-header {
1509 display: flex;
1510 align-items: center;
1511 justify-content: space-between;
1512 gap: 0.5rem;
1513 margin-bottom: 0.35rem;
1514}
1515
1516.content-editor-row {
1517 display: flex;
1518 flex-wrap: wrap;
1519 gap: 0.35rem;
1520 align-items: center;
1521 margin: 0.35rem 0;
1522}
1523
1524.content-editor-remove,
1525#dialogues-delete {
1526 color: #f0e8e8;
1527 background: #8a3030;
1528 border-color: #a84848;
1529}
1530
1531.content-editor-remove:hover,
1532#dialogues-delete:hover:not(:disabled) {
1533 background: #a83838;
1534 border-color: #c06060;
1535}
1536
1537#dialogues-delete:disabled {
1538 opacity: 0.45;
1539}
1540
1541.content-editor-add-step {
1542 display: block;
1543 width: 100%;
1544 margin: 0.35rem 0 0.75rem;
1545 padding: 0.45rem 0.6rem;
1546 color: #9eb0c8;
1547 background: transparent;
1548 border: 1px dashed #3a4558;
1549 cursor: pointer;
1550}
1551
1552.content-editor-add-step:hover {
1553 color: #c5d4e8;
1554 border-color: #5a6a82;
1555 background: #1a2230;
1556}
1557
1558.content-editor-clause {
1559 border: 1px dashed #3a4250;
1560 padding: 0.4rem;
1561 margin: 0.35rem 0;
1562}
1563
1564.content-editor-hint {
1565 color: #8a909c;
1566 font-size: 0.85rem;
1567 margin: 0.25rem 0 0.5rem;
1568}
1569
1570#dialogue-simulate-backdrop {
1571 position: fixed;
1572 inset: 0;
1573 z-index: 80;
1574 background: rgba(0, 0, 0, 0.45);
1575}
1576
1577#dialogue-simulate-panel {
1578 position: fixed;
1579 z-index: 81;
1580 left: 50%;
1581 top: 50%;
1582 transform: translate(-50%, -50%);
1583 width: min(420px, calc(100vw - 2rem));
1584 max-height: min(70vh, 560px);
1585 display: flex;
1586 flex-direction: column;
1587 gap: 0.65rem;
1588 padding: 0.85rem 1rem 1rem;
1589 border-radius: 10px;
1590 background: #161a22;
1591 border: 1px solid #3a4250;
1592 box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
1593 color: #e8ecf4;
1594}
1595
1596#dialogue-simulate-panel[hidden],
1597#dialogue-simulate-backdrop[hidden] {
1598 display: none;
1599}
1600
1601#dialogue-simulate-panel > header {
1602 display: flex;
1603 align-items: center;
1604 justify-content: space-between;
1605 gap: 0.5rem;
1606}
1607
1608#dialogue-simulate-lines {
1609 min-height: 4rem;
1610 display: flex;
1611 flex-direction: column;
1612 gap: 0.5rem;
1613 overflow: auto;
1614}
1615
1616.dialogue-simulate-line {
1617 display: flex;
1618 gap: 0.55rem;
1619 align-items: flex-start;
1620}
1621
1622.dialogue-simulate-icon {
1623 flex: 0 0 auto;
1624 border-radius: 6px;
1625 image-rendering: pixelated;
1626}
1627
1628.dialogue-simulate-player {
1629 flex-direction: row-reverse;
1630}
1631
1632#dialogue-simulate-actions {
1633 display: flex;
1634 flex-wrap: wrap;
1635 gap: 0.4rem;
1636}
1637
1638.quest-condition-item-picker {
1639 display: flex;
1640 flex-direction: column;
1641 gap: 0.25rem;
1642 min-width: 12rem;
1643}
1644
1645.quest-condition-pair {
1646 display: flex;
1647 flex-wrap: wrap;
1648 gap: 0.35rem;
1649 align-items: center;
1650}
1651
1652.quest-condition-pair select {
1653 min-width: 10rem;
1654 max-width: 18rem;
1655}
1656
1657.quest-condition-attile {
1658 display: flex;
1659 flex-direction: column;
1660 gap: 0.35rem;
1661 min-width: 14rem;
1662}
1663
1664.quest-condition-tile-info {
1665 margin: 0;
1666 padding: 0.35rem 0.45rem;
1667 max-width: 28rem;
1668 white-space: pre-wrap;
1669 font-size: 0.8rem;
1670 line-height: 1.35;
1671 color: #c5d4e8;
1672 background: #12151c;
1673 border: 1px solid #3a4250;
1674 border-radius: 4px;
1675}
1676
1677.quest-condition-dim {
1678 min-width: 14rem;
1679 max-width: 22rem;
1680}
1681
1682.dialogue-reward-item-search {
1683 display: flex;
1684 flex-direction: column;
1685 gap: 0.35rem;
1686 margin: 0.35rem 0 0.6rem;
1687}
1688
1689.dialogue-reward-item-results {
1690 max-height: 220px;
1691 overflow: auto;
1692 border: 1px solid #3a4250;
1693 border-radius: 4px;
1694 background: #12151c;
1695}