owncast/web/components/chat/ChatTextField/ChatTextField.module.scss
gingervitis 44483a45d3
some webv2 UI polish (#2940)
* 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>
2023-04-24 10:58:57 -07:00

65 lines
1.4 KiB
SCSS

@import '../../../styles/mixins.scss';
.root {
position: relative;
display: flex;
bottom: 0px;
width: 100%;
padding: 0.6em;
overflow-x: hidden;
background-color: var(--theme-color-components-chat-background);
.inputWrap {
position: relative;
display: flex;
color: var(--theme-color-components-form-field-text);
background-color: var(--theme-color-palette-3);
border-radius: var(--theme-rounded-corners);
bottom: 0px;
width: 100%;
padding: 0.3rem;
overflow-x: hidden;
transition: box-shadow 90ms ease-in-out;
&:focus-within {
background-color: var(--theme-color-components-form-field-background);
box-shadow: inset 0px 0px 2px 2px var(--theme-color-palette-3);
}
}
.maxCharacters {
border-style: solid;
border-width: 1px;
border-color: red;
}
div[role='textbox'] {
font-size: 13px;
font-weight: 400;
padding: 0.3rem;
background-color: inherit;
border-color: var(--theme-color-components-form-field-border);
box-shadow: 0;
transition: box-shadow 50ms ease-in-out;
&:focus {
outline: 1px solid var(--color-owncast-gray-500) !important;
}
& > p {
margin: 0px;
}
}
}
.emojiButton {
border: none;
background: none;
cursor: pointer;
padding: 0 .25rem;
}
.sendButton {
border: none;
background: none;
cursor: pointer;
padding: 0 1rem;
}