2019-10-21 04:20:14 +00:00
|
|
|
@charset 'utf-8';
|
2019-10-29 02:39:34 +00:00
|
|
|
$line-basic: 1px solid #dddddd;
|
2019-10-24 01:07:30 +00:00
|
|
|
@mixin ellipsis($row) {
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
@if $row == 1 {
|
|
|
|
display: block;
|
|
|
|
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-09-23 05:23:24 +00:00
|
|
|
:host {
|
|
|
|
display: flex;
|
2019-09-26 05:38:21 +00:00
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
flex: 1;
|
|
|
|
|
|
|
|
.container {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2019-09-23 05:23:24 +00:00
|
|
|
|
|
|
|
.chat-toolbar {
|
2019-10-21 04:20:14 +00:00
|
|
|
height: 70px;
|
|
|
|
min-height: 70px;
|
|
|
|
border-bottom: $line-basic;
|
2019-10-29 02:39:34 +00:00
|
|
|
background-color: #ffffff;
|
|
|
|
.chat-header {
|
|
|
|
width: 100%;
|
2019-10-21 04:20:14 +00:00
|
|
|
.responsive-chats-button {
|
|
|
|
padding: 0;
|
|
|
|
width: 40px;
|
|
|
|
height: 40px;
|
|
|
|
border-radius: 50%;
|
|
|
|
background-color: #252525;
|
|
|
|
color: #efefef;
|
|
|
|
font-size: 16px;
|
|
|
|
font-weight: 100;
|
|
|
|
line-height: 40px;
|
|
|
|
}
|
2019-10-29 02:39:34 +00:00
|
|
|
.room-name {
|
|
|
|
font-size: 16px;
|
|
|
|
padding: 0 10px;
|
|
|
|
@include ellipsis(1);
|
2019-10-21 04:20:14 +00:00
|
|
|
}
|
2019-10-29 02:39:34 +00:00
|
|
|
.room-option {
|
|
|
|
width: 100px;
|
|
|
|
margin-left: auto;
|
2019-10-21 04:20:14 +00:00
|
|
|
}
|
2019-09-23 05:23:24 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-09-26 05:38:21 +00:00
|
|
|
.chat-content {
|
2019-10-31 08:09:38 +00:00
|
|
|
position: relative;
|
2019-09-23 05:23:24 +00:00
|
|
|
background: transparent;
|
|
|
|
overflow: auto;
|
|
|
|
-webkit-overflow-scrolling: touch;
|
2019-10-21 04:36:58 +00:00
|
|
|
|
2019-10-31 08:09:38 +00:00
|
|
|
.file-drop-zone-container {
|
2019-10-29 09:19:41 +00:00
|
|
|
position: absolute;
|
2019-10-31 08:09:38 +00:00
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
background-color: rgba(255, 255, 255, 0.95);
|
|
|
|
|
|
|
|
.file-drop-zone {
|
|
|
|
position: absolute;
|
|
|
|
|
|
|
|
top: 10%;
|
|
|
|
left: 10%;
|
|
|
|
width: 80%;
|
|
|
|
height: 80%;
|
|
|
|
}
|
2019-10-21 04:36:58 +00:00
|
|
|
}
|
2019-09-23 05:23:24 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|