期期: green index after lower target, USDC transfer, clearer selected state.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-07-19 08:16:44 +08:00
parent 79420904f4
commit 3093d07167
3 changed files with 182 additions and 12 deletions
+82 -1
View File
@@ -3258,6 +3258,70 @@ html[data-theme="light"] .opt-be-dist-down {
flex-direction: column;
gap: 8px;
}
.hedge-plan-page-wrap .hp-oo-target-row {
align-items: flex-end;
flex-wrap: wrap;
gap: 10px 14px;
}
.hedge-plan-page-wrap .hp-oo-index {
display: inline-flex;
align-items: center;
margin: 0 0 2px;
padding: 4px 0;
font-size: 0.9rem;
font-weight: 700;
font-variant-numeric: tabular-nums;
color: #3dd68c;
white-space: nowrap;
}
.hedge-plan-page-wrap .hp-oo-transfer {
margin: 10px 0 4px;
padding: 10px 12px;
border-radius: 8px;
background: rgba(255, 255, 255, 0.03);
border: 1px solid rgba(255, 255, 255, 0.06);
}
.hedge-plan-page-wrap .hp-oo-transfer-bals {
display: flex;
flex-wrap: wrap;
align-items: baseline;
gap: 6px 8px;
margin-bottom: 8px;
font-size: 0.78rem;
}
.hedge-plan-page-wrap .hp-oo-transfer-bals strong {
color: var(--text, #e6edf3);
font-variant-numeric: tabular-nums;
}
.hedge-plan-page-wrap .hp-oo-transfer-unit {
opacity: 0.75;
}
.hedge-plan-page-wrap .hp-oo-transfer-form {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 8px;
margin: 0;
}
.hedge-plan-page-wrap .hp-oo-transfer-form select,
.hedge-plan-page-wrap .hp-oo-transfer-form input[type="number"] {
font-size: 0.74rem;
}
.hedge-plan-page-wrap .hp-oo-transfer-form input[type="number"] {
width: 96px;
max-width: 30vw;
}
.hedge-plan-page-wrap .hp-oo-transfer-msg {
margin: 6px 0 0;
font-size: 0.72rem;
min-height: 1.1em;
}
.hedge-plan-page-wrap .hp-oo-transfer-msg.is-err {
color: #ff8a8a;
}
.hedge-plan-page-wrap .hp-oo-transfer-msg.is-ok {
color: #3dd68c;
}
.hedge-plan-page-wrap .hp-oo-controls {
display: grid;
grid-template-columns: 1fr 1fr;
@@ -3289,12 +3353,29 @@ html[data-theme="light"] .opt-be-dist-down {
min-width: 4.5em;
justify-content: center;
padding: 5px 8px;
position: relative;
}
.hedge-plan-page-wrap .hp-oo-check {
display: none;
margin-right: 4px;
font-weight: 700;
}
.hedge-plan-page-wrap .hp-oo-size-mode.is-selected,
.hedge-plan-page-wrap .hp-oo-close-mode.is-selected,
.hedge-plan-page-wrap .hp-oo-size-mode.active,
.hedge-plan-page-wrap .hp-oo-close-mode.active {
border-color: var(--accent, #00d4ff);
color: var(--text, #fff);
background: rgba(0, 212, 255, 0.12);
background: rgba(0, 212, 255, 0.16);
box-shadow: inset 0 0 0 1px rgba(0, 212, 255, 0.35);
font-weight: 700;
}
.hedge-plan-page-wrap .hp-oo-size-mode.is-selected .hp-oo-check,
.hedge-plan-page-wrap .hp-oo-close-mode.is-selected .hp-oo-check,
.hedge-plan-page-wrap .hp-oo-size-mode.active .hp-oo-check,
.hedge-plan-page-wrap .hp-oo-close-mode.active .hp-oo-check {
display: inline;
color: var(--accent, #00d4ff);
}
.hedge-plan-page-wrap #hp-oo-close-mode-row.hidden {
display: none !important;