mirror of
https://github.com/owncast/owncast.git
synced 2024-11-22 21:03:19 +03:00
44483a45d3
* style tweaks for Action Button, UserMenu, Modal * a bunch of misc polish; some around chat * Prettified Code! * cleanup * fix formatting * Reduce content padding a bit * some stylesheet cleanup * fix action button sizing * Remove action button height completely --------- Co-authored-by: gingervitis <gingervitis@users.noreply.github.com> Co-authored-by: Gabe Kangas <gabek@real-ity.com>
57 lines
1.1 KiB
SCSS
57 lines
1.1 KiB
SCSS
// The button that is displayed to scroll to the bottom of the chat.
|
|
.toBottomWrap {
|
|
display: flex;
|
|
width: 100%;
|
|
justify-content: center;
|
|
position: absolute;
|
|
bottom: 75px;
|
|
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);
|
|
display: flex;
|
|
align-items: center;
|
|
opacity: 0;
|
|
animation: show 250ms forwards ease-in-out 500ms;
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
}
|
|
}
|
|
|
|
.chatContainer {
|
|
display: flex;
|
|
flex-direction: column;
|
|
background-color: var(--theme-color-components-chat-background);
|
|
height: 100%;
|
|
font-size: var(--chat-message-text-size);
|
|
}
|
|
.virtuoso {
|
|
width: auto;
|
|
flex-grow: 1;
|
|
overflow-y: scroll;
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
.virtuoso::-webkit-scrollbar {
|
|
display: none;
|
|
}
|
|
|
|
.virtuoso::-webkit-scrollbar-thumb {
|
|
display: none;
|
|
}
|
|
|
|
.chatTextField {
|
|
border-top: 1px solid lightgray;
|
|
}
|
|
|
|
@keyframes show {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(5px);
|
|
} to {
|
|
opacity: 1;
|
|
transform: translateY(0px);
|
|
}
|
|
}
|