feat(web-ui): 添加历史轨迹功能与地图适配
- 在 web-ui 中新增历史轨迹查询与回放功能,允许用户查看历史数据。 - 更新 map-loader.js 和 history-map-adapter.js,支持历史轨迹的地图渲染与交互。 - 修改 CSS 文件以改善历史轨迹界面的样式,确保在不同主题下的视觉一致性。 - 在 receivers.js 中更新接收机配置,支持 UID 身份隔离与状态显示优化。 - 在 map_settings.rs 中设置默认经纬度,提升地图初始化体验。
This commit is contained in:
@@ -87,7 +87,7 @@ body.b .reference-top .theme-shortcut .theme-name { display: inline; color: inhe
|
||||
.theme-shortcut-arrow { color: var(--work-muted); }
|
||||
#appearance-view .appearance-theme-section { margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--work-line); }
|
||||
#appearance-themes { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; margin: 0 0 15px; font-size: 14px; font-weight: 500; scroll-margin-block: 20px; }
|
||||
#appearance-themes span { color: var(--work-muted); font-size: 11px; font-weight: 400; }
|
||||
#appearance-themes span { color: var(--work-muted); font-size: 12px; font-weight: 400; }
|
||||
#appearance-themes:focus { outline: 2px solid var(--mc-accent); outline-offset: 5px; border-radius: 2px; }
|
||||
.appearance-theme-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
|
||||
body.b #appearance-view .appearance-theme-card {
|
||||
@@ -106,7 +106,7 @@ body.b #appearance-view .appearance-theme-card:focus-visible { outline: 3px soli
|
||||
.appearance-theme-sample i + i { width: 35%; }
|
||||
.sample-white i { background: #829db3; }
|
||||
.appearance-theme-card strong { display: block; font-size: 13px; font-weight: 500; }
|
||||
.appearance-theme-card small { display: block; margin-top: 6px; font-size: 10px; color: var(--work-muted); }
|
||||
.appearance-theme-card small { display: block; margin-top: 6px; font-size: 11px; color: var(--work-muted); }
|
||||
.appearance-theme-check { display: none; position: absolute; top: 19px; right: 19px; width: 21px; height: 21px; line-height: 21px; text-align: center; border-radius: 50%; background: #286299; color: #fff; font-size: 12px; }
|
||||
.appearance-theme-card[aria-pressed=true] .appearance-theme-check { display: block; }
|
||||
/* Page-owned dark literals must not override the selected palette. Map imagery is unchanged. */
|
||||
@@ -163,3 +163,9 @@ body.b .map-settings-message.error { color: var(--mc-danger); }
|
||||
body.b.theme-white .map-settings-layout .maplibregl-ctrl button .maplibregl-ctrl-icon,
|
||||
body.b.theme-white .map-settings-layout .maplibregl-ctrl-attrib-button { filter: none; }
|
||||
body.b.theme-white .maplibregl-ctrl-logo { filter: brightness(.35); }
|
||||
|
||||
/* Preserve the glass material while improving contrast over busy map imagery. */
|
||||
body.b:not(.theme-white) :is(.mc-layout-b .mc-floating-panel, .mc-layout-b .mc-hud-dock, .gf-drawer) {
|
||||
backdrop-filter: blur(10px) brightness(.7) saturate(110%);
|
||||
-webkit-backdrop-filter: blur(10px) brightness(.7) saturate(110%);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user