47 lines
826 B
CSS
47 lines
826 B
CSS
|
.chat-container {
|
||
|
background-color: var(--container-bg);
|
||
|
border: 1px solid var(--border-color);
|
||
|
border-radius: 8px;
|
||
|
width: 90%;
|
||
|
max-height: 70vh;
|
||
|
margin: 2rem auto;
|
||
|
padding: 1rem;
|
||
|
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
|
||
|
overflow-y: auto;
|
||
|
}
|
||
|
|
||
|
.message {
|
||
|
display: flex;
|
||
|
margin-bottom: 1rem;
|
||
|
}
|
||
|
|
||
|
.message:last-child {
|
||
|
margin-bottom: 0;
|
||
|
}
|
||
|
|
||
|
.message.fren {
|
||
|
justify-content: flex-end;
|
||
|
}
|
||
|
|
||
|
.message-text {
|
||
|
background-color: var(--background-color-2);
|
||
|
color: var(--text-color);
|
||
|
padding: 0.5rem 1rem;
|
||
|
border-radius: 4px;
|
||
|
max-width: 70%;
|
||
|
word-wrap: break-word;
|
||
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
|
||
|
}
|
||
|
|
||
|
.message-text.fren {
|
||
|
background-color: var(--confirm-color);
|
||
|
color: white;
|
||
|
}
|
||
|
|
||
|
.timestamp {
|
||
|
font-size: 0.75rem;
|
||
|
color: var(--text-color);
|
||
|
margin-top: 0.5rem;
|
||
|
text-align: right;
|
||
|
}
|