Sprint 12+13: Tagebuch Day-One-Redesign, Notiz-Feature, Icon-Fixes, SW by-v405
Tagebuch:
- Day-One-Listenansicht: Wochentag + Tageszahl + Meta-Zeile (Zeit/Ort/Wetter)
- 4 Ansichten: Liste, Medien-Mosaik, Kalender (mit Sprungbuttons), Karte (GPS-Marker)
- Detail-Ansicht inline im Content-Bereich (kein Fullscreen-Overlay mehr)
- Hero-Bild vollständig sichtbar (object-fit:contain), Lightbox mit Safe-Area
- 2-Spalten-Layout Desktop: Text + Leaflet-Karte + POI-Liste
- EXIF-GPS-Extraktion bei Foto-Upload, historisches Wetter via Archive-API
- NoteStation-Import: Fotos in diary_media (80 Einträge migriert, 94 Medien)
- Stats-Endpoints: /diary/stats, /diary/calendar, /diary/locations
Notiz-Feature:
- Generische notes-Tabelle (parent_type + parent_id + meta_json)
- 📝-Button in 8 Bereichen, Notizblock-Seite mit KI-Analyse
- KI-Toggle in Einstellungen, notes_ki_enabled in User-Profil
Icons & Design:
- fill:currentColor Fix für welcome/onboarding/friends.js
- --c-icon Variable, --c-text-muted Dark Mode aufgehellt
- 15+ neue Phosphor-Icons aus lokaler Kopie
- CSS Network-First im SW, Cache-Control-Middleware
Infrastruktur:
- Wiki-Anreicherungs-Scheduler-Jobs entfernt (abgeschlossen)
- auth.py: notes_ki_enabled + is_social_media im User-Response
This commit is contained in:
parent
95f91fdc00
commit
553e9e7854
35 changed files with 4558 additions and 370 deletions
|
|
@ -963,82 +963,326 @@ html.modal-open {
|
|||
}
|
||||
|
||||
/* ------------------------------------------------------------
|
||||
12. TAGEBUCH
|
||||
12. TAGEBUCH — Day One Style
|
||||
------------------------------------------------------------ */
|
||||
|
||||
/* Monats-Trennlinie */
|
||||
.diary-month-header {
|
||||
font-size: var(--text-sm);
|
||||
font-weight: var(--weight-semibold);
|
||||
color: var(--c-text-secondary);
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.06em;
|
||||
padding: var(--space-4) 0 var(--space-2);
|
||||
border-bottom: 1px solid var(--c-border);
|
||||
margin-bottom: var(--space-3);
|
||||
/* Stats-Leiste */
|
||||
.diary-stats-bar {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 0;
|
||||
padding: 8px 12px;
|
||||
border-bottom: 1px solid var(--c-divider, var(--c-border));
|
||||
background: var(--c-surface);
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.diary-month-header:first-child {
|
||||
padding-top: 0;
|
||||
.diary-stats-numbers {
|
||||
display: flex;
|
||||
gap: 0;
|
||||
overflow-x: auto;
|
||||
scrollbar-width: none;
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
}
|
||||
.diary-stats-numbers::-webkit-scrollbar { display: none; }
|
||||
.diary-stat {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
min-width: 0;
|
||||
padding: 0 8px;
|
||||
border-right: 1px solid var(--c-border);
|
||||
}
|
||||
.diary-stat:last-child { border-right: none; }
|
||||
.diary-stat-num {
|
||||
font-size: 18px;
|
||||
font-weight: 700;
|
||||
color: var(--c-text);
|
||||
line-height: 1.2;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.diary-stat-label {
|
||||
font-size: 9px;
|
||||
color: var(--c-text-muted);
|
||||
margin-top: 2px;
|
||||
white-space: nowrap;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: .04em;
|
||||
}
|
||||
|
||||
/* Eintragskarte */
|
||||
/* View-Switcher */
|
||||
.diary-view-switcher {
|
||||
display: flex;
|
||||
gap: 0;
|
||||
flex-shrink: 0;
|
||||
margin-left: 8px;
|
||||
}
|
||||
.diary-view-btn {
|
||||
background: none;
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
padding: 5px 6px;
|
||||
border-radius: 8px;
|
||||
color: var(--c-text-secondary);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
transition: background .15s, color .15s;
|
||||
}
|
||||
.diary-view-btn:hover { background: var(--c-surface-2); color: var(--c-text); }
|
||||
.diary-view-btn.active { color: var(--c-primary); background: var(--c-primary-subtle); }
|
||||
.diary-view-btn .ph-icon { width: 18px; height: 18px; }
|
||||
@media (min-width: 640px) {
|
||||
.diary-stat { padding: 0 12px; }
|
||||
.diary-stat-num { font-size: 20px; }
|
||||
.diary-view-btn { padding: 6px 8px; }
|
||||
.diary-view-btn .ph-icon { width: 20px; height: 20px; }
|
||||
}
|
||||
|
||||
/* Meta-Zeile in der Karte */
|
||||
.diary-meta-loc {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 2px;
|
||||
max-width: 140px;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.diary-meta-dot { color: var(--c-text-muted); opacity: .5; }
|
||||
|
||||
/* Medien-Mosaic */
|
||||
.diary-media-mosaic {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
gap: 2px;
|
||||
padding: 2px;
|
||||
}
|
||||
.diary-mosaic-item {
|
||||
aspect-ratio: 1;
|
||||
overflow: hidden;
|
||||
cursor: pointer;
|
||||
position: relative;
|
||||
}
|
||||
.diary-mosaic-item img {
|
||||
width: 100%; height: 100%;
|
||||
object-fit: cover;
|
||||
display: block;
|
||||
transition: opacity .2s;
|
||||
}
|
||||
.diary-mosaic-item:hover img { opacity: .85; }
|
||||
|
||||
/* Kalender-Ansicht */
|
||||
.diary-calendar { padding: 0 0 80px; }
|
||||
.diary-cal-nav {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 16px 16px 8px;
|
||||
}
|
||||
.diary-cal-nav button {
|
||||
background: none; border: none; cursor: pointer;
|
||||
padding: 6px; border-radius: 8px; color: var(--c-text-muted);
|
||||
display: flex; align-items: center;
|
||||
}
|
||||
.diary-cal-nav button:hover { background: var(--c-surface-2); }
|
||||
.diary-cal-nav button .ph-icon { width: 20px; height: 20px; }
|
||||
.diary-cal-month { font-size: 16px; font-weight: 600; color: var(--c-text); }
|
||||
.diary-cal-weekdays {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(7, 1fr);
|
||||
padding: 0 8px 4px;
|
||||
text-align: center;
|
||||
font-size: 11px;
|
||||
color: var(--c-text-muted);
|
||||
font-weight: 500;
|
||||
}
|
||||
.diary-cal-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(7, 1fr);
|
||||
gap: 3px;
|
||||
padding: 0 8px;
|
||||
}
|
||||
.diary-cal-cell {
|
||||
aspect-ratio: 1;
|
||||
border-radius: 8px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 3px;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
font-size: 13px;
|
||||
color: var(--c-text-secondary);
|
||||
}
|
||||
.diary-cal-cell.has-entry {
|
||||
cursor: pointer;
|
||||
color: var(--c-text);
|
||||
font-weight: 600;
|
||||
}
|
||||
.diary-cal-cell.has-entry:active { opacity: .7; }
|
||||
/* Oranger Punkt unter der Tageszahl — sichtbar auch ohne Foto */
|
||||
.diary-cal-cell.has-entry::after {
|
||||
content: '';
|
||||
display: block;
|
||||
width: 5px;
|
||||
height: 5px;
|
||||
border-radius: 50%;
|
||||
background: var(--c-primary);
|
||||
flex-shrink: 0;
|
||||
}
|
||||
/* Foto als Hintergrund */
|
||||
.diary-cal-cell.has-entry img {
|
||||
position: absolute; inset: 0;
|
||||
width: 100%; height: 100%;
|
||||
object-fit: cover;
|
||||
opacity: .4;
|
||||
border-radius: 8px;
|
||||
}
|
||||
.diary-cal-cell.has-entry:hover img,
|
||||
.diary-cal-cell.has-entry:active img { opacity: .6; }
|
||||
/* Punkt ausblenden wenn Foto vorhanden (Foto reicht als Indikator) */
|
||||
.diary-cal-cell.has-entry:has(img)::after { display: none; }
|
||||
.diary-cal-cell.today .diary-cal-day {
|
||||
background: var(--c-primary);
|
||||
color: var(--c-text-inverse);
|
||||
border-radius: 50%;
|
||||
width: 26px; height: 26px;
|
||||
display: flex; align-items: center; justify-content: center;
|
||||
font-weight: 700;
|
||||
}
|
||||
.diary-cal-day { position: relative; z-index: 1; font-size: 13px; }
|
||||
|
||||
/* Monats-Section */
|
||||
.diary-month-header {
|
||||
font-size: 22px;
|
||||
font-weight: 700;
|
||||
color: var(--c-text);
|
||||
padding: 12px 16px;
|
||||
background: var(--c-surface-2, #f5f5f5);
|
||||
margin: 0;
|
||||
border-top: 1px solid var(--c-border);
|
||||
border-bottom: none;
|
||||
letter-spacing: -0.01em;
|
||||
}
|
||||
.diary-month-header:first-child {
|
||||
border-top: none;
|
||||
margin-top: 0;
|
||||
}
|
||||
@media (prefers-color-scheme: dark) {
|
||||
.diary-month-header { background: var(--c-surface-2); }
|
||||
}
|
||||
[data-theme="dark"] .diary-month-header { background: var(--c-surface-2); }
|
||||
|
||||
/* Monats-Eintrags-Container (umschließt alle Karten einer Section) */
|
||||
.diary-month-entries {
|
||||
background: var(--c-surface);
|
||||
border-bottom: 1px solid var(--c-border);
|
||||
}
|
||||
|
||||
/* Eintragskarte — Day One Row-Style */
|
||||
.diary-card {
|
||||
background: var(--c-surface);
|
||||
border: 1px solid var(--c-border);
|
||||
border-radius: var(--radius-lg);
|
||||
margin-bottom: var(--space-3);
|
||||
overflow: hidden;
|
||||
cursor: pointer;
|
||||
transition: box-shadow var(--transition-fast),
|
||||
transform var(--transition-fast);
|
||||
box-shadow: var(--shadow-xs);
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
gap: 12px;
|
||||
padding: 14px 16px;
|
||||
background: transparent;
|
||||
border: none;
|
||||
border-bottom: 1px solid var(--c-divider, var(--c-border));
|
||||
border-radius: 0;
|
||||
margin-bottom: 0;
|
||||
overflow: visible;
|
||||
cursor: pointer;
|
||||
transition: background var(--transition-fast);
|
||||
box-shadow: none;
|
||||
-webkit-tap-highlight-color: transparent;
|
||||
}
|
||||
.diary-card:last-child {
|
||||
border-bottom: none;
|
||||
}
|
||||
.diary-card:hover {
|
||||
box-shadow: var(--shadow-md);
|
||||
transform: translateY(-1px);
|
||||
background: rgba(0,0,0,0.025);
|
||||
box-shadow: none;
|
||||
transform: none;
|
||||
}
|
||||
.diary-card:active {
|
||||
transform: scale(0.99);
|
||||
background: rgba(0,0,0,0.05);
|
||||
transform: none;
|
||||
}
|
||||
[data-theme="dark"] .diary-card:hover { background: rgba(255,255,255,0.04); }
|
||||
[data-theme="dark"] .diary-card:active { background: rgba(255,255,255,0.07); }
|
||||
|
||||
/* Datum-Spalte links */
|
||||
.diary-card-date-col {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
width: 44px;
|
||||
flex-shrink: 0;
|
||||
padding-top: 1px;
|
||||
}
|
||||
.diary-card-weekday {
|
||||
font-size: 10px;
|
||||
font-weight: 600;
|
||||
color: var(--c-text-muted);
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.05em;
|
||||
line-height: 1;
|
||||
margin-bottom: 2px;
|
||||
}
|
||||
.diary-card-daynum {
|
||||
font-size: 28px;
|
||||
font-weight: 700;
|
||||
color: var(--c-text);
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
/* Meilenstein-Icon auf der Datum-Spalte */
|
||||
.diary-card-date-col .diary-milestone-icon {
|
||||
font-size: 14px;
|
||||
color: #c4a000;
|
||||
margin-top: 4px;
|
||||
}
|
||||
|
||||
/* Meilenstein-Hervorhebung */
|
||||
.diary-card--milestone {
|
||||
border-color: #d4a017;
|
||||
border-width: 2px;
|
||||
background: linear-gradient(
|
||||
135deg,
|
||||
var(--c-surface) 0%,
|
||||
color-mix(in srgb, #d4a017 8%, var(--c-surface)) 100%
|
||||
);
|
||||
background: color-mix(in srgb, #d4a017 4%, transparent);
|
||||
}
|
||||
.diary-card--milestone .diary-card-daynum {
|
||||
color: #b8860b;
|
||||
}
|
||||
|
||||
/* Meilenstein-Badge innerhalb der Karte */
|
||||
.diary-card-milestone-badge {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
background: color-mix(in srgb, #d4a017 15%, transparent);
|
||||
color: #8a6400;
|
||||
font-weight: 600;
|
||||
font-size: var(--text-xs);
|
||||
padding: 2px var(--space-2);
|
||||
border-radius: var(--radius-full);
|
||||
margin-bottom: var(--space-2);
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
background: color-mix(in srgb, #d4a017 15%, transparent);
|
||||
color: #8a6400;
|
||||
font-weight: 600;
|
||||
font-size: var(--text-xs);
|
||||
padding: 2px var(--space-2);
|
||||
border-radius: var(--radius-full);
|
||||
margin-bottom: 4px;
|
||||
letter-spacing: 0.03em;
|
||||
}
|
||||
|
||||
/* Foto / Video oben */
|
||||
/* Foto / Thumbnail rechts — 72×72px */
|
||||
.diary-card-photo {
|
||||
width: 100%;
|
||||
height: 180px;
|
||||
overflow: hidden;
|
||||
width: 72px;
|
||||
height: 72px;
|
||||
flex-shrink: 0;
|
||||
border-radius: 8px;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
margin-top: 2px;
|
||||
}
|
||||
.diary-card-photo img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
display: block;
|
||||
}
|
||||
.diary-media-picker {
|
||||
display: flex;
|
||||
|
|
@ -1165,7 +1409,7 @@ html.modal-open {
|
|||
border-radius: 50%;
|
||||
border: none;
|
||||
background: rgba(0,0,0,.50);
|
||||
color: #9ca3af;
|
||||
color: rgba(255,255,255,.55);
|
||||
font-size: 14px;
|
||||
cursor: pointer;
|
||||
display: flex;
|
||||
|
|
@ -1177,7 +1421,7 @@ html.modal-open {
|
|||
transition: color .15s, background .15s;
|
||||
}
|
||||
.diary-cover-btn--active {
|
||||
color: #f5c518;
|
||||
color: var(--c-amber);
|
||||
background: rgba(0,0,0,.65);
|
||||
}
|
||||
.diary-cover-btn--form {
|
||||
|
|
@ -1185,48 +1429,46 @@ html.modal-open {
|
|||
left: var(--space-1);
|
||||
}
|
||||
|
||||
/* Card Body */
|
||||
/* Card Body — mittlere Spalte */
|
||||
.diary-card-body {
|
||||
padding: var(--space-3) var(--space-4);
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
/* Meta-Zeile: Typ + Datum */
|
||||
.diary-card-meta {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
margin-bottom: var(--space-1);
|
||||
}
|
||||
.diary-card-type {
|
||||
font-size: var(--text-xs);
|
||||
font-weight: var(--weight-semibold);
|
||||
color: var(--c-primary);
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.04em;
|
||||
}
|
||||
.diary-card-date {
|
||||
font-size: var(--text-xs);
|
||||
color: var(--c-text-secondary);
|
||||
}
|
||||
|
||||
/* Titel */
|
||||
/* Titel in Karte */
|
||||
.diary-card-title {
|
||||
font-size: var(--text-base);
|
||||
font-weight: var(--weight-semibold);
|
||||
color: var(--c-text);
|
||||
margin-bottom: var(--space-1);
|
||||
font-size: 15px;
|
||||
font-weight: 700;
|
||||
color: var(--c-text);
|
||||
margin: 0 0 3px;
|
||||
line-height: 1.3;
|
||||
display: -webkit-box;
|
||||
-webkit-line-clamp: 2;
|
||||
-webkit-box-orient: vertical;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
/* Meta-Zeile: nur noch für Compat — im neuen Design nicht als flex-row genutzt */
|
||||
.diary-card-meta {
|
||||
display: none;
|
||||
}
|
||||
.diary-card-type { display: none; }
|
||||
.diary-card-date { display: none; }
|
||||
|
||||
/* Ort-Zeile in Karte */
|
||||
.diary-card-location {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: var(--space-1);
|
||||
font-size: var(--text-sm);
|
||||
color: var(--c-primary);
|
||||
margin: 0 0 var(--space-1);
|
||||
gap: 4px;
|
||||
font-size: 12px;
|
||||
color: var(--c-text-muted);
|
||||
margin: 0 0 2px;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
.diary-card-location .ph-icon { flex-shrink: 0; }
|
||||
.diary-card-location .ph-icon { flex-shrink: 0; width: 12px; height: 12px; }
|
||||
|
||||
/* Ort in Detail-Ansicht */
|
||||
.diary-detail-location {
|
||||
|
|
@ -1292,12 +1534,12 @@ html.modal-open {
|
|||
|
||||
/* Text-Vorschau */
|
||||
.diary-card-text {
|
||||
font-size: var(--text-sm);
|
||||
font-size: 13px;
|
||||
color: var(--c-text-secondary);
|
||||
line-height: 1.5;
|
||||
margin: 0 0 var(--space-2);
|
||||
line-height: 1.45;
|
||||
margin: 0 0 4px;
|
||||
display: -webkit-box;
|
||||
-webkit-line-clamp: 3;
|
||||
-webkit-line-clamp: 2;
|
||||
-webkit-box-orient: vertical;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
|
@ -1310,6 +1552,62 @@ html.modal-open {
|
|||
margin-top: var(--space-1);
|
||||
}
|
||||
|
||||
/* Meta-Zeile unten in der Karte: Zeit · Ort · Wetter */
|
||||
.diary-card-meta-row {
|
||||
font-size: 12px;
|
||||
color: var(--c-text-muted);
|
||||
line-height: 1.4;
|
||||
margin-top: 4px;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
/* Wetter-Badge in Karten-Meta */
|
||||
.diary-weather-badge {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 2px;
|
||||
font-size: var(--text-xs);
|
||||
color: var(--c-text-secondary);
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
/* FAB — Floating Action Button */
|
||||
.diary-fab {
|
||||
position: fixed;
|
||||
bottom: calc(var(--nav-bottom-height, 64px) + env(safe-area-inset-bottom, 0px) + 16px);
|
||||
right: 20px;
|
||||
width: 56px;
|
||||
height: 56px;
|
||||
border-radius: 50%;
|
||||
background: var(--c-primary);
|
||||
color: #fff;
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
box-shadow: 0 4px 16px rgba(196,132,58,.4);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
z-index: 100;
|
||||
transition: transform .15s, box-shadow .15s;
|
||||
-webkit-tap-highlight-color: transparent;
|
||||
}
|
||||
.diary-fab:hover { transform: scale(1.06); box-shadow: 0 6px 20px rgba(196,132,58,.5); }
|
||||
.diary-fab:active { transform: scale(0.94); }
|
||||
|
||||
/* POI-Chips in Karte und Detail */
|
||||
.diary-poi-chips,
|
||||
.diary-detail-poi-chips {
|
||||
font-size: var(--text-xs);
|
||||
color: var(--c-text-muted);
|
||||
line-height: 1.5;
|
||||
margin: var(--space-1) 0 var(--space-1);
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
/* Detail-Ansicht */
|
||||
.diary-detail-milestone-badge {
|
||||
display: inline-flex;
|
||||
|
|
@ -1324,6 +1622,312 @@ html.modal-open {
|
|||
margin-bottom: var(--space-3);
|
||||
}
|
||||
|
||||
/* Detail-View: Hero-Bild */
|
||||
.diary-detail-hero {
|
||||
width: 100%;
|
||||
max-height: 80vh;
|
||||
background: #000;
|
||||
flex-shrink: 0;
|
||||
position: relative;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
overflow: hidden;
|
||||
}
|
||||
@media (min-width: 768px) {
|
||||
.diary-detail-hero {
|
||||
max-width: 1100px;
|
||||
margin: 0 auto;
|
||||
border-radius: 0 0 12px 12px;
|
||||
max-height: 60vh;
|
||||
}
|
||||
}
|
||||
@media (min-width: 1200px) {
|
||||
.diary-detail-hero { max-width: 1300px; }
|
||||
}
|
||||
.diary-detail-hero img {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
max-height: 80vh;
|
||||
object-fit: contain;
|
||||
display: block;
|
||||
cursor: zoom-in;
|
||||
}
|
||||
.diary-detail-hero video {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
max-height: 80vh;
|
||||
object-fit: contain;
|
||||
display: block;
|
||||
background: #000;
|
||||
}
|
||||
|
||||
/* Detail-View: inline im Content-Bereich (kein Overlay mehr) */
|
||||
.diary-detail-view-inner {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-height: calc(100vh - 120px);
|
||||
background: var(--c-bg);
|
||||
}
|
||||
|
||||
/* Detail-View: Header-Bar */
|
||||
.diary-detail-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 12px 16px;
|
||||
background: var(--c-surface);
|
||||
border-bottom: 1px solid var(--c-border);
|
||||
flex-shrink: 0;
|
||||
min-height: 48px;
|
||||
}
|
||||
.diary-detail-back {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
background: none;
|
||||
border: none;
|
||||
color: var(--c-primary);
|
||||
font-size: 16px;
|
||||
cursor: pointer;
|
||||
padding: 4px 0;
|
||||
font-weight: 500;
|
||||
}
|
||||
.diary-detail-date-center {
|
||||
font-size: 14px;
|
||||
font-weight: 600;
|
||||
color: var(--c-text);
|
||||
text-align: center;
|
||||
flex: 1;
|
||||
padding: 0 8px;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
.diary-detail-edit {
|
||||
background: none;
|
||||
border: none;
|
||||
color: var(--c-primary);
|
||||
cursor: pointer;
|
||||
padding: 4px 0;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
font-size: 14px;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
/* Detail-View: Body-Wrapper (text links, Karte rechts auf Desktop) */
|
||||
.diary-detail-body-wrap {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
flex: 1;
|
||||
width: 100%;
|
||||
}
|
||||
@media (min-width: 768px) {
|
||||
.diary-detail-body-wrap {
|
||||
flex-direction: row;
|
||||
align-items: flex-start;
|
||||
max-width: 1100px;
|
||||
margin: 0 auto;
|
||||
padding: 0 24px;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
}
|
||||
@media (min-width: 1200px) {
|
||||
.diary-detail-body-wrap { max-width: 1300px; }
|
||||
}
|
||||
|
||||
/* Detail-View: Inhalt */
|
||||
.diary-detail-content {
|
||||
padding: 24px 24px 60px;
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
}
|
||||
@media (max-width: 767px) {
|
||||
.diary-detail-content { padding: 20px 16px 40px; }
|
||||
}
|
||||
|
||||
/* Detail-View: Karte + POI-Sektion */
|
||||
.diary-detail-map-wrap {
|
||||
padding: 16px 16px 40px;
|
||||
flex-shrink: 0;
|
||||
width: 100%;
|
||||
}
|
||||
@media (min-width: 768px) {
|
||||
.diary-detail-map-wrap {
|
||||
width: 380px;
|
||||
min-width: 300px;
|
||||
max-width: 420px;
|
||||
flex-shrink: 0;
|
||||
padding: 24px 0 40px 32px;
|
||||
position: sticky;
|
||||
top: 60px;
|
||||
align-self: flex-start;
|
||||
}
|
||||
}
|
||||
.diary-detail-map {
|
||||
width: 100%;
|
||||
height: 200px;
|
||||
border-radius: 12px;
|
||||
overflow: hidden;
|
||||
border: 1px solid var(--c-border);
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
@media (min-width: 768px) {
|
||||
.diary-detail-map { height: 280px; }
|
||||
}
|
||||
|
||||
/* POI-Liste */
|
||||
.diary-detail-poi-list {
|
||||
background: var(--c-surface);
|
||||
border: 1px solid var(--c-border);
|
||||
border-radius: 12px;
|
||||
overflow: hidden;
|
||||
}
|
||||
.diary-detail-poi-heading {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
font-size: 11px;
|
||||
font-weight: 600;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: .06em;
|
||||
color: var(--c-text-muted);
|
||||
padding: 10px 14px 8px;
|
||||
border-bottom: 1px solid var(--c-border);
|
||||
}
|
||||
.diary-detail-poi-heading .ph-icon { width:14px;height:14px; }
|
||||
.diary-detail-poi-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
padding: 9px 14px;
|
||||
border-bottom: 1px solid var(--c-border);
|
||||
font-size: 13px;
|
||||
}
|
||||
.diary-detail-poi-row:last-child { border-bottom: none; }
|
||||
.diary-detail-poi-icon { width:16px;height:16px;color:var(--c-primary);flex-shrink:0; }
|
||||
.diary-detail-poi-name { flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--c-text); }
|
||||
.diary-detail-poi-dist { font-size:12px;color:var(--c-text-muted);flex-shrink:0; }
|
||||
.diary-detail-title {
|
||||
font-size: 22px;
|
||||
font-weight: 700;
|
||||
color: var(--c-text);
|
||||
margin: 0 0 16px;
|
||||
line-height: 1.3;
|
||||
}
|
||||
.diary-detail-body {
|
||||
font-size: 16px;
|
||||
line-height: 1.7;
|
||||
color: var(--c-text);
|
||||
white-space: pre-wrap;
|
||||
margin: 0 0 20px;
|
||||
}
|
||||
.diary-detail-divider {
|
||||
border: none;
|
||||
border-top: 1px solid var(--c-border);
|
||||
margin: 20px 0;
|
||||
}
|
||||
|
||||
/* Detail-View: Meta-Bar unten */
|
||||
.diary-detail-meta-bar {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 8px 16px;
|
||||
font-size: 13px;
|
||||
color: var(--c-text-muted);
|
||||
margin-bottom: 16px;
|
||||
align-items: center;
|
||||
}
|
||||
.diary-detail-meta-bar .ph-icon {
|
||||
width: 14px;
|
||||
height: 14px;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.diary-detail-meta-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 5px;
|
||||
}
|
||||
|
||||
/* Detail-View: Thumbnail-Strip */
|
||||
.diary-detail-thumbs {
|
||||
display: flex;
|
||||
gap: 4px;
|
||||
padding: 6px 16px;
|
||||
overflow-x: auto;
|
||||
background: rgba(0,0,0,.6);
|
||||
flex-shrink: 0;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
scrollbar-width: none;
|
||||
}
|
||||
@media (min-width: 768px) {
|
||||
.diary-detail-thumbs {
|
||||
max-width: 1100px;
|
||||
margin: 0 auto;
|
||||
border-radius: 0 0 8px 8px;
|
||||
padding-left: 16px;
|
||||
padding-right: 16px;
|
||||
background: rgba(0,0,0,.75);
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
}
|
||||
@media (min-width: 1200px) {
|
||||
.diary-detail-thumbs { max-width: 1300px; }
|
||||
}
|
||||
.diary-detail-thumbs::-webkit-scrollbar { display: none; }
|
||||
.diary-detail-thumb {
|
||||
flex-shrink: 0;
|
||||
width: 56px;
|
||||
height: 56px;
|
||||
border-radius: 6px;
|
||||
overflow: hidden;
|
||||
cursor: pointer;
|
||||
border: 2px solid transparent;
|
||||
box-sizing: border-box;
|
||||
transition: border-color .15s, opacity .15s;
|
||||
opacity: .7;
|
||||
}
|
||||
.diary-detail-thumb:hover { opacity: 1; }
|
||||
.diary-detail-thumb--active {
|
||||
border-color: var(--c-primary);
|
||||
opacity: 1;
|
||||
}
|
||||
@media (min-width: 768px) {
|
||||
.diary-detail-thumb { width: 72px; height: 72px; }
|
||||
}
|
||||
|
||||
/* Detail-View: Foto-Galerie horizontal */
|
||||
.diary-detail-gallery {
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
overflow-x: auto;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
scroll-snap-type: x mandatory;
|
||||
margin: 0 -20px 20px;
|
||||
padding: 0 20px;
|
||||
scrollbar-width: none;
|
||||
}
|
||||
.diary-detail-gallery::-webkit-scrollbar { display: none; }
|
||||
.diary-detail-gallery-item {
|
||||
flex: 0 0 auto;
|
||||
width: min(75vw, 280px);
|
||||
height: 200px;
|
||||
border-radius: var(--radius-md);
|
||||
overflow: hidden;
|
||||
scroll-snap-align: start;
|
||||
cursor: zoom-in;
|
||||
}
|
||||
.diary-detail-gallery-item img,
|
||||
.diary-detail-gallery-item video {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
display: block;
|
||||
}
|
||||
|
||||
/* Leaflet-Attribution ausblenden */
|
||||
.leaflet-control-attribution { display: none !important; }
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue