导航栏等 HUD 元素置顶(z-index 40)

This commit is contained in:
2026-09-19 02:33:42 +08:00
parent 159b98d232
commit 213b2fe7a1
+2 -2
View File
@@ -90,7 +90,7 @@ html, body {
} }
/* 顶部标题 */ /* 顶部标题 */
.hud { position: absolute; z-index: 5; } .hud { position: absolute; z-index: 40; }
.top-left { top: 22px; left: 26px; } .top-left { top: 22px; left: 26px; }
.title { .title {
font-size: clamp(20px, 2.4vw, 34px); font-size: clamp(20px, 2.4vw, 34px);
@@ -151,7 +151,7 @@ html, body {
/* 登记卡详情 */ /* 登记卡详情 */
.detail-card { .detail-card {
right: 24px; bottom: 22px; width: min(320px, 82vw); right: 24px; bottom: 22px; width: min(320px, 82vw);
z-index: 30; /* 始终置顶,盖在标记便签层之上 */ z-index: 40; /* 始终置顶,盖在标记便签层之上 */
padding: 18px 20px; border-radius: 4px; padding: 18px 20px; border-radius: 4px;
background: linear-gradient(180deg, rgba(232,216,182,0.96), rgba(214,196,156,0.96)); background: linear-gradient(180deg, rgba(232,216,182,0.96), rgba(214,196,156,0.96));
color: var(--ink); box-shadow: 0 18px 50px rgba(0,0,0,0.55), inset 0 0 0 1px rgba(90,61,43,0.4); color: var(--ink); box-shadow: 0 18px 50px rgba(0,0,0,0.55), inset 0 0 0 1px rgba(90,61,43,0.4);