diff --git a/clientarea/hgcloud/css/dark-override.css b/clientarea/hgcloud/css/dark-override.css index 2a695a2..8f7353f 100644 --- a/clientarea/hgcloud/css/dark-override.css +++ b/clientarea/hgcloud/css/dark-override.css @@ -141,47 +141,87 @@ html, body { width: auto; } -/* ============ 顶栏右侧按钮 ============ */ +/* ============ 顶栏右侧按钮 — 纯圆形 ============ */ +/* 购物车按钮 */ .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; + width: 36px !important; + height: 36px !important; + background: rgba(255, 255, 255, 0.55) !important; + border: 1px solid rgba(255, 255, 255, 0.8) !important; + border-radius: 50% !important; + padding: 0 !important; + display: flex !important; + align-items: center !important; + justify-content: center !important; backdrop-filter: blur(8px) !important; -webkit-backdrop-filter: blur(8px) !important; transition: all 0.2s ease !important; + cursor: pointer !important; } .header-right .header-right-item .right-item:hover { - background: rgba(255, 255, 255, 0.8) !important; + background: rgba(255, 255, 255, 0.85) !important; + box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !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; +/* 国旗/语言下拉 — 纯圆形 */ +.header-right .header-right-item .el-dropdown-country { + width: 36px !important; + height: 36px !important; + background: rgba(255, 255, 255, 0.55) !important; + border: 1px solid rgba(255, 255, 255, 0.8) !important; + border-radius: 50% !important; + padding: 0 !important; + display: flex !important; + align-items: center !important; + justify-content: center !important; backdrop-filter: blur(8px) !important; -webkit-backdrop-filter: blur(8px) !important; transition: all 0.2s ease !important; + overflow: hidden !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.8) !important; +.header-right .header-right-item .el-dropdown-country:hover { + background: rgba(255, 255, 255, 0.85) !important; + box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important; } -/* 国旗图标缩小圆角 */ +/* 国旗图标 */ .header-right .header-right-item .el-dropdown-country img { - width: 22px !important; - height: 16px !important; - border-radius: 3px !important; + width: 20px !important; + height: 20px !important; + border-radius: 50% !important; object-fit: cover !important; } -/* 用户头像 */ +/* 隐藏国旗下拉箭头(纯圆形内不需要箭头) */ +.header-right .header-right-item .el-dropdown-country .right-icon { + display: none !important; +} + +/* 用户头像 — 纯圆形 */ +.header-right .header-right-item .el-dropdown-header { + width: 36px !important; + height: 36px !important; + background: rgba(255, 255, 255, 0.55) !important; + border: 1px solid rgba(255, 255, 255, 0.8) !important; + border-radius: 50% !important; + padding: 0 !important; + display: flex !important; + align-items: center !important; + justify-content: center !important; + backdrop-filter: blur(8px) !important; + -webkit-backdrop-filter: blur(8px) !important; + transition: all 0.2s ease !important; + overflow: hidden !important; +} + +.header-right .header-right-item .el-dropdown-header:hover { + background: rgba(255, 255, 255, 0.85) !important; + box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important; +} + +/* 用户头像框 */ .header-right .header-right-item .el-dropdown-header .head-box { width: 28px !important; height: 28px !important; @@ -191,17 +231,24 @@ html, body { 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 .el-dropdown-header .right-icon { + display: none !important; } -/* 分隔线变浅 */ +/* 隐藏分隔竖线 */ .header-right .header-right-item .cloum-line { - border-color: rgba(0,0,0,0.08) !important; - opacity: 0.5 !important; + display: none !important; +} + +/* 按钮间距统一 */ +.header-right .car-item { + margin-right: 12px !important; +} + +.header-right .cloum-line-item { + margin-left: 0 !important; + margin-right: 12px !important; } .ali-logo {