2020-08-13 11:28:25 +03:00
|
|
|
|
|
|
|
#messages-container {
|
|
|
|
overflow: auto;
|
|
|
|
padding: 1em 0;
|
|
|
|
}
|
2020-08-19 10:16:35 +03:00
|
|
|
|
2020-08-13 11:28:25 +03:00
|
|
|
#message-input-container {
|
|
|
|
width: 100%;
|
|
|
|
padding: 1em;
|
|
|
|
}
|
|
|
|
|
2020-08-22 01:55:52 +03:00
|
|
|
/******************************/
|
|
|
|
/******************************/
|
|
|
|
#message-input {
|
|
|
|
height: 5rem;
|
|
|
|
font-size: .85em;
|
|
|
|
}
|
|
|
|
#message-input img {
|
|
|
|
display: inline;
|
|
|
|
vertical-align: middle;
|
|
|
|
padding: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#message-input .emoji {
|
|
|
|
width: 2.2em;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* 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 11:28:25 +03:00
|
|
|
flex-direction: column;
|
|
|
|
align-items: flex-end;
|
|
|
|
margin-bottom: 0;
|
2020-08-22 01:55:52 +03:00
|
|
|
} */
|
2020-08-13 11:28:25 +03:00
|
|
|
|
2020-08-19 10:16:35 +03:00
|
|
|
|
2020-08-13 11:28:25 +03:00
|
|
|
|
|
|
|
#message-form-actions {
|
|
|
|
flex-direction: row;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
2020-08-19 10:16:35 +03:00
|
|
|
#message-form-actions-buttons {
|
|
|
|
flex-direction: row;
|
|
|
|
justify-content: flex-end;
|
|
|
|
align-items: center;
|
2020-08-13 11:28:25 +03:00
|
|
|
}
|
|
|
|
|
2020-08-19 10:16:35 +03:00
|
|
|
/* Emoji picker button */
|
|
|
|
#emoji-button {
|
|
|
|
font-size: 1.75em;
|
|
|
|
cursor: pointer;
|
|
|
|
margin-right: .5em;
|
2020-08-13 11:28:25 +03:00
|
|
|
}
|
2020-08-20 00:46:20 +03:00
|
|
|
.emoji-picker__emoji {
|
|
|
|
border-radius: 10px;
|
|
|
|
}
|
2020-08-13 11:28:25 +03:00
|
|
|
|
2020-08-13 12:43:41 +03:00
|
|
|
|
2020-08-13 11:28:25 +03:00
|
|
|
.message {
|
|
|
|
padding: .85em;
|
|
|
|
align-items: flex-start;
|
|
|
|
}
|
|
|
|
.message-avatar {
|
|
|
|
margin-right: .75em;
|
|
|
|
}
|
|
|
|
.message-avatar img {
|
|
|
|
max-width: unset;
|
|
|
|
height: 3.0em;
|
|
|
|
width: 3.0em;
|
|
|
|
padding: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.message-content {
|
|
|
|
font-size: .85em;
|
|
|
|
max-width: 85%;
|
|
|
|
word-wrap: break-word;
|
|
|
|
}
|
2020-08-19 10:16:35 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* MESSAGE TEXT CONTENT */
|
|
|
|
/* MESSAGE TEXT CONTENT */
|
|
|
|
/* MESSAGE TEXT CONTENT */
|
|
|
|
.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;
|
|
|
|
padding-left: 5px;
|
|
|
|
padding-right: 5px;
|
2020-08-13 12:43:41 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.message-text code {
|
|
|
|
background-color:darkslategrey;
|
|
|
|
padding: 3px;
|
|
|
|
}
|
2020-08-19 10:16:35 +03:00
|
|
|
|
|
|
|
.message-text .emoji {
|
|
|
|
width: 60px;
|
2020-08-13 12:43:41 +03:00
|
|
|
}
|
|
|
|
|
2020-08-19 10:16:35 +03:00
|
|
|
|
|
|
|
.message-text iframe {
|
2020-08-13 12:43:41 +03:00
|
|
|
width: 100%;
|
|
|
|
height: 170px;
|
|
|
|
border-radius: 15px;
|
|
|
|
}
|
|
|
|
|
2020-08-19 10:16:35 +03:00
|
|
|
.message-text .instagram-embed {
|
|
|
|
height: 314px;
|
2020-08-13 12:43:41 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.message-text .embedded-image {
|
|
|
|
width: 100%;
|
|
|
|
height: 170px;
|
|
|
|
border-radius: 15px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.message-text .highlighted {
|
|
|
|
color: orange;
|
|
|
|
font-weight: 400;
|
|
|
|
font-size: 14px;
|
|
|
|
}
|
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
|
|
|
|
|
|
|
|