hub放大排列
This commit is contained in:
@@ -533,7 +533,7 @@ body.hub-fullscreen-open {
|
||||
.exchange-fullscreen-panel {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
max-width: 820px;
|
||||
max-width: min(1800px, 98vw);
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
@@ -604,6 +604,18 @@ body.hub-fullscreen-open {
|
||||
margin-bottom: 14px;
|
||||
}
|
||||
|
||||
/* 全屏放大:持仓卡片横向排列 */
|
||||
.exchange-fullscreen .hub-pos-list {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
|
||||
gap: 14px;
|
||||
align-items: start;
|
||||
}
|
||||
|
||||
.exchange-fullscreen .hub-pos-card.pos-card {
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
/* 对齐实盘「实时持仓」pos-card */
|
||||
.hub-pos-card.pos-card {
|
||||
background: rgba(10, 16, 28, 0.95);
|
||||
@@ -730,6 +742,17 @@ body.hub-fullscreen-open {
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.hub-pos-card .pos-value.pnl-pos {
|
||||
color: var(--green);
|
||||
font-weight: 600;
|
||||
text-shadow: 0 0 12px rgba(0, 255, 157, 0.25);
|
||||
}
|
||||
|
||||
.hub-pos-card .pos-value.pnl-neg {
|
||||
color: var(--red);
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.hub-pos-card .pos-footer {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
@@ -1158,6 +1181,16 @@ button.btn-sm {
|
||||
.pnl-neg {
|
||||
color: var(--red);
|
||||
}
|
||||
|
||||
.data-table td.pnl-pos {
|
||||
color: var(--green);
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.data-table td.pnl-neg {
|
||||
color: var(--red);
|
||||
font-weight: 600;
|
||||
}
|
||||
.err {
|
||||
color: var(--red);
|
||||
font-size: 12px;
|
||||
|
||||
Reference in New Issue
Block a user