feat: show force-close badge and countdown when FORCE_CLOSE is enabled
Add shared lib/UI for midnight force-close indicator on instance and hub pages, and document Gate intraday 0-point exit alignment. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -1605,6 +1605,27 @@ body.market-chart-fs-open {
|
||||
font-variant-numeric: tabular-nums;
|
||||
letter-spacing: 0.03em;
|
||||
}
|
||||
.hub-pos-card .pos-symbol-force-close,
|
||||
.hub-mini-title .pos-symbol-force-close,
|
||||
.td-symbol .pos-symbol-force-close {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
font-size: 0.72rem;
|
||||
font-weight: 500;
|
||||
color: #ffc870;
|
||||
padding: 1px 6px;
|
||||
border-radius: 4px;
|
||||
background: rgba(255, 200, 112, 0.12);
|
||||
white-space: nowrap;
|
||||
vertical-align: middle;
|
||||
}
|
||||
.hub-pos-card .pos-symbol-force-close .pos-force-close-cd,
|
||||
.hub-mini-title .pos-symbol-force-close .pos-force-close-cd,
|
||||
.td-symbol .pos-symbol-force-close .pos-force-close-cd {
|
||||
font-variant-numeric: tabular-nums;
|
||||
letter-spacing: 0.03em;
|
||||
}
|
||||
.hub-pos-card .pos-card-symbol strong {
|
||||
font-size: 14px;
|
||||
color: var(--text);
|
||||
|
||||
Reference in New Issue
Block a user