ChatPage.css•1.52 kB
.chat-page {
width: 100%;
min-height: 100vh;
padding: 20px;
}
.chat-container {
max-width: 1400px;
margin: 0 auto;
display: flex;
gap: 20px;
height: calc(100vh - 40px);
}
.chat-main {
flex: 1;
display: flex;
flex-direction: column;
gap: 10px;
}
.sidebar {
width: 350px;
}
.message-input-form {
display: flex;
gap: 10px;
padding: 15px;
background: white;
border-radius: 8px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
align-items: flex-end;
}
.message-input {
flex: 1;
padding: 12px 16px;
border: 1px solid #e0e0e0;
border-radius: 6px;
font-size: 14px;
font-family: inherit;
outline: none;
transition: border 0.2s;
resize: vertical;
max-height: 150px;
min-height: 45px;
line-height: 1.4;
}
.message-input:focus {
border-color: #667eea;
box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}
.message-input:disabled {
background: #f5f5f5;
color: #999;
cursor: not-allowed;
}
.send-button {
padding: 12px 24px;
background: #667eea;
color: white;
border: none;
border-radius: 6px;
font-weight: 500;
cursor: pointer;
transition: background 0.2s;
white-space: nowrap;
flex-shrink: 0;
}
.send-button:hover:not(:disabled) {
background: #5568d3;
}
.send-button:disabled {
background: #ccc;
cursor: not-allowed;
}
@media (max-width: 1024px) {
.chat-container {
flex-direction: column;
}
.sidebar {
width: 100%;
height: auto;
max-height: 300px;
}
.tool-call-history {
height: 300px;
}
}