视觉系统主干落地:对齐 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
@@ -7,8 +7,9 @@
|
||||
.single-cover {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
border-radius: 8px;
|
||||
margin-bottom: 16px;
|
||||
border-radius: var(--radius-2xl, 16px);
|
||||
box-shadow: var(--shadow-sm);
|
||||
margin-bottom: 20px;
|
||||
padding-bottom: var(--single-cover-scale, 35%);
|
||||
}
|
||||
|
||||
@@ -37,9 +38,9 @@
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
padding: 20px;
|
||||
padding: 24px;
|
||||
color: #fff;
|
||||
border-radius: 0 0 8px 8px;
|
||||
border-radius: 0 0 var(--radius-2xl, 16px) var(--radius-2xl, 16px);
|
||||
}
|
||||
|
||||
.single-cover__title,
|
||||
@@ -112,24 +113,26 @@
|
||||
|
||||
.single-cover__dots {
|
||||
position: absolute;
|
||||
bottom: 12px;
|
||||
right: 16px;
|
||||
bottom: 14px;
|
||||
right: 18px;
|
||||
display: flex;
|
||||
gap: 6px;
|
||||
gap: 8px;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
.single-cover__dot {
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
width: 9px;
|
||||
height: 9px;
|
||||
border-radius: 50%;
|
||||
background: rgba(255, 255, 255, 0.5);
|
||||
transition: background 0.3s ease;
|
||||
background: rgba(255, 255, 255, 0.45);
|
||||
border: 1px solid rgba(255, 255, 255, 0.32);
|
||||
transition: background 0.3s ease, transform 0.3s ease;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.single-cover__dot.is-active {
|
||||
background: #fff;
|
||||
transform: scale(1.12);
|
||||
}
|
||||
|
||||
/* ===== 面包屑 ===== */
|
||||
|
||||
Reference in new issue
Block a user