Split live positions from hedge plans; show option+perp net PnL after fees.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -4118,6 +4118,83 @@ html[data-theme="light"] .opt-be-dist-down {
|
||||
.hedge-plan-page-wrap .hp-po-pos-card .options-pos-pane {
|
||||
overflow: auto;
|
||||
}
|
||||
.hedge-plan-page-wrap .hp-live-pos-list {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 12px;
|
||||
}
|
||||
.hedge-plan-page-wrap .hp-live-card {
|
||||
padding: 12px 14px;
|
||||
border-radius: 10px;
|
||||
border: 1px solid rgba(255, 255, 255, 0.08);
|
||||
background: rgba(255, 255, 255, 0.03);
|
||||
}
|
||||
.hedge-plan-page-wrap .hp-live-card-head {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
gap: 8px;
|
||||
align-items: baseline;
|
||||
margin-bottom: 10px;
|
||||
font-size: 0.88rem;
|
||||
}
|
||||
.hedge-plan-page-wrap .hp-live-legs {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr;
|
||||
gap: 10px;
|
||||
}
|
||||
@media (min-width: 720px) {
|
||||
.hedge-plan-page-wrap .hp-live-legs {
|
||||
grid-template-columns: 1fr 1fr;
|
||||
}
|
||||
}
|
||||
.hedge-plan-page-wrap .hp-live-leg {
|
||||
padding: 10px;
|
||||
border-radius: 8px;
|
||||
background: rgba(0, 0, 0, 0.18);
|
||||
border: 1px solid rgba(255, 255, 255, 0.05);
|
||||
}
|
||||
.hedge-plan-page-wrap .hp-live-leg-title {
|
||||
font-size: 0.78rem;
|
||||
font-weight: 650;
|
||||
color: #9ec0ff;
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
.hedge-plan-page-wrap .hp-live-leg code {
|
||||
display: block;
|
||||
font-size: 0.78rem;
|
||||
word-break: break-all;
|
||||
margin-bottom: 8px;
|
||||
color: #c5d0ee;
|
||||
}
|
||||
.hedge-plan-page-wrap .hp-live-leg-grid {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 4px 10px;
|
||||
font-size: 0.76rem;
|
||||
color: #9aa4b2;
|
||||
}
|
||||
.hedge-plan-page-wrap .hp-live-leg-grid strong {
|
||||
color: #e8ecf4;
|
||||
font-weight: 600;
|
||||
}
|
||||
.hedge-plan-page-wrap .hp-live-combo {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: baseline;
|
||||
margin-top: 12px;
|
||||
padding-top: 10px;
|
||||
border-top: 1px solid rgba(255, 255, 255, 0.06);
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
.hedge-plan-page-wrap .hp-live-combo strong {
|
||||
font-size: 1.05rem;
|
||||
}
|
||||
.hedge-plan-page-wrap .hp-live-actions {
|
||||
margin-top: 10px;
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
.hedge-plan-page-wrap .hp-po-order-dialog .hp-po-section-title {
|
||||
margin: 0 0 6px;
|
||||
font-size: 0.85rem;
|
||||
|
||||
Reference in New Issue
Block a user