diff --git a/ui/static/index.html b/ui/static/index.html index 3667f05..f28560b 100644 --- a/ui/static/index.html +++ b/ui/static/index.html @@ -199,18 +199,39 @@ body { overflow: hidden; } -.sidebar-title { +.sidebar-header { + display: flex; + justify-content: space-between; + align-items: center; padding: 8px 12px; background: var(--primary); - color: var(--text); - font-weight: bold; - font-size: 0.9em; - cursor: pointer; - user-select: none; } -.sidebar-title:hover { +.sidebar-header .sidebar-label { + font-weight: bold; + font-size: 0.9em; +} + +.btn-close-sidebar { + background: var(--surface-lighten); + color: var(--text); + border: 1px solid var(--panel); + border-radius: 3px; + cursor: pointer; + font-family: inherit; + font-size: 13px; + padding: 2px 8px; + line-height: 1.4; + transition: background 0.2s; +} + +.btn-close-sidebar:hover { background: var(--accent); + border-color: var(--accent); +} + +.btn-close-sidebar:active { + transform: scale(0.95); } /* Config Section */ @@ -556,7 +577,10 @@ body {
- +
API 配置
@@ -612,7 +636,8 @@ body {

操作说明: