调整侧边栏标题样式

This commit is contained in:
qq143838
2026-08-28 05:51:16 +08:00
parent aafc6bcf03
commit c42765034e
+12 -4
View File
@@ -21,23 +21,31 @@
.drawer-brand { .drawer-brand {
font-weight: 600; font-weight: 600;
font-size: 18px; font-size: 18px;
letter-spacing: 0.5px; letter-spacing: 0;
color: var(--ant-color-text);
} }
.sider-brand { .sider-brand {
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: flex-start; justify-content: center;
gap: 8px; gap: 8px;
height: 42px; height: 42px;
padding: 0 16px 0 24px; padding: 0 16px;
border-bottom: 1px solid var(--ant-color-border-secondary); border-bottom: 1px solid var(--ant-color-border-secondary);
user-select: none; user-select: none;
white-space: nowrap; white-space: nowrap;
overflow: hidden; overflow: hidden;
} }
.sider-brand .brand-text,
.drawer-brand {
color: transparent;
background: linear-gradient(135deg, #6366f1, #ec4899);
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.brand-block { .brand-block {
display: inline-flex; display: inline-flex;
align-items: center; align-items: center;