115 lines
2.2 KiB
SCSS
115 lines
2.2 KiB
SCSS
@charset 'utf-s';
|
|
:host {
|
|
display: flex;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
@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;
|
|
}
|
|
}
|
|
.container {
|
|
position: relative;
|
|
width: 100%;
|
|
}
|
|
.chat-toolbar {
|
|
width: 100%;
|
|
height: 80px;
|
|
min-height: 80px;
|
|
align-items: center;
|
|
background-color: #ffffff !important;
|
|
border-bottom: 1px solid #dddddd;
|
|
box-shadow: 0 3px 6px rgba(0,0,0,.16);
|
|
.chat-header {
|
|
width: 100%;
|
|
align-items: center;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
.profile-img {
|
|
margin-right: 16px;
|
|
.responsive-chats-button {
|
|
display: none;
|
|
&:last-child {
|
|
display: block;
|
|
padding: 0;
|
|
width: 40px;
|
|
height: 40px;
|
|
border-radius: 50%;
|
|
background-color: #604850;
|
|
color: #efefef;
|
|
font-size: 16px;
|
|
line-height: 40px;
|
|
}
|
|
}
|
|
}
|
|
.room-info {
|
|
display: flex;
|
|
flex-flow: column;
|
|
overflow: hidden;
|
|
.room-name {
|
|
font-size: 16px;
|
|
line-height: normal;
|
|
@include ellipsis(1);
|
|
}
|
|
.room-type {
|
|
font-size: 14px;
|
|
line-height: normal;
|
|
margin-top: 6px;
|
|
height: 20px;
|
|
span {
|
|
border-radius: 10px;
|
|
padding: 2px 10px;
|
|
margin-right: 6px;
|
|
font-size: 13px;
|
|
}
|
|
}
|
|
}
|
|
.room-option {
|
|
margin-left: auto;
|
|
}
|
|
}
|
|
}
|
|
.chat-content {
|
|
position: relative;
|
|
background: transparent;
|
|
overflow: auto;
|
|
-webkit-overflow-scrolling: touch;
|
|
|
|
.file-drop-zone-container {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background-color: transparent;
|
|
|
|
.file-drop-zone {
|
|
position: absolute;
|
|
background-color: rgb(180, 180, 180);
|
|
|
|
top: calc(100% - 200px);
|
|
left: 20%;
|
|
width: 60%;
|
|
height: 200px;
|
|
}
|
|
}
|
|
}
|
|
|
|
::ng-deep .chat-snackbar-class {
|
|
.mat-simple-snackbar {
|
|
span {
|
|
@include ellipsis(1);
|
|
}
|
|
}
|
|
}
|