2020-08-25 14:58:35 -05:00
|
|
|
.pane {
|
2020-08-26 00:21:54 -05:00
|
|
|
box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.3);
|
2020-08-26 11:54:22 -05:00
|
|
|
border-radius: 6px 6px 0 0;
|
2020-08-24 21:26:42 -05:00
|
|
|
position: fixed;
|
|
|
|
bottom: 0;
|
|
|
|
right: 20px;
|
|
|
|
width: 265px;
|
2020-08-25 17:07:07 -05:00
|
|
|
height: 265px;
|
|
|
|
max-height: calc(100vh - 70px);
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2020-08-27 12:55:38 -05:00
|
|
|
z-index: 999;
|
2020-08-27 13:04:16 -05:00
|
|
|
transition: 0.05s;
|
2020-08-24 21:26:42 -05:00
|
|
|
|
2020-08-25 17:07:07 -05:00
|
|
|
&--main {
|
|
|
|
height: calc(100vh - 70px);
|
2020-08-25 19:13:54 -05:00
|
|
|
|
2020-08-27 13:37:53 -05:00
|
|
|
.pane__header .pane__title {
|
2020-08-25 19:13:54 -05:00
|
|
|
font-size: 16px;
|
|
|
|
}
|
2020-08-25 17:07:07 -05:00
|
|
|
}
|
|
|
|
|
2020-08-25 18:45:05 -05:00
|
|
|
&--minimized {
|
2020-08-25 18:58:40 -05:00
|
|
|
height: 31px;
|
2020-08-25 18:45:05 -05:00
|
|
|
}
|
|
|
|
|
2020-08-24 21:26:42 -05:00
|
|
|
&__header {
|
2020-08-25 18:45:05 -05:00
|
|
|
box-sizing: border-box;
|
2020-08-24 21:26:42 -05:00
|
|
|
background: var(--brand-color);
|
|
|
|
color: #fff;
|
2020-08-25 19:13:54 -05:00
|
|
|
padding: 0 10px;
|
2020-08-24 21:26:42 -05:00
|
|
|
font-weight: bold;
|
|
|
|
border-radius: 6px 6px 0 0;
|
2020-08-25 17:07:07 -05:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2020-08-25 18:45:05 -05:00
|
|
|
height: 31px;
|
2020-08-25 17:07:07 -05:00
|
|
|
|
|
|
|
.account__avatar {
|
|
|
|
margin-right: 7px;
|
|
|
|
}
|
|
|
|
|
2020-08-25 19:13:54 -05:00
|
|
|
.pane__title {
|
2020-08-25 17:07:07 -05:00
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
2020-08-27 13:08:04 -05:00
|
|
|
flex: 1;
|
2020-08-25 19:13:54 -05:00
|
|
|
height: 100%;
|
|
|
|
background: transparent;
|
|
|
|
border: 0;
|
|
|
|
padding: 0;
|
|
|
|
color: #fff;
|
|
|
|
font-weight: bold;
|
|
|
|
text-align: left;
|
|
|
|
font-size: 14px;
|
2020-08-25 17:07:07 -05:00
|
|
|
}
|
2020-08-25 18:11:48 -05:00
|
|
|
|
|
|
|
.icon-button {
|
|
|
|
color: #fff;
|
|
|
|
|
|
|
|
> div {
|
|
|
|
height: auto !important;
|
|
|
|
width: auto !important;
|
|
|
|
margin-right: -6px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.pane__close {
|
|
|
|
margin-left: auto;
|
|
|
|
}
|
2020-08-27 15:43:19 -05:00
|
|
|
|
|
|
|
.icon-with-badge__badge {
|
|
|
|
position: static;
|
|
|
|
pointer-events: none;
|
2020-08-27 16:41:24 -05:00
|
|
|
width: 18px;
|
|
|
|
height: 18px;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
margin-right: 7px;
|
2020-08-27 15:43:19 -05:00
|
|
|
}
|
2020-08-24 21:26:42 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
&__content {
|
|
|
|
background: var(--foreground-color);
|
2020-08-25 17:07:07 -05:00
|
|
|
display: flex;
|
2020-08-25 21:03:10 -05:00
|
|
|
flex: 1;
|
2020-08-25 17:07:07 -05:00
|
|
|
flex-direction: column;
|
2020-08-25 21:03:10 -05:00
|
|
|
overflow: hidden;
|
2020-08-25 17:07:07 -05:00
|
|
|
|
2020-08-28 13:17:19 -05:00
|
|
|
.chat-box {
|
|
|
|
display: flex;
|
|
|
|
flex: 1;
|
|
|
|
flex-direction: column;
|
|
|
|
overflow: hidden;
|
2020-08-25 17:07:07 -05:00
|
|
|
}
|
2020-08-24 21:26:42 -05:00
|
|
|
}
|
|
|
|
}
|
2020-08-25 21:03:10 -05:00
|
|
|
|
|
|
|
.chat-messages {
|
|
|
|
overflow-y: scroll;
|
2020-08-26 11:54:22 -05:00
|
|
|
flex: 1;
|
2020-08-25 21:03:10 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.chat-message {
|
|
|
|
margin: 14px 10px;
|
2020-08-26 00:21:54 -05:00
|
|
|
display: flex;
|
2020-08-25 21:03:10 -05:00
|
|
|
|
|
|
|
&__bubble {
|
2020-08-27 19:28:46 -05:00
|
|
|
font-size: 15px;
|
2020-08-25 21:03:10 -05:00
|
|
|
padding: 4px 10px;
|
|
|
|
max-width: 70%;
|
|
|
|
border-radius: 10px;
|
|
|
|
background-color: var(--background-color);
|
2020-08-27 00:33:57 -05:00
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
2020-09-03 14:57:58 -05:00
|
|
|
overflow-wrap: break-word;
|
|
|
|
white-space: break-spaces;
|
2020-08-27 00:33:57 -05:00
|
|
|
|
|
|
|
a {
|
|
|
|
color: var(--brand-color--hicontrast);
|
|
|
|
}
|
2020-08-25 21:03:10 -05:00
|
|
|
}
|
2020-08-26 00:21:54 -05:00
|
|
|
|
|
|
|
&--me .chat-message__bubble {
|
|
|
|
margin-left: auto;
|
|
|
|
background-color: hsla(var(--brand-color_hsl), 0.2);
|
|
|
|
}
|
2020-08-27 12:50:08 -05:00
|
|
|
|
|
|
|
&--pending .chat-message__bubble {
|
|
|
|
opacity: 0.5;
|
|
|
|
}
|
2020-08-25 21:03:10 -05:00
|
|
|
}
|
2020-08-27 12:53:44 -05:00
|
|
|
|
|
|
|
.chat-list {
|
|
|
|
overflow-y: auto;
|
2020-08-27 14:02:52 -05:00
|
|
|
flex: 1;
|
|
|
|
|
|
|
|
&__content {
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.empty-column-indicator {
|
|
|
|
height: 100%;
|
|
|
|
box-sizing: border-box;
|
|
|
|
background: transparent;
|
|
|
|
align-items: start;
|
|
|
|
}
|
2020-08-27 15:43:19 -05:00
|
|
|
|
|
|
|
.account__display-name {
|
|
|
|
position: relative;
|
2020-08-30 19:31:09 -05:00
|
|
|
|
|
|
|
.display-name {
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
bdi {
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
|
|
|
|
|
|
|
.display-name__account {
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
flex: 1;
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
2020-08-27 15:43:19 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.icon-with-badge__badge {
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
left: auto;
|
|
|
|
bottom: auto;
|
|
|
|
}
|
2020-08-27 12:53:44 -05:00
|
|
|
}
|
2020-08-28 13:17:19 -05:00
|
|
|
|
|
|
|
.chat-box {
|
|
|
|
&__actions {
|
|
|
|
background: var(--foreground-color);
|
|
|
|
margin-top: auto;
|
|
|
|
padding: 6px;
|
|
|
|
|
|
|
|
textarea {
|
|
|
|
width: 100%;
|
2020-08-28 15:38:38 -05:00
|
|
|
height: 100%;
|
2020-08-28 13:17:19 -05:00
|
|
|
margin: 0;
|
|
|
|
box-sizing: border-box;
|
|
|
|
padding: 6px;
|
|
|
|
background: var(--background-color);
|
|
|
|
border: 0;
|
|
|
|
border-radius: 6px;
|
|
|
|
color: var(--primary-text-color);
|
|
|
|
font-size: 15px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-08-28 13:27:40 -05:00
|
|
|
|
2020-08-28 14:42:58 -05:00
|
|
|
.ui--chatroom {
|
|
|
|
padding-bottom: 0;
|
|
|
|
|
|
|
|
.columns-area__panels__main .columns-area {
|
|
|
|
height: calc(100vh - 100px);
|
|
|
|
box-sizing: border-box;
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
|
|
@media(max-width: 630px) {
|
|
|
|
height: calc(100vh - 50px);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.page {
|
|
|
|
.chat-box {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
overflow: hidden;
|
2020-08-28 15:06:55 -05:00
|
|
|
flex: 1;
|
2020-08-28 15:38:38 -05:00
|
|
|
border-radius: 0 0 10px 10px;
|
|
|
|
|
|
|
|
&__actions textarea {
|
|
|
|
padding: 10px;
|
|
|
|
}
|
2020-08-28 14:42:58 -05:00
|
|
|
}
|
|
|
|
}
|
2020-08-28 13:27:40 -05:00
|
|
|
}
|
2020-08-28 15:22:33 -05:00
|
|
|
|
|
|
|
@media(max-width: 630px) {
|
|
|
|
.chat-panes {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media(min-width: 630px) {
|
|
|
|
.tabs-bar .tabs-bar__link--chats {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
2020-08-28 16:26:42 -05:00
|
|
|
|
|
|
|
.chatroom__header {
|
|
|
|
display: flex;
|
|
|
|
margin-left: auto;
|
|
|
|
padding-right: 15px;
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
|
|
.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 13:03:30 -05:00
|
|
|
color: var(--primary-text-color);
|
2020-08-28 16:26:42 -05:00
|
|
|
font-weight: bold;
|
|
|
|
text-align: left;
|
|
|
|
font-size: 14px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.chatroom__back {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
background: var(--accent-color--faint);
|
|
|
|
border-radius: 10px 10px 0 0;
|
|
|
|
|
|
|
|
.column-back-button {
|
|
|
|
background: transparent;
|
|
|
|
}
|
|
|
|
}
|
2020-08-30 19:31:09 -05:00
|
|
|
|
|
|
|
.chat {
|
|
|
|
&__last-message {
|
|
|
|
display: block;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
2020-09-01 00:05:00 -05:00
|
|
|
|
|
|
|
a {
|
|
|
|
color: var(--highlight-text-color);
|
|
|
|
}
|
2020-08-30 19:31:09 -05:00
|
|
|
}
|
|
|
|
}
|