完善页面布局

This commit is contained in:
2026-02-06 10:14:46 +08:00
parent 7a75ab7df4
commit 9eaf5c1a64
28 changed files with 1166 additions and 177 deletions

View File

@@ -109,45 +109,34 @@ function onLogoClick(): void {
.aside-menu {
flex: 1;
padding: 8px 0;
padding: 0; /* CRMEB typically no padding here */
overflow-y: scroll;
}
.menu-item {
height: 60px;
height: 50px; /* 1:1 CRMEB columnsAside height */
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
cursor: pointer;
color: rgba(255, 255, 255, 0.65);
color: rgba(255, 255, 255, 0.7);
transition: all 0.3s;
position: relative;
&:hover {
background: rgba(255, 255, 255, 0.05);
color: #fff;
}
&.active {
background: #1890ff;
background: #1890ff; /* CRMEB 主色蓝 */
color: #fff;
&::before {
content: '';
position: absolute;
left: 0;
top: 0;
bottom: 0;
width: 3px;
background: #fff;
}
}
}
.menu-icon {
font-size: 24px;
margin-bottom: 4px;
font-size: 18px; /* CRMEB icons are smaller than 24px usually */
margin-bottom: 2px;
.icon-text {
display: block;
@@ -156,6 +145,7 @@ function onLogoClick(): void {
.menu-title {
font-size: 12px;
transform: scale(0.9); /* CRMEB text is tiny */
text-align: center;
text {