Karten-Ausbau (OSM), Forum-Erweiterung, UI-Komponenten, Refactor Tagebuch/Gassi (DRY), Landing/SEO — APP_VER 1155

This commit is contained in:
rene 2026-06-03 17:24:47 +02:00
parent 2d907f6370
commit 10e39ed135
18 changed files with 871 additions and 405 deletions

View file

@ -3256,6 +3256,182 @@ html.modal-open {
}
}
/* Orts-Suche — Panel schiebt von oben rein wenn aktiv */
.map-search-wrap {
position: absolute;
top: 0;
left: 0;
right: 0;
z-index: 1002;
padding: 8px 12px 4px;
background: rgba(255,255,255,0.97);
backdrop-filter: blur(8px);
box-shadow: 0 3px 14px rgba(0,0,0,0.18);
transform: translateY(-110%);
transition: transform 0.22s ease;
pointer-events: none;
}
.map-search-wrap.active {
transform: translateY(0);
pointer-events: auto;
}
:root[data-theme="dark"] .map-search-wrap { background: rgba(22,22,24,0.97); }
.map-search-row {
display: flex;
align-items: center;
gap: 8px;
background: var(--c-bg, #fff);
border-radius: var(--radius-full);
border: 1px solid var(--c-border, #e5e7eb);
padding: 8px 12px;
}
.map-search-input {
flex: 1;
border: none;
outline: none;
font-size: 15px;
font-family: inherit;
background: transparent;
color: var(--c-text);
min-width: 0;
}
.map-search-input::placeholder { color: #aaa; }
.map-search-clear {
background: none;
border: none;
padding: 4px;
cursor: pointer;
color: #999;
line-height: 1;
flex-shrink: 0;
border-radius: 50%;
}
.map-search-clear:hover { color: var(--c-text); background: var(--c-bg-subtle); }
.map-search-results {
background: var(--c-bg, #fff);
border-radius: 12px;
border: 1px solid var(--c-border, #e5e7eb);
margin-top: 6px;
margin-bottom: 4px;
overflow: hidden;
max-height: 240px;
overflow-y: auto;
}
.map-search-item {
padding: 10px 14px;
cursor: pointer;
border-bottom: 1px solid var(--c-border-light, rgba(0,0,0,0.05));
}
.map-search-item:last-child { border-bottom: none; }
.map-search-item:hover,
.map-search-item:active { background: var(--c-primary-subtle, #fef3c7); }
.map-search-item-name {
font-size: 13px;
font-weight: 600;
color: var(--c-text);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.map-search-item-sub {
font-size: 11px;
color: var(--c-text-secondary);
margin-top: 1px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.map-search-loading,
.map-search-empty {
padding: 12px 14px;
font-size: 13px;
color: var(--c-text-secondary);
text-align: center;
}
/* Speed Dial — Ein Trigger-Button, Sub-Buttons fächern nach oben auf */
.map-speed-dial {
position: absolute;
bottom: calc(var(--safe-bottom) + 82px);
right: 20px;
z-index: 1000;
display: flex;
flex-direction: column;
align-items: flex-end;
gap: var(--space-2);
}
.map-sd-items {
display: flex;
flex-direction: column-reverse; /* unterste Item = erstes im DOM */
align-items: flex-end;
gap: var(--space-2);
pointer-events: none;
}
.map-speed-dial.open .map-sd-items { pointer-events: auto; }
.map-sd-item {
display: flex;
align-items: center;
gap: 10px;
opacity: 0;
transform: translateY(8px) scale(0.88);
transition: opacity 0.16s ease, transform 0.16s ease;
}
.map-speed-dial.open .map-sd-item { opacity: 1; transform: translateY(0) scale(1); }
.map-speed-dial.open .map-sd-item:nth-child(1) { transition-delay: 0ms; }
.map-speed-dial.open .map-sd-item:nth-child(2) { transition-delay: 50ms; }
.map-speed-dial.open .map-sd-item:nth-child(3) { transition-delay: 100ms; }
.map-speed-dial.open .map-sd-item:nth-child(4) { transition-delay: 150ms; }
.map-speed-dial.open .map-sd-item:nth-child(5) { transition-delay: 200ms; }
.map-sd-label {
background: rgba(20,20,20,0.72);
color: #fff;
font-size: 12px;
font-weight: 600;
padding: 5px 11px;
border-radius: var(--radius-full);
white-space: nowrap;
backdrop-filter: blur(4px);
pointer-events: none;
letter-spacing: 0.01em;
}
.map-sd-btn {
width: 46px;
height: 46px;
border-radius: 50%;
background: #fff;
color: #C4843A;
border: 2px solid rgba(196,132,58,0.25);
box-shadow: 0 2px 8px rgba(0,0,0,0.22);
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
font-size: 1.1rem;
flex-shrink: 0;
transition: background 0.12s, color 0.12s;
-webkit-tap-highlight-color: transparent;
}
.map-sd-btn:hover,
.map-sd-btn:active { background: #fef3c7; }
.map-sd-btn.active { background: #C4843A; color: #fff; border-color: #C4843A; }
.map-sd-btn.map-fab--pin.active { background: var(--c-danger); border-color: var(--c-danger); color: #fff; }
#map-radar-btn.active { background: #1d4ed8; color: #fff; border-color: #1d4ed8; }
#map-temp-btn.active { background: #dc2626; color: #fff; border-color: #dc2626; }
.map-sd-trigger {
transition: background 0.15s, transform 0.2s ease;
}
.map-speed-dial.open .map-sd-trigger {
background: #6b4a20;
transform: rotate(90deg);
}
.map-sd-icon-open { display: block; }
.map-sd-icon-close { display: none; }
.map-speed-dial.open .map-sd-icon-open { display: none; }
.map-speed-dial.open .map-sd-icon-close { display: block; }
/* FAB-Gruppe rechts unten — direkt über dem Zurück-Button */
.map-fabs {
position: absolute;