视觉系统主干落地:对齐 design tokens 与核心组件样式向 Zibll 收敛
- tokens:收紧 surface 层级/边框/圆角/阴影/间距与暗黑基线 - 组件:按钮、卡片原语、导航、侧栏、分页、模态、浮动按钮 - 首页:hero 外壳、fixed 列表/宫格、tab、skeleton/error 及各运营模块卡片化 - 内容页:单篇封面/标题/正文/blockquote/相关/TOC/上一篇下一篇、评论区 - 社区:forum board/topic/compose 子控件与卡片体系 - 交易/认证:cart/orders/revenue/product/auth 表面块与模态浮层统一 - footer:页脚主体、社交/联系、移动端 tabbar/搜索覆盖
This commit is contained in:
1 parent
5402768f23
commit
0b5b153265
47 files changed
+542
-325
No files matched your search
@@ -6,26 +6,28 @@
|
||||
|
||||
.sidebar-inner {
|
||||
position: sticky;
|
||||
top: calc(var(--nav-height, 60px) + 16px);
|
||||
top: calc(var(--nav-height, 60px) + 20px);
|
||||
}
|
||||
|
||||
/* Widget 通用 */
|
||||
.widget {
|
||||
background: var(--surface-1, #fff);
|
||||
border-radius: var(--radius, 8px);
|
||||
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
|
||||
margin-bottom: 16px;
|
||||
border-radius: var(--radius-lg, 10px);
|
||||
box-shadow: var(--shadow-sm);
|
||||
border: 1px solid rgba(255, 255, 255, 0.55);
|
||||
margin-bottom: 20px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.widget-title {
|
||||
font-size: 15px;
|
||||
font-size: 16px;
|
||||
font-weight: 700;
|
||||
color: var(--color-ink, #333);
|
||||
padding-bottom: 8px;
|
||||
margin-bottom: 10px;
|
||||
padding-bottom: 10px;
|
||||
margin-bottom: 12px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.widget-title i {
|
||||
@@ -34,7 +36,7 @@
|
||||
}
|
||||
|
||||
.widget-content {
|
||||
padding: 15px;
|
||||
padding: var(--card-padding-lg, 20px);
|
||||
}
|
||||
|
||||
.widget-content--flush {
|
||||
|
||||
Reference in new issue
Block a user