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;
padding: 10px 12px;
min-height: 56px;
border-bottom: 1px solid var(--border);
}
.header .icon-btn {
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;
padding: 8px 0; border-radius: 999px;
font-size: 14px; color: var(--ink);
transition: background .18s, color .18s;
}
.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); }
@@ -123,7 +121,7 @@ main { flex: 1; min-height: 0; display: flex; flex-direction: column; }
/* 用户气泡:右侧,浅色背景,圆角矩形 */
.bubble-user {
background: var(--surface); color: var(--ink);
background: var(--active-soft); color: var(--ink);
padding: 10px 14px; border-radius: 16px 16px 4px 16px;
font-size: 15px; line-height: 1.6;
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;
align-items: stretch;
gap: 6px;
background: var(--surface);
border-radius: var(--radius-lg);
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 {
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;
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:active { background: var(--surface); }