Enhance dashboard with contract symbols and risk control overview.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-06-29 21:40:53 +08:00
parent 28c54b1a3f
commit b460c6c4e5
4 changed files with 272 additions and 8 deletions
+56
View File
@@ -46,6 +46,62 @@
margin-bottom: 0.65rem;
}
.dashboard-risk-card h2 {
margin-bottom: 0.45rem;
}
.dashboard-risk-reason {
margin: 0 0 0.65rem;
font-size: 0.82rem;
line-height: 1.5;
color: var(--text-muted);
}
.dashboard-risk-reason.is-blocked {
color: var(--loss);
}
.dashboard-risk-reason.is-ok {
color: var(--profit);
}
.dashboard-risk-grid {
margin-bottom: 0;
}
.dashboard-risk-grid .stat-item {
min-width: 5.5rem;
}
.dashboard-risk-grid .stat-item .value {
font-size: 0.82rem;
}
.dash-symbol-cell {
min-width: 7.5rem;
white-space: normal;
}
.dash-symbol-title {
font-weight: 600;
line-height: 1.35;
}
.dash-symbol-sub {
font-size: 0.72rem;
line-height: 1.35;
margin-top: 0.12rem;
}
.dash-main-badge {
font-size: 0.68rem;
vertical-align: middle;
}
.dashboard-table .badge.dir {
font-size: 0.72rem;
}
.dashboard-table {
width: 100%;
border-collapse: collapse;