用中性灰底 + 单一强调色重做后台视觉,并集中到一套令牌: - 新增 apps/admin/src/lib/theme.ts,通过 ConfigProvider 注入主题令牌 - 新增 apps/admin/src/styles/admin.css 与 AdminSection、MetricCard、StatusTag 组件 - 侧栏改白底浅色并补图标,顶栏改 56px 白底,内容区最大宽 1200px - 全部页面接入状态标签,antd 原生彩色 Tag 与内联色值清零 - 登录与改密页、加载态骨架屏、错误提示条统一 - brand 页两个 Tab 统一为白卡片容器,消除双标题与宽度不一致 设计规范见 apps/admin/design.md。
57 lines
960 B
CSS
57 lines
960 B
CSS
.brand-page__content[hidden] {
|
|
display: none;
|
|
}
|
|
|
|
.brand-page__toolbar {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
gap: 16px;
|
|
padding: 8px 12px;
|
|
border: 1px solid var(--admin-border);
|
|
border-radius: 10px;
|
|
background: var(--admin-fill-quiet);
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.brand-page__toolbar .ant-segmented {
|
|
background: var(--admin-surface);
|
|
}
|
|
|
|
.brand-page__toolbar-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
}
|
|
|
|
@media (max-width: 575px) {
|
|
.brand-page__toolbar {
|
|
flex-wrap: wrap;
|
|
}
|
|
}
|
|
|
|
.brand-page__settings {
|
|
min-width: 0;
|
|
}
|
|
|
|
.brand-settings-section {
|
|
padding: 20px;
|
|
border: 1px solid var(--admin-border);
|
|
border-radius: 10px;
|
|
background: var(--admin-surface);
|
|
}
|
|
|
|
.brand-settings-section + .brand-settings-section {
|
|
margin-top: 16px;
|
|
}
|
|
|
|
.brand-page__template-note {
|
|
margin-top: 16px;
|
|
}
|
|
|
|
@media (max-width: 1199px) {
|
|
.brand-page__template-note {
|
|
position: static;
|
|
}
|
|
}
|