Some checks failed
Deploy Application / deploy (push) Has been cancelled
49 lines
1.1 KiB
CSS
49 lines
1.1 KiB
CSS
/**
|
|
* Stat List Component
|
|
*
|
|
* List of statistics with labels and values for dashboard cards.
|
|
*/
|
|
|
|
@layer components {
|
|
.admin-stat-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--spacing-md);
|
|
}
|
|
|
|
.admin-stat-list__item {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: var(--spacing-sm);
|
|
padding-bottom: var(--spacing-sm);
|
|
border-bottom: 1px solid var(--border-light);
|
|
}
|
|
|
|
.admin-stat-list__item:last-child {
|
|
border-bottom: none;
|
|
padding-bottom: 0;
|
|
}
|
|
|
|
.admin-stat-list__label {
|
|
font-size: var(--font-size-sm);
|
|
color: var(--content-text);
|
|
opacity: 0.8;
|
|
}
|
|
|
|
.admin-stat-list__value {
|
|
font-size: var(--font-size-sm);
|
|
font-weight: var(--font-weight-semibold);
|
|
color: var(--content-text);
|
|
}
|
|
|
|
/* Compact variant */
|
|
.admin-stat-list--compact {
|
|
gap: var(--spacing-sm);
|
|
}
|
|
|
|
.admin-stat-list--compact .admin-stat-list__item {
|
|
padding-bottom: var(--spacing-xs);
|
|
}
|
|
}
|