feat: 自行开发设计 ui样式优化 超管端-控制台 相关的页面

This commit is contained in:
zhanjunhao
2026-11-09 21:45:37 +08:00
parent 6ad95e2baa
commit 5713d541b0
242 changed files with 9242 additions and 5043 deletions
+17 -24
View File
@@ -229,7 +229,8 @@ html.dark body[data-ui-scope='admin'] {
}
@media (min-width: 768px) {
.ui-topbar {
padding-inline: 26px;
--header-inline-padding: 26px;
padding-inline: var(--header-inline-padding);
}
.ui-topbar .ui-header-brand {
min-width: 166px;
@@ -245,7 +246,7 @@ html.dark body[data-ui-scope='admin'] {
}
@media (min-width: 768px) and (max-width: 1250px) {
.ui-topbar {
padding-inline: 20px;
--header-inline-padding: 20px;
}
.ui-topbar .ui-header-navigation {
margin-inline: 18px;
@@ -301,6 +302,20 @@ html.dark body[data-ui-scope='admin'] {
color: var(--text-primary);
background: transparent;
}
@media (min-width: 768px) {
.ui-topbar .ui-header-brand {
/* Align the first underline with the sidebar content's breadcrumb. */
flex: 0 0
calc(
var(--sidebar-width, 216px) + var(--uc-page-pad-x, 36px) -
var(--header-inline-padding) - 16px
);
min-width: 0;
}
.ui-topbar .ui-header-navigation {
margin-inline-start: 0;
}
}
.ui-header-navigation .ui-header-nav-item::after {
content: '';
position: absolute;
@@ -533,28 +548,6 @@ body[data-ui-scope='admin'] .ant-layout {
overflow-x: visible;
overflow-y: visible;
}
.ui-user-sidebar {
display: flex;
flex-direction: column;
height: 100%;
background: var(--surface-sidebar);
border-right: 1px solid var(--border-subtle);
padding: 24px 8px 12px;
}
.ui-user-sidebar .ant-menu {
flex: 1;
border: 0;
background: transparent;
}
.ui-user-sidebar .ant-menu.ant-menu-root {
border-inline-end: 0;
}
.ui-user-sidebar .ant-menu-item {
margin-bottom: 6px;
}
.ui-sidebar-collapse {
flex: none;
}
.uc-dashboard {
/* 在线原型 .dashboard-hero 实测(1920×1000 / 393×851):渐变、网格线、底部渐隐与插画 */
--uc-hero-h: 315px;