162 lines
3.0 KiB
SCSS
162 lines
3.0 KiB
SCSS
.dashboard {
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
|
|
.welcome-section {
|
|
margin-bottom: 32px;
|
|
|
|
h1 {
|
|
font-size: 1.8rem;
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
p {
|
|
color: var(--text-muted);
|
|
font-size: 1rem;
|
|
}
|
|
}
|
|
}
|
|
|
|
.stats-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
|
|
gap: 20px;
|
|
margin-bottom: 32px;
|
|
}
|
|
|
|
.stat-card {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 16px;
|
|
padding: 20px;
|
|
|
|
.stat-icon {
|
|
width: 48px;
|
|
height: 48px;
|
|
border-radius: 12px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
|
|
&.gold {
|
|
background: rgba(180, 83, 9, 0.1);
|
|
color: var(--brand-primary);
|
|
}
|
|
|
|
&.blue {
|
|
background: rgba(59, 130, 246, 0.1);
|
|
color: var(--brand-accent);
|
|
}
|
|
|
|
&.red {
|
|
background: rgba(239, 68, 68, 0.1);
|
|
color: #ef4444;
|
|
}
|
|
}
|
|
|
|
.stat-info {
|
|
h3 {
|
|
font-size: 0.85rem;
|
|
color: var(--text-muted);
|
|
font-weight: 500;
|
|
margin-bottom: 2px;
|
|
}
|
|
|
|
.value {
|
|
font-size: 1.5rem;
|
|
font-weight: 700;
|
|
color: var(--brand-secondary);
|
|
}
|
|
}
|
|
}
|
|
|
|
.activity-feed {
|
|
.card-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 24px;
|
|
|
|
h2 {
|
|
font-size: 1.1rem;
|
|
}
|
|
|
|
.text-btn {
|
|
background: none;
|
|
color: var(--brand-primary);
|
|
font-size: 0.85rem;
|
|
font-weight: 600;
|
|
}
|
|
}
|
|
}
|
|
|
|
.feed-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 20px;
|
|
}
|
|
|
|
.feed-item {
|
|
display: flex;
|
|
gap: 16px;
|
|
|
|
.dot {
|
|
width: 10px;
|
|
height: 10px;
|
|
background: var(--border-color);
|
|
border-radius: 50%;
|
|
margin-top: 6px;
|
|
flex-shrink: 0;
|
|
|
|
&.active {
|
|
background: var(--brand-primary);
|
|
box-shadow: 0 0 0 4px rgba(180, 83, 9, 0.1);
|
|
}
|
|
}
|
|
|
|
.item-content {
|
|
flex: 1;
|
|
|
|
.header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
margin-bottom: 4px;
|
|
|
|
strong {
|
|
font-size: 0.95rem;
|
|
color: var(--brand-secondary);
|
|
}
|
|
|
|
.time {
|
|
font-size: 0.75rem;
|
|
color: var(--text-muted);
|
|
}
|
|
}
|
|
|
|
p {
|
|
font-size: 0.9rem;
|
|
color: var(--text-main);
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.author {
|
|
font-size: 0.8rem;
|
|
color: var(--text-muted);
|
|
font-weight: 500;
|
|
}
|
|
}
|
|
}
|
|
|
|
.empty-feed {
|
|
padding: 32px;
|
|
text-align: center;
|
|
background: var(--bg-main);
|
|
border-radius: 12px;
|
|
border: 2px dashed var(--border-color);
|
|
|
|
p {
|
|
color: var(--text-muted);
|
|
font-size: 0.9rem;
|
|
font-weight: 500;
|
|
}
|
|
} |