Files
school_compare/nextjs-app/components/Footer.module.css
Tudor 8aca0a7a53
All checks were successful
Build and Push Docker Images / Build Backend (FastAPI) (push) Successful in 35s
Build and Push Docker Images / Build Frontend (Next.js) (push) Successful in 1m10s
Build and Push Docker Images / Build Integrator (push) Successful in 57s
Build and Push Docker Images / Build Kestra Init (push) Successful in 31s
Build and Push Docker Images / Trigger Portainer Update (push) Successful in 0s
feat(ui): site-wide UX/UI audit — unified buttons, tokens, accessibility
- Add shared button system (.btn-primary/secondary/tertiary/active) in globals.css
- Replace 40+ hardcoded rgba() values with design tokens across all CSS modules
- Add skip link, :focus-visible indicators, and ARIA landmarks
- Standardise button labels ("+ Compare" / "✓ Comparing") across all components
- Add collapse/minimize toggle to ComparisonToast
- Fix heading hierarchy (h3→h2 in ComparisonView)
- Add aria-live on search results, aria-label on trend SVGs
- Add "Search" nav link, fix footer empty section, unify max-widths
- Darken --text-muted for WCAG AA compliance (4.6:1 contrast ratio)
- Net reduction of ~180 lines through button style deduplication

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-25 20:28:03 +00:00

114 lines
1.8 KiB
CSS

.footer {
background: var(--accent-navy, #2c3e50);
color: var(--bg-secondary, #f3ede4);
margin-top: auto;
}
.container {
max-width: 1400px;
margin: 0 auto;
padding: 3rem 1.5rem 2rem;
}
.content {
display: grid;
grid-template-columns: 2fr 1fr;
gap: 3rem;
margin-bottom: 3rem;
}
.section {
display: flex;
flex-direction: column;
gap: 1rem;
}
.title {
margin: 0;
font-size: 1.25rem;
font-weight: 700;
color: var(--bg-primary, #faf7f2);
font-family: var(--font-playfair), 'Playfair Display', serif;
}
.description {
margin: 0;
font-size: 0.875rem;
line-height: 1.6;
color: rgba(250, 247, 242, 0.7);
}
.sectionTitle {
margin: 0;
font-size: 0.875rem;
font-weight: 600;
color: var(--accent-gold, #c9a227);
text-transform: uppercase;
letter-spacing: 0.05em;
}
.links {
list-style: none;
padding: 0;
margin: 0;
display: flex;
flex-direction: column;
gap: 0.5rem;
}
.link {
font-size: 0.875rem;
color: rgba(250, 247, 242, 0.7);
text-decoration: none;
transition: color 0.2s ease;
}
.link:hover {
color: var(--accent-gold, #c9a227);
}
.linkDisabled {
font-size: 0.875rem;
color: rgba(250, 247, 242, 0.4);
cursor: not-allowed;
}
.bottom {
padding-top: 2rem;
border-top: 1px solid rgba(250, 247, 242, 0.15);
display: flex;
flex-direction: column;
gap: 0.5rem;
}
.copyright,
.disclaimer {
margin: 0;
font-size: 0.875rem;
color: rgba(250, 247, 242, 0.6);
}
.disclaimer .link {
color: var(--accent-coral, #e07256);
}
.disclaimer .link:hover {
color: var(--accent-gold, #c9a227);
}
@media (max-width: 768px) {
.container {
padding: 2rem 1rem 1.5rem;
}
.content {
grid-template-columns: 1fr;
gap: 2rem;
margin-bottom: 2rem;
}
.bottom {
text-align: center;
}
}