feat(panel): upgrade modular dashboard UI, 6-segment context meter, and consumption analytics

This commit is contained in:
yuhuan2498281558
2026-10-15 19:02:53 +09:00
parent f6cbd92fdb
commit 10a002afbe
42 changed files with 11102 additions and 1960 deletions
+99
View File
@@ -0,0 +1,99 @@
/*
* Base reset, viewport-locked shell (preventing ultra-long px scroll pages),
* and precision tabular typography.
*/
* {
box-sizing: border-box;
scrollbar-width: none;
-ms-overflow-style: none;
}
*::-webkit-scrollbar {
width: 0 !important;
height: 0 !important;
display: none !important;
}
[hidden] {
display: none !important;
}
html,
body {
margin: 0;
padding: 0;
width: 100%;
height: 100dvh;
max-height: 100dvh;
overflow: hidden;
background: var(--surface-bg);
color: var(--text-primary);
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Roboto, sans-serif;
font-size: 12.5px;
line-height: 1.4;
font-variant-numeric: tabular-nums;
-webkit-font-smoothing: antialiased;
}
button,
input {
font-family: inherit;
font-size: inherit;
color: inherit;
}
.app-shell {
display: flex;
flex-direction: column;
width: 100%;
max-width: 560px;
height: 100dvh;
max-height: 100dvh;
margin: 0 auto;
padding: var(--space-3) var(--space-4);
gap: var(--space-3);
overflow: hidden;
position: relative;
}
.top-deck {
display: flex;
flex-direction: column;
gap: var(--space-2);
flex-shrink: 0;
}
.viewport-stage {
flex: 1;
min-height: 0;
display: flex;
flex-direction: column;
overflow: hidden;
position: relative;
}
.view-pane {
flex: 1;
min-height: 0;
display: flex;
flex-direction: column;
gap: var(--space-3);
overflow-y: auto;
overflow-x: hidden;
padding-right: 1px;
}
.svg-icon {
display: inline-block;
vertical-align: middle;
flex-shrink: 0;
}
.text-muted {
color: var(--text-secondary);
}
.text-mono {
font-variant-numeric: tabular-nums;
}