feat: complete TASK-WP4-05 client export

This commit is contained in:
suyx
2026-08-03 14:41:04 +08:00
parent 457e1147e4
commit d09fda13c5
9 changed files with 753 additions and 26 deletions
+38
View File
@@ -463,6 +463,44 @@
.editor-location-consent input { min-height: 40px; padding: 7px 9px; border: 1px solid #85857f; border-radius: 0; font: inherit; }
.editor-location-actions { display: grid !important; grid-template-columns: 1fr; }
.editor-export-dialog {
width: min(640px, 100%);
max-height: min(760px, calc(100vh - 48px));
overflow: auto;
border: 2px solid #111111;
background: #ffffff;
box-shadow: 8px 8px 0 #111111;
}
.editor-export-dialog > header { display: flex; min-height: 82px; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid #b9b9b3; }
.editor-export-dialog > header p { margin: 0 0 3px; color: #62625d; font-size: 10px; font-weight: 800; }
.editor-export-dialog > header h2 { margin: 0; font-size: 22px; }
.editor-export-dialog > header button { width: 36px; height: 36px; border: 1px solid #111111; border-radius: 0; background: #ffffff; font: 24px/1 Arial, sans-serif; }
.editor-export-section { padding: 18px 22px; border-bottom: 1px solid #b9b9b3; }
.editor-export-section h3 { margin: 0 0 10px; font-size: 13px; }
.editor-export-segments { display: grid; grid-template-columns: 1fr 1fr; }
.editor-export-segments button { min-height: 42px; border: 1px solid #111111; border-radius: 0; background: #ffffff; font: inherit; font-weight: 800; }
.editor-export-segments button + button { border-left: 0; }
.editor-export-segments button[aria-pressed="true"] { background: #111111; color: #ffffff; }
.editor-export-label { display: flex; align-items: center; justify-content: space-between; }
.editor-export-label h3 { margin: 0; }
.editor-export-label output { min-width: 36px; font-weight: 800; text-align: right; }
.editor-export-quality { display: grid; grid-template-columns: minmax(0, 1fr) 72px; gap: 14px; align-items: center; margin-top: 10px; }
.editor-export-quality input[type="number"] { min-width: 0; height: 38px; padding: 5px 7px; border: 1px solid #85857f; border-radius: 0; font: inherit; }
.editor-export-summary { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 20px; padding: 18px 22px; border-bottom: 1px solid #b9b9b3; font-size: 12px; }
.editor-export-summary span { color: #62625d; }
.editor-export-summary strong { text-align: right; }
.editor-export-pending { display: grid; gap: 10px; margin: 18px 22px 0; padding: 14px; border-left: 4px solid #c92a24; background: #f7f7f4; font-size: 12px; }
.editor-export-pending span { display: flex; gap: 9px; align-items: center; }
.editor-export-pending input { width: 18px; height: 18px; margin: 0; }
.editor-export-dialog > footer { display: flex; justify-content: flex-end; gap: 8px; padding: 20px 22px; }
.editor-export-dialog > footer button,
.editor-export-result button { min-height: 42px; padding: 8px 16px; border: 1px solid #111111; border-radius: 0; background: #ffffff; font: inherit; font-weight: 800; }
.editor-export-result { display: grid; gap: 12px; padding: 28px 22px 22px; }
.editor-export-result > p { margin: 0; padding: 14px; border-left: 4px solid #12805c; background: #effaf5; font-weight: 800; }
.editor-export-result.failed > p { border-left-color: #c92a24; background: #fff2f0; color: #8f1d14; }
.editor-export-result small { color: #62625d; }
.editor-export-result > div { display: flex; justify-content: flex-end; gap: 8px; margin-top: 8px; }
.editor-loading { display: grid; min-height: 100vh; place-items: center; background: #e8e8e5; }
@media (max-width: 1100px) {