feat: simplify the Cool City phone decision
ci / check (push) Successful in 54s
ci / check (pull_request) Successful in 56s

- replace the three stacked route cards with a Shortest | Shaded | Accessible segmented control and one large card
- default to Accessible for Ruth; keep the 16:00 trade-off visible as one sentence
- fold the audience vote into the card's primary action so the mobile action stays above the fold
- soften cards with a 28 px radius, soft shadow and one subtle selected ring
- leave the stage and city information architecture intact
This commit is contained in:
Noel Sabia committed 2026-11-14 14:15:28 +01:00
1 parent 2bc52a314d
commit d908c3264d
6 files changed
+391 -527

No files matched your search

+1 -124
View File
@@ -146,15 +146,6 @@ body.pc-cool-presentation,
padding: 0.4rem 0 0.7rem;
}
.cc-ruth__label {
margin: 0;
color: var(--cc-muted);
font-size: 0.72rem;
font-weight: 650;
letter-spacing: 0.06em;
text-transform: uppercase;
}
.cc-ruth h1 {
max-width: 13ch;
margin: 0;
@@ -233,83 +224,6 @@ body.pc-cool-presentation,
accent-color: var(--cc-shade);
}
.cc-routes {
display: flex;
flex-direction: column;
gap: 0.2rem;
}
.cc-routes__head {
display: flex;
flex-wrap: wrap;
align-items: baseline;
justify-content: space-between;
gap: 0.45rem;
}
.cc-routes__head h2 {
margin: 0;
font-size: 1.55rem;
font-weight: 800;
letter-spacing: -0.04em;
line-height: 1;
}
.cc-model {
margin: 0;
color: var(--cc-muted);
font-size: 0.72rem;
line-height: 1.35;
}
.cc-model strong {
color: var(--cc-ink);
font-weight: 750;
}
.cc-vote {
display: flex;
flex-direction: column;
}
.cc-vote__head {
display: flex;
flex-wrap: wrap;
align-items: baseline;
justify-content: space-between;
gap: 0.45rem;
}
.cc-vote__head h2 {
margin: 0;
font-size: 1.45rem;
font-weight: 800;
letter-spacing: -0.04em;
}
.cc-vote__lede {
max-width: 52ch;
margin: 0.35rem 0 0.8rem;
color: var(--cc-muted);
font-size: 0.84rem;
line-height: 1.45;
}
.cc-vote__lede strong {
color: var(--cc-ink);
}
.cc-vote__status {
margin: 0.5rem 0 0;
color: var(--cc-muted);
font-size: 0.86rem;
line-height: 1.45;
}
.cc-vote__status strong {
color: var(--cc-ink);
}
.cc-vote-only {
display: flex;
min-height: calc(100dvh - 62px);
@@ -464,22 +378,6 @@ body.pc-cool-presentation,
font-size: 0.92rem;
}
.cc-vote__buttons,
.cc-vote-only__buttons {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 0.45rem;
}
.cc-vote__buttons :deep(.onyx-button),
.cc-vote-only__buttons :deep(.onyx-button) {
width: 100%;
}
.cc-vote__buttons :deep(.onyx-button__label) {
font-size: 0.84rem;
}
/* Stage ----------------------------------------------------------------- */
.cc-stage {
@@ -564,7 +462,6 @@ body.pc-cool-presentation,
grid-template-areas:
"ruth routes"
"time routes"
"vote routes"
"details details"
"footer footer";
gap: 1rem 1.5rem;
@@ -585,22 +482,10 @@ body.pc-cool-presentation,
grid-area: time;
}
.cc-vote {
grid-area: vote;
}
.cc-routes {
.cc-route {
grid-area: routes;
}
.cc-routes__head h2 {
font-size: 2rem;
}
.cc-routes .cc-route-list {
gap: 0.75rem;
}
.cc-details {
grid-area: details;
margin-top: 0.5rem;
@@ -630,14 +515,6 @@ body.pc-cool-presentation,
.cc-phone {
padding-inline: 0.8rem;
}
.cc-vote__buttons {
grid-template-columns: minmax(0, 1fr);
}
.cc-vote__buttons :deep(.onyx-button) {
min-height: 48px;
}
}
@media (prefers-reduced-motion: reduce) {