2026-03-23 22:32:33 +00:00
|
|
|
.row {
|
|
|
|
|
display: flex;
|
2026-03-24 09:27:22 +00:00
|
|
|
align-items: center;
|
|
|
|
|
gap: 1rem;
|
2026-03-23 22:32:33 +00:00
|
|
|
background: var(--bg-card, white);
|
|
|
|
|
border: 1px solid var(--border-color, #e5dfd5);
|
|
|
|
|
border-left: 3px solid transparent;
|
|
|
|
|
border-radius: 8px;
|
2026-03-29 08:57:06 +01:00
|
|
|
padding: 1rem 1.25rem;
|
2026-03-23 22:32:33 +00:00
|
|
|
transition: border-color 0.15s ease, box-shadow 0.15s ease;
|
|
|
|
|
animation: rowFadeIn 0.3s ease-out both;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.row:hover {
|
|
|
|
|
box-shadow: 0 2px 8px rgba(26, 22, 18, 0.06);
|
|
|
|
|
}
|
|
|
|
|
|
2026-04-01 15:47:51 +01:00
|
|
|
/* Phase border colours */
|
|
|
|
|
.phasePrimary { border-left-color: var(--phase-primary, #5b8cbf); }
|
|
|
|
|
.phaseAllThrough { border-left-color: var(--phase-all-through, #7a9a6d); }
|
|
|
|
|
.phaseNursery { border-left-color: var(--phase-nursery, #e0a0b0); }
|
|
|
|
|
|
2026-03-23 22:32:33 +00:00
|
|
|
.rowInCompare {
|
|
|
|
|
border-left-color: var(--accent-teal, #2d7d7d);
|
|
|
|
|
background: var(--bg-secondary, #f3ede4);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@keyframes rowFadeIn {
|
2026-03-24 09:27:22 +00:00
|
|
|
from { opacity: 0; transform: translateY(6px); }
|
|
|
|
|
to { opacity: 1; transform: translateY(0); }
|
2026-03-23 22:32:33 +00:00
|
|
|
}
|
|
|
|
|
|
2026-03-24 09:27:22 +00:00
|
|
|
/* ── Left content column ─────────────────────────────── */
|
|
|
|
|
.rowContent {
|
2026-03-23 22:32:33 +00:00
|
|
|
flex: 1;
|
|
|
|
|
min-width: 0;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
2026-03-29 08:57:06 +01:00
|
|
|
gap: 0.35rem;
|
2026-03-23 22:32:33 +00:00
|
|
|
}
|
|
|
|
|
|
2026-03-29 08:57:06 +01:00
|
|
|
/* Line 1: name + ofsted */
|
2026-03-24 09:27:22 +00:00
|
|
|
.line1 {
|
2026-03-23 22:44:39 +00:00
|
|
|
display: flex;
|
|
|
|
|
align-items: baseline;
|
2026-03-24 09:27:22 +00:00
|
|
|
gap: 0.625rem;
|
2026-03-23 22:32:33 +00:00
|
|
|
min-width: 0;
|
2026-03-23 22:44:39 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.schoolName {
|
2026-03-23 22:32:33 +00:00
|
|
|
font-size: 0.9375rem;
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
color: var(--text-primary, #1a1612);
|
|
|
|
|
text-decoration: none;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
text-overflow: ellipsis;
|
2026-03-23 22:44:39 +00:00
|
|
|
flex-shrink: 1;
|
2026-03-24 09:27:22 +00:00
|
|
|
min-width: 0;
|
2026-03-23 22:32:33 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.schoolName:hover {
|
|
|
|
|
color: var(--accent-coral, #e07256);
|
|
|
|
|
}
|
|
|
|
|
|
2026-04-01 15:47:51 +01:00
|
|
|
/* Phase label pill */
|
|
|
|
|
.phaseLabel {
|
|
|
|
|
display: inline-block;
|
|
|
|
|
padding: 0.0625rem 0.375rem;
|
|
|
|
|
font-size: 0.6875rem;
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
border-radius: 3px;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
margin-right: 0.25rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.phaseLabelPrimary { background: var(--phase-primary-bg); color: var(--phase-primary-text); }
|
|
|
|
|
.phaseLabelAllThrough { background: var(--phase-all-through-bg); color: var(--phase-all-through-text); }
|
|
|
|
|
.phaseLabelNursery { background: var(--phase-nursery-bg); color: var(--phase-nursery-text); }
|
|
|
|
|
|
2026-03-29 08:57:06 +01:00
|
|
|
/* Line 2: context tags */
|
|
|
|
|
.line2 {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
gap: 0;
|
2026-03-24 09:27:22 +00:00
|
|
|
font-size: 0.8rem;
|
|
|
|
|
color: var(--text-muted, #8a847a);
|
|
|
|
|
}
|
|
|
|
|
|
2026-03-29 08:57:06 +01:00
|
|
|
.line2 span:not(:last-child)::after {
|
|
|
|
|
content: '·';
|
|
|
|
|
margin: 0 0.4rem;
|
|
|
|
|
color: var(--border-color, #e5dfd5);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Line 3: stats */
|
|
|
|
|
.line3 {
|
2026-03-23 22:32:33 +00:00
|
|
|
display: flex;
|
2026-03-24 09:27:22 +00:00
|
|
|
align-items: center;
|
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
gap: 0 1.25rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.stat {
|
|
|
|
|
display: inline-flex;
|
2026-03-23 22:44:39 +00:00
|
|
|
align-items: baseline;
|
|
|
|
|
gap: 0.3rem;
|
2026-03-23 22:32:33 +00:00
|
|
|
}
|
|
|
|
|
|
2026-03-24 09:27:22 +00:00
|
|
|
.statValue {
|
|
|
|
|
font-size: 0.9375rem;
|
2026-03-23 22:32:33 +00:00
|
|
|
font-weight: 700;
|
|
|
|
|
color: var(--text-primary, #1a1612);
|
|
|
|
|
font-family: var(--font-playfair), 'Playfair Display', serif;
|
2026-03-24 09:27:22 +00:00
|
|
|
display: inline-flex;
|
2026-03-23 22:32:33 +00:00
|
|
|
align-items: center;
|
2026-03-23 22:44:39 +00:00
|
|
|
gap: 0.2rem;
|
2026-03-23 22:32:33 +00:00
|
|
|
}
|
|
|
|
|
|
2026-03-24 09:27:22 +00:00
|
|
|
.statLabel {
|
2026-03-23 22:44:39 +00:00
|
|
|
font-size: 0.75rem;
|
2026-03-23 22:32:33 +00:00
|
|
|
color: var(--text-muted, #8a847a);
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
}
|
|
|
|
|
|
2026-03-24 09:27:22 +00:00
|
|
|
/* Trend arrows */
|
2026-03-23 22:32:33 +00:00
|
|
|
.trend {
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
align-items: center;
|
2026-03-24 09:27:22 +00:00
|
|
|
margin-left: 1px;
|
2026-03-23 22:32:33 +00:00
|
|
|
}
|
|
|
|
|
|
2026-03-24 09:27:22 +00:00
|
|
|
.trendUp { color: var(--accent-teal, #2d7d7d); }
|
|
|
|
|
.trendDown { color: var(--accent-coral, #e07256); }
|
|
|
|
|
.trendStable { color: var(--text-muted, #8a847a); }
|
|
|
|
|
|
2026-03-29 08:57:06 +01:00
|
|
|
/* Line 4: location */
|
|
|
|
|
.line4 {
|
2026-03-24 09:27:22 +00:00
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
flex-wrap: wrap;
|
2026-03-29 08:57:06 +01:00
|
|
|
gap: 0;
|
2026-03-24 09:27:22 +00:00
|
|
|
font-size: 0.8rem;
|
|
|
|
|
color: var(--text-muted, #8a847a);
|
2026-03-23 22:32:33 +00:00
|
|
|
}
|
|
|
|
|
|
2026-03-29 08:57:06 +01:00
|
|
|
.line4 span:not(:last-child)::after {
|
2026-03-24 09:27:22 +00:00
|
|
|
content: '·';
|
|
|
|
|
margin: 0 0.4rem;
|
|
|
|
|
color: var(--border-color, #e5dfd5);
|
2026-03-23 22:32:33 +00:00
|
|
|
}
|
|
|
|
|
|
2026-03-24 09:27:22 +00:00
|
|
|
.distanceBadge {
|
|
|
|
|
display: inline-block;
|
|
|
|
|
padding: 0.0625rem 0.375rem;
|
|
|
|
|
font-size: 0.75rem;
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
background: var(--accent-teal, #2d7d7d);
|
|
|
|
|
color: white;
|
|
|
|
|
border-radius: 3px;
|
2026-03-23 22:32:33 +00:00
|
|
|
}
|
|
|
|
|
|
2026-03-24 09:27:22 +00:00
|
|
|
/* ── Right actions column ────────────────────────────── */
|
2026-03-23 22:32:33 +00:00
|
|
|
.rowActions {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
2026-03-23 22:44:39 +00:00
|
|
|
gap: 0.5rem;
|
2026-03-23 22:32:33 +00:00
|
|
|
flex-shrink: 0;
|
|
|
|
|
}
|
|
|
|
|
|
2026-03-24 09:27:22 +00:00
|
|
|
/* Equalise <a> and <button> */
|
2026-03-24 09:22:42 +00:00
|
|
|
.rowActions > * {
|
|
|
|
|
height: 2rem;
|
|
|
|
|
line-height: 1;
|
|
|
|
|
font-family: inherit;
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
}
|
|
|
|
|
|
2026-03-23 22:32:33 +00:00
|
|
|
|
feat(data): integrate 9 UK government data sources via Kestra
Adds a full data integration pipeline for enriching school profiles with
supplementary data from Ofsted, GIAS, EES, IDACI, and FBIT.
Backend:
- Bump SCHEMA_VERSION to 3; add 8 new DB tables (ofsted_inspections,
ofsted_parent_view, school_census, admissions, sen_detail, phonics,
school_deprivation, school_finance) plus GIAS columns on schools
- Expose all supplementary data via GET /api/schools/{urn}
- Enrich school list responses with ofsted_grade + ofsted_date
Integrator (new service):
- FastAPI HTTP microservice; Kestra calls POST /run/{source}
- 9 source modules: ofsted, gias, parent_view, census, admissions,
sen_detail, phonics, idaci, finance
- 9 Kestra flow YAMLs with scheduled triggers and 3× retry
Frontend:
- SchoolRow: colour-coded Ofsted badge (Outstanding/Good/RI/Inadequate)
- SchoolDetailView: 7 new sections — Ofsted sub-judgements, Parent View
survey bars, Admissions, Pupils & Inclusion / SEN, Phonics, Deprivation
Context, Finances
- types.ts: 8 new interfaces + extended School/SchoolDetailsResponse
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-24 11:44:04 +00:00
|
|
|
/* ── Ofsted badge ────────────────────────────────────── */
|
|
|
|
|
.ofstedBadge {
|
|
|
|
|
display: inline-block;
|
|
|
|
|
padding: 0.0625rem 0.375rem;
|
|
|
|
|
font-size: 0.6875rem;
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
border-radius: 3px;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
line-height: 1.4;
|
|
|
|
|
}
|
|
|
|
|
|
2026-03-29 08:57:06 +01:00
|
|
|
.ofstedDate {
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
}
|
|
|
|
|
|
2026-03-25 20:28:03 +00:00
|
|
|
.ofsted1 { background: var(--accent-teal-bg); color: var(--accent-teal, #2d7d7d); }
|
feat(data): integrate 9 UK government data sources via Kestra
Adds a full data integration pipeline for enriching school profiles with
supplementary data from Ofsted, GIAS, EES, IDACI, and FBIT.
Backend:
- Bump SCHEMA_VERSION to 3; add 8 new DB tables (ofsted_inspections,
ofsted_parent_view, school_census, admissions, sen_detail, phonics,
school_deprivation, school_finance) plus GIAS columns on schools
- Expose all supplementary data via GET /api/schools/{urn}
- Enrich school list responses with ofsted_grade + ofsted_date
Integrator (new service):
- FastAPI HTTP microservice; Kestra calls POST /run/{source}
- 9 source modules: ofsted, gias, parent_view, census, admissions,
sen_detail, phonics, idaci, finance
- 9 Kestra flow YAMLs with scheduled triggers and 3× retry
Frontend:
- SchoolRow: colour-coded Ofsted badge (Outstanding/Good/RI/Inadequate)
- SchoolDetailView: 7 new sections — Ofsted sub-judgements, Parent View
survey bars, Admissions, Pupils & Inclusion / SEN, Phonics, Deprivation
Context, Finances
- types.ts: 8 new interfaces + extended School/SchoolDetailsResponse
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-24 11:44:04 +00:00
|
|
|
.ofsted2 { background: rgba(60, 140, 60, 0.12); color: #3c8c3c; }
|
2026-03-25 20:28:03 +00:00
|
|
|
.ofsted3 { background: var(--accent-gold-bg); color: #b8920e; }
|
|
|
|
|
.ofsted4 { background: var(--accent-coral-bg); color: var(--accent-coral, #e07256); }
|
feat(data): integrate 9 UK government data sources via Kestra
Adds a full data integration pipeline for enriching school profiles with
supplementary data from Ofsted, GIAS, EES, IDACI, and FBIT.
Backend:
- Bump SCHEMA_VERSION to 3; add 8 new DB tables (ofsted_inspections,
ofsted_parent_view, school_census, admissions, sen_detail, phonics,
school_deprivation, school_finance) plus GIAS columns on schools
- Expose all supplementary data via GET /api/schools/{urn}
- Enrich school list responses with ofsted_grade + ofsted_date
Integrator (new service):
- FastAPI HTTP microservice; Kestra calls POST /run/{source}
- 9 source modules: ofsted, gias, parent_view, census, admissions,
sen_detail, phonics, idaci, finance
- 9 Kestra flow YAMLs with scheduled triggers and 3× retry
Frontend:
- SchoolRow: colour-coded Ofsted badge (Outstanding/Good/RI/Inadequate)
- SchoolDetailView: 7 new sections — Ofsted sub-judgements, Parent View
survey bars, Admissions, Pupils & Inclusion / SEN, Phonics, Deprivation
Context, Finances
- types.ts: 8 new interfaces + extended School/SchoolDetailsResponse
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-24 11:44:04 +00:00
|
|
|
|
2026-03-24 09:27:22 +00:00
|
|
|
/* ── Mobile ──────────────────────────────────────────── */
|
2026-03-23 22:32:33 +00:00
|
|
|
@media (max-width: 640px) {
|
|
|
|
|
.row {
|
|
|
|
|
flex-wrap: wrap;
|
2026-03-29 08:57:06 +01:00
|
|
|
padding: 0.875rem;
|
2026-03-24 09:27:22 +00:00
|
|
|
gap: 0.625rem;
|
2026-03-23 22:32:33 +00:00
|
|
|
}
|
|
|
|
|
|
2026-03-24 09:27:22 +00:00
|
|
|
.rowContent {
|
2026-03-23 22:32:33 +00:00
|
|
|
flex-basis: 100%;
|
2026-03-23 22:44:39 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.schoolName {
|
2026-03-23 22:32:33 +00:00
|
|
|
white-space: normal;
|
|
|
|
|
}
|
|
|
|
|
|
2026-03-29 08:57:06 +01:00
|
|
|
.line3 {
|
2026-03-24 09:27:22 +00:00
|
|
|
gap: 0 1rem;
|
2026-03-23 22:32:33 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.rowActions {
|
2026-03-24 09:27:22 +00:00
|
|
|
width: 100%;
|
2026-03-23 22:44:39 +00:00
|
|
|
gap: 0.375rem;
|
|
|
|
|
}
|
|
|
|
|
|
2026-03-24 09:27:22 +00:00
|
|
|
.rowActions > * {
|
|
|
|
|
flex: 1;
|
|
|
|
|
justify-content: center;
|
2026-03-23 22:32:33 +00:00
|
|
|
}
|
|
|
|
|
}
|