@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 { position: relative; display: flex; flex-flow: column; width: 100%; height: auto; align-items: center; background-color: #ffffff !important; border-bottom: 1px solid #dddddd; box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16); z-index: 1; padding: 0; .chat-header { width: 100%; align-items: center; display: flex; justify-content: space-between; justify-items: center; padding: 10px 20px; .profile-img { margin-right: 10px; .responsive-chats-button { display: none; line-height: normal; &:last-child { display: block; padding: 0; width: 40px; height: 40px; border-radius: 50%; color: #efefef; font-size: 16px; } } width: 50px; height: 50px; &.thumbnail-mask { border-radius: 50%; overflow: hidden; img { width: 50px; height: auto; } } } .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: 1px 10px; margin-right: 6px; font-size: 13px; } } } .room-option { margin-left: auto; } } .chat-search-frame { position: relative; width: 100%; .chat-search { margin: 0 4px 4px; } } } .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; padding: 10px 10px 0 10px; background-color: rgb(54, 54, 54, 0.8); bottom: 0; width: 100%; } } .sticker-selector-container { position: absolute; bottom: 0; left: 0; width: 100%; background-color: transparent; .sticker-selector-zone { position: absolute; padding: 10px 10px 0 10px; background-color: rgba(250, 255, 255, 0.8); bottom: 0; width: 100%; } } } .translation-container { .translation-section { display: flex; flex-flow: column; border-top: 1px solid #dddddd; .translation-container { position: absolute; bottom: 0; left: 0; width: 100%; 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%; } } } } ::ng-deep .chat-snackbar-class { .mat-simple-snackbar { span { @include ellipsis(1); } } } ::ng-deep .chat-header { .profile-img { .chat-timer { .mat-button-wrapper { .mat-icon { line-height: normal; color: #ffffff; transform: translateY(-3px); } } } } }