更新AI聊天页面样式
This commit is contained in:
@@ -1,27 +1,80 @@
|
||||
/* 聊天输入区域 */
|
||||
.chat-input-container {
|
||||
flex-shrink: 0;
|
||||
background: #fff;
|
||||
border-top: 1px solid #e5e7eb;
|
||||
padding: 16px 20px;
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
.chat-input-wrapper {
|
||||
max-width: 100%;
|
||||
margin: 0 auto;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
/* 响应式设计 */
|
||||
@media (max-width: 768px) {
|
||||
.chat-input-container {
|
||||
padding: 12px 16px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 480px) {
|
||||
.chat-input-container {
|
||||
padding: 8px 12px;
|
||||
}
|
||||
/* 聊天输入区域 */
|
||||
.chat-input-container {
|
||||
flex-shrink: 0;
|
||||
background: #F9FAFB;
|
||||
padding: 16px 20px;
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
.chat-input-wrapper {
|
||||
max-width: 100%;
|
||||
margin: 0 auto;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
/* 新的输入框容器样式 */
|
||||
.chat-input-box {
|
||||
border: 1px solid #d1d5db;
|
||||
/* 圆角 */
|
||||
border-radius: 30px;
|
||||
background: #F9FAFB;
|
||||
box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
|
||||
}
|
||||
|
||||
.chat-input-content {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 12px;
|
||||
}
|
||||
|
||||
.chat-input-textarea-wrapper {
|
||||
flex: 1;
|
||||
height: 10vh;
|
||||
margin: 0 8px;
|
||||
}
|
||||
|
||||
.chat-input-textarea {
|
||||
resize: none !important;
|
||||
border: 0 !important;
|
||||
box-shadow: none !important;
|
||||
padding: 8px 0 !important;
|
||||
background: transparent !important;
|
||||
}
|
||||
|
||||
.chat-input-button {
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.chat-upload-button {
|
||||
color: #6b7280;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.chat-upload-button:hover {
|
||||
color: #3b82f6;
|
||||
}
|
||||
|
||||
/* 响应式设计 */
|
||||
@media (max-width: 768px) {
|
||||
.chat-input-container {
|
||||
padding: 12px 16px;
|
||||
}
|
||||
|
||||
.chat-input-content {
|
||||
padding: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 480px) {
|
||||
.chat-input-container {
|
||||
padding: 8px 12px;
|
||||
}
|
||||
|
||||
.chat-input-content {
|
||||
padding: 8px;
|
||||
}
|
||||
}
|
||||
|
||||
.chat-input-button-send {
|
||||
margin-top: 80px;
|
||||
}
|
||||
Reference in New Issue
Block a user