owncast/web/components/chat/ChatContainer/ChatContainer.module.scss

58 lines
1.2 KiB
SCSS
Raw Normal View History

2022-12-14 23:54:31 +03:00
// The button that is displayed to scroll to the bottom of the chat.
.toBottomWrap {
display: flex;
width: 100%;
justify-content: center;
position: absolute;
bottom: 50px;
2022-12-14 23:54:31 +03:00
color: var(--theme-color-components-text-on-light);
button {
background-color: var(--theme-color-background-light);
z-index: 9999;
box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.1), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
}
}
.nameChangeView {
display: flex;
font-size: 0.9rem;
border-radius: var(--theme-rounded-corners);
padding: 5px 15px;
2022-12-14 23:54:31 +03:00
color: var(--theme-color-components-text-on-light);
background-color: var(--color-owncast-background);
& .nameChangeText {
font-weight: bold;
2022-08-22 02:01:35 +03:00
font-family: var(--theme-text-display-font-family);
& .plain {
font-weight: normal;
2022-08-22 02:01:35 +03:00
font-family: var(--theme-text-body-font-family) !important;
}
}
}
.chatContainer {
2022-10-01 11:34:59 +03:00
display: flex;
flex-direction: column;
background-color: var(--theme-color-components-chat-background);
height: 100%;
}
.virtuoso {
width: auto;
2022-10-01 11:34:59 +03:00
flex-grow: 1;
overflow-y: scroll;
overflow-x: hidden;
}
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;
}