聊天样式微调

This commit is contained in:
super committed 2026-03-29 11:45:36 +08:00
1 parent fafcdfe742
commit efae286f5c
12 files changed
+442 -293

No files matched your search

+37
View File
@@ -113,6 +113,29 @@
border-color: rgba(148, 163, 184, 0.26);
box-shadow: var(--glow-accent);
}
/* Keep chat composer border and fill visually consistent in light/dark themes. */
.chat-composer-shell {
background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.97) 0%, rgba(248, 250, 252, 0.97) 100%);
box-shadow: 0 14px 28px -20px rgba(15, 23, 42, 0.38);
background-clip: padding-box;
}
.chat-composer-shell:focus-within {
transform: translateY(-1px);
box-shadow: 0 16px 34px -22px rgba(14, 165, 233, 0.45);
}
.chat-composer-textarea {
background-color: transparent !important;
border: 0 !important;
text-decoration: none;
caret-color: #0891b2;
}
.chat-composer-textarea::selection {
background-color: rgba(14, 165, 233, 0.2);
}
}
@layer components {
@@ -150,6 +173,20 @@ html.dark .glass-panel {
background: rgba(2, 6, 23, 0.66);
border-color: rgba(71, 85, 105, 0.5);
}
html.dark .chat-composer-shell {
background-image: linear-gradient(180deg, rgba(15, 23, 42, 0.92) 0%, rgba(10, 16, 30, 0.92) 100%);
box-shadow: 0 18px 36px -28px rgba(2, 6, 23, 0.96);
}
html.dark .chat-composer-textarea {
background-color: transparent !important;
caret-color: #67e8f9;
}
html.dark .chat-composer-textarea::selection {
background-color: rgba(56, 189, 248, 0.25);
}
}
/* Custom Scrollbar */