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>
105 lines
1.8 KiB
CSS
105 lines
1.8 KiB
CSS
.pagination {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 1rem;
|
|
margin: 2rem 0;
|
|
}
|
|
|
|
.info {
|
|
font-size: 0.875rem;
|
|
color: var(--text-muted, #8a847a);
|
|
}
|
|
|
|
.controls {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.navButton {
|
|
padding: 0.5rem 1rem;
|
|
font-size: 0.875rem;
|
|
font-weight: 500;
|
|
background: var(--bg-card, white);
|
|
color: var(--text-secondary, #5c564d);
|
|
border: 1px solid var(--border-color, #e5dfd5);
|
|
border-radius: 8px;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.navButton:hover:not(:disabled) {
|
|
background: var(--bg-secondary, #f3ede4);
|
|
border-color: var(--accent-coral, #e07256);
|
|
color: var(--text-primary, #1a1612);
|
|
}
|
|
|
|
.navButton:disabled {
|
|
opacity: 0.5;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.pages {
|
|
display: flex;
|
|
gap: 0.25rem;
|
|
}
|
|
|
|
.pageButton,
|
|
.pageButtonActive {
|
|
min-width: 2.5rem;
|
|
padding: 0.5rem 0.75rem;
|
|
font-size: 0.875rem;
|
|
font-weight: 500;
|
|
background: var(--bg-card, white);
|
|
border: 1px solid var(--border-color, #e5dfd5);
|
|
border-radius: 8px;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.pageButton {
|
|
color: var(--text-secondary, #5c564d);
|
|
}
|
|
|
|
.pageButton:hover {
|
|
background: var(--bg-secondary, #f3ede4);
|
|
border-color: var(--accent-coral, #e07256);
|
|
color: var(--text-primary, #1a1612);
|
|
}
|
|
|
|
.pageButtonActive {
|
|
background: var(--accent-coral, #e07256);
|
|
color: white;
|
|
border-color: var(--accent-coral, #e07256);
|
|
}
|
|
|
|
.pageButtonActive:hover {
|
|
background: var(--accent-coral-dark, #c45a3f);
|
|
border-color: var(--accent-coral-dark, #c45a3f);
|
|
}
|
|
|
|
.ellipsis {
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 0.5rem 0.75rem;
|
|
font-size: 0.875rem;
|
|
color: var(--text-muted, #8a847a);
|
|
}
|
|
|
|
@media (max-width: 640px) {
|
|
.controls {
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.pages {
|
|
order: -1;
|
|
width: 100%;
|
|
justify-content: center;
|
|
}
|
|
|
|
.navButton {
|
|
flex: 1;
|
|
}
|
|
}
|