Rev 16008 | AutorÃa | Comparar con el anterior | Ultima modificación | Ver Log |
@import '../../../css/shared/variables.scss';
.chat {
background-color: $bg-color;
border-radius: $border-radius;
border: 1px solid $border-primary;
height: 80vh;
display: flex;
flex-direction: column;
position: relative;
.chat_header {
padding: .5rem;
text-align: center;
border-bottom: 1px solid $border-primary;
position: relative;
h2 {
font-size: 1.5rem;
font-weight: 500;
}
}
@media (max-width: 768px) {
height: 100vh;
padding: 0 0.5rem;
}
}
.messagesContainer {
display: flex;
flex-flow: column-reverse;
flex-wrap: nowrap;
height: 85%;
padding: 0 1.5rem 0.5rem;
overflow: auto;
}
.messageWrapper {
display: flex;
flex-direction: column;
}
.chat__input__container {
border-top: 1px solid $border-primary;
padding: 0.5rem;
position: relative;
form {
display: flex;
justify-content: center;
align-items: center;
gap: 0.5rem;
}
}
.chatInput {
border: none;
outline: none;
flex: 1;
padding: 0.5rem 1rem;
border-radius: 30px;
background: $bg-color-secondary;
resize: none;
&:focus {
background: $bg-color-secondary;
}
}
.send_btn,
.icon_btn {
border: none;
display: grid;
font-size: 1.5rem;
place-items: center;
color: $font-color;
}
.chatUserImage {
width: 15%;
object-fit: cover;
}