BlueGit

timfa questward

Files

questward / client / ui / editor.css

editor.css

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