PR Checks / Frontend Typecheck + Tests (pull_request) Successful in 1m2s
PR Checks / Backend Smoke (pull_request) Successful in 7s
PR Checks / Build Backend (no push) (pull_request) Successful in 11s
PR Checks / Build Frontend (no push) (pull_request) Successful in 49s
PR Checks / Build Pipeline (no push) (pull_request) Successful in 10s
PR Checks / AI Code Review (Claude) (pull_request) Failing after 1m8s
Review follow-up on #86. The blind coral -> brand rename recreated the exact collision this PR set out to remove: coral had been both the primary CTA and the "below average" signal, so every negative indicator followed --primary onto iris. Sixteen rules moved back onto the status ramp — delta chips, trend-down arrows, progress-negative values, statusBad, chipBad/badgeBad, and the urgent deadline chips. The Ofsted scale had also lost its worst step, with grade 4 landing on brand while 1-2 were teal and 3 was amber. It now escalates by weight rather than by reaching for another hue: a tinted amber chip for "requires improvement", a solid amber one for "inadequate" (5.1:1 light, 7.7:1 dark). Report-card grade 5 follows the same rule. globals.css now describes status as valence — teal above/good, amber below/needs-attention — which is what it has to mean for an urgent deadline, rather than the narrower "comparison point only" the first draft claimed. On the share-card fonts: /opengraph-image is prerendered, so the font read happens in the builder stage where assets/ exists, and the baked PNG ships inside .next/standalone/.next/server/app/. File tracing independently places the fonts at .next/standalone/assets, which the existing standalone COPY carries to /app/assets. So the reported ENOENT doesn't occur — but it depends on the tracer resolving a runtime join(), and a miss would be a silent 500 rather than a build failure. Declared outputFileTracingIncludes for the route and made the Dockerfile COPY explicit so neither is left to inference. Also repointed the immutable Cache-Control rule from the deleted favicon.svg to app/icon.svg, where it was caching a 404. Verified: tsc clean, 159/159 tests, clean rebuild prerenders all three image routes with the fonts present in standalone. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
181 lines
2.9 KiB
CSS
181 lines
2.9 KiB
CSS
.card {
|
|
background: var(--bg-card);
|
|
border: 1px solid var(--border);
|
|
border-left: 3px solid transparent;
|
|
border-radius: 10px;
|
|
padding: 1rem 1.125rem;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.card.cardInCompare {
|
|
border-color: var(--brand);
|
|
box-shadow: 0 0 0 1px var(--brand);
|
|
}
|
|
|
|
.card:hover {
|
|
border-left-color: var(--brand);
|
|
box-shadow: var(--shadow-medium, 0 4px 20px rgba(var(--shadow-rgb), 0.1));
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: flex-start;
|
|
gap: 0.75rem;
|
|
margin-bottom: 0.375rem;
|
|
}
|
|
|
|
.title {
|
|
margin: 0;
|
|
font-size: 1rem;
|
|
font-weight: 600;
|
|
line-height: 1.35;
|
|
font-family: var(--font-display);
|
|
}
|
|
|
|
.title a {
|
|
color: var(--text-primary);
|
|
text-decoration: none;
|
|
transition: color 0.2s ease;
|
|
}
|
|
|
|
.title a:hover {
|
|
color: var(--brand);
|
|
}
|
|
|
|
.distance {
|
|
font-size: 0.75rem;
|
|
color: var(--brand);
|
|
white-space: nowrap;
|
|
background: var(--brand-bg);
|
|
padding: 0.125rem 0.5rem;
|
|
border-radius: 12px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.meta {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 0.375rem;
|
|
margin-bottom: 0.625rem;
|
|
}
|
|
|
|
.metaItem {
|
|
font-size: 0.75rem;
|
|
color: var(--text-secondary);
|
|
padding: 0.125rem 0.5rem;
|
|
background: var(--bg-secondary);
|
|
border-radius: 3px;
|
|
}
|
|
|
|
.metrics {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
|
|
gap: 0.625rem;
|
|
margin-bottom: 0.875rem;
|
|
padding: 0.625rem 0.75rem;
|
|
background: var(--bg-secondary);
|
|
border-radius: 6px;
|
|
border: 1px solid var(--border);
|
|
}
|
|
|
|
.metric {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.125rem;
|
|
}
|
|
|
|
.metricLabel {
|
|
font-size: 0.6875rem;
|
|
color: var(--text-muted);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.05em;
|
|
}
|
|
|
|
.metricValue {
|
|
font-variant-numeric: tabular-nums;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.375rem;
|
|
}
|
|
|
|
.metricValue strong {
|
|
font-size: 1rem;
|
|
color: var(--text-primary);
|
|
font-weight: 700;
|
|
}
|
|
|
|
.trend {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 20px;
|
|
height: 20px;
|
|
border-radius: 4px;
|
|
cursor: help;
|
|
transition: transform 0.2s ease;
|
|
}
|
|
|
|
.trend:hover {
|
|
transform: scale(1.15);
|
|
}
|
|
|
|
.trendIcon {
|
|
width: 12px;
|
|
height: 12px;
|
|
}
|
|
|
|
.trendUp {
|
|
color: var(--status-above);
|
|
background: var(--status-above-bg);
|
|
}
|
|
|
|
.trendDown {
|
|
color: var(--status-below);
|
|
background: var(--status-below-bg);
|
|
}
|
|
|
|
.trendStable {
|
|
color: var(--text-muted);
|
|
background: rgba(var(--muted-rgb), 0.15);
|
|
}
|
|
|
|
.actions {
|
|
display: flex;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
/* Equalise <a> and <button> rendering */
|
|
.actions > * {
|
|
height: 2rem;
|
|
line-height: 1;
|
|
font-family: inherit;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
|
|
.metricHint {
|
|
font-size: 0.7rem;
|
|
color: var(--text-muted);
|
|
display: block;
|
|
margin-top: 1px;
|
|
font-weight: 400;
|
|
}
|
|
|
|
@media (max-width: 640px) {
|
|
.card {
|
|
padding: 0.875rem;
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.metrics {
|
|
grid-template-columns: 1fr;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.actions {
|
|
flex-direction: column;
|
|
}
|
|
}
|