113 lines
1.7 KiB
CSS
113 lines
1.7 KiB
CSS
![]() |
.chat-window {
|
||
|
display: flex;
|
||
|
flex-direction: column;
|
||
|
height: 100%;
|
||
|
background-color: #111;
|
||
|
}
|
||
|
|
||
|
.chat-header {
|
||
|
display: flex;
|
||
|
justify-content: space-between;
|
||
|
align-items: center;
|
||
|
padding: 1rem;
|
||
|
background-color: #111;
|
||
|
border-bottom: 1px solid #333;
|
||
|
}
|
||
|
|
||
|
.header-content {
|
||
|
display: flex;
|
||
|
flex-direction: column;
|
||
|
}
|
||
|
|
||
|
.header-title {
|
||
|
color: white;
|
||
|
font-size: 1.25rem;
|
||
|
font-weight: bold;
|
||
|
margin: 0;
|
||
|
}
|
||
|
|
||
|
.header-subtitle {
|
||
|
color: #00f3ff;
|
||
|
font-size: 0.875rem;
|
||
|
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, 243, 255, 0.1);
|
||
|
border: 1px solid #00f3ff;
|
||
|
}
|
||
|
|
||
|
.bot-message {
|
||
|
align-self: flex-start;
|
||
|
background-color: rgba(191, 0, 255, 0.1);
|
||
|
border: 1px solid #bf00ff;
|
||
|
}
|
||
|
|
||
|
.message-text {
|
||
|
color: white;
|
||
|
margin: 0;
|
||
|
}
|
||
|
|
||
|
.message-time {
|
||
|
color: #666;
|
||
|
font-size: 0.75rem;
|
||
|
margin-top: 0.25rem;
|
||
|
}
|
||
|
|
||
|
.input-container {
|
||
|
display: flex;
|
||
|
align-items: center;
|
||
|
padding: 1rem;
|
||
|
border-top: 1px solid #333;
|
||
|
background-color: #111;
|
||
|
}
|
||
|
|
||
|
.chat-input {
|
||
|
flex: 1;
|
||
|
min-height: 2.5rem;
|
||
|
max-height: 6rem;
|
||
|
padding: 0.5rem 1rem;
|
||
|
margin: 0 0.5rem;
|
||
|
background-color: #1a1a1a;
|
||
|
color: white;
|
||
|
border: 1px solid #333;
|
||
|
border-radius: 1.25rem;
|
||
|
resize: none;
|
||
|
}
|
||
|
|
||
|
.icon-button {
|
||
|
background: none;
|
||
|
border: none;
|
||
|
color: #00f3ff;
|
||
|
cursor: pointer;
|
||
|
padding: 0.5rem;
|
||
|
}
|
||
|
|
||
|
.send-button {
|
||
|
background-color: rgba(0, 243, 255, 0.1);
|
||
|
border: 1px solid #00f3ff;
|
||
|
border-radius: 50%;
|
||
|
padding: 0.5rem;
|
||
|
cursor: pointer;
|
||
|
}
|
||
|
|
||
|
.icon {
|
||
|
width: 1.5rem;
|
||
|
height: 1.5rem;
|
||
|
fill: currentColor;
|
||
|
}
|