diff --git a/static/icons/folder-git-2.svg b/static/icons/folder-git-2.svg new file mode 100644 index 0000000..f122f04 --- /dev/null +++ b/static/icons/folder-git-2.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/static/src/components/panels/GitChangesPanel.vue b/static/src/components/panels/GitChangesPanel.vue index 31443a7..4f6727d 100644 --- a/static/src/components/panels/GitChangesPanel.vue +++ b/static/src/components/panels/GitChangesPanel.vue @@ -18,7 +18,15 @@
正在加载 Git 变更…
{{ error }}
-
当前没有未提交变更
+
+ + 当前没有未提交变更 +
diff --git a/static/src/components/panels/TerminalPanel.vue b/static/src/components/panels/TerminalPanel.vue index 8b92848..9c9540e 100644 --- a/static/src/components/panels/TerminalPanel.vue +++ b/static/src/components/panels/TerminalPanel.vue @@ -33,8 +33,7 @@ - 暂无活动终端 - AI 使用终端时将自动显示 + 当前没有开启的终端
@@ -466,9 +465,9 @@ onBeforeUnmount(() => { .terminal-panel__empty-tab { display: flex; align-items: center; - padding: 4px 10px; - font-size: 12px; - color: var(--text-muted); + font-size: 13px; + font-weight: 600; + color: var(--text-primary); } .terminal-panel__tab { @@ -552,11 +551,7 @@ onBeforeUnmount(() => { .terminal-panel__idle-svg { width: 36px; height: 36px; - opacity: 0.35; -} - -.terminal-panel__idle-hint { - font-size: 11px; + color: var(--text-tertiary); opacity: 0.55; } diff --git a/static/src/styles/components/panels/_right-panel.scss b/static/src/styles/components/panels/_right-panel.scss index 32b20f6..0766862 100644 --- a/static/src/styles/components/panels/_right-panel.scss +++ b/static/src/styles/components/panels/_right-panel.scss @@ -77,8 +77,8 @@ .git-changes-panel__header { flex: 0 0 auto; - min-height: 54px; - padding: 10px 14px 8px 16px; + min-height: 38px; + padding: 0 8px; display: flex; align-items: center; justify-content: space-between; @@ -182,10 +182,21 @@ } .git-changes-panel__empty { - padding: 48px 12px; - color: var(--claude-text-secondary); - text-align: center; + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + height: 100%; + gap: 8px; + color: var(--text-muted); font-size: 13px; + + &-svg { + width: 36px; + height: 36px; + color: var(--text-tertiary); + opacity: 0.55; + } } .git-changes-panel__empty--error {