feat(web-ui): 添加历史轨迹功能与地图适配
- 在 web-ui 中新增历史轨迹查询与回放功能,允许用户查看历史数据。 - 更新 map-loader.js 和 history-map-adapter.js,支持历史轨迹的地图渲染与交互。 - 修改 CSS 文件以改善历史轨迹界面的样式,确保在不同主题下的视觉一致性。 - 在 receivers.js 中更新接收机配置,支持 UID 身份隔离与状态显示优化。 - 在 map_settings.rs 中设置默认经纬度,提升地图初始化体验。
This commit is contained in:
@@ -49,7 +49,7 @@ body:is([data-screen=register], [data-screen=archives]) .registry-workspace .reg
|
||||
.registry-workspace .registration-editor .registration-heading {
|
||||
padding: 17px 20px; margin: 0; min-height: 70px; flex-shrink: 0; border-bottom: 1px solid var(--work-line);
|
||||
}
|
||||
.registry-workspace .registration-editor .registration-heading h1 { font-size: 16px; line-height: 1.5; margin: 0 0 4px; }
|
||||
.registry-workspace .registration-editor .registration-heading h1 { font-size: 18px; line-height: 1.5; margin: 0 0 4px; }
|
||||
.registry-workspace .registration-editor .registration-heading p { font-size: 12px; }
|
||||
.registry-workspace #register-form { display: flex; flex-direction: column; min-height: 0; flex: 1; }
|
||||
.registry-workspace .registration-fields-scroll { flex: 1; min-height: 0; overflow: auto; padding: 22px 20px; scroll-padding-block: 18px; scrollbar-width: thin; }
|
||||
@@ -66,8 +66,8 @@ body:is([data-screen=register], [data-screen=archives]) .registry-workspace .reg
|
||||
background: var(--glass-solid); box-shadow: none; backdrop-filter: none;
|
||||
-webkit-backdrop-filter: none; gap: 12px;
|
||||
}
|
||||
.registry-workspace .registration-savebar #draft-state { font-size: 11px; }
|
||||
.registry-workspace #register-button { font-size: 12px; }
|
||||
.registry-workspace .registration-savebar #draft-state { font-size: 12px; }
|
||||
.registry-workspace #register-button { font-size: 13px; }
|
||||
body:is([data-screen=register], [data-screen=archives]) .registry-workspace #registration-result {
|
||||
padding: 0; margin: 0; overflow: auto; scroll-padding-top: 60px; scrollbar-width: thin;
|
||||
}
|
||||
@@ -109,7 +109,7 @@ body:is([data-screen=register], [data-screen=archives]) .registry-workspace #reg
|
||||
#appearance-view .setting-content { padding: 0; height: 100%; max-height: 100%; min-height: 0; display: flex; flex-direction: column; overflow: hidden; }
|
||||
.setting-panel-head { min-height: 54px; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--work-line); flex-shrink: 0; }
|
||||
.setting-panel-head h2 { margin: 0; font-size: 16px; }
|
||||
.setting-panel-head > span { font-size: 11px; color: var(--work-muted); }
|
||||
.setting-panel-head > span { font-size: 12px; color: var(--work-muted); }
|
||||
.settings-scroll { padding: 20px; overflow: auto; min-height: 0; flex: 1; scroll-padding-block: 20px; scrollbar-width: thin; }
|
||||
#appearance-view .glass-material-note { padding: 14px 0 20px; border: 0; border-radius: 0; background: none; border-bottom: 1px solid var(--work-line); margin: 0; }
|
||||
#appearance-view .glass-material-note p { font-size: 12px; }
|
||||
@@ -124,7 +124,7 @@ body:is([data-screen=register], [data-screen=archives]) .registry-workspace #reg
|
||||
#appearance-view .setting-row label { font-size: 13px; }
|
||||
#appearance-view .setting-row small { font-size: 11px; }
|
||||
#appearance-view .setting-row .row { gap: 8px; }
|
||||
#appearance-view .setting-row input[type=range] { width: 110px; }
|
||||
#appearance-view .setting-row input[type=range] { width: clamp(110px, 17vw, 180px); }
|
||||
#appearance-view .setting-row output { min-width: 32px; font-size: 11px; }
|
||||
#appearance-view .setting-row select { min-width: 0; width: 125px; }
|
||||
#appearance-view .setting-actions { flex-wrap: wrap; gap: 12px; }
|
||||
@@ -135,14 +135,17 @@ body:is([data-screen=register], [data-screen=archives]) .registry-workspace #reg
|
||||
#appearance-wallpaper { position: absolute; inset: 0; width: 100%; height: 100%; filter: blur(var(--preview-blur, 0px)); }
|
||||
.preview-shade { position: absolute; inset: 0; background: linear-gradient(var(--glass-workspace), var(--glass-workspace)), rgba(0, 0, 0, var(--preview-shade, .14)); }
|
||||
.preview-material { position: absolute; inset: auto 12px 12px 36%; border: 1px solid var(--work-line); border-radius: 8px; padding: 12px; display: flex; flex-direction: column; gap: 7px; background: var(--work-panel); backdrop-filter: var(--glass-filter); -webkit-backdrop-filter: var(--glass-filter); }
|
||||
.preview-material span, .preview-material small { font-size: 10px; color: var(--work-muted); }
|
||||
.preview-material span, .preview-material small { font-size: 11px; color: var(--work-muted); }
|
||||
.preview-material strong { font-size: 14px; font-weight: 600; }
|
||||
.preview-values { display: grid; grid-template-columns: 1fr 1fr; gap: 21px 12px; margin: 0 0 23px; }
|
||||
.preview-values div { min-width: 0; }
|
||||
.preview-values dt { color: var(--work-muted); font-size: 11px; margin-bottom: 7px; }
|
||||
.preview-values dd { margin: 0; font-size: 12px; overflow-wrap: anywhere; }
|
||||
.preview-content .micro { font-size: 11px; line-height: 1.9; }
|
||||
.preview-values dt { color: var(--work-muted); font-size: 12px; margin-bottom: 7px; }
|
||||
.preview-values dd { margin: 0; font-size: 13px; overflow-wrap: anywhere; }
|
||||
.preview-content .micro { font-size: 12px; line-height: 1.8; }
|
||||
#edit-dialog #edit-cancel { min-width: 76px; flex-shrink: 0; white-space: nowrap; }
|
||||
@container workbench (min-width: 720px) {
|
||||
body[data-screen=archives] .registry-workspace #new-registration { display: inline-flex; width: auto; max-width: 100%; }
|
||||
}
|
||||
@container home-workbench (max-width: 899px) {
|
||||
.home-space { margin: auto; }
|
||||
.home-cards { grid-template-columns: 1fr; gap: 16px; }
|
||||
|
||||
Reference in New Issue
Block a user