调整css
This commit is contained in:
@@ -30,7 +30,17 @@ body {
|
||||
gap: 8px;
|
||||
}
|
||||
.header-left { display: flex; align-items: center; gap: 8px; flex: 1; }
|
||||
.header h2 { font-size: 17px; font-weight: 600; white-space: nowrap; cursor: pointer; }
|
||||
.header h2 { font-size: 17px; font-weight: 600; white-space: nowrap; }
|
||||
.brand {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
cursor: pointer;
|
||||
/* 可选:增加内边距扩大点击热区,但不会扩展到空白区域 */
|
||||
padding: 4px 8px;
|
||||
border-radius: 6px;
|
||||
transition: background 0.2s;
|
||||
}
|
||||
.chat-title {
|
||||
flex: 1; text-align: center; font-size: 16px; font-weight: 600;
|
||||
overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
|
||||
@@ -48,6 +58,13 @@ body {
|
||||
#files-panel .icon-btn, .files-panel-header .icon-btn { color: #555; }
|
||||
#files-panel .icon-btn:active { background: #eee; }
|
||||
|
||||
.version {
|
||||
text-align: center;
|
||||
font-size: 12px;
|
||||
color: #aaa;
|
||||
margin-top: 16px;
|
||||
}
|
||||
|
||||
/* ---- 模型池条 ---- */
|
||||
.model-strip {
|
||||
display: flex; gap: 6px; padding: 8px 12px 0;
|
||||
|
||||
@@ -15,12 +15,12 @@
|
||||
<!-- 会话列表页 -->
|
||||
<div id="list-page" class="page">
|
||||
<div class="header">
|
||||
<div class="header-left" onclick="ui.logout()">
|
||||
<div class="header-left"><div class="brand" onclick="ui.logout()">
|
||||
<svg width="24" height="24" viewBox="0 0 24 24" stroke="#fff" fill="none" stroke-width="1.5">
|
||||
<rect x="3" y="3" width="18" height="18" rx="3"/><line x1="9" y1="9" x2="15" y2="9"/><line x1="9" y1="13" x2="15" y2="13"/><line x1="9" y1="17" x2="12" y2="17"/>
|
||||
</svg>
|
||||
<h2>Agent 任务台</h2>
|
||||
</div>
|
||||
</div></div>
|
||||
<div style="display:flex; gap:2px; align-items:center;">
|
||||
<button class="icon-btn" id="create-session-btn" onclick="ui.openCreate()" title="新建任务">
|
||||
<svg viewBox="0 0 24 24"><line x1="12" y1="5" x2="12" y2="19"></line><line x1="5" y1="12" x2="19" y2="12"></line></svg>
|
||||
|
||||
@@ -33,6 +33,7 @@
|
||||
<input type="text" id="login-user" placeholder="用户名" autocomplete="username" autocapitalize="none" autocorrect="off">
|
||||
<input type="password" id="login-pass" placeholder="密码" autocomplete="current-password">
|
||||
<button class="primary-btn" id="login-btn" type="submit" style="width:100%;">登录</button>
|
||||
<div class="version" id="version-text">v1.0.1-260831</div>
|
||||
<p class="login-error" id="login-error"></p>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
@@ -43,3 +43,5 @@ You have a dedicated working directory for each conversation. All file paths in
|
||||
- OS: linux
|
||||
- Shell: bash
|
||||
- Runs in a Docker container. File access is limited to the working directory and temp directories.
|
||||
- Python: use `python3`. To install Python packages: `pip3 install --break-system-packages <pkg>`.
|
||||
- System packages: `apt-get update -y && apt-get install -y <pkg>`.
|
||||
|
||||
Reference in New Issue
Block a user