更新离线关卡编辑器,加入单关导入和抓猪关卡转换工具

This commit is contained in:
2026-11-24 11:14:04 +08:00
parent 7f83f146a4
commit 9a6d6553fe
13 changed files with 1372 additions and 1124 deletions
+7
View File
@@ -53,6 +53,13 @@ header { flex-wrap: wrap; }
.has-overlay > img.entity-overlay { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 48%; height: 60%; object-fit: contain; pointer-events: none; }
.mainline-row label select { width: auto; max-width: 180px; }
#mainline-target { width: 80px; }
.file-actions :is(#package-import, #package-export) { color: #2463a5; background: #edf5ff; border-color: #b7cee9; }
.file-actions :is(#package-import, #package-export):hover { background: #deecfc; border-color: #7aa6d4; }
.file-actions :is(#import, #export) { color: #08766b; background: #edf8f3; border-color: #b4d8cd; }
.file-actions :is(#import, #export):hover { background: #dbf0e7; border-color: #73b6a1; }
.file-actions :is(#package-export, #export) { margin-right: 5px; }
#mainline-json-name { flex: 1 1 180px; min-width: 0; overflow-wrap: anywhere; font-size: 13px; color: var(--muted); }
#mainline-json-template { flex-basis: 100%; font-size: 12px; color: var(--muted); }
#mainline-error { font-size: 13px; color: #b42335; min-height: 18px; overflow-wrap: anywhere; }
.mainline-footer { justify-content: flex-end; border-top: 1px solid #e3e7ed; padding-top: 12px; }
@media (max-width: 600px) { dialog#mainline-dialog { padding: 14px; } #mainline-list { height: 240px; } .file-actions { flex-wrap: wrap; } }