This commit is contained in:
gaofeng
2026-05-13 11:19:08 +08:00
parent 58c61ff7ba
commit 373e5841e2
5 changed files with 89 additions and 39 deletions

View File

@@ -384,6 +384,7 @@ footer a:hover{ color:#fff; text-decoration:underline; }
gap: 10px;
}
.float-btn{
position: relative;
width: 46px; height: 46px;
border-radius: 14px;
border: 1px solid rgba(15,23,42,.12);
@@ -393,6 +394,28 @@ footer a:hover{ color:#fff; text-decoration:underline; }
color: rgba(15,23,42,.75);
}
.float-btn:hover{ color: var(--brand); border-color: rgba(11,95,168,.25); }
.float-phone-tooltip{
position: absolute;
right: 56px;
top: 50%;
transform: translateY(-50%);
padding: 8px 12px;
border-radius: 8px;
background: #0b1220;
color: #fff;
font-size: 13px;
line-height: 1;
white-space: nowrap;
box-shadow: 0 12px 26px rgba(2,6,23,.16);
opacity: 0;
visibility: hidden;
pointer-events: none;
transition: opacity .18s ease, visibility .18s ease;
}
.float-phone:hover .float-phone-tooltip{
opacity: 1;
visibility: visible;
}
/* ===== Flow Stepper v2 ===== */
.flow2{
border: 1px solid var(--line);
@@ -537,8 +560,8 @@ footer a:hover{ color:#fff; text-decoration:underline; }
text-decoration:none;
min-width: 0;
}
.topbar .brand-title{ font-weight:700; letter-spacing:.2px; line-height:1.1; }
.topbar .brand-sub{ font-size:12px; opacity:.85; }
.topbar .brand-title{ display:block; font-weight:700; letter-spacing:.2px; line-height:1.1; }
.topbar .brand-sub{ display:block; font-size:12px; opacity:.85; }
.topbar .brand-title,
.topbar .brand-sub{ white-space: nowrap; } /* 避免抖动 */
@@ -567,6 +590,34 @@ footer a:hover{ color:#fff; text-decoration:underline; }
color:#fff !important;
background: rgba(255,255,255,.08) !important;
}
.topbar .nav-user-actions{
display: flex;
align-items: center;
justify-content: flex-end;
gap: 8px;
flex: 0 0 auto;
}
.topbar .nav-user-link{
display: inline-flex;
align-items: center;
gap: 6px;
min-height: 34px;
padding: 0 10px;
border: 1px solid rgba(255,255,255,.28);
border-radius: 8px;
color: rgba(255,255,255,.9);
text-decoration: none;
font-size: 14px;
font-weight: 700;
white-space: nowrap;
background: rgba(255,255,255,.06);
}
.topbar .nav-user-link:hover{
color: #fff;
border-color: rgba(255,255,255,.42);
background: rgba(255,255,255,.12);
text-decoration: none;
}
.navbar-collapse{
text-align: center;
}
@@ -577,7 +628,7 @@ footer a:hover{ color:#fff; text-decoration:underline; }
}
.topbar .navbar-collapse{
flex: 1 1 auto;
justify-content: flex-end; /* 菜单靠右 */
justify-content: center;
}
/* PC 不需要右侧(手机语言 + 汉堡),避免空盒子影响对齐 */
@@ -606,6 +657,12 @@ footer a:hover{ color:#fff; text-decoration:underline; }
width: 100%;
}
.topbar .nav-user-actions{
width: 100%;
justify-content: center;
padding: 4px 0 2px;
}
/* 右侧按钮统一高度对齐 */
.topbar .lang-btn{
height: 34px;