refactor(tour): interne z-index-Schichtung im Overlay vereinfachen

Ersetzt irreführende 10001/10002-Werte durch relative Layer 1–3 innerhalb
von .app-tour-root und dokumentiert den Stacking-Context.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-06-05 18:15:17 +02:00
parent cd29115233
commit a2180a302c
+4 -2
View File
@@ -6042,6 +6042,7 @@ html.theme-cupertino .events-scroll-container {
.app-tour-backdrop { .app-tour-backdrop {
position: absolute; position: absolute;
inset: 0; inset: 0;
z-index: 1;
background: rgba(2, 6, 23, 0.62); background: rgba(2, 6, 23, 0.62);
pointer-events: auto; pointer-events: auto;
} }
@@ -6059,7 +6060,7 @@ html.theme-cupertino .events-scroll-container {
0 0 32px rgba(56, 189, 248, 0.5), 0 0 32px rgba(56, 189, 248, 0.5),
0 12px 40px rgba(0, 0, 0, 0.35); 0 12px 40px rgba(0, 0, 0, 0.35);
pointer-events: none; pointer-events: none;
z-index: 10001; z-index: 2;
} }
body.app-tour-active .app-tour-target-active { body.app-tour-active .app-tour-target-active {
@@ -6070,7 +6071,8 @@ body.app-tour-active .app-tour-target-active {
.app-tour-tooltip { .app-tour-tooltip {
position: fixed; position: fixed;
z-index: 10002; /* Layer above backdrop/spotlight inside .app-tour-root (not vs. root's 10010) */
z-index: 3;
box-sizing: border-box; box-sizing: border-box;
width: min(420px, calc(100vw - 32px)); width: min(420px, calc(100vw - 32px));
max-width: calc(100vw - 32px); max-width: calc(100vw - 32px);