2020-08-24 13:30:42 +03:00
|
|
|
/* some base styles for chat and messaging components */
|
|
|
|
|
2020-08-22 09:44:10 +03:00
|
|
|
#chat-container {
|
|
|
|
position: fixed;
|
|
|
|
z-index: 9;
|
|
|
|
top: var(--header-height);
|
|
|
|
right: 0;
|
|
|
|
width: var(--right-col-width);
|
|
|
|
|
|
|
|
height: calc(100vh - 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-09-22 06:11:09 +03:00
|
|
|
|
2020-08-22 01:55:52 +03:00
|
|
|
#message-input img {
|
|
|
|
display: inline;
|
|
|
|
vertical-align: middle;
|
2020-08-22 09:44:10 +03:00
|
|
|
padding: .25rem;
|
2020-08-22 01:55:52 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
#message-input .emoji {
|
2020-08-22 09:44:10 +03:00
|
|
|
width: 2.2rem;
|
|
|
|
padding: .25rem;
|
2020-08-22 01:55:52 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* If the div is empty then show the placeholder */
|
|
|
|
#message-input:empty:before{
|
|
|
|
content: attr(placeholderText);
|
|
|
|
pointer-events: none;
|
|
|
|
display: block; /* For Firefox */
|
|
|
|
color: rgba(0, 0, 0, 0.5);
|
|
|
|
}
|
|
|
|
|
|
|
|
/* When chat is enabled (contenteditable=true) */
|
|
|
|
#message-input[contenteditable=true]:before {
|
|
|
|
opacity: 1.0;
|
|
|
|
}
|
|
|
|
|
2020-09-22 06:11:09 +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,
|
|
|
|
#message-input[contenteditable=false] {
|
|
|
|
opacity: 0.6;
|
|
|
|
}
|
|
|
|
/******************************/
|
|
|
|
/******************************/
|
|
|
|
|
|
|
|
|
2020-09-22 06:11:09 +03:00
|
|
|
/******************************/
|
|
|
|
/* EMOJI PICKER OVERRIDES */
|
|
|
|
.emoji-picker.owncast {
|
|
|
|
--secondary-text-color: rgba(255,255,255,.5);
|
|
|
|
--category-button-color: rgba(255,255,255,.5);
|
2020-10-03 23:42:48 +03:00
|
|
|
--hover-color: rgba(255,255,255,.25);
|
2020-09-22 06:11:09 +03:00
|
|
|
|
|
|
|
background: rgba(26,32,44,1); /* tailwind bg-gray-900 */
|
|
|
|
color: rgba(226,232,240,1); /* tailwind text-gray-300 */
|
|
|
|
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-09-22 06:11:09 +03:00
|
|
|
box-shadow: inset 0 0 3px rgba(0,0,0,0.3);
|
|
|
|
}
|
|
|
|
|
|
|
|
.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 {
|
|
|
|
scrollbar-color: var(--category-button-color) black;
|
|
|
|
}
|
|
|
|
|
2020-09-22 06:11:09 +03:00
|
|
|
|
|
|
|
/******************************/
|
2020-08-13 12:43:41 +03:00
|
|
|
|
2020-08-13 11:28:25 +03:00
|
|
|
.message-avatar {
|
2020-08-22 09:44:10 +03:00
|
|
|
height: 3.0em;
|
|
|
|
width: 3.0em;
|
2020-08-13 11:28:25 +03:00
|
|
|
}
|
|
|
|
.message-avatar img {
|
|
|
|
max-width: unset;
|
|
|
|
height: 3.0em;
|
|
|
|
width: 3.0em;
|
|
|
|
padding: 5px;
|
|
|
|
}
|
|
|
|
|
2020-08-19 10:16:35 +03:00
|
|
|
|
|
|
|
|
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 {
|
2020-08-13 11:28:25 +03:00
|
|
|
color: #7F9CF5; /* indigo-400 */
|
|
|
|
}
|
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-08-22 09:44:10 +03:00
|
|
|
padding-left: 0 .25rem;
|
2020-08-13 12:43:41 +03:00
|
|
|
}
|
|
|
|
|
2020-08-22 09:44:10 +03:00
|
|
|
|
2020-08-19 10:16:35 +03:00
|
|
|
|
|
|
|
.message-text .emoji {
|
2020-08-22 09:44:10 +03:00
|
|
|
width: 3rem;
|
|
|
|
padding: .25rem
|
2020-08-13 12:43:41 +03:00
|
|
|
}
|
|
|
|
|
2020-08-22 09:44:10 +03:00
|
|
|
.message-text code {
|
|
|
|
font-family: monospace;
|
|
|
|
background-color:darkslategrey;
|
|
|
|
padding: .25rem;
|
|
|
|
}
|
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-08-22 10:09:01 +03:00
|
|
|
border-radius: .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
|
|
|
}
|
|
|
|
|
2020-08-22 10:09:01 +03:00
|
|
|
|
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 */
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2020-08-13 12:43:41 +03:00
|
|
|
|
|
|
|
|
2020-08-17 19:00:36 +03:00
|
|
|
|
|
|
|
|