BlueGit

timfa questward

Files

questward / client / ui / editor.css

editor.css

editor.css 21.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, body {
9 margin: 0;
10 min-height: 100%;
11}
12
13body > header {
14 display: flex;
15 align-items: flex-start;
16 justify-content: space-between;
17 gap: 1rem;
18 padding: 0.6rem 1rem;
19 border-bottom: 1px solid #2c3340;
20}
21
22.editor-header-main {
23 min-width: 0;
24 flex: 1 1 auto;
25}
26
27.editor-header-main h1,
28.editor-header-main p {
29 margin: 0.15rem 0;
30}
31
32#editor-restart-now {
33 flex: 0 0 auto;
34 margin-top: 0.15rem;
35 padding: 0.35rem 0.65rem;
36 border: 1px solid #7a4a4a;
37 border-radius: 0.35rem;
38 background: #2a1818;
39 color: #f0c8c8;
40 font: inherit;
41 cursor: pointer;
42 white-space: nowrap;
43}
44
45#editor-restart-now:hover:not(:disabled) {
46 background: #3a2020;
47}
48
49#editor-restart-now:disabled {
50 opacity: 0.55;
51 cursor: default;
52}
53
54#editor-restart-now[hidden] {
55 display: none !important;
56}
57
58body > aside {
59 position: absolute;
60 left: 0;
61 top: 56px;
62 width: 250px;
63 bottom: 0;
64 overflow: auto;
65 padding: 0.75rem;
66 box-sizing: border-box;
67 background: #1a1e26;
68 border-right: 1px solid #2c3340;
69}
70
71#side-panels {
72 position: absolute;
73 right: 0;
74 top: 56px;
75 width: 320px;
76 bottom: 0;
77 display: flex;
78 flex-direction: column;
79 box-sizing: border-box;
80 background: #1a1e26;
81 border-left: 1px solid #2c3340;
82}
83.side-panel-tabs {
84 display: flex;
85 gap: 0;
86 border-bottom: 1px solid #2c3340;
87 flex: 0 0 auto;
88}
89.side-panel-tab {
90 flex: 1 1 0;
91 border: 0;
92 border-radius: 0;
93 background: transparent;
94 color: #9aa3b2;
95 padding: 0.55rem 0.4rem;
96 cursor: pointer;
97}
98.side-panel-tab.active {
99 color: #e8e4d9;
100 background: #222833;
101 box-shadow: inset 0 -2px 0 #6a8cbf;
102}
103.side-panel-body {
104 flex: 1 1 auto;
105 min-height: 0;
106 overflow: auto;
107 padding: 0.75rem;
108 box-sizing: border-box;
109}
110#editor-console {
111 margin: 0;
112 padding: 0.4rem;
113 min-height: 12rem;
114 max-height: calc(100% - 2.5rem);
115 overflow: auto;
116 font: 0.72rem/1.35 ui-monospace, Consolas, monospace;
117 white-space: pre-wrap;
118 word-break: break-word;
119 background: #0e1116;
120 border: 1px solid #2c3340;
121 color: #c8d0dc;
122}
123#editor-console .console-warn { color: #e0c070; }
124#editor-console .console-error { color: #f0a0a0; }
125#editor-console .console-debug { color: #7a8494; }
126#console-clear {
127 margin-top: 0.5rem;
128 width: 100%;
129}
130
131.nav, .palette {
132 display: flex;
133 flex-direction: column;
134 gap: 0.35rem;
135 margin: 0.75rem 0;
136}
137
138.dimension-picker {
139 margin: 0.75rem 0 0.35rem;
140 display: flex;
141 flex-direction: column;
142 gap: 0.35rem;
143}
144.dimension-picker > label,
145.dimension-picker-label {
146 font-size: 0.85rem;
147 color: #9aa3b2;
148}
149.dim-combo {
150 position: relative;
151 display: flex;
152 align-items: stretch;
153}
154.dim-combo-input {
155 flex: 1 1 auto;
156 width: 0;
157 min-width: 0;
158 box-sizing: border-box;
159}
160.dim-combo-toggle {
161 flex: 0 0 auto;
162 padding: 0 0.45rem;
163 border: 1px solid #3a4250;
164 border-left: none;
165 background: #1a1f28;
166 color: #c8d0dc;
167 cursor: pointer;
168}
169.dim-combo-toggle:hover {
170 background: #243044;
171}
172.dim-combo-list {
173 position: absolute;
174 left: 0;
175 right: 0;
176 top: calc(100% + 2px);
177 z-index: 20;
178 margin: 0;
179 padding: 0.2rem 0;
180 list-style: none;
181 max-height: 220px;
182 overflow: auto;
183 background: #101216;
184 border: 1px solid #3a4250;
185 box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
186}
187.dim-combo-option,
188.dim-combo-empty {
189 display: flex;
190 flex-direction: column;
191 gap: 0.1rem;
192 padding: 0.35rem 0.55rem;
193 cursor: pointer;
194}
195.dim-combo-option:hover,
196.dim-combo-option.selected {
197 background: #243044;
198}
199.dim-combo-option.disabled {
200 opacity: 0.55;
201}
202.dim-combo-option.create {
203 color: #b8d4a0;
204 border-top: 1px solid #2c3340;
205}
206.dim-combo-option-hint,
207.dim-combo-empty {
208 font-size: 0.78rem;
209 color: #9aa3b2;
210}
211.dimension-settings {
212 display: flex;
213 flex-direction: column;
214 gap: 0.45rem;
215 margin: 0.5rem 0 0.85rem;
216 padding: 0.55rem 0.6rem;
217 border: 1px solid #2c3340;
218 background: #151922;
219}
220.dimension-settings label {
221 display: flex;
222 flex-direction: column;
223 gap: 0.2rem;
224 font-size: 0.85rem;
225 color: #9aa3b2;
226}
227.dimension-settings input,
228.dimension-settings select {
229 width: 100%;
230 box-sizing: border-box;
231}
232.dimension-settings-actions {
233 display: flex;
234 flex-wrap: wrap;
235 gap: 0.35rem;
236}
237#dim-delete {
238 border-color: #8a3a3a;
239 color: #f0a0a0;
240}
241
242button, input {
243 font: inherit;
244 background: #101216;
245 color: inherit;
246 border: 1px solid #3a4250;
247 padding: 0.3rem 0.5rem;
248}
249
250button { cursor: pointer; }
251button:disabled {
252 opacity: 0.45;
253 cursor: not-allowed;
254}
255#save.save-dirty:not(:disabled) {
256 animation: save-pulse 1.1s ease-in-out infinite;
257 border-color: #c9a227;
258 box-shadow: 0 0 0 1px rgba(201, 162, 39, 0.35);
259}
260@keyframes save-pulse {
261 0%, 100% { opacity: 1; }
262 50% { opacity: 0.55; }
263}
264#unsaved-chunk-backdrop {
265 position: fixed;
266 inset: 0;
267 background: rgba(0, 0, 0, 0.62);
268 z-index: 29;
269}
270#unsaved-chunk-modal {
271 position: fixed;
272 left: 50%;
273 top: 50%;
274 transform: translate(-50%, -50%);
275 z-index: 30;
276 width: min(420px, 92vw);
277 padding: 1rem 1.1rem;
278 background: #161a22;
279 border: 1px solid #3a4250;
280 box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
281}
282#unsaved-chunk-modal header {
283 margin: 0 0 0.5rem;
284 padding: 0;
285 border: 0;
286}
287#unsaved-chunk-modal h2 {
288 margin: 0;
289 font-size: 1.1rem;
290}
291#dimension-settings-backdrop {
292 position: fixed;
293 inset: 0;
294 background: rgba(0, 0, 0, 0.62);
295 z-index: 29;
296}
297#dimension-settings-modal {
298 position: fixed;
299 left: 50%;
300 top: 50%;
301 transform: translate(-50%, -50%);
302 z-index: 30;
303 width: min(420px, 92vw);
304 padding: 1rem 1.1rem;
305 background: #161a22;
306 border: 1px solid #3a4250;
307 box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
308}
309#dimension-settings-modal header {
310 display: flex;
311 align-items: center;
312 justify-content: space-between;
313 gap: 0.75rem;
314 margin: 0 0 0.75rem;
315 padding: 0;
316 border: 0;
317}
318#dimension-settings-modal h2 {
319 margin: 0;
320 font-size: 1.1rem;
321}
322#dimension-settings-modal .dimension-settings {
323 margin: 0;
324 padding: 0;
325 border: 0;
326 background: transparent;
327}
328.unsaved-chunk-actions {
329 display: flex;
330 justify-content: flex-end;
331 gap: 0.5rem;
332 margin-top: 1rem;
333}
334#apply-status.ok { color: #b8d4a0; }
335.error { color: #f0a0a0; }
336.hint { color: #9aa3b2; font-size: 0.85rem; }
337.open-toggle { display: flex; gap: 0.4rem; align-items: center; }
338article { margin-bottom: 0.75rem; }
339fieldset { border-color: #3a4250; margin-top: 1rem; }
340#selection-border {
341 position: fixed;
342 pointer-events: none;
343 box-sizing: border-box;
344 border: 2px solid #e23d3d;
345 box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.55);
346 z-index: 4;
347}
348
349label { display: block; margin: 0.4rem 0; }
350
351#settings-backdrop {
352 position: fixed;
353 inset: 0;
354 background: rgba(0, 0, 0, 0.62);
355 z-index: 19;
356}
357
358#settings-modal {
359 position: fixed;
360 inset: 4vh 4vw;
361 z-index: 20;
362 display: flex;
363 background: #161a22;
364 border: 1px solid #3a4250;
365 box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
366}
367
368#settings-modal[hidden],
369#settings-backdrop[hidden] {
370 display: none !important;
371}
372
373#settings-main {
374 flex: 1;
375 min-width: 0;
376 display: flex;
377 flex-direction: column;
378}
379
380#settings-main header,
381#settings-main footer {
382 display: flex;
383 align-items: center;
384 justify-content: space-between;
385 gap: 0.75rem;
386 padding: 0.75rem 1rem;
387 border-bottom: 1px solid #2c3340;
388}
389
390#settings-main footer {
391 border-bottom: 0;
392 border-top: 1px solid #2c3340;
393}
394
395#settings-form {
396 flex: 1;
397 overflow: auto;
398 padding: 0;
399 display: flex;
400 flex-direction: column;
401 min-height: 0;
402}
403
404.settings-tabs {
405 display: flex;
406 flex-wrap: wrap;
407 gap: 0.25rem;
408 padding: 0.65rem 1rem 0.5rem;
409 border-bottom: 1px solid #2c3340;
410 background: #12151c;
411}
412
413.settings-tab {
414 appearance: none;
415 border: 1px solid transparent;
416 background: transparent;
417 color: #a8a295;
418 padding: 0.35rem 0.7rem;
419 border-radius: 4px;
420 cursor: pointer;
421 font: inherit;
422}
423
424.settings-tab:hover {
425 color: #e8e2d4;
426 background: #1c222c;
427}
428
429.settings-tab.active {
430 color: #1a1510;
431 background: #d4c48a;
432 border-color: #d4c48a;
433}
434
435.settings-panels {
436 flex: 1;
437 overflow: auto;
438 padding: 0.75rem 1rem 1.25rem;
439}
440
441.settings-category {
442 margin-bottom: 0;
443}
444
445.settings-category h3 {
446 margin: 0 0 0.5rem;
447 font-size: 0.95rem;
448 color: #d4c48a;
449 border-bottom: 1px solid #2c3340;
450 padding-bottom: 0.25rem;
451}
452
453.setting-row {
454 display: grid;
455 grid-template-columns: minmax(12rem, 1fr) minmax(8rem, 14rem) 4rem;
456 gap: 0.4rem 0.75rem;
457 align-items: center;
458 padding: 0.45rem 0.5rem;
459 margin: 0.2rem 0;
460 border-radius: 4px;
461}
462
463.setting-row .hint {
464 grid-column: 1 / -1;
465 margin: 0;
466}
467
468.setting-row.dirty {
469 background: #4a3d18;
470 box-shadow: inset 0 0 0 1px #c4a35a;
471}
472
473.setting-value {
474 font-variant-numeric: tabular-nums;
475 color: #c5c0b4;
476}
477
478.seed-price-panel {
479 display: flex;
480 flex-direction: column;
481 gap: 0.65rem;
482 min-height: 0;
483}
484
485.seed-price-toolbar {
486 display: flex;
487 flex-wrap: wrap;
488 gap: 0.55rem 0.75rem;
489 align-items: center;
490}
491
492.seed-price-search {
493 flex: 1 1 12rem;
494 min-width: 10rem;
495 padding: 0.4rem 0.55rem;
496 background: #10141b;
497 border: 1px solid #3a4250;
498 color: #e8e4d9;
499 font: inherit;
500}
501
502.seed-price-meta {
503 flex: 0 0 auto;
504}
505
506.seed-price-pager {
507 display: flex;
508 align-items: center;
509 gap: 0.45rem;
510 margin-left: auto;
511}
512
513.seed-price-pager button {
514 appearance: none;
515 border: 1px solid #3a4250;
516 background: #1c222c;
517 color: #e8e4d9;
518 padding: 0.3rem 0.55rem;
519 cursor: pointer;
520 font: inherit;
521}
522
523.seed-price-pager button:disabled {
524 opacity: 0.4;
525 cursor: default;
526}
527
528.seed-price-header,
529.seed-price-row {
530 display: grid;
531 grid-template-columns: minmax(10rem, 1.6fr) 6.5rem 5.5rem 5.5rem;
532 gap: 0.5rem 0.65rem;
533 align-items: center;
534}
535
536.seed-price-header {
537 padding: 0.25rem 0.4rem;
538 color: #a8a295;
539 font-size: 0.78rem;
540 text-transform: uppercase;
541 letter-spacing: 0.04em;
542 border-bottom: 1px solid #2c3340;
543}
544
545.seed-price-list {
546 display: flex;
547 flex-direction: column;
548 gap: 0.25rem;
549}
550
551.seed-price-row {
552 padding: 0.4rem;
553 border-radius: 4px;
554}
555
556.seed-price-row.dirty {
557 background: #4a3d18;
558 box-shadow: inset 0 0 0 1px #c4a35a;
559}
560
561.seed-price-name {
562 display: flex;
563 flex-direction: column;
564 gap: 0.1rem;
565 min-width: 0;
566}
567
568.seed-price-name strong {
569 overflow: hidden;
570 text-overflow: ellipsis;
571 white-space: nowrap;
572}
573
574.seed-price-name small {
575 color: #8b8790;
576 font-size: 0.75rem;
577}
578
579.seed-price-seed {
580 display: flex;
581 flex-direction: column;
582 gap: 0.15rem;
583 font-size: 0.75rem;
584 color: #a8a295;
585}
586
587.seed-price-seed input {
588 width: 100%;
589 padding: 0.3rem 0.4rem;
590 background: #10141b;
591 border: 1px solid #3a4250;
592 color: #e8e4d9;
593 font: inherit;
594}
595
596.seed-price-readonly {
597 display: flex;
598 flex-direction: column;
599 gap: 0.15rem;
600 font-size: 0.75rem;
601 color: #a8a295;
602}
603
604.seed-price-readonly strong {
605 font-size: 0.95rem;
606 color: #e8e4d9;
607 font-variant-numeric: tabular-nums;
608}
609
610.seed-price-readonly strong.muted {
611 color: #6d6875;
612}
613
614.starter-equipment-panel h3 {
615 margin: 0.85rem 0 0.4rem;
616 font-size: 0.85rem;
617 text-transform: uppercase;
618 letter-spacing: 0.03em;
619 color: #9aa3b2;
620}
621
622.starter-equip-list,
623.starter-inv-list {
624 display: flex;
625 flex-direction: column;
626 gap: 0.4rem;
627}
628
629.starter-equip-row {
630 display: grid;
631 grid-template-columns: 5.5rem 1fr;
632 gap: 0.5rem;
633 align-items: center;
634}
635
636.starter-equip-row.dirty select,
637.starter-inv-row.dirty select,
638.starter-inv-row.dirty input {
639 border-color: #c4a35a;
640}
641
642.starter-inv-row {
643 display: grid;
644 grid-template-columns: 1fr 4.5rem auto;
645 gap: 0.4rem;
646 align-items: center;
647}
648
649.equip-stats-panel {
650 display: flex;
651 flex-direction: column;
652 gap: 0.75rem;
653 min-width: 0;
654}
655
656.equip-stats-toolbar {
657 display: flex;
658 flex-wrap: wrap;
659 gap: 0.75rem;
660 align-items: center;
661}
662
663.equip-stats-category-label {
664 display: flex;
665 align-items: center;
666 gap: 0.5rem;
667 font-size: 0.85rem;
668 color: #c5ccd8;
669}
670
671.equip-stats-category {
672 min-width: 12rem;
673}
674
675.equip-stats-tables {
676 display: flex;
677 flex-direction: column;
678 gap: 1rem;
679 overflow: auto;
680 max-height: min(62vh, 640px);
681}
682
683.equip-stats-table-wrap {
684 overflow: auto;
685}
686
687.equip-stats-table {
688 border-collapse: collapse;
689 width: max-content;
690 min-width: 100%;
691 font-size: 0.8rem;
692}
693
694.equip-stats-table th,
695.equip-stats-table td {
696 border: 1px solid #2c3340;
697 padding: 0.35rem 0.45rem;
698 vertical-align: middle;
699 text-align: center;
700}
701
702.equip-stats-table th {
703 background: #1a1f28;
704 color: #9aa3b2;
705 font-weight: 600;
706 position: sticky;
707 top: 0;
708 z-index: 1;
709}
710
711.equip-stats-table th:first-child,
712.equip-stats-table td.equip-stats-item {
713 position: sticky;
714 left: 0;
715 z-index: 2;
716 background: #151922;
717 text-align: left;
718 min-width: 9rem;
719}
720
721.equip-stats-table th:first-child {
722 z-index: 3;
723}
724
725.equip-stats-item {
726 display: flex;
727 align-items: center;
728 gap: 0.45rem;
729 white-space: nowrap;
730}
731
732.equip-stats-icon {
733 image-rendering: pixelated;
734 flex-shrink: 0;
735 background: #0e1218;
736 border: 1px solid #2c3340;
737}
738
739.equip-stats-cell.empty {
740 color: #5c6575;
741}
742
743.equip-stats-cell-inner {
744 display: flex;
745 flex-direction: column;
746 gap: 0.25rem;
747 align-items: stretch;
748}
749
750.equip-stats-stat {
751 display: flex;
752 align-items: center;
753 gap: 0.3rem;
754 margin: 0;
755}
756
757.equip-stats-stat img {
758 flex-shrink: 0;
759}
760
761.equip-stats-stat input {
762 width: 3.2rem;
763 padding: 0.15rem 0.25rem;
764}
765
766.equip-stats-stat.dirty input {
767 border-color: #c4a35a;
768}
769
770#settings-log-wrap {
771 width: min(340px, 32vw);
772 flex-shrink: 0;
773 border-left: 1px solid #2c3340;
774 display: flex;
775 flex-direction: column;
776 background: #1a1e26;
777}
778
779#settings-log-wrap h2 {
780 margin: 0;
781 padding: 0.75rem 1rem;
782 border-bottom: 1px solid #2c3340;
783 font-size: 1rem;
784}
785
786#settings-log {
787 flex: 1;
788 overflow: auto;
789 padding: 0.75rem 1rem;
790}
791
792#palette-backdrop,
793#tile-config-backdrop {
794 position: fixed;
795 inset: 0;
796 background: rgba(0, 0, 0, 0.62);
797 z-index: 19;
798}
799
800#palette-modal,
801#tile-config-modal {
802 position: fixed;
803 z-index: 20;
804 display: flex;
805 flex-direction: column;
806 background: #161a22;
807 border: 1px solid #3a4250;
808 box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
809}
810
811#palette-modal {
812 inset: 8vh 12vw;
813}
814
815#tile-config-modal {
816 top: 10vh;
817 left: 50%;
818 transform: translateX(-50%);
819 width: min(440px, 92vw);
820 max-height: 80vh;
821}
822
823#palette-modal[hidden],
824#palette-backdrop[hidden],
825#tile-config-modal[hidden],
826#tile-config-backdrop[hidden],
827#tile-tooltip[hidden] {
828 display: none !important;
829}
830
831#palette-modal > header,
832#tile-config-modal > header,
833#tile-config-modal > footer {
834 display: flex;
835 align-items: center;
836 justify-content: space-between;
837 gap: 0.75rem;
838 padding: 0.75rem 1rem;
839 border-bottom: 1px solid #2c3340;
840}
841
842#tile-config-modal > footer {
843 border-bottom: 0;
844 border-top: 1px solid #2c3340;
845}
846
847#palette-panels {
848 flex: 1;
849 overflow: auto;
850 padding: 0.75rem 1rem 1.25rem;
851}
852
853.palette-grid {
854 display: grid;
855 grid-template-columns: repeat(auto-fill, minmax(7.5rem, 1fr));
856 gap: 0.6rem;
857}
858
859.palette-card {
860 display: flex;
861 flex-direction: column;
862 align-items: center;
863 gap: 0.35rem;
864 padding: 0.55rem 0.4rem;
865 min-height: 6.5rem;
866}
867
868.palette-thumb {
869 width: 48px;
870 height: 48px;
871 display: grid;
872 place-items: center;
873 background: #0d1016;
874 border: 1px solid #2c3340;
875 image-rendering: pixelated;
876 font-weight: 600;
877 color: #9aa3b2;
878}
879
880.palette-thumb img {
881 width: 100%;
882 height: 100%;
883 object-fit: contain;
884 image-rendering: pixelated;
885}
886
887#tile-config-form {
888 padding: 0.75rem 1rem 1rem;
889 display: flex;
890 flex-direction: column;
891 gap: 0.35rem;
892 flex: 1;
893 min-height: 0;
894 overflow: auto;
895}
896
897.spawner-sells-header {
898 display: flex;
899 align-items: center;
900 justify-content: space-between;
901 gap: 0.5rem;
902 margin-top: 0.55rem;
903}
904
905.spawner-sells-list {
906 display: flex;
907 flex-direction: column;
908 gap: 0.35rem;
909}
910
911.spawner-sells-row {
912 display: grid;
913 grid-template-columns: 1fr 4.5rem auto;
914 gap: 0.4rem;
915 align-items: center;
916}
917
918.spawner-sells-name {
919 overflow: hidden;
920 text-overflow: ellipsis;
921 white-space: nowrap;
922}
923
924.spawner-equip-list {
925 display: flex;
926 flex-direction: column;
927 gap: 0.35rem;
928}
929
930.spawner-equip-row {
931 display: grid;
932 grid-template-columns: 4.5rem 1fr auto auto auto;
933 gap: 0.35rem;
934 align-items: center;
935}
936
937.spawner-equip-slot {
938 text-transform: capitalize;
939 color: #9aa3b2;
940 font-size: 0.85rem;
941}
942
943.spawner-equip-name {
944 overflow: hidden;
945 text-overflow: ellipsis;
946 white-space: nowrap;
947}
948
949.spawner-equip-dye-swatch {
950 display: inline-block;
951 width: 0.85rem;
952 height: 0.85rem;
953 margin-right: 0.35rem;
954 border: 1px solid #3a4250;
955 vertical-align: -0.1rem;
956 border-radius: 2px;
957}
958
959#equip-dye-backdrop {
960 position: fixed;
961 inset: 0;
962 background: rgba(0, 0, 0, 0.55);
963 z-index: 23;
964}
965
966#equip-dye-modal {
967 position: fixed;
968 z-index: 24;
969 top: 18vh;
970 left: 50%;
971 transform: translateX(-50%);
972 width: min(340px, 90vw);
973 display: flex;
974 flex-direction: column;
975 background: #161a22;
976 border: 1px solid #3a4250;
977 box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
978}
979
980#equip-dye-modal[hidden],
981#equip-dye-backdrop[hidden] {
982 display: none !important;
983}
984
985#equip-dye-modal > header {
986 display: flex;
987 align-items: center;
988 justify-content: space-between;
989 gap: 0.75rem;
990 padding: 0.75rem 1rem;
991 border-bottom: 1px solid #2c3340;
992}
993
994.equip-dye-body {
995 padding: 0.85rem 1rem 1rem;
996 display: flex;
997 flex-direction: column;
998 gap: 0.55rem;
999}
1000
1001.equip-dye-preview {
1002 height: 3rem;
1003 border: 1px solid #3a4250;
1004 border-radius: 4px;
1005 background: #c85078;
1006}
1007
1008.equip-dye-channel {
1009 display: grid;
1010 grid-template-columns: 1.25rem 1fr 3.5rem;
1011 gap: 0.4rem;
1012 align-items: center;
1013 font-size: 0.85rem;
1014 color: #9aa3b2;
1015}
1016
1017.equip-dye-channel input[type="number"] {
1018 width: 100%;
1019}
1020
1021.equip-dye-actions {
1022 display: flex;
1023 justify-content: flex-end;
1024 gap: 0.4rem;
1025 margin-top: 0.25rem;
1026}
1027
1028.spawner-buys-row {
1029 display: flex;
1030 align-items: center;
1031 gap: 0.4rem;
1032 margin-top: 0.45rem;
1033}
1034
1035#shop-item-search-backdrop {
1036 position: fixed;
1037 inset: 0;
1038 background: rgba(0, 0, 0, 0.55);
1039 z-index: 21;
1040}
1041
1042#shop-item-search-modal {
1043 position: fixed;
1044 z-index: 22;
1045 top: 18vh;
1046 left: 50%;
1047 transform: translateX(-50%);
1048 width: min(420px, 92vw);
1049 max-height: 70vh;
1050 display: flex;
1051 flex-direction: column;
1052 background: #161a22;
1053 border: 1px solid #3a4250;
1054 box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
1055}
1056
1057#shop-item-search-modal[hidden],
1058#shop-item-search-backdrop[hidden] {
1059 display: none !important;
1060}
1061
1062#shop-item-search-modal > header {
1063 display: flex;
1064 align-items: center;
1065 justify-content: space-between;
1066 gap: 0.75rem;
1067 padding: 0.75rem 1rem;
1068 border-bottom: 1px solid #2c3340;
1069}
1070
1071#shop-item-search-modal > .shop-item-search-body {
1072 padding: 0.75rem 1rem 1rem;
1073 display: flex;
1074 flex-direction: column;
1075 gap: 0.5rem;
1076 min-height: 0;
1077 overflow: hidden;
1078}
1079
1080#shop-item-search-results {
1081 overflow: auto;
1082 max-height: 40vh;
1083 display: flex;
1084 flex-direction: column;
1085 gap: 0.25rem;
1086}
1087
1088.shop-item-search-row {
1089 text-align: left;
1090 padding: 0.4rem 0.5rem;
1091 display: flex;
1092 flex-direction: column;
1093 align-items: flex-start;
1094 gap: 0.1rem;
1095}
1096
1097.shop-item-search-row-name {
1098 font: inherit;
1099 color: inherit;
1100}
1101
1102.shop-item-search-row-key {
1103 font-size: 0.78rem;
1104 color: #9aa3b2;
1105}
1106
1107.shop-item-search-footer {
1108 display: flex;
1109 align-items: center;
1110 justify-content: space-between;
1111 gap: 0.5rem;
1112 flex-shrink: 0;
1113}
1114
1115#shop-item-search-page {
1116 flex: 1;
1117 text-align: center;
1118 font-variant-numeric: tabular-nums;
1119}
1120
1121#tile-tooltip {
1122 position: fixed;
1123 z-index: 15;
1124 pointer-events: none;
1125 max-width: 16rem;
1126 padding: 0.4rem 0.55rem;
1127 background: rgba(12, 14, 18, 0.92);
1128 border: 1px solid #3a4250;
1129 color: #e8e4d9;
1130 font-size: 0.8rem;
1131 white-space: pre-wrap;
1132 box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
1133}
1134
1135#hover-status {
1136 position: fixed;
1137 left: 250px;
1138 right: 280px;
1139 bottom: 0;
1140 z-index: 5;
1141 margin: 0;
1142 padding: 0.35rem 0.75rem;
1143 border-top: 1px solid #2c3340;
1144 background: #1a1e26;
1145 color: #c5c9d2;
1146 font-size: 0.85rem;
1147 pointer-events: none;
1148}
1149#hover-status-text {
1150 font-variant-numeric: tabular-nums;
1151}
1152
1153
1154#quests-backdrop,
1155#dialogues-backdrop {
1156 position: fixed;
1157 inset: 0;
1158 background: rgba(0, 0, 0, 0.62);
1159 z-index: 19;
1160}
1161
1162#quests-modal,
1163#dialogues-modal {
1164 position: fixed;
1165 inset: 5vh 5vw;
1166 z-index: 20;
1167 display: flex;
1168 flex-direction: column;
1169 background: #161a22;
1170 border: 1px solid #3a4250;
1171 box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
1172}
1173
1174#quests-modal[hidden],
1175#quests-backdrop[hidden],
1176#dialogues-modal[hidden],
1177#dialogues-backdrop[hidden] {
1178 display: none !important;
1179}
1180
1181#quests-modal > header,
1182#dialogues-modal > header,
1183#quests-modal > footer,
1184#dialogues-modal > footer {
1185 display: flex;
1186 align-items: center;
1187 justify-content: space-between;
1188 gap: 0.75rem;
1189 padding: 0.75rem 1rem;
1190 border-bottom: 1px solid #2c3340;
1191}
1192
1193#quests-modal > footer,
1194#dialogues-modal > footer {
1195 border-bottom: 0;
1196 border-top: 1px solid #2c3340;
1197 justify-content: flex-end;
1198}
1199
1200.content-editor-layout {
1201 flex: 1;
1202 min-height: 0;
1203 display: flex;
1204 overflow: hidden;
1205}
1206
1207.content-editor-list-pane {
1208 width: 220px;
1209 flex-shrink: 0;
1210 border-right: 1px solid #2c3340;
1211 padding: 0.65rem;
1212 display: flex;
1213 flex-direction: column;
1214 gap: 0.5rem;
1215 overflow: auto;
1216 background: #12151c;
1217}
1218
1219.content-editor-list {
1220 display: flex;
1221 flex-direction: column;
1222 gap: 0.25rem;
1223}
1224
1225.content-editor-list button {
1226 text-align: left;
1227 width: 100%;
1228}
1229
1230.content-editor-list button.active {
1231 border-color: #6b8cae;
1232 background: #1c2838;
1233}
1234
1235.content-editor-detail {
1236 flex: 1;
1237 min-width: 0;
1238 overflow: auto;
1239 padding: 0.75rem 1rem 1rem;
1240}
1241
1242.content-editor-detail label {
1243 display: block;
1244 margin: 0.4rem 0;
1245}
1246
1247.content-editor-detail input[type="text"],
1248.content-editor-detail input[type="number"],
1249.content-editor-detail textarea,
1250.content-editor-detail select {
1251 display: block;
1252 width: 100%;
1253 margin-top: 0.2rem;
1254 box-sizing: border-box;
1255}
1256
1257.content-editor-section {
1258 border: 1px solid #2c3340;
1259 padding: 0.55rem 0.65rem;
1260 margin: 0.55rem 0;
1261 background: #12151c;
1262}
1263
1264.content-editor-section-header {
1265 display: flex;
1266 align-items: center;
1267 justify-content: space-between;
1268 gap: 0.5rem;
1269 margin-bottom: 0.35rem;
1270}
1271
1272.content-editor-row {
1273 display: flex;
1274 flex-wrap: wrap;
1275 gap: 0.35rem;
1276 align-items: center;
1277 margin: 0.35rem 0;
1278}
1279
1280.content-editor-clause {
1281 border: 1px dashed #3a4250;
1282 padding: 0.4rem;
1283 margin: 0.35rem 0;
1284}
1285
1286.content-editor-hint {
1287 color: #8a909c;
1288 font-size: 0.85rem;
1289 margin: 0.25rem 0 0.5rem;
1290}