2019-10-21 13:20:14 +09:00
|
|
|
@charset 'utf-8';
|
2019-10-24 10:07:30 +09:00
|
|
|
$font-dark: #212121;
|
|
|
|
$font-mid: #666666;
|
|
|
|
$font-light: #848d95;
|
|
|
|
$font-white: #ffffff;
|
2019-10-31 19:17:29 +09:00
|
|
|
$line-basic: 1px solid #dddddd;
|
2019-10-24 10:07:30 +09:00
|
|
|
$bg-list-hover: #efefef;
|
|
|
|
$listH-row2: 80px;
|
|
|
|
$presence-size: 8px;
|
|
|
|
$thumbnail-msize: 40px;
|
|
|
|
|
|
|
|
@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-10-31 19:17:29 +09:00
|
|
|
.badge-timer {
|
|
|
|
position:absolute;
|
|
|
|
background-color: #ffffff;
|
|
|
|
width: 18px;
|
|
|
|
height: 18px;
|
|
|
|
border-radius: 50%;
|
|
|
|
bottom: 14px;
|
|
|
|
left: 46px;
|
|
|
|
text-align:center;
|
|
|
|
.mat-icon{
|
|
|
|
font-size:14px;
|
|
|
|
width: 18px;
|
|
|
|
height: 18px;
|
|
|
|
line-height:18px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-10-10 15:50:50 +09:00
|
|
|
.profile {
|
|
|
|
white-space: normal;
|
|
|
|
text-align: left;
|
|
|
|
letter-spacing: 0.01em;
|
|
|
|
min-height: 88px;
|
2019-10-21 13:20:14 +09:00
|
|
|
border-bottom: $line-basic;
|
2019-10-10 15:50:50 +09:00
|
|
|
padding: 16px;
|
|
|
|
font-weight: 400;
|
|
|
|
border-radius: 0;
|
|
|
|
.avatar-wrapper {
|
|
|
|
.avatar {
|
|
|
|
margin-right: 16px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.profile-name {
|
|
|
|
font-size: 16px;
|
2019-10-21 15:03:27 +09:00
|
|
|
@include ellipsis(1);
|
2019-10-10 15:50:50 +09:00
|
|
|
}
|
|
|
|
|
|
|
|
.profile-last-message {
|
|
|
|
line-height: normal;
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.profile-last-message-time {
|
|
|
|
font-size: 12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.profile-mood {
|
|
|
|
line-height: normal;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.unread-message-count {
|
|
|
|
font-size: 12px;
|
|
|
|
border-radius: 50%;
|
|
|
|
text-align: center;
|
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
|
|
|
line-height: 20px;
|
|
|
|
}
|
|
|
|
}
|
2019-10-21 13:20:14 +09:00
|
|
|
%list-item {
|
|
|
|
position: relative;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
width: 100%;
|
|
|
|
height: $listH-row2;
|
|
|
|
border-bottom: $line-basic;
|
|
|
|
padding: 20px;
|
|
|
|
}
|
|
|
|
.item-default {
|
|
|
|
display: flex;
|
|
|
|
width: 100%;
|
|
|
|
.thumbnail {
|
|
|
|
width: $thumbnail-msize;
|
|
|
|
height: $thumbnail-msize;
|
|
|
|
margin-right: 16px;
|
2019-10-31 19:17:29 +09:00
|
|
|
border-radius: 50%;
|
2019-10-21 13:20:14 +09:00
|
|
|
}
|
|
|
|
.info {
|
|
|
|
position: relative;
|
|
|
|
display: flex;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
width: calc(100% - 50px);
|
|
|
|
.detail {
|
|
|
|
flex-direction: column;
|
|
|
|
width: calc(100% - 80px);
|
|
|
|
.room-name {
|
|
|
|
display: inline-flex;
|
|
|
|
color: $font-dark;
|
|
|
|
width: 100%;
|
|
|
|
margin-bottom: 2px;
|
|
|
|
.name {
|
|
|
|
font-size: 16px;
|
|
|
|
@include ellipsis(1);
|
|
|
|
font-weight: 600;
|
|
|
|
}
|
2019-10-29 19:06:25 +09:00
|
|
|
.mat-icon {
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
display: inline-block;
|
|
|
|
fill: currentColor;
|
|
|
|
height: 12px;
|
|
|
|
width: 12px;
|
|
|
|
font-size: 16px;
|
|
|
|
color: #666666;
|
|
|
|
margin-left: 4px;
|
|
|
|
}
|
2019-10-21 13:20:14 +09:00
|
|
|
.num {
|
|
|
|
font-size: 12px;
|
|
|
|
flex: none;
|
2019-10-31 19:17:29 +09:00
|
|
|
margin-left: 6px;
|
2019-10-21 13:20:14 +09:00
|
|
|
}
|
|
|
|
}
|
|
|
|
.room-msg {
|
|
|
|
font-size: 12px;
|
|
|
|
color: $font-mid;
|
2019-10-21 15:03:27 +09:00
|
|
|
@include ellipsis(1);
|
2019-10-21 13:20:14 +09:00
|
|
|
}
|
|
|
|
}
|
|
|
|
.date {
|
|
|
|
float: right;
|
|
|
|
width: 70px;
|
|
|
|
font-size: 11px;
|
|
|
|
text-align: right;
|
|
|
|
margin-left: 10px;
|
|
|
|
color: $font-mid;
|
|
|
|
@include ellipsis(1);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.list-item {
|
|
|
|
@extend %list-item;
|
|
|
|
&:hover {
|
|
|
|
background-color: $bg-list-hover;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.noti {
|
|
|
|
position: absolute;
|
|
|
|
right: 22px;
|
|
|
|
bottom: 22px;
|
|
|
|
max-width: 60px;
|
|
|
|
padding: 0 6px;
|
|
|
|
font-size: 11px;
|
|
|
|
color: #ffffff;
|
|
|
|
@include ellipsis(1);
|
2019-10-31 19:17:29 +09:00
|
|
|
border-radius: 50%;
|
2019-10-21 13:20:14 +09:00
|
|
|
}
|
2019-10-21 15:03:27 +09:00
|
|
|
|
|
|
|
.notiBadge {
|
|
|
|
position: absolute !important;
|
|
|
|
right: 22px;
|
|
|
|
bottom: 22px;
|
|
|
|
}
|