2020-08-24 13:30:42 +03:00
|
|
|
/* some base styles for chat and messaging components */
|
|
|
|
|
2021-04-12 00:08:06 +03:00
|
|
|
:root {
|
|
|
|
/* Override this in your custom CSS to change the
|
|
|
|
opacity of the message backgrounds. */
|
|
|
|
--message-background-alpha: 0.3;
|
|
|
|
}
|
|
|
|
|
2020-08-22 09:44:10 +03:00
|
|
|
#chat-container {
|
|
|
|
position: fixed;
|
|
|
|
z-index: 9;
|
2021-01-10 05:17:10 +03:00
|
|
|
bottom: 0;
|
2020-08-22 09:44:10 +03:00
|
|
|
right: 0;
|
|
|
|
width: var(--right-col-width);
|
|
|
|
|
|
|
|
height: calc(100vh - var(--header-height));
|
|
|
|
}
|
|
|
|
|
2021-01-10 05:17:10 +03:00
|
|
|
@media screen and (max-width: 729px) {
|
|
|
|
#chat-container {
|
|
|
|
top: var(--header-height);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-08-24 13:30:42 +03:00
|
|
|
#message-input-container {
|
|
|
|
width: var(--right-col-width);
|
2020-08-22 09:44:10 +03:00
|
|
|
}
|
|
|
|
|
2020-09-22 06:11:09 +03:00
|
|
|
#message-input-wrap {
|
|
|
|
min-height: 2.5rem;
|
|
|
|
max-height: 5rem;
|
|
|
|
}
|
|
|
|
#message-form-actions {
|
|
|
|
right: 2rem;
|
|
|
|
bottom: 1.88rem;
|
|
|
|
}
|
|
|
|
#emoji-button {
|
|
|
|
height: 1.75rem;
|
|
|
|
width: 1.75rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
#message-form-warning {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.display-count #message-form-warning {
|
|
|
|
display: block;
|
2020-08-22 09:44:10 +03:00
|
|
|
}
|
|
|
|
|
2020-08-22 01:55:52 +03:00
|
|
|
/******************************/
|
|
|
|
/******************************/
|
2020-08-24 04:33:19 +03:00
|
|
|
|
2020-08-22 01:55:52 +03:00
|
|
|
#message-input img {
|
|
|
|
display: inline;
|
|
|
|
vertical-align: middle;
|
2020-10-23 00:14:44 +03:00
|
|
|
padding: 0.25rem;
|
2020-08-22 01:55:52 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
#message-input .emoji {
|
2020-08-22 09:44:10 +03:00
|
|
|
width: 2.2rem;
|
2020-10-23 00:14:44 +03:00
|
|
|
padding: 0.25rem;
|
2020-08-22 01:55:52 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
/* If the div is empty then show the placeholder */
|
2020-10-23 00:14:44 +03:00
|
|
|
#message-input:empty:before {
|
2020-08-22 01:55:52 +03:00
|
|
|
content: attr(placeholderText);
|
|
|
|
pointer-events: none;
|
|
|
|
display: block; /* For Firefox */
|
|
|
|
color: rgba(0, 0, 0, 0.5);
|
|
|
|
}
|
|
|
|
|
|
|
|
/* When chat is enabled (contenteditable=true) */
|
2020-10-23 00:14:44 +03:00
|
|
|
#message-input[contenteditable='true']:before {
|
|
|
|
opacity: 1;
|
2020-08-22 01:55:52 +03:00
|
|
|
}
|
|
|
|
|
2020-10-23 00:14:44 +03:00
|
|
|
#message-input::selection {
|
|
|
|
background: #d7ddf4;
|
|
|
|
}
|
2020-08-22 01:55:52 +03:00
|
|
|
|
|
|
|
/* When chat is disabled (contenteditable=false) chat input div should appear disabled. */
|
|
|
|
#message-input:disabled,
|
2020-10-23 00:14:44 +03:00
|
|
|
#message-input[contenteditable='false'] {
|
2020-08-22 01:55:52 +03:00
|
|
|
opacity: 0.6;
|
|
|
|
}
|
|
|
|
/******************************/
|
|
|
|
/******************************/
|
|
|
|
|
2020-09-22 06:11:09 +03:00
|
|
|
/******************************/
|
|
|
|
/* EMOJI PICKER OVERRIDES */
|
2021-01-10 05:26:56 +03:00
|
|
|
.emoji-picker__wrapper {
|
|
|
|
margin-top: -30px !important;
|
|
|
|
}
|
2020-09-22 06:11:09 +03:00
|
|
|
.emoji-picker.owncast {
|
2020-10-23 00:14:44 +03:00
|
|
|
--secondary-text-color: rgba(255, 255, 255, 0.5);
|
|
|
|
--category-button-color: rgba(255, 255, 255, 0.5);
|
|
|
|
--hover-color: rgba(255, 255, 255, 0.25);
|
2020-09-22 06:11:09 +03:00
|
|
|
|
2020-10-23 00:14:44 +03:00
|
|
|
background: rgba(26, 32, 44, 1); /* tailwind bg-gray-900 */
|
|
|
|
color: rgba(226, 232, 240, 1); /* tailwind text-gray-300 */
|
2020-09-22 06:11:09 +03:00
|
|
|
border-color: black;
|
|
|
|
font-family: inherit;
|
|
|
|
}
|
|
|
|
.emoji-picker h2 {
|
|
|
|
font-family: inherit;
|
|
|
|
}
|
|
|
|
|
2020-08-20 00:46:20 +03:00
|
|
|
.emoji-picker__emoji {
|
2020-08-24 05:37:06 +03:00
|
|
|
border-radius: 5px;
|
2020-08-20 00:46:20 +03:00
|
|
|
}
|
2020-08-13 11:28:25 +03:00
|
|
|
|
2020-09-22 06:11:09 +03:00
|
|
|
.emoji-picker__emojis::-webkit-scrollbar {
|
|
|
|
background: transparent;
|
|
|
|
border-radius: 8px;
|
|
|
|
}
|
|
|
|
.emoji-picker__emojis::-webkit-scrollbar-track {
|
|
|
|
border-radius: 8px;
|
2020-10-03 23:42:48 +03:00
|
|
|
background-color: black;
|
2020-10-23 00:14:44 +03:00
|
|
|
box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
|
2020-09-22 06:11:09 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.emoji-picker__emojis::-webkit-scrollbar-thumb {
|
2020-10-03 23:42:48 +03:00
|
|
|
background-color: var(--category-button-color);
|
2020-09-22 06:11:09 +03:00
|
|
|
border-radius: 8px;
|
|
|
|
}
|
|
|
|
|
2020-10-03 23:42:48 +03:00
|
|
|
.emoji-picker__emojis {
|
2020-10-23 00:14:44 +03:00
|
|
|
scrollbar-color: var(--category-button-color) black;
|
2020-10-03 23:42:48 +03:00
|
|
|
}
|
|
|
|
|
2020-12-04 09:28:16 +03:00
|
|
|
.emoji-picker__search {
|
|
|
|
color: rgba(26, 32, 44, 1);
|
|
|
|
}
|
|
|
|
|
2020-08-22 09:44:10 +03:00
|
|
|
/* MESSAGE TEXT HTML */
|
|
|
|
/* MESSAGE TEXT HTML */
|
|
|
|
/* MESSAGE TEXT HTML */
|
2020-09-22 06:11:09 +03:00
|
|
|
.message-text {
|
|
|
|
word-break: break-word;
|
|
|
|
}
|
2020-08-19 10:16:35 +03:00
|
|
|
.message-text a {
|
2021-02-19 10:05:52 +03:00
|
|
|
color: #ffffff;
|
|
|
|
text-shadow: 0px 1px #0a0a0a75;
|
|
|
|
font-size: 0.95rem;
|
2020-08-13 11:28:25 +03:00
|
|
|
}
|
2020-08-19 10:16:35 +03:00
|
|
|
.message-text a:hover {
|
2020-08-13 11:28:25 +03:00
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
|
2020-08-19 10:16:35 +03:00
|
|
|
.message-text img {
|
|
|
|
display: inline;
|
2020-10-23 00:14:44 +03:00
|
|
|
padding-left: 0 0.25rem;
|
2020-08-13 12:43:41 +03:00
|
|
|
}
|
|
|
|
|
2020-08-19 10:16:35 +03:00
|
|
|
.message-text .emoji {
|
2020-10-14 02:45:52 +03:00
|
|
|
position: relative;
|
|
|
|
top: -5px;
|
2020-08-22 09:44:10 +03:00
|
|
|
width: 3rem;
|
2020-10-23 00:14:44 +03:00
|
|
|
padding: 0.25rem;
|
2020-08-13 12:43:41 +03:00
|
|
|
}
|
|
|
|
|
2020-08-22 09:44:10 +03:00
|
|
|
.message-text code {
|
|
|
|
font-family: monospace;
|
2020-10-23 00:14:44 +03:00
|
|
|
background-color: darkslategrey;
|
|
|
|
padding: 0.25rem;
|
2020-08-22 09:44:10 +03:00
|
|
|
}
|
2020-08-19 10:16:35 +03:00
|
|
|
|
2020-08-22 10:09:01 +03:00
|
|
|
.message-text .chat-embed {
|
2020-08-13 12:43:41 +03:00
|
|
|
width: 100%;
|
2020-10-23 00:14:44 +03:00
|
|
|
border-radius: 0.25rem;
|
2020-08-13 12:43:41 +03:00
|
|
|
}
|
|
|
|
|
2020-08-19 10:16:35 +03:00
|
|
|
.message-text .instagram-embed {
|
2020-08-22 10:09:01 +03:00
|
|
|
height: 24rem;
|
2020-08-13 12:43:41 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.message-text .embedded-image {
|
|
|
|
width: 100%;
|
2020-08-22 09:44:10 +03:00
|
|
|
display: block;
|
2020-08-22 10:09:01 +03:00
|
|
|
/* height: 15rem; */
|
|
|
|
}
|
|
|
|
|
|
|
|
.message-text .youtube-embed {
|
2020-08-27 22:25:46 +03:00
|
|
|
width: 90%;
|
2020-08-26 21:15:09 +03:00
|
|
|
height: auto;
|
2020-08-13 12:43:41 +03:00
|
|
|
}
|
|
|
|
|
2020-08-19 10:16:35 +03:00
|
|
|
/* MESSAGE TEXT CONTENT */
|
|
|
|
/* MESSAGE TEXT CONTENT */
|
|
|
|
/* MESSAGE TEXT CONTENT */
|
|
|
|
/* MESSAGE TEXT CONTENT */
|
|
|
|
|