This commit is contained in:
2026-09-03 14:12:36 +08:00
parent 5345625824
commit 4bcb8467a8
2 changed files with 5 additions and 6 deletions
+4 -5
View File
@@ -46,7 +46,6 @@ input, textarea { font: inherit; color: inherit; border: 0; outline: none; backg
gap: 8px; gap: 8px;
padding: 10px 12px; padding: 10px 12px;
min-height: 56px; min-height: 56px;
border-bottom: 1px solid var(--border);
} }
.header .icon-btn { .header .icon-btn {
width: 40px; height: 40px; border-radius: 50%; width: 40px; height: 40px; border-radius: 50%;
@@ -109,7 +108,6 @@ main { flex: 1; min-height: 0; display: flex; flex-direction: column; }
flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px;
padding: 8px 0; border-radius: 999px; padding: 8px 0; border-radius: 999px;
font-size: 14px; color: var(--ink); font-size: 14px; color: var(--ink);
transition: background .18s, color .18s;
} }
.mode-chip:hover {background: var(--surface);} .mode-chip:hover {background: var(--surface);}
.mode-chip.on { background: var(--active-soft); color: var(--active); border: 1px solid var(--active); margin: -3px; background-color: var(--active-light); } .mode-chip.on { background: var(--active-soft); color: var(--active); border: 1px solid var(--active); margin: -3px; background-color: var(--active-light); }
@@ -123,7 +121,7 @@ main { flex: 1; min-height: 0; display: flex; flex-direction: column; }
/* 用户气泡:右侧,浅色背景,圆角矩形 */ /* 用户气泡:右侧,浅色背景,圆角矩形 */
.bubble-user { .bubble-user {
background: var(--surface); color: var(--ink); background: var(--active-soft); color: var(--ink);
padding: 10px 14px; border-radius: 16px 16px 4px 16px; padding: 10px 14px; border-radius: 16px 16px 4px 16px;
font-size: 15px; line-height: 1.6; font-size: 15px; line-height: 1.6;
max-width: 82%; white-space: pre-wrap; word-break: break-word; max-width: 82%; white-space: pre-wrap; word-break: break-word;
@@ -194,9 +192,10 @@ footer { flex: none; padding: 8px 12px calc(10px + env(safe-area-inset-bottom, 0
flex-direction: column; flex-direction: column;
align-items: stretch; align-items: stretch;
gap: 6px; gap: 6px;
background: var(--surface);
border-radius: var(--radius-lg); border-radius: var(--radius-lg);
padding: 6px 8px; padding: 6px 8px;
box-shadow: 0 4px 10px rgba(0,0,0,.02),0 2px 4px rgba(0,0,0,.04);
border: 1px solid rgba(0,0,0,0.1);
} }
.input-shell textarea { .input-shell textarea {
width: 100%; width: 100%;
@@ -295,7 +294,7 @@ footer { flex: none; padding: 8px 12px calc(10px + env(safe-area-inset-bottom, 0
color: #fff; display: flex; align-items: center; justify-content: center; color: #fff; display: flex; align-items: center; justify-content: center;
font-size: 15px; font-weight: 600; font-size: 15px; font-weight: 600;
} }
.user-name { flex: 1; font-size: 14px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .user-name { flex: 1; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-more { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--gray); } .user-more { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--gray); }
.user-more:active { background: var(--surface); } .user-more:active { background: var(--surface); }
+1 -1
View File
@@ -69,7 +69,7 @@
深度思考 深度思考
</button> </button>
<button class="plus-btn" id="attach-btn" title="添加附件或图片" aria-label="添加附件"> <button class="plus-btn" id="attach-btn" title="添加附件或图片" aria-label="添加附件">
<svg class="ic" 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> <svg viewBox="0 0 24 24" class="ic sm"><path fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" d="M21.44 11.05l-9.19 9.19a6 6 0 0 1-8.49-8.49l9.19-9.19a4 4 0 0 1 5.66 5.66l-9.2 9.19a2 2 0 0 1-2.83-2.83l8.49-8.48"></path></svg>
</button> </button>
<input type="file" id="file-input" multiple hidden> <input type="file" id="file-input" multiple hidden>
</div> </div>