Add tabbed period stats with lightweight charts on instance pages.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-07-10 13:27:02 +08:00
parent 0ce14c8822
commit 6aaa328a24
8 changed files with 826 additions and 535 deletions
+40
View File
@@ -819,6 +819,46 @@ html[data-theme="light"] .stats-period-block {
border-bottom-color: #d0dae4 !important;
}
html[data-theme="light"] .stats-period-tab {
background: #f4f7fb !important;
color: #4a6078 !important;
border-color: #c8d4e0 !important;
}
html[data-theme="light"] .stats-period-tab:hover {
background: #e8eef5 !important;
color: #142232 !important;
}
html[data-theme="light"] .stats-period-tab.active {
background: #dce8f5 !important;
color: #0d4a7a !important;
border-color: #7eb0d8 !important;
}
html[data-theme="light"] .stats-period-range,
html[data-theme="light"] .inst-stats-kpi-lbl,
html[data-theme="light"] .inst-stats-block-title,
html[data-theme="light"] .inst-stats-risk-item .k,
html[data-theme="light"] .inst-stats-empty {
color: #4a6078 !important;
}
html[data-theme="light"] .inst-stats-kpi,
html[data-theme="light"] .inst-stats-block {
background: #f8fafc !important;
border-color: #c8d4e0 !important;
}
html[data-theme="light"] .inst-stats-ring::before {
background: #f8fafc !important;
}
html[data-theme="light"] .inst-stats-stacked-bar {
background: #e2e8f0 !important;
}
html[data-theme="light"] .inst-stats-risk-item .v,
html[data-theme="light"] .inst-stats-details > summary {
color: #142232 !important;
}
html[data-theme="light"] .inst-stats-details[open] > summary {
color: #0d4a7a !important;
}
html[data-theme="light"] .key-history {
border-top-color: #d0dae4 !important;
}