视觉系统主干落地:对齐 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
@@ -17,7 +17,8 @@
|
||||
.site-footer {
|
||||
margin-top: auto;
|
||||
background: var(--footer-bg, var(--surface-1));
|
||||
padding: 30px;
|
||||
border-top: 1px solid rgba(255, 255, 255, 0.55);
|
||||
padding: 34px 30px 30px;
|
||||
}
|
||||
|
||||
.site-footer__inner {
|
||||
@@ -94,9 +95,11 @@
|
||||
width: 36px;
|
||||
height: 36px;
|
||||
border-radius: 50%;
|
||||
background: var(--surface-3);
|
||||
background: var(--surface-4);
|
||||
border: 1px solid rgba(255, 255, 255, 0.55);
|
||||
box-shadow: var(--shadow-sm);
|
||||
color: var(--color-ink-3);
|
||||
transition: background 0.2s, color 0.2s, transform 0.2s;
|
||||
transition: background 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
|
||||
}
|
||||
|
||||
.social-row a:hover {
|
||||
@@ -207,13 +210,15 @@
|
||||
width: 36px;
|
||||
height: 36px;
|
||||
border-radius: 50%;
|
||||
background: var(--surface-2, rgba(0,0,0,.05));
|
||||
background: var(--surface-4, rgba(0,0,0,.05));
|
||||
border: 1px solid rgba(255, 255, 255, 0.55);
|
||||
box-shadow: var(--shadow-sm);
|
||||
color: var(--color-ink-3, #888);
|
||||
font-size: 16px;
|
||||
position: relative;
|
||||
cursor: pointer;
|
||||
text-decoration: none;
|
||||
transition: background .2s, color .2s;
|
||||
transition: background .2s, color .2s, box-shadow .2s;
|
||||
}
|
||||
.site-footer__contact-item:hover,
|
||||
.site-footer__contact-item:focus {
|
||||
@@ -228,8 +233,9 @@
|
||||
transform: translateX(-50%);
|
||||
padding: 8px;
|
||||
background: var(--surface-1, #fff);
|
||||
border-radius: 8px;
|
||||
box-shadow: 0 4px 16px rgba(0,0,0,.15);
|
||||
border: 1px solid rgba(255, 255, 255, 0.55);
|
||||
border-radius: 12px;
|
||||
box-shadow: var(--shadow-lg);
|
||||
z-index: 10;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
@@ -264,8 +264,9 @@ body.dark-theme #float-theme-toggle .float-btn__icon-sun {
|
||||
|
||||
.tabbar-add-panel__sheet {
|
||||
border-radius: 20px;
|
||||
background: var(--surface-page);
|
||||
box-shadow: 0 18px 50px rgba(15, 23, 42, 0.18);
|
||||
background: var(--surface-1);
|
||||
border: 1px solid rgba(255, 255, 255, 0.55);
|
||||
box-shadow: var(--shadow-drawer);
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
.tabbar-search-overlay__dialog {
|
||||
width: 100%;
|
||||
min-height: 100%;
|
||||
background: var(--surface-page);
|
||||
background: var(--surface-1);
|
||||
padding: 18px 16px calc(24px + env(safe-area-inset-bottom, 0px));
|
||||
}
|
||||
|
||||
@@ -56,7 +56,9 @@
|
||||
align-items: center;
|
||||
padding: 14px 14px 14px 12px;
|
||||
border-radius: 18px;
|
||||
background: var(--surface-2);
|
||||
border: 1px solid rgba(255, 255, 255, 0.55);
|
||||
box-shadow: var(--shadow-sm);
|
||||
background: var(--surface-4);
|
||||
}
|
||||
|
||||
.tabbar-search-overlay__icon {
|
||||
@@ -141,10 +143,11 @@
|
||||
justify-content: space-between;
|
||||
gap: 12px;
|
||||
width: 100%;
|
||||
border: 0;
|
||||
border: 1px solid rgba(255, 255, 255, 0.55);
|
||||
border-radius: 16px;
|
||||
padding: 12px 14px;
|
||||
background: var(--surface-2);
|
||||
background: var(--surface-4);
|
||||
box-shadow: var(--shadow-sm);
|
||||
color: var(--color-ink-3);
|
||||
text-decoration: none;
|
||||
text-align: left;
|
||||
|
||||
Reference in new issue
Block a user