Align web UI with gui_app features and normalize fonts

This commit is contained in:
Your Name committed 2026-06-01 17:03:35 +08:00
1 parent 7ebbdd6c1e
commit eaa14ce52f
3 files changed
+47 -20

No files matched your search

+45 -7
View File
@@ -53,9 +53,9 @@
--motion-fast: 120ms cubic-bezier(0.16, 1, 0.3, 1);
--motion: 180ms cubic-bezier(0.16, 1, 0.3, 1);
--motion-slow: 280ms cubic-bezier(0.16, 1, 0.3, 1);
--font-ui: "Microsoft YaHei UI", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
--font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
--font-log: var(--font-ui);
--font-ui: "Microsoft YaHei", "Segoe UI", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
--font-mono: "Consolas", "Cascadia Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
--font-log: "Microsoft YaHei", "Segoe UI", "Consolas", monospace;
color-scheme: light;
}
@@ -1487,12 +1487,11 @@ body {
}
:root[data-premium-panel="device"] .premiumReplica {
display: grid;
gap: 8px;
display: none !important;
}
:root[data-premium-panel="device"] .configWorkspace > .panels {
display: none !important;
display: block !important;
}
.premiumConfigCard {
@@ -1806,7 +1805,6 @@ body {
:root[data-premium-panel="device"] .panel[data-panel="yanghao"] {
height: auto;
margin-bottom: 8px;
display: none !important;
}
:root[data-premium-panel="device"] .panel[data-panel="device"] > :nth-child(n+6),
@@ -3497,6 +3495,46 @@ body {
word-break: break-word;
}
:root[data-premium-panel="monitor"] .panel[data-panel="monitor"] {
gap: 10px;
}
:root[data-premium-panel="monitor"] .cardShot {
padding: 0;
}
:root[data-premium-panel="monitor"] .preview {
width: min(100%, 322px);
height: auto;
min-height: 0;
max-height: none;
aspect-ratio: 9 / 16;
margin: 0 auto;
border-color: #dfe8e7;
border-radius: 8px;
background:
linear-gradient(90deg, rgba(255, 255, 255, 0.12) 0 1px, transparent 1px 28px),
linear-gradient(0deg, rgba(255, 255, 255, 0.10) 0 1px, transparent 1px 28px),
#101828;
box-shadow: 0 12px 30px rgba(15, 23, 42, 0.16);
}
:root[data-premium-panel="monitor"] .preview img {
width: 100%;
height: 100%;
object-fit: contain;
}
:root[data-premium-panel="monitor"] #liveShotStatus {
width: min(100%, 322px);
margin: 10px auto 0;
padding: 8px 10px;
border: 1px solid #dfe8e7;
border-radius: 8px;
background: #f8fbfa;
font-size: 12px;
}
.toastContainer {
right: 14px;
bottom: max(8px, env(safe-area-inset-bottom));