2022-05-04 00:55:13 +03:00
|
|
|
.root {
|
2022-07-03 13:36:30 +03:00
|
|
|
position: relative;
|
2022-08-22 04:47:08 +03:00
|
|
|
display: flex;
|
2022-05-22 09:37:23 +03:00
|
|
|
bottom: 0px;
|
|
|
|
width: 100%;
|
2022-10-01 11:34:59 +03:00
|
|
|
padding: 5px 1vw;
|
2022-05-22 09:37:23 +03:00
|
|
|
overflow-x: hidden;
|
2022-08-30 09:17:12 +03:00
|
|
|
|
2022-10-01 11:34:59 +03:00
|
|
|
.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);
|
|
|
|
// outline: 1px solid var(--theme-color-components-form-field-border);
|
|
|
|
box-shadow: inset 0px 0px 2px 2px var(--theme-color-palette-3);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-08-22 04:47:08 +03:00
|
|
|
div[role='textbox'] {
|
2022-05-22 15:28:51 +03:00
|
|
|
font-size: 0.9rem;
|
2022-10-01 11:34:59 +03:00
|
|
|
padding: 0.3rem;
|
|
|
|
background-color: inherit;
|
2022-08-30 09:17:12 +03:00
|
|
|
border-color: var(--theme-color-components-form-field-border);
|
2022-07-08 23:20:22 +03:00
|
|
|
box-shadow: 0;
|
|
|
|
transition: box-shadow 50ms ease-in-out;
|
|
|
|
&:focus {
|
|
|
|
outline: 1px solid var(--color-owncast-gray-500) !important;
|
|
|
|
}
|
2022-05-17 17:36:07 +03:00
|
|
|
& > p {
|
|
|
|
margin: 0px;
|
|
|
|
}
|
|
|
|
}
|
2022-05-22 09:37:23 +03:00
|
|
|
}
|
2022-08-22 04:47:08 +03:00
|
|
|
|
|
|
|
.emojiButton {
|
|
|
|
border: none;
|
|
|
|
background: none;
|
|
|
|
cursor: pointer;
|
|
|
|
padding: 0 1rem;
|
|
|
|
}
|
2022-10-05 05:04:23 +03:00
|
|
|
|
|
|
|
.sendButton {
|
|
|
|
border: none;
|
|
|
|
background: none;
|
|
|
|
cursor: pointer;
|
|
|
|
padding: 0 1rem;
|
|
|
|
display: none;
|
|
|
|
|
|
|
|
// Only show the chat send button on narrow screens to assist in mobile use.
|
|
|
|
@media (max-width: 768px) {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|