perf: sidebar结构调整

This commit is contained in:
rd
2025-09-01 14:07:18 +08:00
parent fd4f54ed56
commit 8fff4c1ef1
3 changed files with 61 additions and 49 deletions

View File

@ -44,30 +44,39 @@
background-color: transparent;
}
}
.siderBar-wrap {
background: transparent !important;
border: none !important;
color: inherit;
.cts {
color: #211f24;
font-family: $font-family-regular;
font-size: 14px;
font-style: normal;
font-weight: 400;
line-height: 22px;
}
.menu-item {
@include menu-item;
}
.line {
opacity: 0.06;
}
.fold-btn {
&:hover {
.cts,
.icon {
color: #6d4cfe !important;
.ant-layout-sider {
.ant-layout-sider-children {
position: relative;
// padding: 16px 0;
.siderBar-wrap {
background: transparent !important;
border: none !important;
color: inherit;
.cts {
color: #211f24;
font-family: $font-family-regular;
font-size: 14px;
font-style: normal;
font-weight: 400;
line-height: 22px;
}
.menu-item {
@include menu-item;
}
.line {
opacity: 0.06;
}
}
.fold-btn {
&:hover {
.cts,
.icon {
color: #6d4cfe !important;
}
}
}
}
}