fix: 隐藏侧边栏.line分割线 + 重写顶栏右侧图标样式
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
- 侧边栏: .line { display: none }
- 顶栏右侧: 圆形50% → 胶囊20px
- 国旗: 矩形圆角3px, 22x16px
- 用户头像: 蓝色渐变圆形, 28x28px
- 分隔线/箭头: 降低不透明度
This commit is contained in:
@@ -101,6 +101,11 @@ html, body {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
/* 隐藏侧边栏分割线 */
|
||||
.el-aside .line {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
/* 侧边栏菜单上边距和内边距 */
|
||||
.el-aside .menu-top {
|
||||
margin-top: 8px !important;
|
||||
@@ -136,21 +141,67 @@ html, body {
|
||||
width: auto;
|
||||
}
|
||||
|
||||
/* ============ 顶栏右侧按钮 — 圆形磨砂 ============ */
|
||||
.header-right .header-right-item .right-item,
|
||||
.header-right .header-right-item .el-dropdown-header {
|
||||
background: rgba(255, 255, 255, 0.6) !important;
|
||||
border: 1px solid rgba(255, 255, 255, 0.9) !important;
|
||||
border-radius: 50% !important;
|
||||
/* ============ 顶栏右侧按钮 ============ */
|
||||
.header-right .header-right-item .right-item {
|
||||
background: rgba(255, 255, 255, 0.5) !important;
|
||||
border: none !important;
|
||||
border-radius: 20px !important;
|
||||
padding: 6px 10px !important;
|
||||
backdrop-filter: blur(8px) !important;
|
||||
-webkit-backdrop-filter: blur(8px) !important;
|
||||
transition: all 0.2s ease !important;
|
||||
}
|
||||
|
||||
.header-right .header-right-item .right-item:hover,
|
||||
.header-right .header-right-item .right-item:hover {
|
||||
background: rgba(255, 255, 255, 0.8) !important;
|
||||
}
|
||||
|
||||
/* 国旗/语言下拉 */
|
||||
.header-right .header-right-item .el-dropdown-country,
|
||||
.header-right .header-right-item .el-dropdown-header {
|
||||
background: rgba(255, 255, 255, 0.5) !important;
|
||||
border: none !important;
|
||||
border-radius: 20px !important;
|
||||
padding: 4px 10px !important;
|
||||
backdrop-filter: blur(8px) !important;
|
||||
-webkit-backdrop-filter: blur(8px) !important;
|
||||
transition: all 0.2s ease !important;
|
||||
}
|
||||
|
||||
.header-right .header-right-item .el-dropdown-country:hover,
|
||||
.header-right .header-right-item .el-dropdown-header:hover {
|
||||
background: rgba(255, 255, 255, 0.85) !important;
|
||||
box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08) !important;
|
||||
background: rgba(255, 255, 255, 0.8) !important;
|
||||
}
|
||||
|
||||
/* 国旗图标缩小圆角 */
|
||||
.header-right .header-right-item .el-dropdown-country img {
|
||||
width: 22px !important;
|
||||
height: 16px !important;
|
||||
border-radius: 3px !important;
|
||||
object-fit: cover !important;
|
||||
}
|
||||
|
||||
/* 用户头像 */
|
||||
.header-right .header-right-item .el-dropdown-header .head-box {
|
||||
width: 28px !important;
|
||||
height: 28px !important;
|
||||
border-radius: 50% !important;
|
||||
font-size: 13px !important;
|
||||
background: rgba(22, 93, 255, 0.1) !important;
|
||||
color: #165DFF !important;
|
||||
}
|
||||
|
||||
/* 下拉箭头 */
|
||||
.header-right .header-right-item .right-icon {
|
||||
opacity: 0.5 !important;
|
||||
width: 6px !important;
|
||||
margin-left: 4px !important;
|
||||
}
|
||||
|
||||
/* 分隔线变浅 */
|
||||
.header-right .header-right-item .cloum-line {
|
||||
border-color: rgba(0,0,0,0.08) !important;
|
||||
opacity: 0.5 !important;
|
||||
}
|
||||
|
||||
.ali-logo {
|
||||
|
||||
Reference in New Issue
Block a user