2020-02-19 05:00:34 +00:00
|
|
|
@mixin bubble-with-tyes {
|
|
|
|
@include padding($space-smaller $space-one);
|
|
|
|
@include margin($zero);
|
|
|
|
background: $color-primary-light;
|
|
|
|
border-radius: $space-small;
|
|
|
|
color: $color-heading;
|
|
|
|
font-size: $font-size-small;
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
.icon {
|
|
|
|
bottom: $space-smaller;
|
|
|
|
position: absolute;
|
|
|
|
right: $space-small;
|
|
|
|
}
|
|
|
|
|
|
|
|
.message-text__wrap {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.message-text {
|
|
|
|
&::after {
|
|
|
|
content: ' \00a0\00a0\00a0\00a0\00a0\00a0\00a0\00a0\00a0\00a0\00a0\00a0\00a0\00a0\00a0\00a0';
|
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.audio {
|
|
|
|
.time {
|
|
|
|
margin-top: -$space-two;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.image {
|
|
|
|
@include flex;
|
|
|
|
align-items: flex-end;
|
|
|
|
justify-content: center;
|
|
|
|
text-align: center;
|
|
|
|
|
|
|
|
img {
|
|
|
|
@include padding($space-small);
|
|
|
|
max-height: 30rem;
|
|
|
|
max-width: 20rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.time {
|
|
|
|
margin-left: -$space-large;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
.modal-image {
|
|
|
|
max-height: 80%;
|
|
|
|
max-width: 80%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.map {
|
|
|
|
@include flex;
|
|
|
|
flex-direction: column;
|
|
|
|
text-align: right;
|
|
|
|
|
|
|
|
img {
|
|
|
|
@include padding($space-small);
|
|
|
|
max-height: 30rem;
|
|
|
|
max-width: 20rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.time {
|
|
|
|
@include padding($space-small);
|
|
|
|
margin-left: -$space-smaller;
|
|
|
|
margin-top: -$space-two;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
.locname {
|
|
|
|
font-weight: $font-weight-medium;
|
|
|
|
padding: $space-smaller;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-08-14 09:48:44 +00:00
|
|
|
.conversations-sidebar {
|
|
|
|
@include flex;
|
2019-10-20 08:04:19 +00:00
|
|
|
flex-direction: column;
|
2019-08-14 09:48:44 +00:00
|
|
|
|
2020-02-26 15:45:01 +00:00
|
|
|
.load-more-conversations {
|
|
|
|
color: $color-woot;
|
|
|
|
cursor: pointer;
|
|
|
|
font-size: $font-size-small;
|
|
|
|
padding: $space-normal;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background: $color-background;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.end-of-list-text {
|
|
|
|
font-style: italic;
|
|
|
|
padding: $space-normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
.conversations-list {
|
|
|
|
@include flex-weight(1);
|
|
|
|
@include scroll-on-hover;
|
|
|
|
}
|
|
|
|
|
2019-08-14 09:48:44 +00:00
|
|
|
.chat-list__top {
|
2019-12-12 07:23:15 +00:00
|
|
|
@include flex;
|
2019-08-14 09:48:44 +00:00
|
|
|
@include padding($space-normal $zero $space-small $zero);
|
2019-12-12 07:23:15 +00:00
|
|
|
|
|
|
|
align-items: center;
|
|
|
|
justify-content: space-between;
|
|
|
|
|
2019-08-14 09:48:44 +00:00
|
|
|
.page-title {
|
2019-12-12 07:23:15 +00:00
|
|
|
@include flex;
|
2019-08-14 09:48:44 +00:00
|
|
|
margin-bottom: $zero;
|
|
|
|
margin-left: $space-normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
.status--filter {
|
|
|
|
@include padding($zero null $zero $space-normal);
|
|
|
|
@include border-light;
|
|
|
|
@include round-corner;
|
|
|
|
@include margin($space-smaller $space-slab $zero $zero);
|
|
|
|
background-color: $color-background;
|
2019-10-07 19:36:01 +00:00
|
|
|
float: right;
|
|
|
|
font-size: $font-size-mini;
|
2019-08-14 09:48:44 +00:00
|
|
|
height: $space-medium;
|
2019-10-07 19:36:01 +00:00
|
|
|
width: auto;
|
2019-08-14 09:48:44 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-02-26 15:45:01 +00:00
|
|
|
|
2019-08-14 09:48:44 +00:00
|
|
|
|
|
|
|
.content-box {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.emojione {
|
|
|
|
height: $font-size-medium;
|
|
|
|
width: $font-size-medium;
|
|
|
|
}
|
|
|
|
|
|
|
|
.conversation-wrap {
|
|
|
|
@include background-gray;
|
|
|
|
@include margin(0);
|
|
|
|
@include border-normal-left;
|
2020-02-16 10:16:26 +00:00
|
|
|
|
2019-10-07 19:36:01 +00:00
|
|
|
.current-chat {
|
2019-08-14 09:48:44 +00:00
|
|
|
@include flex;
|
|
|
|
@include full-height;
|
|
|
|
@include flex-align(center, middle);
|
2020-02-19 05:00:34 +00:00
|
|
|
flex-direction: column;
|
2020-02-16 10:16:26 +00:00
|
|
|
|
2019-08-14 09:48:44 +00:00
|
|
|
div {
|
|
|
|
@include flex;
|
|
|
|
@include full-height;
|
|
|
|
@include flex-align(center, middle);
|
2020-02-19 05:00:34 +00:00
|
|
|
flex-direction: column;
|
2020-02-16 10:16:26 +00:00
|
|
|
|
2019-08-14 09:48:44 +00:00
|
|
|
img {
|
|
|
|
@include margin($space-normal);
|
2019-10-07 19:36:01 +00:00
|
|
|
width: 10rem;
|
2019-08-14 09:48:44 +00:00
|
|
|
}
|
2019-10-07 19:36:01 +00:00
|
|
|
|
2019-08-14 09:48:44 +00:00
|
|
|
span {
|
|
|
|
font-size: $font-size-small;
|
|
|
|
font-weight: $font-weight-medium;
|
2019-10-07 19:36:01 +00:00
|
|
|
text-align: center;
|
2019-08-14 09:48:44 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-10-07 19:36:01 +00:00
|
|
|
|
2019-08-14 09:48:44 +00:00
|
|
|
.conv-empty-state {
|
|
|
|
@include flex;
|
|
|
|
@include full-height;
|
|
|
|
@include flex-align(center, middle);
|
2020-02-19 05:00:34 +00:00
|
|
|
flex-direction: column;
|
2019-08-14 09:48:44 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.conversation-panel {
|
|
|
|
@include flex;
|
|
|
|
@include flex-weight(1);
|
|
|
|
@include margin($zero);
|
2020-02-19 05:00:34 +00:00
|
|
|
flex-direction: column;
|
2019-10-07 19:36:01 +00:00
|
|
|
// Firefox flexbox fix
|
2019-08-14 09:48:44 +00:00
|
|
|
height: 100%;
|
2020-02-19 05:00:34 +00:00
|
|
|
margin-bottom: $space-small;
|
2020-02-22 13:45:45 +00:00
|
|
|
overflow-y: auto;
|
2019-08-14 09:48:44 +00:00
|
|
|
|
2020-02-16 10:16:26 +00:00
|
|
|
>li {
|
2019-08-14 09:48:44 +00:00
|
|
|
@include flex;
|
|
|
|
@include flex-shrink;
|
|
|
|
@include margin($zero $zero $space-smaller);
|
|
|
|
|
|
|
|
&:first-child {
|
|
|
|
margin-top: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
margin-bottom: $space-small;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.unread--toast {
|
|
|
|
span {
|
|
|
|
@include elegant-card;
|
|
|
|
@include round-corner;
|
|
|
|
background: $color-woot;
|
|
|
|
color: $color-white;
|
2019-10-07 19:36:01 +00:00
|
|
|
font-size: $font-size-mini;
|
|
|
|
font-weight: $font-weight-medium;
|
|
|
|
margin: $space-one auto;
|
|
|
|
padding: $space-smaller $space-two;
|
2019-08-14 09:48:44 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.bubble {
|
2020-02-19 05:00:34 +00:00
|
|
|
@include bubble-with-tyes;
|
2019-08-14 09:48:44 +00:00
|
|
|
max-width: 50rem;
|
2019-10-07 19:36:01 +00:00
|
|
|
text-align: left;
|
2019-08-14 09:48:44 +00:00
|
|
|
word-wrap: break-word;
|
2019-10-07 19:36:01 +00:00
|
|
|
|
2019-08-14 09:48:44 +00:00
|
|
|
.aplayer {
|
|
|
|
box-shadow: none;
|
|
|
|
font-family: inherit;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.left {
|
|
|
|
.bubble {
|
|
|
|
background: $white;
|
|
|
|
border-bottom-left-radius: 0;
|
|
|
|
border-top-left-radius: 0;
|
2019-10-07 19:36:01 +00:00
|
|
|
color: $color-heading;
|
|
|
|
margin-right: auto;
|
2019-08-14 09:48:44 +00:00
|
|
|
}
|
|
|
|
|
2019-10-07 19:36:01 +00:00
|
|
|
+.right {
|
2019-08-14 09:48:44 +00:00
|
|
|
margin-top: $space-one;
|
2019-10-07 19:36:01 +00:00
|
|
|
|
2019-08-14 09:48:44 +00:00
|
|
|
.bubble {
|
|
|
|
border-top-right-radius: $space-small;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
&.right {
|
|
|
|
@include flex-align(right, null);
|
|
|
|
|
|
|
|
.wrap {
|
2020-02-16 10:16:26 +00:00
|
|
|
margin-right: $space-normal;
|
2019-10-07 19:36:01 +00:00
|
|
|
text-align: right;
|
2019-08-14 09:48:44 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.bubble {
|
|
|
|
border-bottom-right-radius: 0;
|
|
|
|
border-top-right-radius: 0;
|
2019-10-07 19:36:01 +00:00
|
|
|
margin-left: auto;
|
|
|
|
|
2019-08-14 09:48:44 +00:00
|
|
|
&.is-private {
|
|
|
|
background: lighten($warning-color, 32%);
|
|
|
|
color: $color-heading;
|
|
|
|
padding-right: $space-large;
|
2019-10-07 19:36:01 +00:00
|
|
|
position: relative;
|
2019-08-14 09:48:44 +00:00
|
|
|
|
2019-10-07 19:36:01 +00:00
|
|
|
&::before {
|
2019-08-14 09:48:44 +00:00
|
|
|
bottom: 0;
|
|
|
|
color: $medium-gray;
|
2019-10-07 19:36:01 +00:00
|
|
|
position: absolute;
|
|
|
|
right: $space-one;
|
|
|
|
top: $space-smaller + $space-micro;
|
2019-08-14 09:48:44 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-10-07 19:36:01 +00:00
|
|
|
+.left {
|
2019-08-14 09:48:44 +00:00
|
|
|
margin-top: $space-one;
|
2019-10-07 19:36:01 +00:00
|
|
|
|
2019-08-14 09:48:44 +00:00
|
|
|
.bubble {
|
|
|
|
border-top-left-radius: $space-small;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.wrap {
|
|
|
|
@include margin($zero $space-normal);
|
|
|
|
max-width: 69%;
|
|
|
|
|
|
|
|
.sender--name {
|
|
|
|
font-size: $font-size-mini;
|
|
|
|
margin-bottom: $space-smaller;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.sender--thumbnail {
|
|
|
|
@include round-corner();
|
2019-10-07 19:36:01 +00:00
|
|
|
height: $space-slab;
|
2019-08-14 09:48:44 +00:00
|
|
|
margin-right: $space-one;
|
|
|
|
margin-top: $space-micro;
|
2019-10-07 19:36:01 +00:00
|
|
|
width: $space-slab;
|
2019-08-14 09:48:44 +00:00
|
|
|
}
|
2019-10-07 19:36:01 +00:00
|
|
|
|
2019-08-14 09:48:44 +00:00
|
|
|
.activity-wrap {
|
|
|
|
@include flex;
|
|
|
|
@include margin($space-small auto);
|
|
|
|
@include padding($space-smaller $space-normal);
|
|
|
|
@include flex-align($x: center, $y: null);
|
|
|
|
background: lighten($warning-color, 32%);
|
2020-02-19 05:00:34 +00:00
|
|
|
border: 1px solid lighten($warning-color, 26%);
|
2019-08-14 09:48:44 +00:00
|
|
|
border-radius: $space-smaller;
|
2019-10-07 19:36:01 +00:00
|
|
|
font-size: $font-size-small;
|
2019-08-14 09:48:44 +00:00
|
|
|
|
|
|
|
p {
|
|
|
|
color: $color-heading;
|
2019-10-07 19:36:01 +00:00
|
|
|
margin-bottom: $zero;
|
2019-08-14 09:48:44 +00:00
|
|
|
|
|
|
|
.ion-person {
|
2019-10-07 19:36:01 +00:00
|
|
|
color: $color-body;
|
2019-08-14 09:48:44 +00:00
|
|
|
font-size: $font-size-default;
|
2019-10-07 19:36:01 +00:00
|
|
|
margin-right: $space-small;
|
2019-08-14 09:48:44 +00:00
|
|
|
position: relative;
|
2019-10-07 19:36:01 +00:00
|
|
|
top: $space-micro;
|
2019-08-14 09:48:44 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.message-text__wrap {
|
|
|
|
position: relative;
|
|
|
|
}
|
2019-10-07 19:36:01 +00:00
|
|
|
|
2019-08-14 09:48:44 +00:00
|
|
|
.message-text {
|
2019-10-07 19:36:01 +00:00
|
|
|
&::after {
|
|
|
|
content: ' \00a0\00a0\00a0\00a0\00a0\00a0\00a0\00a0\00a0\00a0\00a0\00a0\00a0\00a0\00a0\00a0';
|
2019-08-14 09:48:44 +00:00
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.time {
|
|
|
|
color: $medium-gray;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.time {
|
2019-10-07 19:36:01 +00:00
|
|
|
bottom: -$space-micro;
|
2019-08-14 09:48:44 +00:00
|
|
|
color: $color-gray;
|
2019-10-07 19:36:01 +00:00
|
|
|
float: right;
|
|
|
|
font-size: $font-size-micro;
|
|
|
|
font-style: italic;
|
|
|
|
margin-left: $space-slab;
|
2019-08-14 09:48:44 +00:00
|
|
|
right: -$space-micro;
|
2019-10-07 19:36:01 +00:00
|
|
|
text-align: right;
|
2019-08-14 09:48:44 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|