Files

92 lines
1.8 KiB
SCSS

// Messages
.conversation {
background: none !important;
}
.module-message__container {
.module-message__text {
font-size: 14px;
text-align: start;
overflow-wrap: break-word;
word-wrap: break-word;
word-break: break-word;
white-space: pre-wrap;
a {
text-decoration: underline;
}
}
}
.module-message {
position: relative;
display: inline-flex;
flex-direction: row;
align-items: flex-end;
max-width: 100%;
@media (min-width: 1200px) {
max-width: 65%;
}
&__text-error {
font-style: italic;
}
&_text {
font-size: 14px;
line-height: 18px;
text-align: start;
overflow-wrap: break-word;
word-wrap: break-word;
word-break: break-word;
white-space: pre-wrap;
padding: var(--padding-message-content);
border-radius: var(--border-radius-message-box);
padding: var(--padding-message-content);
border-radius: var(--border-radius-message-box);
a {
text-decoration: underline;
}
}
&__container--incoming {
color: var(--message-bubbles-received-text-color);
.module-message__text {
color: var(--message-bubbles-received-text-color);
display: flex;
flex-direction: column;
align-items: flex-start;
a {
text-decoration: underline;
color: var(--message-bubbles-received-text-color);
}
}
}
&__container--outgoing {
color: var(--message-bubbles-sent-text-color);
.module-message__text {
color: var(--message-bubbles-sent-text-color);
a {
text-decoration: underline;
color: var(--message-bubbles-sent-text-color);
}
}
}
}
.inbox {
background: var(--background-primary-color);
color: var(--text-primary-color);
}
.conversation {
background: none;
}