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
|
|
|
|
|
|
|
.chat-list__top {
|
|
|
|
@include padding($space-normal $zero $space-small $zero);
|
|
|
|
.page-title {
|
|
|
|
float: left;
|
|
|
|
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
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.conversations-list {
|
|
|
|
@include flex-weight(1);
|
|
|
|
@include scroll-on-hover;
|
|
|
|
}
|
|
|
|
|
|
|
|
.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;
|
2019-10-07 19:36:01 +00:00
|
|
|
.current-chat {
|
2019-08-14 09:48:44 +00:00
|
|
|
@include flex;
|
|
|
|
@include full-height;
|
2019-10-20 08:04:19 +00:00
|
|
|
flex-direction: column;
|
2019-08-14 09:48:44 +00:00
|
|
|
@include flex-align(center, middle);
|
|
|
|
div {
|
|
|
|
@include flex;
|
|
|
|
@include full-height;
|
2019-10-20 08:04:19 +00:00
|
|
|
flex-direction: column;
|
2019-08-14 09:48:44 +00:00
|
|
|
@include flex-align(center, middle);
|
|
|
|
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;
|
2019-10-20 08:04:19 +00:00
|
|
|
flex-direction: column;
|
2019-08-14 09:48:44 +00:00
|
|
|
@include flex-align(center, middle);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.conversation-panel {
|
|
|
|
@include flex;
|
|
|
|
@include flex-weight(1);
|
2019-10-20 08:04:19 +00:00
|
|
|
flex-direction: column;
|
2019-08-14 09:48:44 +00:00
|
|
|
@include margin($zero);
|
2019-10-07 19:36:01 +00:00
|
|
|
// Firefox flexbox fix
|
2019-08-14 09:48:44 +00:00
|
|
|
height: 100%;
|
2019-10-07 19:36:01 +00:00
|
|
|
overflow-y: scroll;
|
2019-08-14 09:48:44 +00:00
|
|
|
|
|
|
|
> li {
|
|
|
|
@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 {
|
|
|
|
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 {
|
|
|
|
margin-right: $space-small;
|
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%);
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.bubble {
|
|
|
|
@include padding($space-smaller $space-one);
|
|
|
|
@include margin($zero);
|
|
|
|
background: #c7e3ff;
|
|
|
|
border-radius: $space-small;
|
2019-10-07 19:36:01 +00:00
|
|
|
box-shadow: 0 .5px .5px rgba(0, 0, 0, .05);
|
|
|
|
color: $color-heading;
|
2019-08-14 09:48:44 +00:00
|
|
|
font-size: $font-size-small;
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
.icon {
|
2019-10-07 19:36:01 +00:00
|
|
|
bottom: $space-smaller;
|
2019-08-14 09:48:44 +00:00
|
|
|
position: absolute;
|
|
|
|
right: $space-small;
|
|
|
|
}
|
2019-10-07 19:36:01 +00:00
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.audio {
|
|
|
|
.time {
|
|
|
|
margin-top: -$space-two;
|
|
|
|
}
|
|
|
|
}
|
2019-10-07 19:36:01 +00:00
|
|
|
|
2019-08-14 09:48:44 +00:00
|
|
|
.image {
|
|
|
|
@include flex;
|
2019-10-20 08:04:19 +00:00
|
|
|
justify-content: center;
|
|
|
|
align-items: flex-end;
|
2019-08-14 09:48:44 +00:00
|
|
|
text-align: center;
|
2019-10-07 19:36:01 +00:00
|
|
|
|
2019-08-14 09:48:44 +00:00
|
|
|
img {
|
2019-10-07 19:36:01 +00:00
|
|
|
@include padding($space-small);
|
2019-08-14 09:48:44 +00:00
|
|
|
max-height: 30rem;
|
|
|
|
max-width: 20rem;
|
|
|
|
}
|
2019-10-07 19:36:01 +00:00
|
|
|
|
2019-08-14 09:48:44 +00:00
|
|
|
.time {
|
|
|
|
margin-left: -$space-large;
|
2019-10-07 19:36:01 +00:00
|
|
|
white-space: nowrap;
|
2019-08-14 09:48:44 +00:00
|
|
|
}
|
2019-10-07 19:36:01 +00:00
|
|
|
|
2019-08-14 09:48:44 +00:00
|
|
|
.modal-image {
|
|
|
|
max-height: 80%;
|
2019-10-07 19:36:01 +00:00
|
|
|
max-width: 80%;
|
2019-08-14 09:48:44 +00:00
|
|
|
}
|
|
|
|
}
|
2019-10-07 19:36:01 +00:00
|
|
|
|
2019-08-14 09:48:44 +00:00
|
|
|
.map {
|
|
|
|
@include flex;
|
|
|
|
flex-direction: column;
|
|
|
|
text-align: right;
|
2019-10-07 19:36:01 +00:00
|
|
|
|
2019-08-14 09:48:44 +00:00
|
|
|
img {
|
2019-10-07 19:36:01 +00:00
|
|
|
@include padding($space-small);
|
2019-08-14 09:48:44 +00:00
|
|
|
max-height: 30rem;
|
|
|
|
max-width: 20rem;
|
|
|
|
}
|
2019-10-07 19:36:01 +00:00
|
|
|
|
2019-08-14 09:48:44 +00:00
|
|
|
.time {
|
|
|
|
@include padding($space-small);
|
2019-10-07 19:36:01 +00:00
|
|
|
margin-left: -$space-smaller;
|
|
|
|
margin-top: -$space-two;
|
|
|
|
white-space: nowrap;
|
2019-08-14 09:48:44 +00:00
|
|
|
}
|
2019-10-07 19:36:01 +00:00
|
|
|
|
2019-08-14 09:48:44 +00:00
|
|
|
.locname {
|
|
|
|
font-weight: $font-weight-medium;
|
|
|
|
padding: $space-smaller;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.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
|
|
|
position: absolute;
|
|
|
|
right: -$space-micro;
|
2019-10-07 19:36:01 +00:00
|
|
|
text-align: right;
|
2019-08-14 09:48:44 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|