ProductionGame/frontend/css/views/achievements.css

93 lines
1.8 KiB
CSS

/* ==========================================================================
ACHIEVEMENTS VIEW
========================================================================== */
.achievements-header-pane {
background: var(--bg-surface);
border: 1px solid var(--border-color);
border-radius: var(--radius-lg);
padding: 16px 20px;
}
.achievements-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
gap: 16px;
}
.achievement-card {
background: var(--bg-surface);
border: 1px solid var(--border-color);
border-radius: var(--radius-lg);
padding: 16px;
display: flex;
gap: 14px;
box-shadow: var(--shadow-sm);
}
.ach-icon-circle {
width: 44px;
height: 44px;
background: var(--bg-surface-sub);
color: var(--text-muted);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 1.4rem;
}
.ach-icon-circle.ach-unlocked {
background: #fef3c7;
color: #d97706;
}
.ach-info-col {
flex: 1;
}
.ach-title-row {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 2px;
}
.ach-title {
font-size: 0.95rem;
font-weight: 700;
}
.ach-tier-badge {
font-size: 0.7rem;
font-weight: 700;
color: var(--primary-blue);
}
.ach-desc {
font-size: 0.78rem;
color: var(--text-secondary);
margin-bottom: 8px;
}
.ach-progress-bar-track {
width: 100%;
height: 6px;
background: var(--bg-surface-sub);
border-radius: 3px;
overflow: hidden;
margin-bottom: 4px;
}
.ach-progress-bar-fill {
height: 100%;
background: #f59e0b;
}
.ach-progress-labels {
display: flex;
justify-content: space-between;
font-size: 0.7rem;
color: var(--text-muted);
}