2019-11-01 04:03:57 +00:00
|
|
|
@charset 'utf-s';
|
|
|
|
:host {
|
2019-10-31 10:17:29 +00:00
|
|
|
display: flex;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
}
|
2019-11-01 04:03:57 +00:00
|
|
|
@mixin ellipsis($row) {
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
@if $row == 1 {
|
2019-10-31 10:17:29 +00:00
|
|
|
display: block;
|
2019-11-01 04:03:57 +00:00
|
|
|
white-space: nowrap;
|
|
|
|
word-wrap: normal;
|
|
|
|
} @else if $row >= 2 {
|
|
|
|
display: -webkit-box;
|
|
|
|
-webkit-line-clamp: $row;
|
|
|
|
-webkit-box-orient: vertical;
|
|
|
|
word-wrap: break-word;
|
2019-10-31 10:17:29 +00:00
|
|
|
}
|
2019-11-01 04:03:57 +00:00
|
|
|
}
|
2019-11-01 06:06:37 +00:00
|
|
|
.container {
|
2019-11-01 04:03:57 +00:00
|
|
|
position: relative;
|
2019-11-01 06:06:37 +00:00
|
|
|
width: 100%;
|
2019-11-01 04:03:57 +00:00
|
|
|
}
|
|
|
|
.chat-toolbar {
|
2020-01-07 10:30:58 +00:00
|
|
|
position: relative;
|
|
|
|
display: flex;
|
|
|
|
flex-flow: column;
|
2019-11-01 06:06:37 +00:00
|
|
|
width: 100%;
|
2020-01-07 10:30:58 +00:00
|
|
|
height: auto;
|
2019-11-01 04:03:57 +00:00
|
|
|
align-items: center;
|
|
|
|
background-color: #ffffff !important;
|
2019-11-07 23:58:22 +00:00
|
|
|
border-bottom: 1px solid #dddddd;
|
2019-11-20 09:04:24 +00:00
|
|
|
box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
|
2020-01-07 10:30:58 +00:00
|
|
|
z-index: 1;
|
|
|
|
padding: 0;
|
2019-11-01 04:03:57 +00:00
|
|
|
.chat-header {
|
|
|
|
width: 100%;
|
|
|
|
align-items: center;
|
2019-10-31 10:17:29 +00:00
|
|
|
display: flex;
|
2019-11-01 04:03:57 +00:00
|
|
|
justify-content: space-between;
|
2020-01-07 10:30:58 +00:00
|
|
|
justify-items: center;
|
|
|
|
padding: 10px 20px;
|
2019-10-31 10:17:29 +00:00
|
|
|
.profile-img {
|
2020-01-08 11:42:14 +00:00
|
|
|
margin-right: 10px;
|
2019-11-01 04:03:57 +00:00
|
|
|
.responsive-chats-button {
|
|
|
|
display: none;
|
2020-01-08 06:58:16 +00:00
|
|
|
line-height: normal;
|
2019-11-01 04:03:57 +00:00
|
|
|
&:last-child {
|
|
|
|
display: block;
|
|
|
|
padding: 0;
|
|
|
|
width: 40px;
|
|
|
|
height: 40px;
|
|
|
|
border-radius: 50%;
|
|
|
|
color: #efefef;
|
|
|
|
font-size: 16px;
|
|
|
|
}
|
2019-10-31 10:17:29 +00:00
|
|
|
}
|
2019-12-30 10:19:39 +00:00
|
|
|
width: 50px;
|
|
|
|
height: 50px;
|
|
|
|
&.thumbnail-mask {
|
|
|
|
border-radius: 50%;
|
|
|
|
overflow: hidden;
|
|
|
|
img {
|
|
|
|
width: 50px;
|
|
|
|
height: auto;
|
|
|
|
}
|
|
|
|
}
|
2019-10-31 10:17:29 +00:00
|
|
|
}
|
2019-11-01 04:03:57 +00:00
|
|
|
.room-info {
|
2019-11-01 06:06:37 +00:00
|
|
|
display: flex;
|
2019-11-01 04:03:57 +00:00
|
|
|
flex-flow: column;
|
|
|
|
overflow: hidden;
|
|
|
|
.room-name {
|
|
|
|
font-size: 16px;
|
|
|
|
line-height: normal;
|
|
|
|
@include ellipsis(1);
|
2019-10-31 10:17:29 +00:00
|
|
|
}
|
2019-11-01 04:03:57 +00:00
|
|
|
.room-type {
|
|
|
|
font-size: 14px;
|
|
|
|
line-height: normal;
|
|
|
|
margin-top: 6px;
|
2019-11-01 06:06:37 +00:00
|
|
|
height: 20px;
|
|
|
|
span {
|
|
|
|
border-radius: 10px;
|
2020-01-08 06:58:16 +00:00
|
|
|
padding: 1px 10px;
|
2019-11-01 06:06:37 +00:00
|
|
|
margin-right: 6px;
|
|
|
|
font-size: 13px;
|
2019-11-01 04:03:57 +00:00
|
|
|
}
|
2019-10-31 10:17:29 +00:00
|
|
|
}
|
|
|
|
}
|
2019-11-01 04:03:57 +00:00
|
|
|
.room-option {
|
|
|
|
margin-left: auto;
|
2019-10-31 10:17:29 +00:00
|
|
|
}
|
|
|
|
}
|
2020-01-07 10:30:58 +00:00
|
|
|
.chat-search-frame {
|
|
|
|
position: relative;
|
|
|
|
width: 100%;
|
|
|
|
.chat-search {
|
|
|
|
margin: 0 4px 4px;
|
|
|
|
}
|
|
|
|
}
|
2019-10-31 10:17:29 +00:00
|
|
|
}
|
2019-12-17 00:18:48 +00:00
|
|
|
|
2019-11-01 04:03:57 +00:00
|
|
|
.chat-content {
|
2019-11-01 06:06:37 +00:00
|
|
|
position: relative;
|
|
|
|
background: transparent;
|
2019-11-01 04:03:57 +00:00
|
|
|
overflow: auto;
|
2019-11-01 06:06:37 +00:00
|
|
|
-webkit-overflow-scrolling: touch;
|
|
|
|
|
|
|
|
.file-drop-zone-container {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2019-11-05 04:46:17 +00:00
|
|
|
background-color: transparent;
|
2019-11-01 06:06:37 +00:00
|
|
|
|
|
|
|
.file-drop-zone {
|
|
|
|
position: absolute;
|
2019-11-20 09:04:24 +00:00
|
|
|
padding: 10px 10px 0 10px;
|
2019-11-13 08:46:25 +00:00
|
|
|
background-color: rgb(54, 54, 54, 0.8);
|
2019-11-20 09:04:24 +00:00
|
|
|
bottom: 0;
|
2019-11-20 09:06:42 +00:00
|
|
|
width: 100%;
|
2019-11-20 09:04:24 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.sticker-selector-container {
|
|
|
|
position: absolute;
|
2019-11-25 05:12:49 +00:00
|
|
|
bottom: 0;
|
2019-11-20 09:04:24 +00:00
|
|
|
left: 0;
|
|
|
|
width: 100%;
|
|
|
|
background-color: transparent;
|
|
|
|
|
2019-11-20 09:06:42 +00:00
|
|
|
.sticker-selector-zone {
|
2019-11-20 09:04:24 +00:00
|
|
|
position: absolute;
|
|
|
|
padding: 10px 10px 0 10px;
|
2019-11-25 05:12:49 +00:00
|
|
|
background-color: rgba(250, 255, 255, 0.8);
|
2019-11-20 09:04:24 +00:00
|
|
|
bottom: 0;
|
2019-11-20 09:06:42 +00:00
|
|
|
width: 100%;
|
2019-11-01 06:06:37 +00:00
|
|
|
}
|
|
|
|
}
|
2020-01-08 11:42:14 +00:00
|
|
|
}
|
2020-01-09 09:44:04 +00:00
|
|
|
.translation-container {
|
|
|
|
.translation-section {
|
|
|
|
display: flex;
|
|
|
|
flex-flow: column;
|
|
|
|
border-top: 1px solid #dddddd;
|
|
|
|
.translation-container {
|
2019-12-31 05:36:32 +00:00
|
|
|
position: absolute;
|
|
|
|
bottom: 0;
|
2020-01-09 09:44:04 +00:00
|
|
|
left: 0;
|
2019-12-31 05:36:32 +00:00
|
|
|
width: 100%;
|
2020-01-09 09:44:04 +00:00
|
|
|
background-color: transparent;
|
|
|
|
background-color: rgba(250, 255, 255, 0.8);
|
|
|
|
border-top: 1px solid;
|
|
|
|
|
|
|
|
.translation-zone {
|
|
|
|
position: absolute;
|
|
|
|
padding: 10px 10px 0 10px;
|
|
|
|
background-color: rgba(250, 255, 255, 0.8);
|
|
|
|
bottom: 0;
|
|
|
|
width: 100%;
|
|
|
|
}
|
2019-12-31 05:36:32 +00:00
|
|
|
}
|
|
|
|
}
|
2019-09-23 05:23:24 +00:00
|
|
|
}
|
2019-11-07 04:14:44 +00:00
|
|
|
|
|
|
|
::ng-deep .chat-snackbar-class {
|
|
|
|
.mat-simple-snackbar {
|
|
|
|
span {
|
|
|
|
@include ellipsis(1);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-01-08 11:42:14 +00:00
|
|
|
|
|
|
|
::ng-deep .chat-header {
|
|
|
|
.profile-img {
|
|
|
|
.chat-timer {
|
|
|
|
.mat-button-wrapper {
|
|
|
|
.mat-icon {
|
|
|
|
line-height: normal;
|
|
|
|
color: #ffffff;
|
|
|
|
transform: translateY(-3px);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|