feat(dashboard): polish risk and digital employee boards

This commit is contained in:
caoxiaozhu
2026-06-03 09:41:32 +08:00
parent 15006a05a7
commit 0d6327a990
11 changed files with 716 additions and 100 deletions

View File

@@ -1,4 +1,5 @@
.dashboard {
position: relative;
min-width: 0;
display: grid;
gap: 16px;
@@ -6,6 +7,33 @@
animation: fadeUp 260ms var(--ease) both;
}
.dashboard-loading-overlay {
position: absolute;
inset: 0;
z-index: 20;
display: grid;
place-content: center;
justify-items: center;
gap: 10px;
min-height: 320px;
border: 1px solid #e2e8f0;
border-radius: 4px;
background: rgba(248, 250, 252, .88);
color: #334155;
font-size: 13px;
font-weight: 800;
backdrop-filter: blur(2px);
}
.dashboard-loading-overlay i {
color: var(--theme-primary);
font-size: 28px;
}
.dashboard.is-loading > :not(.dashboard-loading-overlay) {
pointer-events: none;
}
.kpi-grid {
display: grid;
grid-template-columns: repeat(6, minmax(0, 1fr));