Autowired

This commit is contained in:
Leo
2026-01-16 21:13:00 +08:00
parent 1a585d8469
commit dc66a9cf53
3 changed files with 35 additions and 33 deletions

View File

@@ -101,7 +101,7 @@
white-space: nowrap !important;
font-size: 14px !important;
font-weight: 500;
color: rgba(255, 255, 255, 0.95) !important;
color: rgba(33, 33, 33, 0.85) !important;
background: transparent !important;
border-radius: 12px;
margin: 4px 12px;
@@ -122,17 +122,17 @@
}
&:hover {
background: rgba(255, 255, 255, 0.15) !important;
color: #ffffff !important;
background: rgba(25, 118, 210, 0.1) !important;
color: #1976d2 !important;
transform: translateX(4px);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
&.is-active {
background: rgba(255, 255, 255, 0.25) !important;
color: #ffffff !important;
background: rgba(25, 118, 210, 0.15) !important;
color: #1976d2 !important;
font-weight: 600;
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
box-shadow: 0 4px 16px rgba(25, 118, 210, 0.2);
&::before {
content: '';
@@ -142,7 +142,7 @@
transform: translateY(-50%);
width: 4px;
height: 20px;
background: #ffffff;
background: #1976d2;
border-radius: 0 2px 2px 0;
}
}
@@ -158,18 +158,18 @@
line-height: 48px;
&:hover {
background: rgba(255, 255, 255, 0.15) !important;
color: #ffffff !important;
background: rgba(25, 118, 210, 0.1) !important;
color: #1976d2 !important;
transform: translateX(4px);
}
}
.el-menu {
background: rgba(255, 255, 255, 0.08) !important;
background: rgba(255, 255, 255, 0.3) !important;
border-radius: 12px;
margin: 8px 12px;
padding: 8px 0;
box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.1);
box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.05);
.el-menu-item {
margin: 2px 8px;
@@ -189,12 +189,14 @@
}
&:hover {
background: rgba(255, 255, 255, 0.12) !important;
background: rgba(25, 118, 210, 0.08) !important;
color: #1976d2 !important;
transform: translateX(2px);
}
&.is-active {
background: rgba(255, 255, 255, 0.2) !important;
background: rgba(25, 118, 210, 0.12) !important;
color: #1976d2 !important;
&::before {
width: 3px;
@@ -207,12 +209,12 @@
// 图标样式优化
.svg-icon {
color: rgba(255, 255, 255, 0.8) !important;
color: rgba(33, 33, 33, 0.7) !important;
transition: all 0.3s ease;
margin-right: 12px;
&:hover {
color: #ffffff !important;
color: #1976d2 !important;
transform: scale(1.1);
}
}
@@ -383,20 +385,20 @@
padding: 8px 0;
.el-menu-item {
color: rgba(255, 255, 255, 0.95) !important;
color: rgba(33, 33, 33, 0.85) !important;
margin: 2px 8px;
border-radius: 8px;
transition: all 0.3s ease;
&:hover {
background: rgba(255, 255, 255, 0.15) !important;
color: #ffffff !important;
background: rgba(25, 118, 210, 0.1) !important;
color: #1976d2 !important;
transform: translateX(4px);
}
&.is-active {
background: rgba(255, 255, 255, 0.25) !important;
color: #ffffff !important;
background: rgba(25, 118, 210, 0.15) !important;
color: #1976d2 !important;
}
}

View File

@@ -9,10 +9,10 @@ $yellow:#FEC171;
$panGreen: #30B08F;
// 默认菜单主题风格 - 现代化渐变主题
$base-menu-color:rgba(255, 255, 255, 0.95);
$base-menu-color-active:#ffffff;
$base-menu-color:rgba(33, 33, 33, 0.85);
$base-menu-color-active:#1976d2;
$base-menu-background:linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
$base-logo-title-color: #ffffff;
$base-logo-title-color: #1976d2;
$base-menu-light-color:rgba(0,0,0,.70);
$base-menu-light-background:#ffffff;