行情区:现价标签移入右侧10根留白区,倒计时在现价下方

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-06-02 12:08:21 +08:00
parent ffe5f230fd
commit 43f6aced94
3 changed files with 51 additions and 28 deletions
+10 -16
View File
@@ -1996,13 +1996,7 @@ body.login-page {
flex: 1;
min-width: 0;
height: 100%;
}
.market-price-gutter {
flex: 0 0 72px;
position: relative;
border-left: 1px solid var(--border-soft);
background: #0a1018;
}
.market-exchange-badge {
@@ -2068,18 +2062,17 @@ body.login-page {
.market-price-tag {
position: absolute;
left: 4px;
right: 4px;
z-index: 2;
z-index: 5;
pointer-events: none;
padding: 4px 6px;
padding: 4px 8px;
border-radius: 4px;
font-family: var(--font);
font-size: 0.72rem;
font-weight: 600;
line-height: 1.2;
line-height: 1.25;
text-align: center;
transform: translateY(-50%);
transform: translate(-50%, -50%);
min-width: 68px;
box-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}
@@ -2102,19 +2095,20 @@ body.login-page {
}
.market-price-tag-time {
margin-top: 2px;
margin-top: 3px;
font-size: 0.68rem;
font-weight: 500;
font-variant-numeric: tabular-nums;
line-height: 1;
opacity: 0.95;
}
.market-price-auto {
position: absolute;
left: 6px;
right: 6px;
right: 8px;
bottom: 10px;
z-index: 2;
z-index: 5;
width: auto;
padding: 4px 8px;
font-size: 0.68rem;
font-family: var(--font);