next-ucap-messenger/projects/ucap-webmessenger-app/src/app/layouts/messenger/components/messages.component.scss

86 lines
1.6 KiB
SCSS
Raw Normal View History

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
}
.container{
position: relative;
width:100%;
}
.chat-toolbar {
width:100%;
height: 70px;
min-height: 70px;
align-items: center;
background-color: #ffffff !important;
border: 1px solid #dddddd;
.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;
2019-10-31 10:17:29 +00:00
.profile-img {
2019-11-01 04:03:57 +00:00
margin-right: 20px;
.responsive-chats-button {
display: none;
&:last-child {
display: block;
padding: 0;
width: 40px;
height: 40px;
border-radius: 50%;
background-color: #252525;
color: #efefef;
font-size: 16px;
line-height: 40px;
}
2019-10-31 10:17:29 +00:00
}
}
2019-11-01 04:03:57 +00:00
.room-info {
display:flex;
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;
height:20px;
span{
border-radius:10px;
padding:1px 10px;
margin-right:6px;
font-size:13px;
}
2019-10-31 10:17:29 +00:00
}
}
2019-11-01 04:03:57 +00:00
.room-option {
wdith: 100%;
margin-left: auto;
2019-10-31 10:17:29 +00:00
}
}
}
2019-11-01 04:03:57 +00:00
.chat-content {
overflow: auto;
}