HifiPlanet-Website/hifi/assets
Maaxxs 28fc9d76dd Add vertical drag positioning for gallery card labels
Extends the just-added horizontal drag to a second axis, per follow-up
request. New app_settings.gallery_card_text_y (TINYINT UNSIGNED 0-100,
default 100 = bottom, matching the original always-bottom position -
no visual change until an admin drags it).

galleryCardLabelStyle() now takes both x and y and combines
`left/top` + a single `transform: translate(-X%, -Y%)` - same
edge-to-edge interpolation trick as the horizontal axis, just on both
axes at once. GalleryOverview.jsx/GalleryBrandPage.jsx drop the
`bottom-0` class entirely now that vertical position is fully
style-driven.

WebsiteSettings.jsx's drag handlers compute both axes from one pointer
position per move (one setForm call, not two) so a diagonal drag reads
as one continuous motion. Added a vertical Oben/Mittig/Unten quick-jump
row alongside the existing horizontal one.

Note left as-is deliberately: the card's dark gradient overlay still
only fades from opaque at the bottom to transparent at the top, so
text dragged toward the top will have less contrast behind it - that's
a real trade-off of allowing free vertical placement, and the live
preview is exactly how an admin would notice and judge it rather than
being blocked from trying.

Verified against the local database directly via PHP CLI: defaults
(0/100) and an arbitrary pair (30/15) both round-trip correctly
through SiteSettingsController::show(), then reset back to defaults.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-09 03:29:55 +02:00
..
apex-CFy2qup8.webp Consolidate the site onto a single branch: main now carries the build output 2026-07-20 06:59:33 +02:00
base-BKOm0Bib.webp Consolidate the site onto a single branch: main now carries the build output 2026-07-20 06:59:33 +02:00
bg-dark-DX_vTCv2.png Use the handoff's baked background images for the contact section 2026-07-20 07:24:59 +02:00
bg-light-C_7mxjWZ.png Use the handoff's baked background images for the contact section 2026-07-20 07:24:59 +02:00
clear-DZZMSrMX.webp Consolidate the site onto a single branch: main now carries the build output 2026-07-20 06:59:33 +02:00
drive-BE2W1yna.webp Consolidate the site onto a single branch: main now carries the build output 2026-07-20 06:59:33 +02:00
elite_r-BRvz_pyr.webp Consolidate the site onto a single branch: main now carries the build output 2026-07-20 06:59:33 +02:00
gallery-amp-purple-CESAKuOf.webp Consolidate the site onto a single branch: main now carries the build output 2026-07-20 06:59:33 +02:00
gallery-dash-Cg-7v9qo.webp Consolidate the site onto a single branch: main now carries the build output 2026-07-20 06:59:33 +02:00
gallery-dash2-CEVCErVK.webp Consolidate the site onto a single branch: main now carries the build output 2026-07-20 06:59:33 +02:00
gallery-rear-8cIXPC7T.webp Consolidate the site onto a single branch: main now carries the build output 2026-07-20 06:59:33 +02:00
gallery-speaker-CUXQZ49Q.webp Consolidate the site onto a single branch: main now carries the build output 2026-07-20 06:59:33 +02:00
gallery-subs-COSd4seJ.webp Consolidate the site onto a single branch: main now carries the build output 2026-07-20 06:59:33 +02:00
hero-highlight-Co4f1Kj5.webp Consolidate the site onto a single branch: main now carries the build output 2026-07-20 06:59:33 +02:00
hero-trunk-Dp4_JHDh.webp Consolidate the site onto a single branch: main now carries the build output 2026-07-20 06:59:33 +02:00
index-BPvbL8M7.js Add vertical drag positioning for gallery card labels 2026-09-09 03:29:55 +02:00
index-CxsdIqOv.css Replace left/center/right buttons with real drag-and-drop positioning 2026-09-09 03:23:37 +02:00
limitless-DDs0S_PU.webp Consolidate the site onto a single branch: main now carries the build output 2026-07-20 06:59:33 +02:00
logo-BNfZDkmN.png Consolidate the site onto a single branch: main now carries the build output 2026-07-20 06:59:33 +02:00
logo-dark-R-ckaBhx.png Consolidate the site onto a single branch: main now carries the build output 2026-07-20 06:59:33 +02:00
lucide-icons-Cg2IxtAO.js Add rich-text formatting and font choice for email templates 2026-09-09 01:49:13 +02:00
prime-BTVNe2Gb.webp Consolidate the site onto a single branch: main now carries the build output 2026-07-20 06:59:33 +02:00
statement-pTO-wTPx.webp Consolidate the site onto a single branch: main now carries the build output 2026-07-20 06:59:33 +02:00
youtube-hintergrund-C0osNxn7.mp4 Consolidate the site onto a single branch: main now carries the build output 2026-07-20 06:59:33 +02:00