nova-ai-games / static /css /stats.css
himu1780's picture
Upload static/css/stats.css with huggingface_hub
d2a090a verified
Raw
History Blame Contribute Delete
2.37 kB
/* ========================================
NOVA AI GAMES - Stats Screen
Overview, Charts & Game Performance
======================================== */
.stats-content {
padding: var(--spacing-lg);
padding-top: 0;
}
.stats-overview {
display: flex;
justify-content: space-around;
margin-bottom: var(--spacing-lg);
}
.overview-stat {
text-align: center;
}
.overview-value {
display: block;
font-size: 28px;
font-weight: 700;
background: var(--accent-gradient);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.overview-label {
font-size: 12px;
color: var(--text-secondary);
}
/* Weekly Chart */
.stats-chart {
margin-bottom: var(--spacing-lg);
}
.stats-chart h3 {
font-size: 16px;
margin-bottom: var(--spacing-md);
}
.chart-bars {
display: flex;
justify-content: space-between;
align-items: flex-end;
height: 120px;
padding-top: var(--spacing-md);
}
.chart-bar {
flex: 1;
margin: 0 4px;
background: var(--bg-tertiary);
border-radius: var(--radius-sm) var(--radius-sm) 0 0;
height: var(--height);
display: flex;
flex-direction: column;
justify-content: flex-end;
align-items: center;
position: relative;
transition: all var(--transition-normal);
}
.chart-bar::before {
content: '';
position: absolute;
inset: 0;
background: var(--accent-gradient);
opacity: 0.6;
border-radius: inherit;
}
.chart-bar.today::before {
opacity: 1;
}
.chart-bar span {
position: absolute;
bottom: -24px;
font-size: 11px;
color: var(--text-muted);
}
/* Game Stats */
.game-stats h3 {
font-size: 16px;
margin-bottom: var(--spacing-md);
}
.game-stat-card {
display: flex;
align-items: center;
gap: var(--spacing-md);
margin-bottom: var(--spacing-sm);
padding: var(--spacing-md);
}
.game-stat-icon {
font-size: 28px;
}
.game-stat-info {
flex: 1;
}
.game-stat-info h4 {
font-size: 14px;
font-weight: 600;
}
.game-stat-info p {
font-size: 12px;
color: var(--text-secondary);
}
.game-stat-level {
font-size: 14px;
font-weight: 600;
color: var(--accent-primary);
}