frontend / src /components /Chat /Chat.module.css
CreoCot
Fixed bug with sidebar chat buttons
2e45767
Raw
History Blame Contribute Delete
2.49 kB
html,
body {
margin: 0;
padding: 0;
overflow-x: hidden;
}
.chatContainer {
max-width: 1000px;
width: 80%;
margin: 0 auto;
display: flex;
flex-direction: column;
height: 100vh;
}
.chatContainer::-webkit-scrollbar-track {
display: none;
width: 0;
}
.chatContainer::-webkit-scrollbar {
display: none;
width: 0;
background: transparent;
}
.messageDisplay {
box-sizing: border-box;
flex-grow: 1;
overflow-y: auto;
padding-bottom: var(--spacing-md);
}
.messageDisplay::-webkit-scrollbar-track {
display: none;
width: 0;
}
.messageDisplay::-webkit-scrollbar {
display: none;
width: 0;
background: transparent;
}
.inputArea {
display: flex;
flex-direction: column;
justify-content: flex-end;
align-items: center;
width: 100%;
max-width: 1000px;
padding-bottom: var(--spacing-md);
box-sizing: border-box;
padding-top: 10px;
background-color: var(--background-surface-secondary);
flex-shrink: 0;
}
.uploadedFilesContainer {
display: flex;
flex-wrap: nowrap;
width: 100%;
justify-content: flex-start;
padding: 0 var(--spacing-md);
max-height: 150px;
-ms-overflow-style: none;
scrollbar-width: none;
&::-webkit-scrollbar {
display: none;
width: 0;
height: 0;
background: transparent;
}
overflow-x: auto;
}
.errorPopup {
display: flex;
justify-content: space-between;
align-items: center;
background-color: #ff4d4f;
color: white;
padding: 12px 18px;
border-radius: 8px;
margin-bottom: 15px;
text-align: left;
width: 100%;
box-sizing: border-box;
animation: slideIn var(--transition-speed-default) var(--bezier-custom);
}
.errorMessage {
flex-grow: 1;
}
.closeButton {
background: none;
border: none;
color: white;
font-size: 24px;
cursor: pointer;
padding: 0 5px;
line-height: 1;
opacity: 0.7;
transition: opacity 0.2s ease;
}
.closeButton:hover {
opacity: 1;
}
@keyframes slideIn {
from {
opacity: 0;
transform: translateY(25px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.chatPlaceholder {
text-align: center;
color: var(--text-color-secondary);
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 100%;
width: 100%;
}
.chatPlaceholderTitle {
font-weight: bold;
margin-bottom: 0;
}
.chatPlaceholderDescription {
margin-top: 0;
}