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));
|
|
|
|
|
|
|
|
/* overflow: hidden; */
|
|
|
|
/* display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: flex-end; */
|
|
|
|
}
|
|
|
|
|
|
|
|
.touch-screen #chat-container {
|
|
|
|
height: calc(100vh - var(--header-height) - 3vh);
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.no-chat #chat-container-wrap {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.chat #chat-container-wrap {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2020-08-13 10:28:25 +02:00
|
|
|
|
|
|
|
#messages-container {
|
2020-08-22 08:44:10 +02:00
|
|
|
/* overflow: auto;
|
|
|
|
padding: 1em 0; */
|
2020-08-13 10:28:25 +02:00
|
|
|
}
|
2020-08-19 09:16:35 +02:00
|
|
|
|
2020-08-13 10:28:25 +02:00
|
|
|
#message-input-container {
|
2020-08-22 08:44:10 +02:00
|
|
|
/* width: 100%; */
|
|
|
|
/* padding: 1em; */
|
2020-08-13 10:28:25 +02:00
|
|
|
}
|
|
|
|
|
2020-08-22 00:55:52 +02:00
|
|
|
/******************************/
|
|
|
|
/******************************/
|
|
|
|
#message-input {
|
2020-08-22 08:44:10 +02:00
|
|
|
/* height: 5rem; */
|
|
|
|
/* font-size: .85em; */
|
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;
|
|
|
|
}
|
|
|
|
/******************************/
|
|
|
|
/******************************/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* #message-form {
|
2020-08-13 10:28:25 +02:00
|
|
|
flex-direction: column;
|
|
|
|
align-items: flex-end;
|
|
|
|
margin-bottom: 0;
|
2020-08-22 00:55:52 +02:00
|
|
|
} */
|
2020-08-13 10:28:25 +02:00
|
|
|
|
2020-08-19 09:16:35 +02:00
|
|
|
|
2020-08-13 10:28:25 +02:00
|
|
|
|
|
|
|
#message-form-actions {
|
2020-08-22 08:44:10 +02:00
|
|
|
/* flex-direction: row;
|
2020-08-13 10:28:25 +02:00
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
2020-08-22 08:44:10 +02:00
|
|
|
width: 100%; */
|
2020-08-13 10:28:25 +02:00
|
|
|
}
|
|
|
|
|
2020-08-19 09:16:35 +02:00
|
|
|
#message-form-actions-buttons {
|
2020-08-22 08:44:10 +02:00
|
|
|
/* flex-direction: row;
|
2020-08-19 09:16:35 +02:00
|
|
|
justify-content: flex-end;
|
2020-08-22 08:44:10 +02:00
|
|
|
align-items: center; */
|
2020-08-13 10:28:25 +02:00
|
|
|
}
|
|
|
|
|
2020-08-19 09:16:35 +02:00
|
|
|
/* Emoji picker button */
|
|
|
|
#emoji-button {
|
2020-08-22 08:44:10 +02:00
|
|
|
/* font-size: 1.75em; */
|
|
|
|
/* cursor: pointer;
|
|
|
|
margin-right: .5em; */
|
2020-08-13 10:28:25 +02:00
|
|
|
}
|
2020-08-19 23:46:20 +02:00
|
|
|
.emoji-picker__emoji {
|
|
|
|
border-radius: 10px;
|
|
|
|
}
|
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 {
|
2020-08-22 08:44:10 +02:00
|
|
|
/* padding: .85em; */
|
|
|
|
/* align-items: flex-start; */
|
2020-08-13 10:28:25 +02:00
|
|
|
}
|
|
|
|
.message-avatar {
|
2020-08-22 08:44:10 +02:00
|
|
|
height: 3.0em;
|
|
|
|
width: 3.0em;
|
|
|
|
/* margin-right: .75em; */
|
2020-08-13 10:28:25 +02:00
|
|
|
}
|
|
|
|
.message-avatar img {
|
|
|
|
max-width: unset;
|
|
|
|
height: 3.0em;
|
|
|
|
width: 3.0em;
|
|
|
|
padding: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.message-content {
|
2020-08-22 08:44:10 +02:00
|
|
|
/* font-size: .85em; */
|
2020-08-13 10:28:25 +02:00
|
|
|
max-width: 85%;
|
2020-08-22 08:44:10 +02:00
|
|
|
/* word-wrap: break-word; */
|
2020-08-13 10:28:25 +02:00
|
|
|
}
|
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
|
|
|
|
|
|
|
.message-text iframe {
|
2020-08-13 11:43:41 +02:00
|
|
|
width: 100%;
|
2020-08-22 08:44:10 +02:00
|
|
|
height: 12rem;
|
|
|
|
border-radius: 1rem;
|
2020-08-13 11:43:41 +02:00
|
|
|
}
|
|
|
|
|
2020-08-19 09:16:35 +02:00
|
|
|
.message-text .instagram-embed {
|
2020-08-22 08:44:10 +02:00
|
|
|
height: 22em;
|
2020-08-13 11:43:41 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.message-text .embedded-image {
|
|
|
|
width: 100%;
|
2020-08-22 08:44:10 +02:00
|
|
|
display: block;
|
|
|
|
height: 15rem;
|
|
|
|
border-radius: 1rem;
|
2020-08-13 11:43:41 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.message-text .highlighted {
|
2020-08-22 08:44:10 +02:00
|
|
|
/* color: orange;
|
2020-08-13 11:43:41 +02:00
|
|
|
font-weight: 400;
|
2020-08-22 08:44:10 +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
|
|
|
|
|
|
|
|