fix(ui): 移除顶部页面标签并放大左侧导航
build / build (push) Successful in 1m14s

去掉系统已打开页面页签及无用关闭入口和样式;保留面包屑、来源路径与分页。左侧文字16px、图标20px,导航项最小44px。

验证:顶部页签移除与导航字号回归分别先红后绿,相关测试和类型检查通过;完整门禁与部署验收待执行。
This commit is contained in:
姚章浩
2026-10-24 15:10:10 +08:00
parent 1c065846f6
commit 8d44d54dc7
5 changed files with 37 additions and 129 deletions
+6 -81
View File
@@ -219,12 +219,13 @@ code {
gap: 10px;
border: 1px solid transparent;
border-radius: var(--r-md);
padding: 7px 10px;
padding: 9px 10px;
color: #8aa2b3;
background: transparent;
box-shadow: none;
font-weight: 500;
font-size: 12.5px;
font-size: 16px;
min-height: 44px;
text-align: left;
transition: background 120ms ease, color 120ms ease;
}
@@ -244,12 +245,12 @@ code {
.nav-icon {
display: grid;
width: 18px;
height: 18px;
width: 24px;
height: 24px;
flex: none;
place-items: center;
color: var(--side-accent);
font-size: 13px;
font-size: 20px;
}
.sidebar-footer {
@@ -317,15 +318,6 @@ code {
font-weight: 600;
}
.tab-list {
display: flex;
min-width: 0;
gap: 2px;
overflow-x: auto;
padding: 8px 16px 0;
scrollbar-width: thin;
}
.workspace-context-tabs {
display: flex;
min-width: 0;
@@ -361,25 +353,6 @@ code {
font-weight: 600;
}
.workspace-tab {
display: flex;
height: 36px;
flex: none;
align-items: center;
border: 1px solid transparent;
border-bottom: 0;
border-radius: var(--r-md) var(--r-md) 0 0;
background: transparent;
}
.workspace-tab.active {
border-color: var(--border-base);
background: var(--bg-page);
box-shadow: inset 0 2px var(--c-run);
}
.tab-activate,
.tab-close,
.mobile-nav-toggle,
.sidebar-backdrop {
border-radius: 0;
@@ -390,44 +363,6 @@ code {
border: 0;
}
.tab-activate {
display: flex;
height: 100%;
align-items: center;
gap: 6px;
padding: 0 11px;
color: var(--ink-mute);
font-size: 12px;
font-weight: 500;
}
.workspace-tab.active .tab-activate {
color: var(--ink-strong);
font-weight: 600;
}
.tab-activate span {
color: var(--c-cyan);
font-size: 12px;
}
.tab-close {
display: grid;
width: 20px;
height: 20px;
margin-right: 6px;
place-items: center;
border-radius: var(--r-sm);
color: var(--ink-faint);
font-size: 16px;
line-height: 1;
}
.tab-close:hover {
color: var(--c-fail);
background: var(--c-fail-bg);
}
.workspace-content {
min-width: 0;
flex: 1;
@@ -1856,15 +1791,6 @@ tbody tr:hover {
}
.workspace-topbar { align-items: center; }
.workspace-context-tabs { display: none; }
.workspace-tab:not(.active) { display: none; }
.workspace-tab.active { min-width: 0; max-width: 100%; }
.workspace-tab.active .tab-activate {
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.workspace-tab.active .tab-close { width: 32px; height: 32px; flex: none; }
.mobile-nav-toggle {
display: grid;
width: 32px;
@@ -1878,7 +1804,6 @@ tbody tr:hover {
font-size: 16px;
border: 1px solid var(--border-base);
}
.tab-list { flex: 1; overflow: hidden; padding-left: 6px; }
}
@media (max-width: 620px) {