Tutorial: Formular Feld fuer Feld erklaeren + Klicks blockieren
Formular-Steps komplett ueberarbeitet (Steps 2-9): - Step 3: Titel + Beschreibung mit Tipp-Animation - Step 4: Art der Lage (Live vs Recherche) mit Cursor-Demo + Erklaerung - Step 5: Quellen (International + Telegram) einzeln gehighlightet + erklaert - Step 6: Sichtbarkeit (Oeffentlich/Privat) mit Toggle-Demo - Step 7: Aktualisierung + Intervall, Hinweis auf Creditverbrauch - Step 8: Aufbewahrung erklaert - Step 9: E-Mail-Benachrichtigungen (alle 3 Optionen einzeln gehighlightet) Jedes Feld wird mit Cursor angesteuert, gehighlightet und erklaert. Modal-Body scrollt automatisch zu den jeweiligen Feldern. Klick-Blockierung: Waehrend des Tutorials sind alle Dashboard-Elemente nicht anklickbar (pointer-events:none auf body.tutorial-active). Nur die Tutorial-Bubble mit Navigation bleibt bedienbar. Duplikate der alten Methoden entfernt. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Dieser Commit ist enthalten in:
@@ -4943,266 +4943,266 @@ a.map-popup-article:hover {
|
||||
position: relative;
|
||||
z-index: 100;
|
||||
}
|
||||
|
||||
/* ================================================================
|
||||
Tutorial System
|
||||
================================================================ */
|
||||
|
||||
/* Overlay (Hintergrund-Abdunkelung) */
|
||||
.tutorial-overlay {
|
||||
display: none;
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
z-index: 9000;
|
||||
pointer-events: none;
|
||||
}
|
||||
.tutorial-overlay.active {
|
||||
display: block;
|
||||
}
|
||||
|
||||
/* Spotlight */
|
||||
.tutorial-spotlight {
|
||||
position: fixed;
|
||||
z-index: 9001;
|
||||
box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.65);
|
||||
border: 2px solid var(--accent);
|
||||
border-radius: var(--radius-lg);
|
||||
transition: top 0.4s ease, left 0.4s ease, width 0.4s ease, height 0.4s ease, opacity 0.3s ease;
|
||||
opacity: 0;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
/* Target-Element klickbar machen */
|
||||
.tutorial-overlay.active ~ * [data-tutorial-target] {
|
||||
position: relative;
|
||||
z-index: 9002;
|
||||
}
|
||||
|
||||
/* Bubble (Sprechblase) */
|
||||
.tutorial-bubble {
|
||||
position: fixed;
|
||||
z-index: 9003;
|
||||
width: 340px;
|
||||
background: var(--bg-card);
|
||||
border: 1px solid var(--accent);
|
||||
border-radius: var(--radius-lg);
|
||||
box-shadow: var(--shadow-lg), 0 0 20px rgba(150, 121, 26, 0.15);
|
||||
padding: var(--sp-xl);
|
||||
pointer-events: auto;
|
||||
opacity: 0;
|
||||
transition: opacity 0.3s ease, top 0.4s ease, left 0.4s ease, transform 0.4s ease;
|
||||
font-family: var(--font-body);
|
||||
}
|
||||
.tutorial-bubble.visible {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
/* Bubble-Pfeil */
|
||||
.tutorial-bubble::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
background: var(--bg-card);
|
||||
border: 1px solid var(--accent);
|
||||
transform: rotate(45deg);
|
||||
}
|
||||
|
||||
.tutorial-pos-bottom::before {
|
||||
top: -7px;
|
||||
left: 50%;
|
||||
margin-left: -6px;
|
||||
border-right: none;
|
||||
border-bottom: none;
|
||||
}
|
||||
.tutorial-pos-top::before {
|
||||
bottom: -7px;
|
||||
left: 50%;
|
||||
margin-left: -6px;
|
||||
border-left: none;
|
||||
border-top: none;
|
||||
}
|
||||
.tutorial-pos-right::before {
|
||||
left: -7px;
|
||||
top: 30px;
|
||||
border-top: none;
|
||||
border-right: none;
|
||||
}
|
||||
.tutorial-pos-left::before {
|
||||
right: -7px;
|
||||
top: 30px;
|
||||
border-bottom: none;
|
||||
border-left: none;
|
||||
}
|
||||
.tutorial-pos-center::before {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Bubble-Inhalt */
|
||||
.tutorial-bubble-counter {
|
||||
font-size: 11px;
|
||||
color: var(--accent);
|
||||
font-weight: 600;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.5px;
|
||||
margin-bottom: var(--sp-sm);
|
||||
}
|
||||
|
||||
.tutorial-bubble-title {
|
||||
font-family: var(--font-title);
|
||||
font-size: 16px;
|
||||
font-weight: 600;
|
||||
color: var(--text-primary);
|
||||
margin-bottom: var(--sp-md);
|
||||
}
|
||||
|
||||
.tutorial-bubble-text {
|
||||
font-size: 13px;
|
||||
color: var(--text-secondary);
|
||||
line-height: 1.6;
|
||||
margin-bottom: var(--sp-lg);
|
||||
}
|
||||
|
||||
/* Close-Button */
|
||||
.tutorial-bubble-close {
|
||||
position: absolute;
|
||||
top: var(--sp-md);
|
||||
right: var(--sp-md);
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
border: none;
|
||||
background: transparent;
|
||||
color: var(--text-secondary);
|
||||
font-size: 18px;
|
||||
cursor: pointer;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border-radius: var(--radius);
|
||||
transition: color 0.15s, background 0.15s;
|
||||
line-height: 1;
|
||||
}
|
||||
.tutorial-bubble-close:hover {
|
||||
color: var(--text-primary);
|
||||
background: var(--bg-hover);
|
||||
}
|
||||
|
||||
/* Fortschrittspunkte */
|
||||
.tutorial-bubble-dots {
|
||||
display: flex;
|
||||
gap: 5px;
|
||||
justify-content: center;
|
||||
margin-bottom: var(--sp-lg);
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
.tutorial-dot {
|
||||
width: 6px;
|
||||
height: 6px;
|
||||
border-radius: 50%;
|
||||
background: var(--border);
|
||||
transition: background 0.2s;
|
||||
}
|
||||
.tutorial-dot.active {
|
||||
background: var(--accent);
|
||||
width: 18px;
|
||||
border-radius: 3px;
|
||||
}
|
||||
.tutorial-dot.done {
|
||||
background: var(--accent-hover);
|
||||
}
|
||||
|
||||
/* Nav-Buttons */
|
||||
.tutorial-bubble-nav {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
gap: var(--sp-md);
|
||||
}
|
||||
|
||||
.tutorial-btn {
|
||||
border: none;
|
||||
border-radius: var(--radius);
|
||||
padding: var(--sp-md) var(--sp-xl);
|
||||
font-size: 13px;
|
||||
font-weight: 500;
|
||||
cursor: pointer;
|
||||
transition: background 0.15s, color 0.15s;
|
||||
font-family: var(--font-body);
|
||||
}
|
||||
.tutorial-btn-back {
|
||||
background: var(--bg-hover);
|
||||
color: var(--text-secondary);
|
||||
}
|
||||
.tutorial-btn-back:hover {
|
||||
background: var(--bg-elevated);
|
||||
color: var(--text-primary);
|
||||
}
|
||||
.tutorial-btn-next {
|
||||
background: var(--accent);
|
||||
color: #fff;
|
||||
}
|
||||
.tutorial-btn-next:hover {
|
||||
background: var(--accent-hover);
|
||||
}
|
||||
|
||||
/* Virtueller Cursor */
|
||||
.tutorial-cursor {
|
||||
position: fixed;
|
||||
z-index: 9500;
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
pointer-events: none;
|
||||
opacity: 0;
|
||||
transition: opacity 0.3s ease;
|
||||
}
|
||||
.tutorial-cursor.visible {
|
||||
opacity: 1;
|
||||
}
|
||||
.tutorial-cursor-default {
|
||||
background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M5 3l14 8-6 2 4 8-3 1-4-8-5 4z' fill='%23fff' stroke='%23000' stroke-width='1'/%3E%3C/svg%3E") no-repeat center/contain;
|
||||
}
|
||||
.tutorial-cursor-grabbing {
|
||||
background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M8 10V8a1 1 0 112 0v2h1V7a1 1 0 112 0v3h1V8a1 1 0 112 0v2h.5a1.5 1.5 0 011.5 1.5V16a5 5 0 01-5 5h-2a5 5 0 01-5-5v-3.5A1.5 1.5 0 017.5 11H8z' fill='%23fff' stroke='%23000' stroke-width='0.8'/%3E%3C/svg%3E") no-repeat center/contain;
|
||||
}
|
||||
.tutorial-cursor-resize {
|
||||
background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M22 22H20V20H22V22ZM22 18H18V22H16V16H22V18ZM18 18V14H22V12H16V18H18ZM14 22H12V16H18V14H10V22H14Z' fill='%23fff' stroke='%23000' stroke-width='0.3'/%3E%3C/svg%3E") no-repeat center/contain;
|
||||
}
|
||||
|
||||
/* Chat Tutorial-Hinweis */
|
||||
.chat-tutorial-hint {
|
||||
background: var(--bg-card);
|
||||
border: 1px solid var(--accent);
|
||||
border-radius: var(--radius);
|
||||
padding: var(--sp-lg);
|
||||
margin: var(--sp-md) var(--sp-md) 0;
|
||||
cursor: pointer;
|
||||
transition: background 0.15s;
|
||||
font-size: 13px;
|
||||
color: var(--text-secondary);
|
||||
line-height: 1.5;
|
||||
}
|
||||
.chat-tutorial-hint:hover {
|
||||
background: var(--tint-accent-subtle);
|
||||
}
|
||||
.chat-tutorial-hint strong {
|
||||
color: var(--accent);
|
||||
}
|
||||
|
||||
|
||||
/* Sub-Element Highlight innerhalb von Tutorial-Steps */
|
||||
.tutorial-sub-highlight {
|
||||
outline: 2px solid var(--accent) !important;
|
||||
outline-offset: 3px;
|
||||
border-radius: var(--radius);
|
||||
animation: tutorial-sub-pulse 1.5s ease-in-out infinite;
|
||||
position: relative;
|
||||
z-index: 9002;
|
||||
}
|
||||
|
||||
@keyframes tutorial-sub-pulse {
|
||||
0%, 100% { outline-color: var(--accent); }
|
||||
50% { outline-color: rgba(150, 121, 26, 0.4); }
|
||||
}
|
||||
|
||||
/* ================================================================
|
||||
Tutorial System
|
||||
================================================================ */
|
||||
|
||||
/* Overlay (Hintergrund-Abdunkelung) */
|
||||
.tutorial-overlay {
|
||||
display: none;
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
z-index: 9000;
|
||||
pointer-events: none;
|
||||
}
|
||||
.tutorial-overlay.active {
|
||||
display: block;
|
||||
}
|
||||
|
||||
/* Spotlight */
|
||||
.tutorial-spotlight {
|
||||
position: fixed;
|
||||
z-index: 9001;
|
||||
box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.65);
|
||||
border: 2px solid var(--accent);
|
||||
border-radius: var(--radius-lg);
|
||||
transition: top 0.4s ease, left 0.4s ease, width 0.4s ease, height 0.4s ease, opacity 0.3s ease;
|
||||
opacity: 0;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
/* Target-Element klickbar machen */
|
||||
.tutorial-overlay.active ~ * [data-tutorial-target] {
|
||||
position: relative;
|
||||
z-index: 9002;
|
||||
}
|
||||
|
||||
/* Bubble (Sprechblase) */
|
||||
.tutorial-bubble {
|
||||
position: fixed;
|
||||
z-index: 9003;
|
||||
width: 340px;
|
||||
background: var(--bg-card);
|
||||
border: 1px solid var(--accent);
|
||||
border-radius: var(--radius-lg);
|
||||
box-shadow: var(--shadow-lg), 0 0 20px rgba(150, 121, 26, 0.15);
|
||||
padding: var(--sp-xl);
|
||||
pointer-events: auto;
|
||||
opacity: 0;
|
||||
transition: opacity 0.3s ease, top 0.4s ease, left 0.4s ease, transform 0.4s ease;
|
||||
font-family: var(--font-body);
|
||||
}
|
||||
.tutorial-bubble.visible {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
/* Bubble-Pfeil */
|
||||
.tutorial-bubble::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
background: var(--bg-card);
|
||||
border: 1px solid var(--accent);
|
||||
transform: rotate(45deg);
|
||||
}
|
||||
|
||||
.tutorial-pos-bottom::before {
|
||||
top: -7px;
|
||||
left: 50%;
|
||||
margin-left: -6px;
|
||||
border-right: none;
|
||||
border-bottom: none;
|
||||
}
|
||||
.tutorial-pos-top::before {
|
||||
bottom: -7px;
|
||||
left: 50%;
|
||||
margin-left: -6px;
|
||||
border-left: none;
|
||||
border-top: none;
|
||||
}
|
||||
.tutorial-pos-right::before {
|
||||
left: -7px;
|
||||
top: 30px;
|
||||
border-top: none;
|
||||
border-right: none;
|
||||
}
|
||||
.tutorial-pos-left::before {
|
||||
right: -7px;
|
||||
top: 30px;
|
||||
border-bottom: none;
|
||||
border-left: none;
|
||||
}
|
||||
.tutorial-pos-center::before {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Bubble-Inhalt */
|
||||
.tutorial-bubble-counter {
|
||||
font-size: 11px;
|
||||
color: var(--accent);
|
||||
font-weight: 600;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.5px;
|
||||
margin-bottom: var(--sp-sm);
|
||||
}
|
||||
|
||||
.tutorial-bubble-title {
|
||||
font-family: var(--font-title);
|
||||
font-size: 16px;
|
||||
font-weight: 600;
|
||||
color: var(--text-primary);
|
||||
margin-bottom: var(--sp-md);
|
||||
}
|
||||
|
||||
.tutorial-bubble-text {
|
||||
font-size: 13px;
|
||||
color: var(--text-secondary);
|
||||
line-height: 1.6;
|
||||
margin-bottom: var(--sp-lg);
|
||||
}
|
||||
|
||||
/* Close-Button */
|
||||
.tutorial-bubble-close {
|
||||
position: absolute;
|
||||
top: var(--sp-md);
|
||||
right: var(--sp-md);
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
border: none;
|
||||
background: transparent;
|
||||
color: var(--text-secondary);
|
||||
font-size: 18px;
|
||||
cursor: pointer;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border-radius: var(--radius);
|
||||
transition: color 0.15s, background 0.15s;
|
||||
line-height: 1;
|
||||
}
|
||||
.tutorial-bubble-close:hover {
|
||||
color: var(--text-primary);
|
||||
background: var(--bg-hover);
|
||||
}
|
||||
|
||||
/* Fortschrittspunkte */
|
||||
.tutorial-bubble-dots {
|
||||
display: flex;
|
||||
gap: 5px;
|
||||
justify-content: center;
|
||||
margin-bottom: var(--sp-lg);
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
.tutorial-dot {
|
||||
width: 6px;
|
||||
height: 6px;
|
||||
border-radius: 50%;
|
||||
background: var(--border);
|
||||
transition: background 0.2s;
|
||||
}
|
||||
.tutorial-dot.active {
|
||||
background: var(--accent);
|
||||
width: 18px;
|
||||
border-radius: 3px;
|
||||
}
|
||||
.tutorial-dot.done {
|
||||
background: var(--accent-hover);
|
||||
}
|
||||
|
||||
/* Nav-Buttons */
|
||||
.tutorial-bubble-nav {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
gap: var(--sp-md);
|
||||
}
|
||||
|
||||
.tutorial-btn {
|
||||
border: none;
|
||||
border-radius: var(--radius);
|
||||
padding: var(--sp-md) var(--sp-xl);
|
||||
font-size: 13px;
|
||||
font-weight: 500;
|
||||
cursor: pointer;
|
||||
transition: background 0.15s, color 0.15s;
|
||||
font-family: var(--font-body);
|
||||
}
|
||||
.tutorial-btn-back {
|
||||
background: var(--bg-hover);
|
||||
color: var(--text-secondary);
|
||||
}
|
||||
.tutorial-btn-back:hover {
|
||||
background: var(--bg-elevated);
|
||||
color: var(--text-primary);
|
||||
}
|
||||
.tutorial-btn-next {
|
||||
background: var(--accent);
|
||||
color: #fff;
|
||||
}
|
||||
.tutorial-btn-next:hover {
|
||||
background: var(--accent-hover);
|
||||
}
|
||||
|
||||
/* Virtueller Cursor */
|
||||
.tutorial-cursor {
|
||||
position: fixed;
|
||||
z-index: 9500;
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
pointer-events: none;
|
||||
opacity: 0;
|
||||
transition: opacity 0.3s ease;
|
||||
}
|
||||
.tutorial-cursor.visible {
|
||||
opacity: 1;
|
||||
}
|
||||
.tutorial-cursor-default {
|
||||
background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M5 3l14 8-6 2 4 8-3 1-4-8-5 4z' fill='%23fff' stroke='%23000' stroke-width='1'/%3E%3C/svg%3E") no-repeat center/contain;
|
||||
}
|
||||
.tutorial-cursor-grabbing {
|
||||
background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M8 10V8a1 1 0 112 0v2h1V7a1 1 0 112 0v3h1V8a1 1 0 112 0v2h.5a1.5 1.5 0 011.5 1.5V16a5 5 0 01-5 5h-2a5 5 0 01-5-5v-3.5A1.5 1.5 0 017.5 11H8z' fill='%23fff' stroke='%23000' stroke-width='0.8'/%3E%3C/svg%3E") no-repeat center/contain;
|
||||
}
|
||||
.tutorial-cursor-resize {
|
||||
background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M22 22H20V20H22V22ZM22 18H18V22H16V16H22V18ZM18 18V14H22V12H16V18H18ZM14 22H12V16H18V14H10V22H14Z' fill='%23fff' stroke='%23000' stroke-width='0.3'/%3E%3C/svg%3E") no-repeat center/contain;
|
||||
}
|
||||
|
||||
/* Chat Tutorial-Hinweis */
|
||||
.chat-tutorial-hint {
|
||||
background: var(--bg-card);
|
||||
border: 1px solid var(--accent);
|
||||
border-radius: var(--radius);
|
||||
padding: var(--sp-lg);
|
||||
margin: var(--sp-md) var(--sp-md) 0;
|
||||
cursor: pointer;
|
||||
transition: background 0.15s;
|
||||
font-size: 13px;
|
||||
color: var(--text-secondary);
|
||||
line-height: 1.5;
|
||||
}
|
||||
.chat-tutorial-hint:hover {
|
||||
background: var(--tint-accent-subtle);
|
||||
}
|
||||
.chat-tutorial-hint strong {
|
||||
color: var(--accent);
|
||||
}
|
||||
|
||||
|
||||
/* Sub-Element Highlight innerhalb von Tutorial-Steps */
|
||||
.tutorial-sub-highlight {
|
||||
outline: 2px solid var(--accent) !important;
|
||||
outline-offset: 3px;
|
||||
border-radius: var(--radius);
|
||||
animation: tutorial-sub-pulse 1.5s ease-in-out infinite;
|
||||
position: relative;
|
||||
z-index: 9002;
|
||||
}
|
||||
|
||||
@keyframes tutorial-sub-pulse {
|
||||
0%, 100% { outline-color: var(--accent); }
|
||||
50% { outline-color: rgba(150, 121, 26, 0.4); }
|
||||
}
|
||||
|
||||
/* Chat Tutorial-Hint Layout */
|
||||
.chat-tutorial-hint {
|
||||
@@ -5228,3 +5228,17 @@ a.map-popup-article:hover {
|
||||
.chat-tutorial-hint-close:hover {
|
||||
color: var(--text-primary);
|
||||
}
|
||||
|
||||
|
||||
/* Tutorial: Klicks auf Dashboard blockieren */
|
||||
body.tutorial-active .dashboard,
|
||||
body.tutorial-active .modal-overlay,
|
||||
body.tutorial-active .chat-toggle-btn,
|
||||
body.tutorial-active #chat-window {
|
||||
pointer-events: none !important;
|
||||
}
|
||||
/* Bubble und Cursor bleiben klickbar */
|
||||
body.tutorial-active .tutorial-bubble,
|
||||
body.tutorial-active .tutorial-cursor {
|
||||
pointer-events: auto !important;
|
||||
}
|
||||
|
||||
In neuem Issue referenzieren
Einen Benutzer sperren