BlueGit

timfa questward

Files

questward / client / ui / editor.css

editor.css

editor.css 24.3 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.equip-stats-panel {
732 display: flex;
733 flex-direction: column;
734 gap: 0.75rem;
735 min-width: 0;
736}
737
738.equip-stats-toolbar {
739 display: flex;
740 flex-wrap: wrap;
741 gap: 0.75rem;
742 align-items: center;
743}
744
745.equip-stats-category-label {
746 display: flex;
747 align-items: center;
748 gap: 0.5rem;
749 font-size: 0.85rem;
750 color: #c5ccd8;
751}
752
753.equip-stats-category {
754 min-width: 12rem;
755}
756
757.equip-stats-tables {
758 display: flex;
759 flex-direction: column;
760 gap: 1rem;
761 overflow: auto;
762 max-height: min(62vh, 640px);
763}
764
765.equip-stats-table-wrap {
766 overflow: auto;
767}
768
769.equip-stats-table {
770 border-collapse: collapse;
771 width: max-content;
772 min-width: 100%;
773 font-size: 0.8rem;
774}
775
776.equip-stats-table th,
777.equip-stats-table td {
778 border: 1px solid #2c3340;
779 padding: 0.35rem 0.45rem;
780 vertical-align: middle;
781 text-align: center;
782}
783
784.equip-stats-table th {
785 background: #1a1f28;
786 color: #9aa3b2;
787 font-weight: 600;
788 position: sticky;
789 top: 0;
790 z-index: 1;
791}
792
793.equip-stats-table th:first-child,
794.equip-stats-table td.equip-stats-item {
795 position: sticky;
796 left: 0;
797 z-index: 2;
798 background: #151922;
799 text-align: left;
800 min-width: 9rem;
801}
802
803.equip-stats-table th:first-child {
804 z-index: 3;
805}
806
807.equip-stats-item {
808 display: flex;
809 align-items: center;
810 gap: 0.45rem;
811 white-space: nowrap;
812}
813
814.equip-stats-icon {
815 image-rendering: pixelated;
816 flex-shrink: 0;
817 background: #0e1218;
818 border: 1px solid #2c3340;
819}
820
821.equip-stats-cell.empty {
822 color: #5c6575;
823}
824
825.equip-stats-cell-inner {
826 display: flex;
827 flex-direction: column;
828 gap: 0.25rem;
829 align-items: stretch;
830}
831
832.equip-stats-stat {
833 display: flex;
834 align-items: center;
835 gap: 0.3rem;
836 margin: 0;
837}
838
839.equip-stats-stat img {
840 flex-shrink: 0;
841}
842
843.equip-stats-stat input {
844 width: 3.2rem;
845 padding: 0.15rem 0.25rem;
846}
847
848.equip-stats-stat.dirty input {
849 border-color: #c4a35a;
850}
851
852#settings-log-wrap {
853 width: min(340px, 32vw);
854 flex-shrink: 0;
855 border-left: 1px solid #2c3340;
856 display: flex;
857 flex-direction: column;
858 background: #1a1e26;
859}
860
861#settings-log-wrap h2 {
862 margin: 0;
863 padding: 0.75rem 1rem;
864 border-bottom: 1px solid #2c3340;
865 font-size: 1rem;
866}
867
868#settings-log {
869 flex: 1;
870 overflow: auto;
871 padding: 0.75rem 1rem;
872}
873
874#palette-backdrop,
875#tile-config-backdrop {
876 position: fixed;
877 inset: 0;
878 background: rgba(0, 0, 0, 0.62);
879 z-index: 19;
880}
881
882#palette-modal,
883#tile-config-modal {
884 position: fixed;
885 z-index: 20;
886 display: flex;
887 flex-direction: column;
888 background: #161a22;
889 border: 1px solid #3a4250;
890 box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
891}
892
893#palette-modal {
894 inset: 8vh 12vw;
895}
896
897#tile-config-modal {
898 top: 10vh;
899 left: 50%;
900 transform: translateX(-50%);
901 width: min(440px, 92vw);
902 max-height: 80vh;
903}
904
905#palette-modal[hidden],
906#palette-backdrop[hidden],
907#tile-config-modal[hidden],
908#tile-config-backdrop[hidden],
909#tile-tooltip[hidden] {
910 display: none !important;
911}
912
913#palette-modal>header,
914#tile-config-modal>header,
915#tile-config-modal>footer {
916 display: flex;
917 align-items: center;
918 justify-content: space-between;
919 gap: 0.75rem;
920 padding: 0.75rem 1rem;
921 border-bottom: 1px solid #2c3340;
922}
923
924#tile-config-modal>footer {
925 border-bottom: 0;
926 border-top: 1px solid #2c3340;
927}
928
929#palette-panels {
930 flex: 1;
931 overflow: auto;
932 padding: 0.75rem 1rem 1.25rem;
933}
934
935.palette-grid {
936 display: grid;
937 grid-template-columns: repeat(auto-fill, minmax(7.5rem, 1fr));
938 gap: 0.6rem;
939}
940
941.palette-card {
942 display: flex;
943 flex-direction: column;
944 align-items: center;
945 gap: 0.35rem;
946 padding: 0.55rem 0.4rem;
947 min-height: 6.5rem;
948}
949
950.palette-thumb {
951 width: 48px;
952 height: 48px;
953 display: grid;
954 place-items: center;
955 background: #0d1016;
956 border: 1px solid #2c3340;
957 image-rendering: pixelated;
958 font-weight: 600;
959 color: #9aa3b2;
960}
961
962.palette-thumb img {
963 width: 100%;
964 height: 100%;
965 object-fit: contain;
966 image-rendering: pixelated;
967}
968
969#tile-config-form {
970 padding: 0.75rem 1rem 1rem;
971 display: flex;
972 flex-direction: column;
973 gap: 0.35rem;
974 flex: 1;
975 min-height: 0;
976 overflow: auto;
977}
978
979.spawner-sells-header {
980 display: flex;
981 align-items: center;
982 justify-content: space-between;
983 gap: 0.5rem;
984 margin-top: 0.55rem;
985}
986
987.spawner-sells-list {
988 display: flex;
989 flex-direction: column;
990 gap: 0.35rem;
991}
992
993.spawner-sells-row {
994 display: grid;
995 grid-template-columns: 1fr 4.5rem auto;
996 gap: 0.4rem;
997 align-items: center;
998}
999
1000.spawner-drops-row {
1001 display: grid;
1002 grid-template-columns: 1fr 3.5rem 3.5rem 4.5rem auto;
1003 gap: 0.4rem;
1004 align-items: center;
1005}
1006
1007.spawner-sells-name {
1008 overflow: hidden;
1009 text-overflow: ellipsis;
1010 white-space: nowrap;
1011}
1012
1013.spawner-drops-chance {
1014 display: flex;
1015 align-items: center;
1016 gap: 0.2rem;
1017}
1018
1019.spawner-drops-chance input {
1020 width: 100%;
1021 min-width: 0;
1022}
1023
1024.spawner-equip-list {
1025 display: flex;
1026 flex-direction: column;
1027 gap: 0.35rem;
1028}
1029
1030.spawner-equip-row {
1031 display: grid;
1032 grid-template-columns: 4.5rem 1fr auto auto auto;
1033 gap: 0.35rem;
1034 align-items: center;
1035}
1036
1037.spawner-equip-slot {
1038 text-transform: capitalize;
1039 color: #9aa3b2;
1040 font-size: 0.85rem;
1041}
1042
1043.spawner-equip-name {
1044 overflow: hidden;
1045 text-overflow: ellipsis;
1046 white-space: nowrap;
1047}
1048
1049.spawner-equip-dye-swatch {
1050 display: inline-block;
1051 width: 0.85rem;
1052 height: 0.85rem;
1053 margin-right: 0.35rem;
1054 border: 1px solid #3a4250;
1055 vertical-align: -0.1rem;
1056 border-radius: 2px;
1057}
1058
1059#equip-dye-backdrop {
1060 position: fixed;
1061 inset: 0;
1062 background: rgba(0, 0, 0, 0.55);
1063 z-index: 23;
1064}
1065
1066#equip-dye-modal {
1067 position: fixed;
1068 z-index: 24;
1069 top: 18vh;
1070 left: 50%;
1071 transform: translateX(-50%);
1072 width: min(340px, 90vw);
1073 display: flex;
1074 flex-direction: column;
1075 background: #161a22;
1076 border: 1px solid #3a4250;
1077 box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
1078}
1079
1080#equip-dye-modal[hidden],
1081#equip-dye-backdrop[hidden] {
1082 display: none !important;
1083}
1084
1085#equip-dye-modal>header {
1086 display: flex;
1087 align-items: center;
1088 justify-content: space-between;
1089 gap: 0.75rem;
1090 padding: 0.75rem 1rem;
1091 border-bottom: 1px solid #2c3340;
1092}
1093
1094.equip-dye-body {
1095 padding: 0.85rem 1rem 1rem;
1096 display: flex;
1097 flex-direction: column;
1098 gap: 0.55rem;
1099}
1100
1101.equip-dye-preview {
1102 height: 3rem;
1103 border: 1px solid #3a4250;
1104 border-radius: 4px;
1105 background: #c85078;
1106}
1107
1108.equip-dye-channel {
1109 display: grid;
1110 grid-template-columns: 1.25rem 1fr 3.5rem;
1111 gap: 0.4rem;
1112 align-items: center;
1113 font-size: 0.85rem;
1114 color: #9aa3b2;
1115}
1116
1117.equip-dye-channel input[type="number"] {
1118 width: 100%;
1119}
1120
1121.equip-dye-actions {
1122 display: flex;
1123 justify-content: flex-end;
1124 gap: 0.4rem;
1125 margin-top: 0.25rem;
1126}
1127
1128.spawner-buys-row {
1129 display: flex;
1130 align-items: center;
1131 gap: 0.4rem;
1132 margin-top: 0.45rem;
1133}
1134
1135#shop-item-search-backdrop {
1136 position: fixed;
1137 inset: 0;
1138 background: rgba(0, 0, 0, 0.55);
1139 z-index: 21;
1140}
1141
1142#shop-item-search-modal {
1143 position: fixed;
1144 z-index: 22;
1145 top: 18vh;
1146 left: 50%;
1147 transform: translateX(-50%);
1148 width: min(420px, 92vw);
1149 max-height: 70vh;
1150 display: flex;
1151 flex-direction: column;
1152 background: #161a22;
1153 border: 1px solid #3a4250;
1154 box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
1155}
1156
1157#shop-item-search-modal[hidden],
1158#shop-item-search-backdrop[hidden] {
1159 display: none !important;
1160}
1161
1162#shop-item-search-modal>header {
1163 display: flex;
1164 align-items: center;
1165 justify-content: space-between;
1166 gap: 0.75rem;
1167 padding: 0.75rem 1rem;
1168 border-bottom: 1px solid #2c3340;
1169}
1170
1171#shop-item-search-modal>.shop-item-search-body {
1172 padding: 0.75rem 1rem 1rem;
1173 display: flex;
1174 flex-direction: column;
1175 gap: 0.5rem;
1176 min-height: 0;
1177 overflow: hidden;
1178}
1179
1180#shop-item-search-results {
1181 overflow: auto;
1182 max-height: 40vh;
1183 display: flex;
1184 flex-direction: column;
1185 gap: 0.25rem;
1186}
1187
1188.shop-item-search-row {
1189 text-align: left;
1190 padding: 0.4rem 0.5rem;
1191 display: flex;
1192 flex-direction: column;
1193 align-items: flex-start;
1194 gap: 0.1rem;
1195}
1196
1197.shop-item-search-row-name {
1198 font: inherit;
1199 color: inherit;
1200}
1201
1202.shop-item-search-row-key {
1203 font-size: 0.78rem;
1204 color: #9aa3b2;
1205}
1206
1207.shop-item-search-footer {
1208 display: flex;
1209 align-items: center;
1210 justify-content: space-between;
1211 gap: 0.5rem;
1212 flex-shrink: 0;
1213}
1214
1215#shop-item-search-page {
1216 flex: 1;
1217 text-align: center;
1218 font-variant-numeric: tabular-nums;
1219}
1220
1221#tile-tooltip {
1222 position: fixed;
1223 z-index: 15;
1224 pointer-events: none;
1225 max-width: 16rem;
1226 padding: 0.4rem 0.55rem;
1227 background: rgba(12, 14, 18, 0.92);
1228 border: 1px solid #3a4250;
1229 color: #e8e4d9;
1230 font-size: 0.8rem;
1231 white-space: pre-wrap;
1232 box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
1233}
1234
1235#hover-status {
1236 position: fixed;
1237 left: 250px;
1238 right: 280px;
1239 bottom: 0;
1240 z-index: 5;
1241 margin: 0;
1242 padding: 0.35rem 0.75rem;
1243 border-top: 1px solid #2c3340;
1244 background: #1a1e26;
1245 color: #c5c9d2;
1246 font-size: 0.85rem;
1247 pointer-events: none;
1248}
1249
1250#hover-status-text {
1251 font-variant-numeric: tabular-nums;
1252}
1253
1254
1255#quests-backdrop,
1256#dialogues-backdrop,
1257#gifts-backdrop {
1258 position: fixed;
1259 inset: 0;
1260 background: rgba(0, 0, 0, 0.62);
1261 z-index: 19;
1262}
1263
1264#quests-modal,
1265#dialogues-modal,
1266#gifts-modal {
1267 position: fixed;
1268 inset: 5vh 5vw;
1269 z-index: 20;
1270 display: flex;
1271 flex-direction: column;
1272 background: #161a22;
1273 border: 1px solid #3a4250;
1274 box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
1275}
1276
1277#quests-modal[hidden],
1278#quests-backdrop[hidden],
1279#dialogues-modal[hidden],
1280#dialogues-backdrop[hidden],
1281#gifts-modal[hidden],
1282#gifts-backdrop[hidden] {
1283 display: none !important;
1284}
1285
1286#quests-modal>header,
1287#dialogues-modal>header,
1288#gifts-modal>header,
1289#quests-modal>footer,
1290#dialogues-modal>footer {
1291 display: flex;
1292 align-items: center;
1293 justify-content: space-between;
1294 gap: 0.75rem;
1295 padding: 0.75rem 1rem;
1296 border-bottom: 1px solid #2c3340;
1297}
1298
1299#quests-modal>footer,
1300#dialogues-modal>footer {
1301 border-bottom: 0;
1302 border-top: 1px solid #2c3340;
1303 justify-content: flex-end;
1304}
1305
1306.gifts-layout {
1307 flex: 1;
1308 min-height: 0;
1309 display: flex;
1310 overflow: hidden;
1311}
1312
1313.gifts-search-pane {
1314 width: 260px;
1315 flex-shrink: 0;
1316 border-right: 1px solid #2c3340;
1317 padding: 0.65rem;
1318 display: flex;
1319 flex-direction: column;
1320 gap: 0.5rem;
1321 overflow: auto;
1322 background: #12151c;
1323}
1324
1325.gifts-search-label {
1326 display: flex;
1327 flex-direction: column;
1328 gap: 0.35rem;
1329 font-size: 0.85rem;
1330}
1331
1332.gifts-detail {
1333 flex: 1;
1334 min-width: 0;
1335 overflow: auto;
1336 padding: 0.85rem 1rem;
1337 display: flex;
1338 flex-direction: column;
1339 gap: 0.75rem;
1340}
1341
1342.gifts-message-label {
1343 display: flex;
1344 flex-direction: column;
1345 gap: 0.35rem;
1346}
1347
1348.gifts-message-label textarea {
1349 width: 100%;
1350 min-height: 6rem;
1351 resize: vertical;
1352 font: inherit;
1353}
1354
1355.gifts-items-header {
1356 display: flex;
1357 align-items: center;
1358 justify-content: space-between;
1359 gap: 0.5rem;
1360}
1361
1362.gifts-item-list {
1363 display: flex;
1364 flex-direction: column;
1365 gap: 0.35rem;
1366}
1367
1368.gifts-item-row {
1369 display: flex;
1370 align-items: center;
1371 gap: 0.5rem;
1372}
1373
1374.gifts-item-row span {
1375 flex: 1;
1376 min-width: 0;
1377}
1378
1379.gifts-item-row input[type="number"] {
1380 width: 5rem;
1381}
1382
1383.gifts-item-search-results {
1384 display: flex;
1385 flex-direction: column;
1386 gap: 0.2rem;
1387 max-height: 14rem;
1388 min-height: 4rem;
1389 overflow: auto;
1390 border: 1px solid #2c3340;
1391 background: #0f1218;
1392 padding: 0.35rem;
1393}
1394
1395.gifts-item-search-results .shop-item-search-row {
1396 width: 100%;
1397}
1398
1399.gifts-preview-wrap {
1400 display: flex;
1401 flex-direction: column;
1402 gap: 0.4rem;
1403 margin-top: 0.25rem;
1404}
1405
1406.gifts-letter-preview,
1407.gifts-letter-signature {
1408 margin: 0;
1409 padding: 0.75rem;
1410 background: #0f1218;
1411 border: 1px solid #2c3340;
1412 white-space: pre-wrap;
1413 font-family: Georgia, "Times New Roman", serif;
1414 font-size: 0.92rem;
1415 line-height: 1.35;
1416}
1417
1418.gifts-letter-signature {
1419 opacity: 0.9;
1420}
1421
1422#gifts-status.error {
1423 color: #e8a0a0;
1424}
1425
1426.content-editor-layout {
1427 flex: 1;
1428 min-height: 0;
1429 display: flex;
1430 overflow: hidden;
1431}
1432
1433.content-editor-list-pane {
1434 width: 220px;
1435 flex-shrink: 0;
1436 border-right: 1px solid #2c3340;
1437 padding: 0.65rem;
1438 display: flex;
1439 flex-direction: column;
1440 gap: 0.5rem;
1441 overflow: auto;
1442 background: #12151c;
1443}
1444
1445.content-editor-list {
1446 display: flex;
1447 flex-direction: column;
1448 gap: 0.25rem;
1449}
1450
1451.content-editor-list button {
1452 text-align: left;
1453 width: 100%;
1454}
1455
1456.content-editor-list button.active {
1457 border-color: #6b8cae;
1458 background: #1c2838;
1459}
1460
1461.content-editor-detail {
1462 flex: 1;
1463 min-width: 0;
1464 overflow: auto;
1465 padding: 0.75rem 1rem 1rem;
1466}
1467
1468.content-editor-detail label {
1469 display: block;
1470 margin: 0.4rem 0;
1471}
1472
1473.content-editor-detail input[type="text"],
1474.content-editor-detail input[type="number"],
1475.content-editor-detail textarea,
1476.content-editor-detail select {
1477 display: block;
1478 width: 100%;
1479 margin-top: 0.2rem;
1480 box-sizing: border-box;
1481}
1482
1483.content-editor-section {
1484 border: 1px solid #2c3340;
1485 padding: 0.55rem 0.65rem;
1486 margin: 0.55rem 0;
1487 background: #12151c;
1488}
1489
1490.content-editor-section-header {
1491 display: flex;
1492 align-items: center;
1493 justify-content: space-between;
1494 gap: 0.5rem;
1495 margin-bottom: 0.35rem;
1496}
1497
1498.content-editor-row {
1499 display: flex;
1500 flex-wrap: wrap;
1501 gap: 0.35rem;
1502 align-items: center;
1503 margin: 0.35rem 0;
1504}
1505
1506.content-editor-remove,
1507#dialogues-delete {
1508 color: #f0e8e8;
1509 background: #8a3030;
1510 border-color: #a84848;
1511}
1512
1513.content-editor-remove:hover,
1514#dialogues-delete:hover:not(:disabled) {
1515 background: #a83838;
1516 border-color: #c06060;
1517}
1518
1519#dialogues-delete:disabled {
1520 opacity: 0.45;
1521}
1522
1523.content-editor-add-step {
1524 display: block;
1525 width: 100%;
1526 margin: 0.35rem 0 0.75rem;
1527 padding: 0.45rem 0.6rem;
1528 color: #9eb0c8;
1529 background: transparent;
1530 border: 1px dashed #3a4558;
1531 cursor: pointer;
1532}
1533
1534.content-editor-add-step:hover {
1535 color: #c5d4e8;
1536 border-color: #5a6a82;
1537 background: #1a2230;
1538}
1539
1540.content-editor-clause {
1541 border: 1px dashed #3a4250;
1542 padding: 0.4rem;
1543 margin: 0.35rem 0;
1544}
1545
1546.content-editor-hint {
1547 color: #8a909c;
1548 font-size: 0.85rem;
1549 margin: 0.25rem 0 0.5rem;
1550}
1551.dialogue-reward-item-search {
1552 display: flex;
1553 flex-direction: column;
1554 gap: 0.35rem;
1555 margin: 0.35rem 0 0.6rem;
1556}
1557
1558.dialogue-reward-item-results {
1559 max-height: 220px;
1560 overflow: auto;
1561 border: 1px solid #3a4250;
1562 border-radius: 4px;
1563 background: #12151c;
1564}