Skip to content

style(bracket): group-stage chips look like Top 8 Thirds tiles#283

Merged
0800tim merged 1 commit into
mainfrom
feat/group-stage-flag-tiles
Jun 4, 2026
Merged

style(bracket): group-stage chips look like Top 8 Thirds tiles#283
0800tim merged 1 commit into
mainfrom
feat/group-stage-flag-tiles

Conversation

@0800tim

@0800tim 0800tim commented Jun 4, 2026

Copy link
Copy Markdown
Owner

Restyles the four team chips at the bottom of each collapsed group card to mirror the Top 8 Thirds picker: blurred full-bleed flag background, dark scrim, crisp foreground flag chip + bold code. Mobile keeps 4-on-one-row at ~44px tall; desktop scales up to ~56px with a larger flag and 17px code.

Same blurred-flag trick .bracket-thirds-tile::before uses, with the URL wired through an inline --km-team-bg custom property on the chip.

Advance rings (1st gold, 2nd silver) now sit on the tile body via inset + outer box-shadow, matching the .bracket-thirds-tile.is-selected treatment.

Will deploy once Tim verifies on dev.

🤖 Generated with Claude Code

The collapsed group-card header had four small pill chips along
the bottom (flag + 3-letter code). Tim asked for a heavier
treatment in the same family as the Top 8 Thirds picker tiles:
larger, blurred full-bleed flag background, dark scrim, crisp
foreground flag + bold team code.

Mobile keeps the existing 4-on-one-row constraint (the chips share
flex 1 1 0) so they slot in at ~44px tall. Desktop grows to ~56px
with a bigger flag chip + 17px code, matching the Thirds tile feel
without quite the same heft.

Mechanics:

  GroupCard.tsx
    Inline a --km-team-bg custom property on each .bracket-group-
    head-team so the new ::before pseudo can resolve the flag SVG
    without per-team CSS. Same pattern .bracket-thirds-tile uses.

  bracket.css
    .bracket-group-head-team: dropped the pill / transparent
      background; now a position:relative tile with border-radius
      10px, scrim ::after, blurred-flag ::before, isolation:isolate
      so the z-index doesn't bleed.
    [data-advance='1']: gold inset ring + outer halo, matching
      .bracket-thirds-tile.is-selected. Lighter scrim so the gold
      reads against the flag.
    [data-advance='2']: silver ring, same idea.
    Old per-flag box-shadow rings dropped, the tile body now carries
    the advance border + halo.
    @media (min-width: 900px): bumped padding, min-height and font
    so the tile reads at desktop scale.

Tim 2026-06-05. Deploy gated on his dev verification.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>

Signed-off-by: Tim Thomas <0800tim@gmail.com>
@0800tim 0800tim merged commit 6a1696a into main Jun 4, 2026
11 of 12 checks passed
@github-actions

github-actions Bot commented Jun 4, 2026

Copy link
Copy Markdown

DRY-RUN — this verdict is informational; CI is not blocked.

Auto-triage: GREEN — auto-triage clear

Risk score: 0/100

Metric Value
Files changed 2
Lines added 116
Lines removed 39
Apps touched apps/web
New dependencies 0
New 3rd-party hosts 0

No flags raised by the automated scanners. A human reviewer will still take a look.

Labels applied: area:web, auto-triage:green

Posted by @vtorn/pr-triage-bot. How this works: docs/security/01-pr-triage-process.md. Disagree with the verdict? Comment /triage override <reason> and a maintainer will re-review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant