feat(web-ui): 添加 Windows 系统依赖并更新样式

- 在 Cargo.toml 中为 Windows 平台添加 windows-sys 依赖,版本为 0.52,包含 Win32_Foundation 和 Win32_System_Registry 特性。
- 更新相关 CSS 文件以改善界面样式,确保在不同主题下的视觉一致性。
- 在 JavaScript 文件中实现围栏标记的绘制和管理功能,增强地图交互体验。
This commit is contained in:
2026-10-31 20:01:50 +08:00
parent 5522843823
commit 3ea9cf32ee
27 changed files with 1301 additions and 103 deletions
+9
View File
@@ -75,3 +75,12 @@ body.b[data-screen=realtime] .live-panel-restores{top:64px;left:calc(var(--navig
/* Keep location availability visible even when a long device identity is truncated. */
.rt-device-id { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rt-position-state { display: block; color: var(--work-muted); font-size: 11px; line-height: 1.5; }
/* A backdrop-filter on the panel itself makes Chromium paint the native source menu inside the filtered layer, so the open list is clipped and transparent. Frost the panel from a pseudo-element instead. */
body.b .mc-layout-b .mc-floating-panel { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
body.b .mc-layout-b .mc-floating-panel::before { content: ""; position: absolute; inset: 0; z-index: 0; border-radius: inherit; pointer-events: none; background: var(--glass-surface); backdrop-filter: var(--glass-filter); -webkit-backdrop-filter: var(--glass-filter); }
body.b .mc-layout-b .mc-floating-panel > * { position: relative; z-index: 1; }
body.b .mc-layout-b .live-list-controls select { display: block; width: 100%; height: 34px; min-height: 34px; margin: 4px 0 0; padding: 0 8px; box-sizing: border-box; border: 1px solid var(--work-line); border-radius: 8px; background-color: var(--work-input); color: var(--work-text); font: inherit; font-size: 12px; font-weight: 400; line-height: 1.4; overflow-wrap: normal; white-space: nowrap; color-scheme: dark; }
body.b.theme-white .mc-layout-b .live-list-controls select { color-scheme: light; }
body.b .mc-layout-b .live-list-controls select option { background-color: #061221; color: #e9f0fa; font-weight: 400; line-height: normal; }
body.b.theme-white .mc-layout-b .live-list-controls select option { background-color: #f4f8ff; color: #243b57; }