diff --git a/clientarea/hgcloud/css/dark-override.css b/clientarea/hgcloud/css/dark-override.css index 8f7353f..b30d26e 100644 --- a/clientarea/hgcloud/css/dark-override.css +++ b/clientarea/hgcloud/css/dark-override.css @@ -141,11 +141,26 @@ html, body { width: auto; } +/* ============ 顶栏右侧 — 统一对齐 ============ */ +.header-right { + display: flex !important; + align-items: center !important; + gap: 12px !important; + margin-right: 20px !important; +} + +.header-right .header-right-item { + display: flex !important; + align-items: center !important; +} + /* ============ 顶栏右侧按钮 — 纯圆形 ============ */ /* 购物车按钮 */ .header-right .header-right-item .right-item { width: 36px !important; height: 36px !important; + min-width: 36px !important; + min-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; @@ -157,6 +172,7 @@ html, body { -webkit-backdrop-filter: blur(8px) !important; transition: all 0.2s ease !important; cursor: pointer !important; + box-sizing: border-box !important; } .header-right .header-right-item .right-item:hover { @@ -168,6 +184,8 @@ html, body { .header-right .header-right-item .el-dropdown-country { width: 36px !important; height: 36px !important; + min-width: 36px !important; + min-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; @@ -178,7 +196,8 @@ html, body { backdrop-filter: blur(8px) !important; -webkit-backdrop-filter: blur(8px) !important; transition: all 0.2s ease !important; - overflow: hidden !important; + overflow: visible !important; + box-sizing: border-box !important; } .header-right .header-right-item .el-dropdown-country:hover { @@ -186,15 +205,16 @@ html, body { box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important; } -/* 国旗图标 */ +/* 国旗图标 — 完整显示 */ .header-right .header-right-item .el-dropdown-country img { - width: 20px !important; - height: 20px !important; - border-radius: 50% !important; + width: 24px !important; + height: 18px !important; + border-radius: 3px !important; object-fit: cover !important; + flex-shrink: 0 !important; } -/* 隐藏国旗下拉箭头(纯圆形内不需要箭头) */ +/* 隐藏国旗下拉箭头 */ .header-right .header-right-item .el-dropdown-country .right-icon { display: none !important; } @@ -203,6 +223,8 @@ html, body { .header-right .header-right-item .el-dropdown-header { width: 36px !important; height: 36px !important; + min-width: 36px !important; + min-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; @@ -214,6 +236,7 @@ html, body { -webkit-backdrop-filter: blur(8px) !important; transition: all 0.2s ease !important; overflow: hidden !important; + box-sizing: border-box !important; } .header-right .header-right-item .el-dropdown-header:hover { @@ -241,14 +264,15 @@ html, body { display: none !important; } -/* 按钮间距统一 */ +/* 按钮间距统一(由 gap: 12px 控制) */ .header-right .car-item { - margin-right: 12px !important; + margin-right: 0 !important; + margin-left: 0 !important; } .header-right .cloum-line-item { margin-left: 0 !important; - margin-right: 12px !important; + margin-right: 0 !important; } .ali-logo {