gbclient/app/chat/styles/chat.css

110 lines
1.7 KiB
CSS

.chat-window {
display: flex;
flex-direction: column;
height: 100%;
background-color: #f5f5f5;
}
.chat-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 1rem;
background-color: #fff;
border-bottom: 1px solid #ccc;
}
.header-content {
display: flex;
flex-direction: column;
}
.header-title {
font-size: 1.25rem;
font-weight: bold;
margin: 0;
}
.header-subtitle {
font-size: 0.875rem;
color: #007dff;
margin-top: 0.25rem;
}
.message-list {
flex: 1;
overflow-y: auto;
padding: 1rem;
}
.message-container {
max-width: 70%;
margin-bottom: 0.5rem;
padding: 0.75rem;
border-radius: 0.75rem;
}
.user-message {
align-self: flex-end;
background-color: rgba(0, 180, 255, 0.15);
border: 1px solid #00cfff;
}
.bot-message {
align-self: flex-start;
background-color: rgba(180, 0, 255, 0.1);
border: 1px solid #c400ff;
}
.message-text {
margin: 0;
}
.message-time {
font-size: 0.75rem;
color: #666;
margin-top: 0.25rem;
}
.input-container {
display: flex;
align-items: center;
padding: 1rem;
border-top: 1px solid #ccc;
background-color: #fff;
}
.chat-input {
flex: 1;
min-height: 2.5rem;
max-height: 6rem;
padding: 0.5rem 1rem;
margin: 0 0.5rem;
background-color: #f0f0f0;
color: #000;
border: 1px solid #ccc;
border-radius: 1.25rem;
resize: none;
}
.icon-button {
background: none;
border: none;
color: #007dff;
cursor: pointer;
padding: 0.5rem;
}
.send-button {
background-color: rgba(0, 180, 255, 0.15);
border: 1px solid #00cfff;
border-radius: 50%;
padding: 0.5rem;
cursor: pointer;
}
.icon {
width: 1.5rem;
height: 1.5rem;
fill: currentColor;
}