feat: collapse trade/strategy rule tips and color-code key history outcomes

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-06-09 16:39:36 +08:00
parent 04d5d5329e
commit 3527c26717
13 changed files with 202 additions and 80 deletions
+45
View File
@@ -835,3 +835,48 @@ html[data-theme="light"] .key-row-collapse .pos-side-badge[style*="2a3152"] {
color: #006e9a !important;
}
html[data-theme="light"] .key-row-collapse.key-history-success {
background: rgba(8, 122, 80, 0.08) !important;
border-color: rgba(8, 122, 80, 0.35) !important;
}
html[data-theme="light"] .key-row-collapse.key-history-success .key-row-collapse-summary,
html[data-theme="light"] .key-row-collapse.key-history-success .key-row-summary-title strong {
color: #142232 !important;
}
html[data-theme="light"] .key-row-collapse.key-history-success .key-history-brief,
html[data-theme="light"] .key-row-collapse.key-history-success .key-history-outcome-badge {
color: #087a50 !important;
background: rgba(8, 122, 80, 0.1) !important;
border-color: rgba(8, 122, 80, 0.28) !important;
}
html[data-theme="light"] .key-row-collapse.key-history-manual {
background: #f0f2f6 !important;
border-color: #b8c0cc !important;
}
html[data-theme="light"] .key-row-collapse.key-history-manual .key-history-brief,
html[data-theme="light"] .key-row-collapse.key-history-manual .key-history-outcome-badge {
color: #5a6478 !important;
background: rgba(90, 100, 120, 0.1) !important;
border-color: rgba(90, 100, 120, 0.22) !important;
}
html[data-theme="light"] .key-row-collapse.key-history-failed {
background: rgba(192, 48, 48, 0.06) !important;
border-color: rgba(192, 48, 48, 0.28) !important;
}
html[data-theme="light"] .key-row-collapse.key-history-failed .key-row-collapse-summary {
color: #1a2838 !important;
}
html[data-theme="light"] .key-row-collapse.key-history-failed .key-history-brief,
html[data-theme="light"] .key-row-collapse.key-history-failed .key-history-outcome-badge {
color: #b04040 !important;
background: rgba(192, 48, 48, 0.08) !important;
border-color: rgba(192, 48, 48, 0.22) !important;
}