2018-04-25 19:27:55 +02:00
|
|
|
#conversejs {
|
2020-10-16 09:02:12 +02:00
|
|
|
.styling-directive {
|
|
|
|
color: var(--subdued-color);
|
|
|
|
}
|
|
|
|
|
2019-05-21 16:18:14 +02:00
|
|
|
.older-msg {
|
|
|
|
time {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
}
|
2018-04-25 19:27:55 +02:00
|
|
|
.message {
|
2020-12-01 16:31:57 +01:00
|
|
|
.show-msg-author-modal {
|
|
|
|
color: var(--text-color) !important;
|
|
|
|
}
|
|
|
|
|
2020-10-16 09:02:12 +02:00
|
|
|
blockquote {
|
|
|
|
margin-left: 0.5em;
|
|
|
|
margin-bottom: 0.25em;
|
|
|
|
padding-right: 1em;
|
|
|
|
color: var(--subdued-color);
|
|
|
|
border-left: 0.3em solid var(--subdued-color);
|
|
|
|
padding-left: 0.5em;
|
2020-12-01 10:21:21 +01:00
|
|
|
display: inline-block;
|
2020-10-16 09:02:12 +02:00
|
|
|
}
|
|
|
|
code {
|
|
|
|
font-family: monospace;
|
|
|
|
}
|
2018-08-16 12:15:23 +02:00
|
|
|
.mention {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
.mention--self {
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
2020-09-03 12:48:23 +02:00
|
|
|
&.date-separator,
|
|
|
|
&.separator {
|
2018-04-25 19:27:55 +02:00
|
|
|
height: 2em;
|
|
|
|
margin: 0;
|
|
|
|
position: relative;
|
|
|
|
text-align: center;
|
|
|
|
z-index: 0;
|
|
|
|
|
|
|
|
.separator {
|
2018-10-27 02:16:50 +02:00
|
|
|
border-top: 0px;
|
|
|
|
border-bottom: var(--chat-separator-border-bottom);
|
2018-04-25 19:27:55 +02:00
|
|
|
margin: 0 1em;
|
|
|
|
position: relative;
|
|
|
|
top: 1em;
|
|
|
|
z-index: 5;
|
|
|
|
}
|
|
|
|
|
|
|
|
.separator-text {
|
|
|
|
background: white;
|
|
|
|
bottom: 1px; // Offset needed due to .separator border size
|
2018-10-27 02:16:50 +02:00
|
|
|
color: var(--separator-text-color);
|
2018-04-25 19:27:55 +02:00
|
|
|
display: inline-block;
|
|
|
|
line-height: 2em;
|
2019-06-18 14:38:47 +02:00
|
|
|
padding: 0 1em;
|
2018-04-25 19:27:55 +02:00
|
|
|
position: relative;
|
|
|
|
z-index: 5;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-09-24 15:33:41 +02:00
|
|
|
&.chat-msg--retracted {
|
|
|
|
.chat-msg__message {
|
|
|
|
color: var(--subdued-color);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-04-25 19:27:55 +02:00
|
|
|
&.chat-info {
|
2018-10-25 20:42:56 +02:00
|
|
|
color: var(--chat-head-color);
|
|
|
|
font-size: var(--message-font-size);
|
|
|
|
line-height: var(--line-height-small);
|
2018-10-13 14:13:56 +02:00
|
|
|
font-size: 90%;
|
2019-06-18 14:38:47 +02:00
|
|
|
padding: 0.17rem 1rem;
|
2018-04-25 19:27:55 +02:00
|
|
|
|
|
|
|
&.badge {
|
2018-10-25 20:42:56 +02:00
|
|
|
color: var(--chat-head-text-color);
|
2018-04-25 19:27:55 +02:00
|
|
|
}
|
|
|
|
&.chat-state-notification {
|
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
&.chat-event {
|
|
|
|
clear: left;
|
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
&.chat-error {
|
2018-11-12 14:23:35 +01:00
|
|
|
color: var(--error-color);
|
2018-04-25 19:27:55 +02:00
|
|
|
font-weight: bold;
|
|
|
|
}
|
2019-09-24 15:33:41 +02:00
|
|
|
.q {
|
|
|
|
font-style: italic;
|
|
|
|
}
|
2018-04-25 19:27:55 +02:00
|
|
|
}
|
|
|
|
|
2018-04-27 12:02:02 +02:00
|
|
|
.chat-image {
|
2018-04-25 19:27:55 +02:00
|
|
|
height: auto;
|
|
|
|
width: auto;
|
2018-04-27 12:02:02 +02:00
|
|
|
max-height: 15em;
|
2018-04-25 19:27:55 +02:00
|
|
|
max-width: 100%;
|
|
|
|
}
|
2020-03-25 10:39:41 +01:00
|
|
|
|
2018-07-19 23:29:56 +02:00
|
|
|
&.chat-msg--action {
|
2018-04-25 19:27:55 +02:00
|
|
|
font-style: italic;
|
2019-04-27 13:25:47 +02:00
|
|
|
|
|
|
|
.chat-msg__author {
|
|
|
|
padding-right: 0.2em;
|
|
|
|
}
|
2018-04-25 19:27:55 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
&.chat-msg {
|
2019-06-19 11:04:09 +02:00
|
|
|
display: inline-flex;
|
2019-01-10 14:07:36 +01:00
|
|
|
width: 100%;
|
2018-04-25 19:27:55 +02:00
|
|
|
flex-direction: row;
|
2019-06-18 14:38:47 +02:00
|
|
|
padding: 0.125rem 1rem;
|
2018-04-25 19:27:55 +02:00
|
|
|
|
|
|
|
&.onload {
|
|
|
|
animation: colorchange-chatmessage 1s;
|
|
|
|
-webkit-animation: colorchange-chatmessage 1s;
|
|
|
|
}
|
|
|
|
&:hover {
|
2020-06-04 17:26:18 +02:00
|
|
|
background-color: var(--list-item-hover-color);
|
2018-04-25 19:27:55 +02:00
|
|
|
}
|
2018-07-08 10:13:15 +02:00
|
|
|
&.correcting {
|
|
|
|
&.groupchat {
|
2018-10-27 02:16:50 +02:00
|
|
|
background-color: var(--chatroom-correcting-color);
|
2018-07-08 10:13:15 +02:00
|
|
|
}
|
|
|
|
&:not(.groupchat) {
|
2018-10-27 02:16:50 +02:00
|
|
|
background-color: var(--chat-correcting-color);
|
2018-07-08 10:13:15 +02:00
|
|
|
}
|
|
|
|
}
|
2018-04-25 19:27:55 +02:00
|
|
|
|
2018-04-27 12:02:02 +02:00
|
|
|
.spoiler {
|
|
|
|
margin-top: 0.5em;
|
|
|
|
}
|
2018-04-26 19:10:06 +02:00
|
|
|
.spoiler-hint {
|
|
|
|
margin-bottom: 0.5em;
|
|
|
|
}
|
2018-04-27 12:02:02 +02:00
|
|
|
.spoiler-toggle {
|
2018-04-26 19:10:06 +02:00
|
|
|
color: white;
|
|
|
|
i {
|
|
|
|
color: white;
|
|
|
|
padding-right: 0.5em;
|
|
|
|
}
|
|
|
|
&:before {
|
|
|
|
padding-right: 0.25em;
|
|
|
|
whitespace: nowrap;
|
|
|
|
}
|
|
|
|
}
|
2018-07-20 15:54:59 +02:00
|
|
|
|
2018-07-19 23:29:56 +02:00
|
|
|
.chat-msg__content {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: stretch;
|
2018-04-25 19:27:55 +02:00
|
|
|
margin-left: 0.5rem;
|
2019-01-10 14:07:36 +01:00
|
|
|
width: calc(100% - var(--message-avatar-width));
|
2020-06-11 17:03:59 +02:00
|
|
|
&:hover {
|
|
|
|
.btn--standalone {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
2018-04-27 13:47:44 +02:00
|
|
|
}
|
2019-06-03 21:53:19 +02:00
|
|
|
|
|
|
|
.chat-msg__content--me {
|
|
|
|
.chat-msg__body--groupchat {
|
|
|
|
.chat-msg__text {
|
|
|
|
color: var(--subdued-color);
|
|
|
|
}
|
|
|
|
&.chat-msg__body--delayed .chat-msg__text,
|
|
|
|
&.chat-msg__body--received .chat-msg__text {
|
|
|
|
color: var(--message-text-color);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-07-20 15:54:59 +02:00
|
|
|
.chat-msg__content--action {
|
2019-06-03 21:53:19 +02:00
|
|
|
width: 100%;
|
2018-07-20 15:54:59 +02:00
|
|
|
margin-left: 0;
|
|
|
|
}
|
2018-07-19 23:29:56 +02:00
|
|
|
|
|
|
|
.chat-msg__body {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
justify-content: space-between;
|
2020-06-11 17:03:59 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
converse-chat-message-body {
|
2020-06-12 13:30:33 +02:00
|
|
|
display: inline;
|
2018-07-19 23:29:56 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.chat-msg__message {
|
2020-06-04 17:26:18 +02:00
|
|
|
line-height: 1.5em;
|
2019-01-10 14:07:36 +01:00
|
|
|
display: inline-flex;
|
2018-07-19 23:29:56 +02:00
|
|
|
flex-direction: column;
|
|
|
|
width: 100%;
|
2019-01-10 14:07:36 +01:00
|
|
|
overflow-wrap: break-word;
|
2018-07-19 23:29:56 +02:00
|
|
|
}
|
|
|
|
|
2018-07-20 15:54:59 +02:00
|
|
|
.chat-msg__edit-modal {
|
2018-07-06 01:35:58 +02:00
|
|
|
cursor: pointer;
|
2018-07-20 15:54:59 +02:00
|
|
|
padding-right: 0.5em;
|
2018-07-06 01:35:58 +02:00
|
|
|
}
|
2018-04-25 19:27:55 +02:00
|
|
|
|
2019-01-28 10:06:23 +01:00
|
|
|
.chat-msg__subject {
|
|
|
|
font-weight: bold;
|
|
|
|
clear: right;
|
|
|
|
}
|
|
|
|
|
2018-07-19 23:29:56 +02:00
|
|
|
.chat-msg__text {
|
2018-10-25 20:42:56 +02:00
|
|
|
color: var(--message-text-color);
|
2019-06-03 21:53:19 +02:00
|
|
|
padding: 0;
|
2018-08-21 15:04:45 +02:00
|
|
|
white-space: pre-wrap;
|
2019-07-22 16:36:44 +02:00
|
|
|
word-wrap: break-word;
|
|
|
|
word-break: break-word;
|
2018-04-29 15:46:46 +02:00
|
|
|
a {
|
|
|
|
word-wrap: break-word;
|
|
|
|
word-break: break-all;
|
2020-05-15 14:33:31 +02:00
|
|
|
display: inline;
|
2020-03-25 10:39:41 +01:00
|
|
|
&.chat-image__link {
|
2020-08-18 15:03:13 +02:00
|
|
|
width: fit-content;
|
2020-03-25 10:39:41 +01:00
|
|
|
display: block;
|
|
|
|
}
|
2018-04-29 15:46:46 +02:00
|
|
|
}
|
2018-09-03 13:24:37 +02:00
|
|
|
img {
|
|
|
|
&.emoji {
|
|
|
|
height: 1.5em;
|
|
|
|
width: 1.5em;
|
|
|
|
margin: 0 .05em 0 .1em;
|
|
|
|
vertical-align: -0.1em;
|
|
|
|
}
|
|
|
|
}
|
2018-04-25 19:27:55 +02:00
|
|
|
.emojione {
|
|
|
|
margin-bottom: -6px;
|
|
|
|
}
|
|
|
|
}
|
2019-01-31 15:26:19 +01:00
|
|
|
|
2019-02-27 10:34:47 +01:00
|
|
|
.chat-msg__text--larger {
|
2019-03-31 20:27:23 +02:00
|
|
|
font-size: 1.6em;
|
2019-02-27 10:34:47 +01:00
|
|
|
padding-top: 0.25em;
|
2019-03-31 20:27:23 +02:00
|
|
|
padding-bottom: 0.25em;
|
2019-02-27 10:34:47 +01:00
|
|
|
}
|
|
|
|
|
2020-05-07 13:32:15 +02:00
|
|
|
.chat-msg__error {
|
|
|
|
color: var(--error-color);
|
|
|
|
}
|
|
|
|
|
2018-07-20 15:54:59 +02:00
|
|
|
.chat-msg__media {
|
2018-04-29 15:46:46 +02:00
|
|
|
margin-top: 0.25rem;
|
2018-07-20 15:54:59 +02:00
|
|
|
word-break: break-all;
|
2018-04-29 15:46:46 +02:00
|
|
|
a {
|
|
|
|
word-wrap: break-word;
|
|
|
|
}
|
2018-04-27 17:59:41 +02:00
|
|
|
audio {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
2018-04-25 19:27:55 +02:00
|
|
|
|
2020-06-04 17:26:18 +02:00
|
|
|
converse-message-actions {
|
|
|
|
margin-left: 0.5em;
|
|
|
|
}
|
|
|
|
|
2018-07-19 23:29:56 +02:00
|
|
|
.chat-msg__actions {
|
2020-06-04 17:26:18 +02:00
|
|
|
.dropdown-menu {
|
|
|
|
min-width: 5rem;
|
|
|
|
}
|
|
|
|
i {
|
|
|
|
color: var(--text-color-lighten-15-percent);
|
|
|
|
font-size: 70%;
|
|
|
|
}
|
|
|
|
button {
|
2018-07-19 17:06:00 +02:00
|
|
|
border: none;
|
|
|
|
background: transparent;
|
2020-06-04 17:26:18 +02:00
|
|
|
color: var(--text-color-lighten-15-percent);
|
|
|
|
padding: 0 0.25em;
|
|
|
|
}
|
|
|
|
.btn--standalone {
|
|
|
|
opacity: 0;
|
|
|
|
margin-top: -0.2em;
|
|
|
|
}
|
|
|
|
.chat-msg__action {
|
|
|
|
width: 100%;
|
|
|
|
padding: 0.5em 1em;
|
|
|
|
text-align: left;
|
|
|
|
white-space: nowrap;
|
2020-07-01 15:51:21 +02:00
|
|
|
|
|
|
|
converse-icon {
|
|
|
|
margin-right: 0.25em;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2020-06-04 17:26:18 +02:00
|
|
|
&:hover {
|
|
|
|
color: var(--text-color);
|
|
|
|
background-color: var(--list-item-hover-color);
|
2018-07-19 17:06:00 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-07-19 23:29:56 +02:00
|
|
|
.chat-msg__avatar {
|
2018-04-27 16:50:58 +02:00
|
|
|
margin-top: 0.5em;
|
|
|
|
vertical-align: middle;
|
2019-01-10 14:07:36 +01:00
|
|
|
height: var(--message-avatar-height);
|
|
|
|
width: var(--message-avatar-width);
|
|
|
|
min-height: var(--message-avatar-height);
|
|
|
|
min-width: var(--message-avatar-width);
|
2018-04-27 16:50:58 +02:00
|
|
|
}
|
2018-07-19 23:29:56 +02:00
|
|
|
|
2020-06-18 16:54:12 +02:00
|
|
|
.chat-msg__author {
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
|
|
|
font-family: var(--heading-font);
|
|
|
|
font-size: 115%;
|
|
|
|
font-weight: bold;
|
|
|
|
padding-bottom: 1px; // Hack to avoid cutting of text on the button
|
|
|
|
}
|
|
|
|
|
2018-07-19 23:29:56 +02:00
|
|
|
.chat-msg__heading {
|
|
|
|
width: 100%;
|
2018-04-27 16:50:58 +02:00
|
|
|
margin-top: 0.5em;
|
|
|
|
padding-right: 0.25rem;
|
2018-04-26 19:10:06 +02:00
|
|
|
padding-bottom: 0.25rem;
|
2018-04-25 19:27:55 +02:00
|
|
|
|
2019-01-28 13:39:33 +01:00
|
|
|
.badge {
|
|
|
|
margin-left: 0.5em;
|
|
|
|
font-family: var(--normal_font);
|
2018-04-25 19:27:55 +02:00
|
|
|
}
|
2018-07-19 23:29:56 +02:00
|
|
|
.chat-msg__time {
|
2018-04-27 17:59:41 +02:00
|
|
|
padding-left: 0.25em;
|
2019-02-13 18:22:47 +01:00
|
|
|
padding-right: 0.25em;
|
2018-10-25 20:42:56 +02:00
|
|
|
color: var(--text-color-lighten-15-percent);
|
2018-04-25 19:27:55 +02:00
|
|
|
}
|
|
|
|
}
|
2018-07-19 23:29:56 +02:00
|
|
|
&.chat-msg--action {
|
2020-06-18 16:54:12 +02:00
|
|
|
.chat-msg__message {
|
2018-07-19 23:29:56 +02:00
|
|
|
flex-direction: row;
|
|
|
|
}
|
|
|
|
.chat-msg__text {
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
.chat-msg__heading {
|
2018-04-27 16:50:58 +02:00
|
|
|
margin-top: 0;
|
2018-05-02 14:55:10 +02:00
|
|
|
padding-bottom: 0;
|
2018-07-19 23:29:56 +02:00
|
|
|
width: auto;
|
2019-01-31 15:26:19 +01:00
|
|
|
|
|
|
|
.fa {
|
|
|
|
margin-left: 0.5em;
|
|
|
|
}
|
2018-04-27 16:50:58 +02:00
|
|
|
}
|
2018-07-20 15:54:59 +02:00
|
|
|
.chat-msg__author {
|
2018-10-25 20:42:56 +02:00
|
|
|
font-size: var(--message-font-size);
|
2018-07-20 15:54:59 +02:00
|
|
|
}
|
|
|
|
.chat-msg__time {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
2018-04-27 16:50:58 +02:00
|
|
|
}
|
2018-07-19 23:29:56 +02:00
|
|
|
|
|
|
|
&.chat-msg--followup {
|
|
|
|
.chat-msg__heading,
|
|
|
|
.chat-msg__avatar {
|
2018-04-25 19:27:55 +02:00
|
|
|
display: none;
|
|
|
|
}
|
2020-06-04 15:17:47 +02:00
|
|
|
&.chat-msg--with-avatar .chat-msg__content {
|
2018-04-25 19:27:55 +02:00
|
|
|
margin-left: 2.75rem;
|
2019-06-03 21:53:19 +02:00
|
|
|
width: 100%;
|
2018-04-25 19:27:55 +02:00
|
|
|
}
|
|
|
|
}
|
2018-11-03 14:37:57 +01:00
|
|
|
|
|
|
|
.chat-msg__receipt {
|
2020-06-11 17:03:59 +02:00
|
|
|
margin-left: 0.5em;
|
2018-11-15 10:50:25 +01:00
|
|
|
margin-right: 0.5em;
|
2018-11-03 14:37:57 +01:00
|
|
|
color: var(--message-receipt-color);
|
|
|
|
}
|
2018-04-25 19:27:55 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.chatroom-body .message {
|
|
|
|
&.onload {
|
|
|
|
animation: colorchange-chatmessage-muc 1s;
|
|
|
|
-webkit-animation: colorchange-chatmessage-muc 1s;
|
|
|
|
}
|
|
|
|
.separator {
|
2018-10-27 02:16:50 +02:00
|
|
|
border-top: 0px;
|
|
|
|
border-bottom: var(--chatroom-separator-border-bottom);
|
2018-04-25 19:27:55 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-12-08 12:54:14 +01:00
|
|
|
converse-chats {
|
|
|
|
.converse-overlayed {
|
|
|
|
.message {
|
|
|
|
&.chat-msg {
|
|
|
|
&.chat-msg--followup {
|
|
|
|
.chat-msg__content {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
}
|
2018-04-29 16:19:02 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-12-08 12:54:14 +01:00
|
|
|
|
2018-04-25 19:27:55 +02:00
|
|
|
@media screen and (max-width: 767px) {
|
2020-12-08 12:54:14 +01:00
|
|
|
converse-chats:not(.converse-embedded) {
|
2018-04-25 19:27:55 +02:00
|
|
|
.message {
|
|
|
|
&.chat-msg {
|
2018-07-19 23:29:56 +02:00
|
|
|
.chat-msg__author {
|
2018-04-25 19:27:55 +02:00
|
|
|
white-space: normal;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|