Add logout control and show a single locked underlying on hedge select.

Nav gains an exit link when auth is enabled; PO option picker no longer shows unused ETH/BTC toggles.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-10-14 20:22:06 +08:00
parent 5d161b4220
commit 2fecbda450
7 changed files with 57 additions and 15 deletions
+31
View File
@@ -3637,10 +3637,41 @@ html[data-theme="light"] .opt-be-dist-down {
gap: 6px;
align-items: center;
}
.hedge-plan-page-wrap .hp-uly-single {
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 3.2rem;
padding: 6px 12px;
border: 1px solid #3a4a6e;
border-radius: 8px;
background: #1a2238;
color: #dbe4ff;
font-weight: 600;
font-size: 0.88rem;
letter-spacing: 0.03em;
cursor: default;
user-select: none;
}
.hedge-plan-page-wrap .hp-uly-lock .hp-uly-btn:disabled {
opacity: 0.75;
cursor: not-allowed;
}
.top-nav-logout {
grid-column: 1;
justify-self: start;
align-self: center;
}
html[data-theme="light"] .top-nav-logout {
color: #334;
background: #f3f5fa;
border-color: #c5cddf;
}
html[data-theme="light"] .hedge-plan-page-wrap .hp-uly-single {
background: #eef1f8;
border-color: #c5cddf;
color: #1a2438;
}
.hedge-plan-page-wrap .hp-po-gate-inline {
font-size: 0.82rem;
line-height: 1.35;