hub放大排列
This commit is contained in:
@@ -43,7 +43,7 @@ HUB_BRIDGE_TOKEN = (os.getenv("HUB_BRIDGE_TOKEN") or os.getenv("CONTROL_TOKEN")
|
|||||||
_trust_raw = (os.getenv("HUB_TRUST_LAN", "true") or "").strip().lower()
|
_trust_raw = (os.getenv("HUB_TRUST_LAN", "true") or "").strip().lower()
|
||||||
HUB_TRUST_LAN = _trust_raw not in ("0", "false", "no", "off")
|
HUB_TRUST_LAN = _trust_raw not in ("0", "false", "no", "off")
|
||||||
DIR = Path(__file__).resolve().parent
|
DIR = Path(__file__).resolve().parent
|
||||||
HUB_BUILD = "20260525-fs-fix"
|
HUB_BUILD = "20260525-fs-pos-row"
|
||||||
|
|
||||||
|
|
||||||
def _is_local(host: str | None) -> bool:
|
def _is_local(host: str | None) -> bool:
|
||||||
|
|||||||
@@ -533,7 +533,7 @@ body.hub-fullscreen-open {
|
|||||||
.exchange-fullscreen-panel {
|
.exchange-fullscreen-panel {
|
||||||
position: relative;
|
position: relative;
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
max-width: 820px;
|
max-width: min(1800px, 98vw);
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -604,6 +604,18 @@ body.hub-fullscreen-open {
|
|||||||
margin-bottom: 14px;
|
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 */
|
/* 对齐实盘「实时持仓」pos-card */
|
||||||
.hub-pos-card.pos-card {
|
.hub-pos-card.pos-card {
|
||||||
background: rgba(10, 16, 28, 0.95);
|
background: rgba(10, 16, 28, 0.95);
|
||||||
@@ -730,6 +742,17 @@ body.hub-fullscreen-open {
|
|||||||
font-weight: 500;
|
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 {
|
.hub-pos-card .pos-footer {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
@@ -1158,6 +1181,16 @@ button.btn-sm {
|
|||||||
.pnl-neg {
|
.pnl-neg {
|
||||||
color: var(--red);
|
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 {
|
.err {
|
||||||
color: var(--red);
|
color: var(--red);
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
||||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
||||||
<link href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600&family=Orbitron:wght@500;600;700&display=swap" rel="stylesheet" />
|
<link href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600&family=Orbitron:wght@500;600;700&display=swap" rel="stylesheet" />
|
||||||
<link rel="stylesheet" href="/assets/app.css?v=20260525-fs-fix" />
|
<link rel="stylesheet" href="/assets/app.css?v=20260525-fs-pos-row" />
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="app-bg" aria-hidden="true"></div>
|
<div class="app-bg" aria-hidden="true"></div>
|
||||||
|
|||||||
Reference in New Issue
Block a user