Phase 1 - Critical Fixes: - EmptyState: warm palette, coral button, Playfair Display title - Pagination: design system colors, coral active state - LoadingSkeleton: warm shimmer with coral tint Phase 2 - Signature Patterns: - Navigation: sliding underline hover effect on links - globals.css: increased noise texture opacity for paper feel - RankingsView: alternating row backgrounds - HomeView: decorative coral bar under section headings Phase 3 - Polish: - SchoolCard: SVG trend icons replacing unicode arrows - RankingsView: styled metallic rank badges replacing emoji medals Phase 4 - Micro-interactions: - Navigation badge: pop animation when count changes - HomeView grid: staggered entry animation for cards Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
58 lines
1.2 KiB
CSS
58 lines
1.2 KiB
CSS
.emptyState {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 4rem 2rem;
|
|
text-align: center;
|
|
background: var(--bg-card, white);
|
|
border: 2px solid var(--border-color, #e5dfd5);
|
|
border-radius: 16px;
|
|
min-height: 400px;
|
|
box-shadow: var(--shadow-soft, 0 2px 8px rgba(26, 22, 18, 0.06));
|
|
}
|
|
|
|
.icon {
|
|
color: var(--text-muted, #8a847a);
|
|
margin-bottom: 1.5rem;
|
|
opacity: 0.7;
|
|
}
|
|
|
|
.title {
|
|
margin: 0 0 0.75rem 0;
|
|
font-size: 1.5rem;
|
|
font-weight: 700;
|
|
color: var(--text-primary, #1a1612);
|
|
font-family: var(--font-playfair), 'Playfair Display', serif;
|
|
}
|
|
|
|
.message {
|
|
margin: 0 0 2rem 0;
|
|
font-size: 1rem;
|
|
color: var(--text-secondary, #5c564d);
|
|
max-width: 500px;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.button {
|
|
padding: 0.875rem 2rem;
|
|
font-size: 1rem;
|
|
font-weight: 600;
|
|
background: var(--accent-coral, #e07256);
|
|
color: white;
|
|
border: none;
|
|
border-radius: 8px;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.button:hover {
|
|
background: var(--accent-coral-dark, #c45a3f);
|
|
transform: translateY(-1px);
|
|
box-shadow: 0 4px 12px rgba(224, 114, 86, 0.3);
|
|
}
|
|
|
|
.button:active {
|
|
transform: translateY(0);
|
|
}
|