Project-Image-Uploader/frontend/src/Components/ComponentUtils/StatsDisplay/StatsDisplay.css
matthias.lotz e4712f9e7e refactor: Extract ConsentFilter and StatsDisplay components from ModerationGroupsPage
- Created ConsentFilter component with proper styling
- Created StatsDisplay component for statistics display
- Added ModerationGroupsPage.css to remove inline styles
- Removed 83 lines of inline CSS from ModerationGroupsPage
- Components now reusable across admin pages
- Added container wrappers and titles to both components
- Improved code maintainability and separation of concerns
2025-11-29 15:21:51 +01:00

47 lines
862 B
CSS

.stats-display-container {
margin-bottom: 24px;
}
.stats-title {
margin-bottom: 16px;
border-bottom: 2px solid #e9ecef;
font-size: 1.5rem;
font-weight: 600;
color: #333;
}
.stats-display {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
gap: 16px;
}
.stat-item {
color: white;
padding: 24px;
border-radius: 12px;
text-align: center;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
transition: transform 0.2s, box-shadow 0.2s;
}
.stat-item:hover {
transform: translateY(-2px);
box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}
.stat-number {
display: block;
font-size: 2.5rem;
font-weight: 700;
margin-bottom: 8px;
}
.stat-label {
display: block;
font-size: 0.95rem;
text-transform: uppercase;
letter-spacing: 0.5px;
opacity: 0.95;
}