2020-08-24 12:30:42 +02:00
|
|
|
/* some base styles for chat and messaging components */
|
|
|
|
|
2020-08-22 08:44:10 +02: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 12:30:42 +02:00
|
|
|
#message-input-container {
|
|
|
|
width: var(--right-col-width);
|
2020-08-22 08:44:10 +02:00
|
|
|
}
|
|
|
|
|
2020-08-24 12:30:42 +02:00
|
|
|
#messages-container {
|
|
|
|
padding-bottom: 10rem;
|
2020-08-22 08:44:10 +02:00
|
|
|
}
|
|
|
|
|
2020-08-22 00:55:52 +02:00
|
|
|
/******************************/
|
|
|
|
/******************************/
|
2020-08-24 03:33:19 +02:00
|
|
|
|
2020-08-22 00:55:52 +02:00
|
|
|
#message-input img {
|
|
|
|
display: inline;
|
|
|
|
vertical-align: middle;
|
2020-08-22 08:44:10 +02:00
|
|
|
padding: .25rem;
|
2020-08-22 00:55:52 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
#message-input .emoji {
|
2020-08-22 08:44:10 +02:00
|
|
|
width: 2.2rem;
|
|
|
|
padding: .25rem;
|
2020-08-22 00:55:52 +02: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;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* When chat is disabled (contenteditable=false) chat input div should appear disabled. */
|
|
|
|
#message-input:disabled,
|
|
|
|
#message-input[contenteditable=false] {
|
|
|
|
opacity: 0.6;
|
|
|
|
}
|
|
|
|
/******************************/
|
|
|
|
/******************************/
|
|
|
|
|
|
|
|
|
2020-08-19 23:46:20 +02:00
|
|
|
.emoji-picker__emoji {
|
2020-08-24 04:37:06 +02:00
|
|
|
border-radius: 5px;
|
2020-08-19 23:46:20 +02:00
|
|
|
}
|
2020-08-13 10:28:25 +02:00
|
|
|
|
2020-08-13 11:43:41 +02:00
|
|
|
|
2020-08-13 10:28:25 +02:00
|
|
|
.message-avatar {
|
2020-08-22 08:44:10 +02:00
|
|
|
height: 3.0em;
|
|
|
|
width: 3.0em;
|
2020-08-13 10:28:25 +02:00
|
|
|
}
|
|
|
|
.message-avatar img {
|
|
|
|
max-width: unset;
|
|
|
|
height: 3.0em;
|
|
|
|
width: 3.0em;
|
|
|
|
padding: 5px;
|
|
|
|
}
|
|
|
|
|
2020-08-19 09:16:35 +02:00
|
|
|
|
|
|
|
|
2020-08-22 08:44:10 +02:00
|
|
|
/* MESSAGE TEXT HTML */
|
|
|
|
/* MESSAGE TEXT HTML */
|
|
|
|
/* MESSAGE TEXT HTML */
|
2020-08-19 09:16:35 +02:00
|
|
|
.message-text a {
|
2020-08-13 10:28:25 +02:00
|
|
|
color: #7F9CF5; /* indigo-400 */
|
|
|
|
}
|
2020-08-19 09:16:35 +02:00
|
|
|
.message-text a:hover {
|
2020-08-13 10:28:25 +02:00
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
|
2020-08-19 09:16:35 +02:00
|
|
|
.message-text img {
|
|
|
|
display: inline;
|
2020-08-22 08:44:10 +02:00
|
|
|
padding-left: 0 .25rem;
|
2020-08-13 11:43:41 +02:00
|
|
|
}
|
|
|
|
|
2020-08-22 08:44:10 +02:00
|
|
|
|
2020-08-19 09:16:35 +02:00
|
|
|
|
|
|
|
.message-text .emoji {
|
2020-08-22 08:44:10 +02:00
|
|
|
width: 3rem;
|
|
|
|
padding: .25rem
|
2020-08-13 11:43:41 +02:00
|
|
|
}
|
|
|
|
|
2020-08-22 08:44:10 +02:00
|
|
|
.message-text code {
|
|
|
|
font-family: monospace;
|
|
|
|
background-color:darkslategrey;
|
|
|
|
padding: .25rem;
|
|
|
|
}
|
2020-08-19 09:16:35 +02:00
|
|
|
|
2020-09-14 07:02:04 +02:00
|
|
|
/* Hide emoji button on small screens */
|
|
|
|
@media screen and (max-width: 860px) {
|
|
|
|
#emoji-button {
|
|
|
|
/* Emoji library overrides this so important is needed */
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
}
|
2020-08-22 09:09:01 +02:00
|
|
|
|
|
|
|
|
|
|
|
.message-text .chat-embed {
|
2020-08-13 11:43:41 +02:00
|
|
|
width: 100%;
|
2020-08-22 09:09:01 +02:00
|
|
|
border-radius: .25rem;
|
2020-08-13 11:43:41 +02:00
|
|
|
}
|
|
|
|
|
2020-08-19 09:16:35 +02:00
|
|
|
.message-text .instagram-embed {
|
2020-08-22 09:09:01 +02:00
|
|
|
height: 24rem;
|
2020-08-13 11:43:41 +02:00
|
|
|
}
|
|
|
|
|
2020-08-22 09:09:01 +02:00
|
|
|
|
2020-08-13 11:43:41 +02:00
|
|
|
.message-text .embedded-image {
|
|
|
|
width: 100%;
|
2020-08-22 08:44:10 +02:00
|
|
|
display: block;
|
2020-08-22 09:09:01 +02:00
|
|
|
/* height: 15rem; */
|
|
|
|
}
|
|
|
|
|
|
|
|
.message-text .youtube-embed {
|
2020-08-27 21:25:46 +02:00
|
|
|
width: 90%;
|
2020-08-26 20:15:09 +02:00
|
|
|
height: auto;
|
2020-08-13 11:43:41 +02:00
|
|
|
}
|
|
|
|
|
2020-08-19 09:16:35 +02:00
|
|
|
/* MESSAGE TEXT CONTENT */
|
|
|
|
/* MESSAGE TEXT CONTENT */
|
|
|
|
/* MESSAGE TEXT CONTENT */
|
|
|
|
/* MESSAGE TEXT CONTENT */
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2020-08-13 11:43:41 +02:00
|
|
|
|
|
|
|
|
2020-08-17 18:00:36 +02:00
|
|
|
|
|
|
|
|