fix: 修复工作空间面板协调性问题

- 头部 Tab 改用 ws-header-tab class,与终端 Tab 的 ws-tab 解除冲突
- 终端 Tab bar 补充完整基础样式(background、border、cursor、transition)
- 补充 .ws-file-toolbar 的 min-height 和按钮 flex-shrink
- 移除未使用的 WorkspaceFileEntry、logWarn import
- resizer 添加 title 提示
This commit is contained in:
thzxx
2026-04-07 18:35:26 +08:00
parent 0e1f216aa4
commit 46c9595f26
3 changed files with 30 additions and 10 deletions
+20 -3
View File
@@ -2715,7 +2715,7 @@ html, body {
margin-left: auto;
}
.ws-tab {
.ws-header-tab {
background: transparent;
border: 1px solid transparent;
color: var(--text-secondary, #999);
@@ -2727,12 +2727,12 @@ html, body {
transition: all 0.15s;
}
.ws-tab:hover {
.ws-header-tab:hover {
background: var(--bg-card-hover, #323232);
color: var(--text-primary, #fff);
}
.ws-tab.active {
.ws-header-tab.active {
background: var(--bg-layer, #383838);
color: var(--accent, #60CDFF);
border-color: var(--border-strong, rgba(255,255,255,0.12));
@@ -2763,18 +2763,30 @@ html, body {
}
.ws-term-tab-bar .ws-tab {
background: transparent;
border: 1px solid transparent;
color: var(--text-secondary, #999);
font-size: 11px;
padding: 3px 8px;
border-radius: 4px 4px 0 0;
border-bottom: none;
cursor: pointer;
display: flex;
align-items: center;
gap: 4px;
flex-shrink: 0;
transition: all 0.15s;
font-family: 'Segoe UI Variable', 'Segoe UI', system-ui, sans-serif;
}
.ws-term-tab-bar .ws-tab:hover {
background: var(--bg-card-hover, #323232);
color: var(--text-primary, #fff);
}
.ws-term-tab-bar .ws-tab.active {
background: var(--bg-solid, #202020);
color: var(--accent, #60CDFF);
border-color: var(--border-default, rgba(255,255,255,0.08));
border-bottom: 1px solid var(--bg-solid, #202020);
}
@@ -2914,6 +2926,11 @@ html, body {
padding: 6px 8px;
border-bottom: 1px solid var(--border-default, rgba(255,255,255,0.08));
background: var(--bg-layer-alt, #2a2a2a);
min-height: 36px;
}
.ws-file-toolbar .ws-toolbar-btn {
flex-shrink: 0;
}
.ws-file-path {