2020-08-25 12:58:35 -07:00
|
|
|
.pane {
|
2020-08-25 22:21:54 -07:00
|
|
|
box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.3);
|
2020-08-26 09:54:22 -07:00
|
|
|
border-radius: 6px 6px 0 0;
|
2020-08-24 19:26:42 -07:00
|
|
|
position: fixed;
|
|
|
|
bottom: 0;
|
|
|
|
right: 20px;
|
|
|
|
width: 265px;
|
2020-09-26 20:46:55 -07:00
|
|
|
height: 350px;
|
2020-08-25 15:07:07 -07:00
|
|
|
max-height: calc(100vh - 70px);
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2020-08-27 10:55:38 -07:00
|
|
|
z-index: 999;
|
2020-08-27 11:04:16 -07:00
|
|
|
transition: 0.05s;
|
2020-08-24 19:26:42 -07:00
|
|
|
|
2020-08-25 15:07:07 -07:00
|
|
|
&--main {
|
|
|
|
height: calc(100vh - 70px);
|
2020-08-25 17:13:54 -07:00
|
|
|
|
2020-08-27 11:37:53 -07:00
|
|
|
.pane__header .pane__title {
|
2020-08-25 17:13:54 -07:00
|
|
|
font-size: 16px;
|
|
|
|
}
|
2020-08-25 15:07:07 -07:00
|
|
|
}
|
|
|
|
|
2020-08-25 16:45:05 -07:00
|
|
|
&--minimized {
|
2020-08-25 16:58:40 -07:00
|
|
|
height: 31px;
|
2020-08-25 16:45:05 -07:00
|
|
|
}
|
|
|
|
|
2020-08-24 19:26:42 -07:00
|
|
|
&__header {
|
2020-08-25 16:45:05 -07:00
|
|
|
box-sizing: border-box;
|
2020-08-24 19:26:42 -07:00
|
|
|
background: var(--brand-color);
|
|
|
|
color: #fff;
|
2020-08-25 17:13:54 -07:00
|
|
|
padding: 0 10px;
|
2020-08-24 19:26:42 -07:00
|
|
|
font-weight: bold;
|
|
|
|
border-radius: 6px 6px 0 0;
|
2020-08-25 15:07:07 -07:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2020-08-25 16:45:05 -07:00
|
|
|
height: 31px;
|
2020-08-25 15:07:07 -07:00
|
|
|
|
|
|
|
.account__avatar {
|
|
|
|
margin-right: 7px;
|
|
|
|
}
|
|
|
|
|
2020-08-25 17:13:54 -07:00
|
|
|
.pane__title {
|
2020-08-25 15:07:07 -07:00
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
2020-08-27 11:08:04 -07:00
|
|
|
flex: 1;
|
2020-08-25 17:13:54 -07:00
|
|
|
height: 100%;
|
|
|
|
background: transparent;
|
|
|
|
border: 0;
|
|
|
|
padding: 0;
|
|
|
|
color: #fff;
|
|
|
|
font-weight: bold;
|
|
|
|
text-align: left;
|
|
|
|
font-size: 14px;
|
2020-08-25 15:07:07 -07:00
|
|
|
}
|
2020-08-25 16:11:48 -07:00
|
|
|
|
|
|
|
.icon-button {
|
|
|
|
color: #fff;
|
|
|
|
|
|
|
|
> div {
|
|
|
|
height: auto !important;
|
|
|
|
width: auto !important;
|
|
|
|
margin-right: -6px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.pane__close {
|
|
|
|
margin-left: auto;
|
|
|
|
}
|
2020-08-27 13:43:19 -07:00
|
|
|
|
|
|
|
.icon-with-badge__badge {
|
|
|
|
position: static;
|
|
|
|
pointer-events: none;
|
2020-08-27 14:41:24 -07:00
|
|
|
width: 18px;
|
|
|
|
height: 18px;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
margin-right: 7px;
|
2020-08-27 13:43:19 -07:00
|
|
|
}
|
2020-08-24 19:26:42 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
&__content {
|
|
|
|
background: var(--foreground-color);
|
2020-08-25 15:07:07 -07:00
|
|
|
display: flex;
|
2020-08-25 19:03:10 -07:00
|
|
|
flex: 1;
|
2020-08-25 15:07:07 -07:00
|
|
|
flex-direction: column;
|
2020-08-25 19:03:10 -07:00
|
|
|
overflow: hidden;
|
2020-08-25 15:07:07 -07:00
|
|
|
|
2020-08-28 11:17:19 -07:00
|
|
|
.chat-box {
|
|
|
|
display: flex;
|
|
|
|
flex: 1;
|
|
|
|
flex-direction: column;
|
|
|
|
overflow: hidden;
|
2020-08-25 15:07:07 -07:00
|
|
|
}
|
2020-08-24 19:26:42 -07:00
|
|
|
}
|
2020-09-06 14:54:45 -07:00
|
|
|
|
|
|
|
.audio-toggle .react-toggle-thumb {
|
2020-09-17 20:59:23 -07:00
|
|
|
height: 14px;
|
|
|
|
width: 14px;
|
2020-09-06 15:39:38 -07:00
|
|
|
border: 1px solid var(--brand-color--med);
|
2020-09-06 14:54:45 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
.audio-toggle .react-toggle {
|
2020-09-17 20:59:23 -07:00
|
|
|
height: 16px;
|
2020-09-06 14:54:45 -07:00
|
|
|
top: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.audio-toggle .react-toggle-track {
|
2020-09-17 20:59:23 -07:00
|
|
|
height: 16px;
|
|
|
|
width: 34px;
|
2020-09-06 15:39:38 -07:00
|
|
|
background-color: var(--accent-color);
|
2020-09-06 14:54:45 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
.audio-toggle .react-toggle-track-check {
|
2020-09-17 20:59:23 -07:00
|
|
|
left: 4px;
|
2020-09-06 14:54:45 -07:00
|
|
|
bottom: 4px;
|
|
|
|
}
|
|
|
|
|
2020-09-17 20:59:23 -07:00
|
|
|
.react-toggle--checked .react-toggle-thumb {
|
|
|
|
left: 19px;
|
|
|
|
}
|
|
|
|
|
2020-09-06 14:54:45 -07:00
|
|
|
.audio-toggle .react-toggle-track-x {
|
2020-09-17 20:59:23 -07:00
|
|
|
right: 4px;
|
2020-09-06 14:54:45 -07:00
|
|
|
bottom: 4px;
|
|
|
|
}
|
|
|
|
|
2020-09-17 20:59:23 -07:00
|
|
|
.fa {
|
|
|
|
font-size: 14px;
|
|
|
|
}
|
2020-08-24 19:26:42 -07:00
|
|
|
}
|
2020-08-25 19:03:10 -07:00
|
|
|
|
|
|
|
.chat-messages {
|
|
|
|
overflow-y: scroll;
|
2020-08-26 09:54:22 -07:00
|
|
|
flex: 1;
|
2020-08-25 19:03:10 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
.chat-message {
|
2020-09-07 14:07:05 -07:00
|
|
|
margin: 14px 10px;
|
2020-08-25 22:21:54 -07:00
|
|
|
display: flex;
|
2020-08-25 19:03:10 -07:00
|
|
|
|
|
|
|
&__bubble {
|
2020-08-27 17:28:46 -07:00
|
|
|
font-size: 15px;
|
2020-08-25 19:03:10 -07:00
|
|
|
padding: 4px 10px;
|
|
|
|
max-width: 70%;
|
|
|
|
border-radius: 10px;
|
|
|
|
background-color: var(--background-color);
|
2020-08-26 22:33:57 -07:00
|
|
|
text-overflow: ellipsis;
|
2020-09-03 12:57:58 -07:00
|
|
|
overflow-wrap: break-word;
|
|
|
|
white-space: break-spaces;
|
2020-09-22 15:00:01 -07:00
|
|
|
position: relative;
|
2020-08-26 22:33:57 -07:00
|
|
|
|
|
|
|
a {
|
|
|
|
color: var(--brand-color--hicontrast);
|
|
|
|
}
|
2020-09-22 15:00:01 -07:00
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus,
|
|
|
|
&:active, {
|
|
|
|
.chat-message__menu {
|
|
|
|
opacity: 1;
|
|
|
|
pointer-events: all;
|
|
|
|
}
|
|
|
|
}
|
2020-08-25 19:03:10 -07:00
|
|
|
}
|
2020-08-25 22:21:54 -07:00
|
|
|
|
|
|
|
&--me .chat-message__bubble {
|
|
|
|
margin-left: auto;
|
|
|
|
background-color: hsla(var(--brand-color_hsl), 0.2);
|
|
|
|
}
|
2020-08-27 10:50:08 -07:00
|
|
|
|
|
|
|
&--pending .chat-message__bubble {
|
|
|
|
opacity: 0.5;
|
|
|
|
}
|
2020-09-22 15:00:01 -07:00
|
|
|
|
|
|
|
&__menu {
|
|
|
|
position: absolute;
|
|
|
|
top: -8px;
|
|
|
|
right: -8px;
|
|
|
|
background: var(--background-color);
|
|
|
|
border-radius: 999px;
|
|
|
|
opacity: 0;
|
|
|
|
pointer-events: none;
|
|
|
|
transition: 0.2s;
|
|
|
|
}
|
2020-08-25 19:03:10 -07:00
|
|
|
}
|
2020-08-27 10:53:44 -07:00
|
|
|
|
|
|
|
.chat-list {
|
|
|
|
overflow-y: auto;
|
2020-08-27 12:02:52 -07:00
|
|
|
flex: 1;
|
|
|
|
|
|
|
|
&__content {
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.empty-column-indicator {
|
|
|
|
height: 100%;
|
|
|
|
box-sizing: border-box;
|
|
|
|
background: transparent;
|
|
|
|
align-items: start;
|
|
|
|
}
|
2020-08-27 13:43:19 -07:00
|
|
|
|
|
|
|
.account__display-name {
|
|
|
|
position: relative;
|
2020-08-30 17:31:09 -07:00
|
|
|
|
|
|
|
.display-name {
|
|
|
|
display: flex;
|
|
|
|
|
2020-09-11 14:02:51 -07:00
|
|
|
.hover-ref-wrapper {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
2020-08-30 17:31:09 -07:00
|
|
|
bdi {
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
|
|
|
|
|
|
|
.display-name__account {
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
flex: 1;
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
2020-08-27 13:43:19 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
.icon-with-badge__badge {
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
left: auto;
|
|
|
|
bottom: auto;
|
|
|
|
}
|
2020-08-27 10:53:44 -07:00
|
|
|
}
|
2020-08-28 11:17:19 -07:00
|
|
|
|
|
|
|
.chat-box {
|
2020-09-06 13:36:47 -07:00
|
|
|
.upload-progress {
|
|
|
|
padding: 0 10px;
|
|
|
|
align-items: center;
|
2020-09-06 15:09:06 -07:00
|
|
|
height: 25px;
|
2020-09-06 13:36:47 -07:00
|
|
|
|
|
|
|
.fa {
|
|
|
|
font-size: 22px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__message {
|
|
|
|
font-size: 13px;
|
|
|
|
flex: 1;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__backdrop {
|
|
|
|
margin-top: 2px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-09-06 15:09:06 -07:00
|
|
|
&__attachment {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
font-size: 13px;
|
|
|
|
padding: 0 10px;
|
|
|
|
height: 25px;
|
|
|
|
|
|
|
|
.chat-box__remove-attachment {
|
|
|
|
margin-left: auto;
|
|
|
|
|
|
|
|
.icon-button > div {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-08-28 11:17:19 -07:00
|
|
|
&__actions {
|
|
|
|
background: var(--foreground-color);
|
|
|
|
margin-top: auto;
|
|
|
|
padding: 6px;
|
2020-09-05 19:48:25 -07:00
|
|
|
position: relative;
|
|
|
|
|
|
|
|
.icon-button {
|
2020-09-07 14:10:45 -07:00
|
|
|
color: var(--primary-text-color--faint);
|
2020-09-05 19:48:25 -07:00
|
|
|
position: absolute;
|
|
|
|
right: 10px;
|
2020-09-07 16:51:57 -07:00
|
|
|
top: calc(50% - 13px);
|
2020-09-05 19:48:25 -07:00
|
|
|
width: auto;
|
|
|
|
height: auto;
|
|
|
|
background: transparent !important;
|
|
|
|
border: 0;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
}
|
2020-08-28 11:17:19 -07:00
|
|
|
|
2020-09-06 15:43:16 -07:00
|
|
|
.chat-box__send .icon-button {
|
2020-09-07 16:51:57 -07:00
|
|
|
top: calc(50% - 9px);
|
2020-09-06 15:43:16 -07:00
|
|
|
}
|
2020-08-28 11:17:19 -07:00
|
|
|
|
|
|
|
textarea {
|
|
|
|
width: 100%;
|
2020-08-28 13:38:38 -07:00
|
|
|
height: 100%;
|
2020-08-28 11:17:19 -07:00
|
|
|
margin: 0;
|
|
|
|
box-sizing: border-box;
|
|
|
|
padding: 6px;
|
2020-09-05 19:48:25 -07:00
|
|
|
padding-right: 25px;
|
2020-08-28 11:17:19 -07:00
|
|
|
background: var(--background-color);
|
|
|
|
border: 0;
|
|
|
|
border-radius: 6px;
|
|
|
|
color: var(--primary-text-color);
|
|
|
|
font-size: 15px;
|
2020-09-05 19:48:25 -07:00
|
|
|
overflow: hidden;
|
2020-08-28 11:17:19 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-08-28 11:27:40 -07:00
|
|
|
|
2020-08-28 12:42:58 -07:00
|
|
|
.ui--chatroom {
|
|
|
|
padding-bottom: 0;
|
|
|
|
|
|
|
|
.columns-area__panels__main .columns-area {
|
|
|
|
height: calc(100vh - 100px);
|
|
|
|
box-sizing: border-box;
|
|
|
|
overflow: hidden;
|
|
|
|
|
2020-10-11 14:23:19 -07:00
|
|
|
@media (max-width: 630px) {
|
2020-08-28 12:42:58 -07:00
|
|
|
height: calc(100vh - 50px);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.page {
|
|
|
|
.chat-box {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
overflow: hidden;
|
2020-08-28 13:06:55 -07:00
|
|
|
flex: 1;
|
2020-08-28 13:38:38 -07:00
|
|
|
border-radius: 0 0 10px 10px;
|
|
|
|
|
|
|
|
&__actions textarea {
|
2020-09-11 18:10:15 -07:00
|
|
|
padding: 10px 40px 10px 10px;
|
2020-08-28 13:38:38 -07:00
|
|
|
}
|
2020-08-28 12:42:58 -07:00
|
|
|
}
|
|
|
|
}
|
2020-09-11 17:45:24 -07:00
|
|
|
|
2020-10-11 14:23:19 -07:00
|
|
|
@media (max-width: 630px) {
|
2020-09-11 17:45:24 -07:00
|
|
|
.columns-area__panels__main .columns-area {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.columns-area__panels__main {
|
|
|
|
padding: 0;
|
|
|
|
max-width: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.columns-area--mobile .column {
|
|
|
|
border-radius: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.page {
|
|
|
|
.chat-box {
|
|
|
|
border-radius: 0;
|
|
|
|
border: 2px solid var(--foreground-color);
|
|
|
|
|
|
|
|
&__actions {
|
|
|
|
padding: 0;
|
|
|
|
|
|
|
|
textarea {
|
|
|
|
height: 4em;
|
|
|
|
border-radius: 0;
|
|
|
|
}
|
|
|
|
}
|
2020-08-28 13:38:38 -07:00
|
|
|
}
|
2020-08-28 12:42:58 -07:00
|
|
|
}
|
|
|
|
}
|
2020-08-28 11:27:40 -07:00
|
|
|
}
|
2020-08-28 13:22:33 -07:00
|
|
|
|
2020-10-11 14:23:19 -07:00
|
|
|
@media (max-width: 630px) {
|
2020-08-28 13:22:33 -07:00
|
|
|
.chat-panes {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-05-02 10:37:40 -07:00
|
|
|
@media (min-width: 1190px) {
|
2020-08-28 13:22:33 -07:00
|
|
|
.tabs-bar .tabs-bar__link--chats {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
2020-08-28 14:26:42 -07:00
|
|
|
|
|
|
|
.chatroom__header {
|
|
|
|
display: flex;
|
|
|
|
margin-left: auto;
|
|
|
|
padding-right: 15px;
|
|
|
|
overflow: hidden;
|
2020-09-11 17:47:45 -07:00
|
|
|
text-decoration: none;
|
2020-08-28 14:26:42 -07:00
|
|
|
|
|
|
|
.account__avatar {
|
|
|
|
margin-right: 7px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.chatroom__title {
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
flex: 1;
|
|
|
|
height: 100%;
|
|
|
|
background: transparent;
|
|
|
|
border: 0;
|
|
|
|
padding: 0;
|
2020-09-03 11:03:30 -07:00
|
|
|
color: var(--primary-text-color);
|
2020-08-28 14:26:42 -07:00
|
|
|
font-weight: bold;
|
|
|
|
text-align: left;
|
|
|
|
font-size: 14px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.chatroom__back {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
background: var(--accent-color--faint);
|
|
|
|
|
|
|
|
.column-back-button {
|
|
|
|
background: transparent;
|
|
|
|
}
|
|
|
|
}
|
2020-08-30 17:31:09 -07:00
|
|
|
|
|
|
|
.chat {
|
|
|
|
&__last-message {
|
|
|
|
display: block;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
2020-08-31 22:05:00 -07:00
|
|
|
|
|
|
|
a {
|
|
|
|
color: var(--highlight-text-color);
|
|
|
|
}
|
2020-08-30 17:31:09 -07:00
|
|
|
}
|
|
|
|
}
|
2020-09-04 18:17:03 -07:00
|
|
|
|
2020-09-07 17:13:59 -07:00
|
|
|
.chat-message__media {
|
|
|
|
height: 120px;
|
|
|
|
}
|
|
|
|
|
2020-09-05 14:39:57 -07:00
|
|
|
.chat-message .media-gallery {
|
2020-09-07 17:13:59 -07:00
|
|
|
height: 100% !important;
|
2020-09-06 12:15:06 -07:00
|
|
|
margin: 4px 0 8px;
|
2020-09-05 14:39:57 -07:00
|
|
|
|
|
|
|
.spoiler-button {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2020-09-06 15:20:26 -07:00
|
|
|
.media-gallery__item:not(.media-gallery__item--image) {
|
|
|
|
max-width: 100%;
|
|
|
|
width: 120px !important;
|
2020-09-07 17:13:59 -07:00
|
|
|
height: 100% !important;
|
2020-09-06 15:20:26 -07:00
|
|
|
}
|
|
|
|
|
2020-09-06 14:50:54 -07:00
|
|
|
&__preview {
|
|
|
|
background-color: transparent;
|
|
|
|
}
|
|
|
|
|
2020-09-05 14:39:57 -07:00
|
|
|
&__item-thumbnail img,
|
|
|
|
&__item-thumbnail .still-image img {
|
|
|
|
object-fit: contain;
|
|
|
|
}
|
2020-09-04 18:17:03 -07:00
|
|
|
}
|
2020-09-18 16:51:22 -07:00
|
|
|
|
|
|
|
.chat-messages__divider {
|
|
|
|
text-align: center;
|
|
|
|
text-transform: uppercase;
|
|
|
|
font-size: 13px;
|
|
|
|
padding: 14px 0 2px;
|
|
|
|
opacity: 0.8;
|
|
|
|
}
|