2023-06-21 06:56:37 +03:00
|
|
|
@import '../../../styles/mixins';
|
2023-04-27 01:31:23 +03:00
|
|
|
|
2022-12-14 23:54:31 +03:00
|
|
|
// The button that is displayed to scroll to the bottom of the chat.
|
2022-07-01 20:35:14 +03:00
|
|
|
.toBottomWrap {
|
|
|
|
display: flex;
|
|
|
|
width: 100%;
|
|
|
|
justify-content: center;
|
|
|
|
position: absolute;
|
2023-03-04 02:25:22 +03:00
|
|
|
bottom: 75px;
|
2023-06-22 00:26:57 +03:00
|
|
|
color: var(--theme-color-components-chat-background);
|
2022-12-14 23:54:31 +03:00
|
|
|
|
|
|
|
button {
|
|
|
|
background-color: var(--theme-color-background-light);
|
|
|
|
z-index: 9999;
|
2023-06-21 06:56:37 +03:00
|
|
|
box-shadow: 0 1px 2px 0 rgb(0 0 0 / 10%), 0 1px 5px 0 rgb(0 0 0 / 12%);
|
2023-03-04 02:25:22 +03:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
opacity: 0;
|
|
|
|
animation: show 250ms forwards ease-in-out 500ms;
|
2023-05-09 05:28:56 +03:00
|
|
|
font-size: 12px;
|
|
|
|
font-weight: 600;
|
2022-09-30 14:17:22 +03:00
|
|
|
}
|
2022-07-01 20:35:14 +03:00
|
|
|
}
|
2022-07-02 10:08:36 +03:00
|
|
|
|
2022-09-13 09:43:59 +03:00
|
|
|
.chatContainer {
|
2022-10-01 11:34:59 +03:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2022-11-13 07:26:55 +03:00
|
|
|
background-color: var(--theme-color-components-chat-background);
|
2022-09-13 09:43:59 +03:00
|
|
|
height: 100%;
|
2023-05-09 05:28:56 +03:00
|
|
|
font-size: var(--chat-message-text-size);
|
2022-09-13 09:43:59 +03:00
|
|
|
}
|
2023-06-21 06:56:37 +03:00
|
|
|
|
2022-09-13 09:43:59 +03:00
|
|
|
.virtuoso {
|
|
|
|
width: auto;
|
2022-10-01 11:34:59 +03:00
|
|
|
flex-grow: 1;
|
2022-09-13 09:43:59 +03:00
|
|
|
overflow-y: scroll;
|
|
|
|
overflow-x: hidden;
|
2023-05-09 05:28:56 +03:00
|
|
|
margin-bottom: 5px;
|
2023-06-28 02:11:07 +03:00
|
|
|
overscroll-behavior: contain;
|
2022-09-13 09:43:59 +03:00
|
|
|
}
|
2022-11-13 23:37:31 +03:00
|
|
|
|
|
|
|
.virtuoso::-webkit-scrollbar {
|
2023-01-19 01:45:59 +03:00
|
|
|
display: none;
|
2022-11-13 23:37:31 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.virtuoso::-webkit-scrollbar-thumb {
|
2023-01-19 01:45:59 +03:00
|
|
|
display: none;
|
2022-11-13 23:37:31 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.chatTextField {
|
|
|
|
border-top: 1px solid lightgray;
|
|
|
|
}
|
2023-03-04 02:25:22 +03:00
|
|
|
|
|
|
|
@keyframes show {
|
|
|
|
from {
|
|
|
|
opacity: 0;
|
|
|
|
transform: translateY(5px);
|
2023-05-09 05:28:56 +03:00
|
|
|
}
|
2023-06-21 06:56:37 +03:00
|
|
|
|
2023-05-09 05:28:56 +03:00
|
|
|
to {
|
2023-03-04 02:25:22 +03:00
|
|
|
opacity: 1;
|
2023-06-21 06:56:37 +03:00
|
|
|
transform: translateY(0);
|
2023-03-04 02:25:22 +03:00
|
|
|
}
|
|
|
|
}
|