diff --git a/CLAUDE.md b/CLAUDE.md index c1568d6..70138fc 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -85,6 +85,8 @@ An unpublished gym 404s publicly but previews for staff. - `site/crossfit.php` decides the 404 for gyms without `has_crossfit` before `_open.php`, so it is a real 404 status. - **Events per gym:** Eventos form «Mostrar em» writes `events.gym_id` (NULL = all gyms; `site_active_events()` filters on it). `site/evento.php` renders the event in its gym's brand/name/info. The hero event button text uses `--ev-on` (white/black computed from the event colour), not the page gym's on-accent. - Navbar: the desktop bottom sweep line stops before the other-gym head via `--switch-w` (set by `setNavH` in `navbar.php`). The hero blur (`.hero-section .container::before`) has a second diagonal mask, so it is weaker at the top left. The «Marca uma aula experimental» link was removed; `#trialModal` stays (only reopened by `?agendar=erro`). +- The other-gym logo button is a light plate (92% white) with the logo in its own colours (2026-10-26; before: logo inked to the head's on-accent). +- YourFit modalidades use their brand glyphs: `fitme-yourfit-*.svg` were traced (2026-10-26) from the left tile of the wordmarks `uploads/modalidades/icons/yourfit-*.png` (150×33, the only source found) into one even-odd `currentColor` path, so they keep the CSS colour/hover and the transform animations (no stroke draw). ## Imagens / JPEG XL (2026-10-26) Fleet transition to JPEG XL (root `Y:\GitTea\CLAUDE.md`, "Images"); fitme3070 is the reference site. Uploads already accept `.jxl` (gyms header/logo, gallery photos). diff --git a/site/assets/css/style.css b/site/assets/css/style.css index 81ba291..4b9320e 100644 --- a/site/assets/css/style.css +++ b/site/assets/css/style.css @@ -648,16 +648,13 @@ section[id] { pointer-events: none; } .header-section .gym-switch::before { background: var(--fitme-accent); } -/* the logo in that gym's on-accent ink (dark on lime, white on red) */ -.header-section .gym-switch .gym-switch-btn--logo .gym-switch-logo { - filter: url(#pt-noise) brightness(0) drop-shadow(0 1px 0 rgba(255, 255, 255, .25)); +/* the button is a light plate on the head, so the logo keeps its own colours */ +.header-section .gym-switch .gym-switch-btn--logo, +.header-section .gym-switch .gym-switch-btn--logo:is(:hover, :focus-visible) { + background: color-mix(in srgb, var(--fitme-white) 92%, transparent); + border-color: rgba(255, 255, 255, .6); } -.header-section .gym-switch--light-ink .gym-switch-btn--logo .gym-switch-logo { - filter: url(#pt-noise) brightness(0) invert(1) drop-shadow(0 1px 1px rgba(0, 0, 0, .35)); -} -/* the hover ring would vanish on its own accent: draw it in the ink */ -.header-section .gym-switch .gym-switch-btn--logo { border-color: rgba(11, 11, 13, .35); } -.header-section .gym-switch--light-ink .gym-switch-btn--logo { border-color: rgba(255, 255, 255, .45); } +.header-section .gym-switch .gym-switch-btn--logo .gym-switch-logo { filter: url(#pt-noise); } @media (min-width: 992px) { .header-section .navbar { padding: 0; diff --git a/uploads/modalidades/icons/fitme-yourfit-core.svg b/uploads/modalidades/icons/fitme-yourfit-core.svg index a7b3996..b581178 100644 --- a/uploads/modalidades/icons/fitme-yourfit-core.svg +++ b/uploads/modalidades/icons/fitme-yourfit-core.svg @@ -1 +1 @@ - \ No newline at end of file + diff --git a/uploads/modalidades/icons/fitme-yourfit-fight.svg b/uploads/modalidades/icons/fitme-yourfit-fight.svg index bb9d111..cdca26d 100644 --- a/uploads/modalidades/icons/fitme-yourfit-fight.svg +++ b/uploads/modalidades/icons/fitme-yourfit-fight.svg @@ -1 +1 @@ - + diff --git a/uploads/modalidades/icons/fitme-yourfit-mind.svg b/uploads/modalidades/icons/fitme-yourfit-mind.svg index 70cb1b8..a87f73e 100644 --- a/uploads/modalidades/icons/fitme-yourfit-mind.svg +++ b/uploads/modalidades/icons/fitme-yourfit-mind.svg @@ -1 +1 @@ - + diff --git a/uploads/modalidades/icons/fitme-yourfit-pulse.svg b/uploads/modalidades/icons/fitme-yourfit-pulse.svg index e9bc9cf..46324cf 100644 --- a/uploads/modalidades/icons/fitme-yourfit-pulse.svg +++ b/uploads/modalidades/icons/fitme-yourfit-pulse.svg @@ -1 +1 @@ - + diff --git a/uploads/modalidades/icons/fitme-yourfit-pump.svg b/uploads/modalidades/icons/fitme-yourfit-pump.svg index 4ad2794..4c58b89 100644 --- a/uploads/modalidades/icons/fitme-yourfit-pump.svg +++ b/uploads/modalidades/icons/fitme-yourfit-pump.svg @@ -1 +1 @@ - +