Apply warm editorial design system across all components
All checks were successful
Build and Push Docker Images / Build Backend (FastAPI) (push) Successful in 1m19s
Build and Push Docker Images / Build Frontend (Next.js) (push) Successful in 1m22s
Build and Push Docker Images / Trigger Portainer Update (push) Successful in 1s

Replace generic blue/gray colors with warm editorial palette:
- Navigation: coral active states, branded logo colors
- Footer: navy background, gold section titles
- FilterBar: coral search button and focus states
- SchoolCard: coral left accent on hover, teal/coral buttons
- HomeView: gradient hero section, Playfair Display headings
- RankingsView: gold top-3 highlights, warm table styling
- ComparisonView: teal card borders, coral buttons

Consistent use of CSS variables and Playfair Display serif font
for headings throughout.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Tudor
2026-02-03 10:11:23 +00:00
parent 04ba09ab3b
commit c2ec067495
8 changed files with 387 additions and 212 deletions

View File

@@ -8,29 +8,31 @@
}
.header h1 {
font-size: 2rem;
font-size: 2.25rem;
font-weight: 700;
color: var(--text-primary);
color: var(--text-primary, #1a1612);
margin-bottom: 0.5rem;
font-family: var(--font-playfair), 'Playfair Display', serif;
}
.subtitle {
font-size: 1rem;
color: var(--text-secondary);
color: var(--text-secondary, #5c564d);
margin: 0;
line-height: 1.6;
}
/* Filters */
.filters {
background: white;
border: 1px solid var(--border-light);
border-radius: var(--radius-lg);
background: var(--bg-card, white);
border: 1px solid var(--border-color, #e5dfd5);
border-radius: 12px;
padding: 1.5rem;
margin-bottom: 2rem;
display: flex;
flex-wrap: wrap;
gap: 1.5rem;
box-shadow: var(--shadow-sm);
box-shadow: var(--shadow-soft, 0 2px 8px rgba(26, 22, 18, 0.06));
}
.filterGroup {
@@ -43,8 +45,8 @@
.filterLabel {
font-size: 0.9375rem;
font-weight: 500;
color: var(--text-primary);
font-weight: 600;
color: var(--text-primary, #1a1612);
white-space: nowrap;
}
@@ -52,31 +54,31 @@
flex: 1;
padding: 0.625rem 1rem;
font-size: 0.9375rem;
border: 1px solid var(--border-medium);
border-radius: var(--radius-md);
background: white;
color: var(--text-primary);
border: 1px solid var(--border-color, #e5dfd5);
border-radius: 8px;
background: var(--bg-card, white);
color: var(--text-primary, #1a1612);
cursor: pointer;
transition: all var(--transition);
transition: all 0.2s ease;
}
.filterSelect:hover {
border-color: var(--primary);
border-color: var(--accent-coral, #e07256);
}
.filterSelect:focus {
outline: none;
border-color: var(--primary);
box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
border-color: var(--accent-coral, #e07256);
box-shadow: 0 0 0 3px rgba(224, 114, 86, 0.15);
}
/* Rankings Section */
.rankingsSection {
background: white;
border: 1px solid var(--border-light);
border-radius: var(--radius-lg);
background: var(--bg-card, white);
border: 1px solid var(--border-color, #e5dfd5);
border-radius: 12px;
padding: 2rem;
box-shadow: var(--shadow-sm);
box-shadow: var(--shadow-soft, 0 2px 8px rgba(26, 22, 18, 0.06));
}
.tableWrapper {
@@ -90,16 +92,19 @@
}
.rankingsTable thead {
background: var(--bg-secondary);
background: var(--bg-secondary, #f3ede4);
}
.rankingsTable th {
padding: 1rem;
text-align: left;
font-weight: 600;
color: var(--text-primary);
border-bottom: 2px solid var(--border-medium);
color: var(--text-primary, #1a1612);
border-bottom: 2px solid var(--border-color, #e5dfd5);
white-space: nowrap;
text-transform: uppercase;
font-size: 0.75rem;
letter-spacing: 0.05em;
}
.rankHeader {
@@ -130,8 +135,8 @@
.rankingsTable td {
padding: 1rem;
border-bottom: 1px solid var(--border-light);
color: var(--text-secondary);
border-bottom: 1px solid var(--border-color, #e5dfd5);
color: var(--text-secondary, #5c564d);
}
.rankingsTable tbody tr:last-child td {
@@ -139,28 +144,28 @@
}
.rankingsTable tbody tr:hover {
background: var(--bg-secondary);
background: var(--bg-secondary, #f3ede4);
}
/* Top 3 Highlighting */
/* Top 3 Highlighting with Gold */
.rank1 {
background: linear-gradient(90deg, rgba(255, 215, 0, 0.1) 0%, transparent 100%) !important;
background: linear-gradient(90deg, rgba(201, 162, 39, 0.15) 0%, transparent 100%) !important;
}
.rank2 {
background: linear-gradient(90deg, rgba(192, 192, 192, 0.1) 0%, transparent 100%) !important;
background: linear-gradient(90deg, rgba(192, 192, 192, 0.15) 0%, transparent 100%) !important;
}
.rank3 {
background: linear-gradient(90deg, rgba(205, 127, 50, 0.1) 0%, transparent 100%) !important;
background: linear-gradient(90deg, rgba(205, 127, 50, 0.15) 0%, transparent 100%) !important;
}
.rankCell {
display: flex;
align-items: center;
gap: 0.5rem;
font-weight: 600;
color: var(--text-primary);
font-weight: 700;
color: var(--text-primary, #1a1612);
}
.medal {
@@ -170,6 +175,7 @@
.rankNumber {
font-size: 1rem;
color: var(--accent-gold, #c9a227);
}
.schoolCell {
@@ -177,19 +183,18 @@
}
.schoolLink {
color: var(--text-primary);
color: var(--text-primary, #1a1612);
text-decoration: none;
transition: color var(--transition);
transition: color 0.2s ease;
}
.schoolLink:hover {
color: var(--primary);
text-decoration: underline;
color: var(--accent-coral, #e07256);
}
.areaCell,
.typeCell {
color: var(--text-secondary);
color: var(--text-secondary, #5c564d);
}
.valueCell {
@@ -198,7 +203,8 @@
}
.valueCell strong {
color: var(--text-primary);
color: var(--accent-teal, #2d7d7d);
font-weight: 700;
}
.actionCell {
@@ -208,30 +214,32 @@
.addButton {
padding: 0.5rem 1rem;
font-size: 0.875rem;
font-weight: 500;
font-weight: 600;
border: none;
border-radius: var(--radius-md);
border-radius: 8px;
cursor: pointer;
transition: all var(--transition);
background: var(--primary);
transition: all 0.2s ease;
background: var(--accent-coral, #e07256);
color: white;
}
.addButton:hover:not(:disabled) {
background: var(--primary-dark);
background: var(--accent-coral-dark, #c45a3f);
transform: translateY(-1px);
box-shadow: 0 4px 12px rgba(224, 114, 86, 0.3);
}
.addButton:disabled {
background: var(--secondary);
background: var(--bg-secondary, #f3ede4);
color: var(--text-muted, #8a847a);
cursor: not-allowed;
opacity: 0.6;
}
/* No Results */
.noResults {
text-align: center;
padding: 3rem 2rem;
color: var(--text-secondary);
padding: 4rem 2rem;
color: var(--text-secondary, #5c564d);
}
.noResults p {
@@ -242,12 +250,14 @@
/* Responsive Design */
@media (max-width: 768px) {
.header h1 {
font-size: 1.5rem;
font-size: 1.75rem;
}
.filters {
flex-direction: column;
gap: 1rem;
padding: 1rem;
border-radius: 8px;
}
.filterGroup {
@@ -258,6 +268,7 @@
.rankingsSection {
padding: 1rem;
border-radius: 8px;
}
.rankingsTable {