feat(ui): 统一AppBar规范与双栏动态页边距,交付自动连接配置全量物料
This commit is contained in:
@@ -53,7 +53,8 @@
|
||||
--hud-accent-green: #10B981;
|
||||
|
||||
/* ── 栅格与尺寸 ── */
|
||||
--content-max-width: 1080px;
|
||||
--content-max-width: 1160px;
|
||||
--content-gutter: clamp(16px, 2.5vw, 32px);
|
||||
--appbar-height: 60px;
|
||||
}
|
||||
|
||||
@@ -70,7 +71,7 @@ body {
|
||||
background: var(--color-background);
|
||||
color: var(--text-main);
|
||||
min-height: 100vh;
|
||||
padding: 24px;
|
||||
padding: var(--content-gutter);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
@@ -86,37 +87,39 @@ body {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
/* AppBar 顶部导航栏 */
|
||||
/* =========================================================================
|
||||
AppBar 顶部导航栏统一规范 (40dp 纯净透明触控槽 + Hover 微圆底)
|
||||
========================================================================= */
|
||||
.appbar {
|
||||
height: var(--appbar-height);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 0 24px;
|
||||
padding: 0 20px;
|
||||
border-bottom: 1px solid var(--divider);
|
||||
background: var(--color-surface);
|
||||
}
|
||||
|
||||
.appbar-nav {
|
||||
width: 38px;
|
||||
height: 38px;
|
||||
border-radius: 10px;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
border-radius: 50%;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
cursor: pointer;
|
||||
background: var(--color-surface-variant);
|
||||
border: 1px solid var(--divider);
|
||||
background: transparent;
|
||||
border: none;
|
||||
transition: all 0.15s ease;
|
||||
}
|
||||
|
||||
.appbar-nav:hover {
|
||||
background: #E2E8F0;
|
||||
transform: scale(0.98);
|
||||
background: rgba(15, 23, 42, 0.06);
|
||||
transform: scale(0.96);
|
||||
}
|
||||
|
||||
.appbar-nav svg {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
width: 22px;
|
||||
height: 22px;
|
||||
fill: var(--text-main);
|
||||
}
|
||||
|
||||
@@ -209,11 +212,11 @@ body {
|
||||
|
||||
.age-slider::-webkit-slider-thumb:hover { transform: scale(1.15); }
|
||||
|
||||
/* 主体分栏区 */
|
||||
/* 主体分栏区 (内容自适应 + 动态响应式边距) */
|
||||
.page-body {
|
||||
padding: 24px 28px;
|
||||
padding: clamp(20px, 2.5vw, 30px);
|
||||
display: flex;
|
||||
gap: 24px;
|
||||
gap: clamp(16px, 2vw, 24px);
|
||||
}
|
||||
|
||||
/* 左侧 5 大心率区间卡片堆叠 */
|
||||
|
||||
Reference in New Issue
Block a user