- Consolidated all modal-related styles into Modal.module.css; ValidationModal.module.css is now deprecated - All main action/navigation buttons in NewGame and GameDetail use global .btn/.nav-buttons utility classes - Removed duplicate utility classes from component CSS files - Fixed .fullscreenToggle class naming for consistency - Cleaned up component CSS to only contain component-specific styles - Updated GameCompletionModal to use shared modal styles This ensures DRY, maintainable, and consistent styling across the app.
67 lines
1.3 KiB
CSS
67 lines
1.3 KiB
CSS
/* Only GameCompletionModal-specific styles. Shared modal styles are now in Modal.module.css */
|
|
.final-scores {
|
|
margin: 20px 0;
|
|
}
|
|
.final-score {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 18px 0;
|
|
margin-bottom: 8px;
|
|
background: #333;
|
|
border-radius: 8px;
|
|
font-size: 1.2rem;
|
|
color: #fff;
|
|
}
|
|
.final-score .player-name {
|
|
font-size: 1.2rem;
|
|
font-weight: bold;
|
|
color: #fff;
|
|
}
|
|
.final-score .score {
|
|
font-size: 1.2rem;
|
|
font-weight: bold;
|
|
color: #fff;
|
|
}
|
|
.winner-announcement {
|
|
text-align: center;
|
|
margin: 20px 0 0 0;
|
|
padding: 18px 8px;
|
|
background: #43a047;
|
|
border-radius: 8px;
|
|
font-size: 1.2rem;
|
|
color: #fff;
|
|
font-weight: 700;
|
|
}
|
|
.winner-announcement h3 {
|
|
font-size: 1.2rem;
|
|
margin: 0;
|
|
color: #fff;
|
|
}
|
|
.btn {
|
|
flex: 1;
|
|
padding: 18px 0;
|
|
font-size: 1.1rem;
|
|
border: none;
|
|
border-radius: 8px;
|
|
cursor: pointer;
|
|
color: #fff;
|
|
background: #333;
|
|
font-weight: 600;
|
|
transition: background 0.2s;
|
|
}
|
|
.btn--warning {
|
|
background: #f44336;
|
|
}
|
|
.btn:not(.btn--warning):hover {
|
|
background: #444;
|
|
}
|
|
.btn--warning:hover {
|
|
background: #d32f2f;
|
|
}
|
|
@media (max-width: 600px) {
|
|
.btn {
|
|
font-size: 1rem;
|
|
padding: 14px 0;
|
|
}
|
|
} |