Remove background from header brand and top nav.

Use transparent text links; active state is accent color only.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-07-29 19:49:03 +08:00
parent 9b3693e542
commit 50a4540aaf
2 changed files with 18 additions and 13 deletions
+8
View File
@@ -5,6 +5,14 @@
--- ---
## 2026-07-29 — 顶栏名称/导航去背景
### 变更
1. 标题区与顶部导航去掉底色/描边块,改为透明文字导航;选中项仅用强调色。
---
## 2026-07-29 — 期权标题去掉指数(指数只在永续行情) ## 2026-07-29 — 期权标题去掉指数(指数只在永续行情)
### 变更 ### 变更
+10 -13
View File
@@ -101,12 +101,7 @@ input {
position: sticky; position: sticky;
top: 0; top: 0;
z-index: 10; z-index: 10;
background: linear-gradient( background: transparent;
180deg,
rgba(11, 14, 17, 0.98) 70%,
rgba(11, 14, 17, 0.88)
);
backdrop-filter: blur(8px);
} }
.brand-row { .brand-row {
@@ -126,6 +121,7 @@ input {
white-space: nowrap; white-space: nowrap;
min-width: 0; min-width: 0;
font-size: clamp(16px, 1.35vw, 20px); font-size: clamp(16px, 1.35vw, 20px);
background: transparent;
} }
.brand-actions { .brand-actions {
@@ -146,13 +142,14 @@ input {
flex-wrap: wrap; flex-wrap: wrap;
align-items: center; align-items: center;
gap: 8px; gap: 8px;
background: transparent;
} }
.top-nav a { .top-nav a {
padding: 8px 14px; padding: 8px 12px;
border: 1px solid var(--line); border: none;
border-radius: 8px; border-radius: 0;
background: var(--bg-elev); background: transparent;
color: var(--muted); color: var(--muted);
text-decoration: none; text-decoration: none;
font-size: 15px; font-size: 15px;
@@ -162,12 +159,12 @@ input {
.top-nav a:hover { .top-nav a:hover {
color: var(--text); color: var(--text);
border-color: rgba(240, 185, 11, 0.35); background: transparent;
} }
.top-nav a.active { .top-nav a.active {
background: rgba(240, 185, 11, 0.12); background: transparent;
border-color: rgba(240, 185, 11, 0.45); border: none;
color: var(--accent); color: var(--accent);
} }