Show risk params box on control cards and modal.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-07-30 14:58:30 +08:00
parent c5f477b8bc
commit 67f22626e9
4 changed files with 125 additions and 14 deletions
+24
View File
@@ -290,6 +290,30 @@ input {
font-size: 0.92rem;
}
.risk-box {
border: 1px solid rgba(46, 229, 154, 0.45);
background: rgba(46, 229, 154, 0.08);
border-radius: 8px;
padding: 10px 12px;
}
.risk-box-title {
font-size: 0.78rem;
color: var(--pnl-pos);
font-weight: 700;
margin-bottom: 6px;
letter-spacing: 0.02em;
}
.risk-kv {
margin: 0;
}
.risk-kv dd {
color: var(--pnl-pos);
font-weight: 700;
}
.node-actions {
display: flex;
flex-wrap: wrap;