Deploy FeWo mit PipelineManager / deploy (push) Successful in 3m45s
- Baustein "Ausflugstipps" (tips): Karten mit Foto vorne, Tipp/Weg/beste Zeit hinten; Seebad als Ansichtskarten - Baustein "Sommer/Winter-Vergleich" (compare): Trennlinie ziehen, Tastatur ueber Range-Input, einmaliger Hinweis-Schwenk - Lightbox: Foto waechst aus der Vorschau, Blaettern (Pfeile, Tasten, Wischen), Zaehler, Bildunterschrift; partials/lightbox - Bewegung reduzieren: Ueberblenden statt Drehen, kein Schwenk, keine Zoom-Animation Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
24 lines
1.8 KiB
PHP
24 lines
1.8 KiB
PHP
{{--
|
|
Lightbox dialog for all a[data-lightbox] links (theme.js): img, [data-caption], [data-counter], [data-prev]/[data-next]
|
|
(hidden for a single photo), [data-close]. Elements with [data-chrome] fade in after the photo has grown out of its
|
|
thumbnail. Links may set data-caption (shown below) besides data-alt (alternative text).
|
|
--}}
|
|
<dialog id="lightbox" class="m-auto max-h-[94vh] max-w-[94vw] overflow-visible bg-transparent p-0 backdrop:bg-black/85" aria-label="Bild vergrößert">
|
|
<figure class="relative">
|
|
<img src="" alt="" class="max-h-[84vh] max-w-[94vw] rounded object-contain">
|
|
<button type="button" data-prev data-chrome hidden class="absolute top-1/2 left-2 flex size-12 -translate-y-1/2 items-center justify-center rounded-full bg-black/60 text-white hover:bg-black/80" aria-label="Vorheriges Foto">
|
|
<x-heroicon-o-chevron-left class="size-6" aria-hidden="true" />
|
|
</button>
|
|
<button type="button" data-next data-chrome hidden class="absolute top-1/2 right-2 flex size-12 -translate-y-1/2 items-center justify-center rounded-full bg-black/60 text-white hover:bg-black/80" aria-label="Nächstes Foto">
|
|
<x-heroicon-o-chevron-right class="size-6" aria-hidden="true" />
|
|
</button>
|
|
<figcaption data-chrome class="mt-3 flex flex-wrap items-baseline justify-between gap-x-6 gap-y-1 px-1 text-base text-white">
|
|
<span data-caption></span>
|
|
<span data-counter class="text-white/70 tabular-nums"></span>
|
|
</figcaption>
|
|
<button type="button" data-close data-chrome class="absolute top-2 right-2 flex size-12 items-center justify-center rounded-full bg-black/60 text-white hover:bg-black/80" aria-label="Schließen">
|
|
<x-heroicon-o-x-mark class="size-6" aria-hidden="true" />
|
|
</button>
|
|
</figure>
|
|
</dialog>
|