fix(admin): 统一首页业绩卡边框和排行条配色
This commit is contained in:
@@ -75,8 +75,6 @@ html[data-admin-ui='v2'] .performance-dashboard {
|
||||
font-weight: 600;
|
||||
line-height: 1.2;
|
||||
}
|
||||
.metric-card--primary { box-shadow: inset 3px 0 var(--dash-accent-mark); }
|
||||
.metric-card--primary .metric-label { color: var(--dash-accent-text); font-weight: 600; }
|
||||
.metric-card--clock { background: var(--dash-surface-muted); }
|
||||
.metric-value--time { color: var(--zyt-text); font-size: 19px; font-weight: 500; }
|
||||
.metric-foot {
|
||||
@@ -126,9 +124,10 @@ html[data-admin-ui='v2'] .performance-dashboard {
|
||||
.ranking-copy { flex-wrap: wrap; gap: 2px 8px; }
|
||||
.ranking-copy strong { white-space: normal; overflow-wrap: anywhere; font-size: 13px; }
|
||||
.ranking-copy span { display: inline; color: var(--dash-text-muted); font-size: 12px; }
|
||||
.ranking-meter, :deep(.el-progress-bar__outer) { background: var(--art-gray-300); }
|
||||
.ranking-meter span { background: var(--dash-secondary-mark); }
|
||||
.ranking-row.is-self .ranking-meter span { background: var(--dash-accent-mark); }
|
||||
// Bar length encodes the value; the existing “我” badge identifies the account.
|
||||
.ranking-meter { background: color-mix(in srgb, var(--art-gray-300) 80%, var(--dash-surface)); }
|
||||
.ranking-meter span { background: var(--dash-accent-text, var(--dash-accent)); }
|
||||
:deep(.el-progress-bar__outer) { background: var(--art-gray-300); }
|
||||
.target-block { background: var(--dash-surface-muted); }
|
||||
.target-copy strong { font-weight: 600; }
|
||||
.target-empty-note { color: var(--zyt-text); }
|
||||
|
||||
Reference in New Issue
Block a user