b460c6c4e5
Co-authored-by: Cursor <cursoragent@cursor.com>
143 lines
2.3 KiB
CSS
143 lines
2.3 KiB
CSS
/* Copyright (c) 2025-2026 马建军. All rights reserved. 详见 LICENSE.zh-CN.txt */
|
|
|
|
.dashboard-page {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.dashboard-top {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
flex-wrap: wrap;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.dashboard-top-left {
|
|
display: flex;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
gap: 0.45rem;
|
|
}
|
|
|
|
.dash-updated {
|
|
font-size: 0.78rem;
|
|
}
|
|
|
|
.dashboard-account-card {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.dashboard-account-grid {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.dashboard-account-grid .stat-item {
|
|
min-width: 6.5rem;
|
|
}
|
|
|
|
.dashboard-account-grid .stat-item .value {
|
|
font-size: 1rem;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.dashboard-section h2 {
|
|
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;
|
|
font-size: 0.82rem;
|
|
}
|
|
|
|
.dashboard-table th,
|
|
.dashboard-table td {
|
|
padding: 0.45rem 0.55rem;
|
|
border-bottom: 1px solid var(--table-border);
|
|
text-align: left;
|
|
white-space: nowrap;
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
.dashboard-table tbody tr:last-child td {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.dashboard-table .pnl-pos {
|
|
color: var(--profit);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.dashboard-table .pnl-neg {
|
|
color: var(--loss);
|
|
font-weight: 600;
|
|
}
|
|
|
|
@media (max-width: 767px) {
|
|
.dashboard-table {
|
|
font-size: 0.75rem;
|
|
}
|
|
.dashboard-table th,
|
|
.dashboard-table td {
|
|
padding: 0.35rem 0.4rem;
|
|
}
|
|
}
|