2020-12-01 17:38:36 +02:00
|
|
|
|
.chatlist-container {
|
2020-06-13 11:19:39 +03:00
|
|
|
|
position: relative;
|
|
|
|
|
|
2020-06-21 15:25:17 +03:00
|
|
|
|
.search-group-recent.search-group {
|
|
|
|
|
@include respond-to(handhelds) {
|
|
|
|
|
padding: 2px 0 0;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2020-06-13 11:19:39 +03:00
|
|
|
|
ul {
|
|
|
|
|
margin: 0;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
2021-01-18 22:34:41 +04:00
|
|
|
|
position: relative;
|
2020-06-13 11:19:39 +03:00
|
|
|
|
width: 100%;
|
2020-06-16 23:48:08 +03:00
|
|
|
|
|
2020-10-15 21:51:55 +03:00
|
|
|
|
user-select: none;
|
2020-06-21 15:25:17 +03:00
|
|
|
|
-webkit-user-select: none; /* disable selection/Copy of UIWebView */
|
|
|
|
|
-webkit-touch-callout: none; /* disable the IOS popup when long-press on a link */
|
2020-06-13 11:19:39 +03:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
li {
|
|
|
|
|
background-color: #fff;
|
|
|
|
|
|
|
|
|
|
@include respond-to(handhelds) {
|
|
|
|
|
padding-bottom: 0px;
|
|
|
|
|
}
|
2020-08-30 22:30:11 +03:00
|
|
|
|
|
|
|
|
|
&.is-muted {
|
|
|
|
|
.user-title {
|
|
|
|
|
&:after {
|
2020-11-07 02:58:57 +02:00
|
|
|
|
flex: 0 0 auto;
|
2020-08-30 22:30:11 +03:00
|
|
|
|
content: $tgico-nosound;
|
2020-08-31 00:50:25 +03:00
|
|
|
|
color: #a3a3a3;
|
2020-08-30 22:30:11 +03:00
|
|
|
|
font-size: 1.125rem;
|
|
|
|
|
margin-left: .125rem;
|
|
|
|
|
}
|
|
|
|
|
}
|
2020-10-11 15:51:23 +03:00
|
|
|
|
|
2021-01-18 22:34:41 +04:00
|
|
|
|
body:not(.animation-level-0) & {
|
|
|
|
|
&.animating {
|
|
|
|
|
&:not(.backwards) {
|
|
|
|
|
.user-title:after {
|
|
|
|
|
animation: fade-in-opacity .2s ease-in-out forwards;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&.backwards .user-title:after {
|
|
|
|
|
animation: fade-in-backwards-opacity .2s ease-in-out forwards;
|
|
|
|
|
}
|
|
|
|
|
}
|
2020-10-11 15:51:23 +03:00
|
|
|
|
}
|
2020-08-30 22:30:11 +03:00
|
|
|
|
}
|
2021-01-18 22:34:41 +04:00
|
|
|
|
|
|
|
|
|
span {
|
|
|
|
|
display: inline-block;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
vertical-align: middle;
|
|
|
|
|
//margin: .1rem 0;
|
|
|
|
|
line-height: 27px;
|
|
|
|
|
}
|
2021-01-20 05:38:59 +04:00
|
|
|
|
|
|
|
|
|
p {
|
|
|
|
|
margin: 0;
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
flex-direction: row;
|
|
|
|
|
align-items: flex-start;
|
|
|
|
|
height: 27px;
|
|
|
|
|
}
|
2021-01-23 00:12:57 +02:00
|
|
|
|
|
|
|
|
|
a {
|
|
|
|
|
color: inherit;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.text-highlight {
|
|
|
|
|
color: #000;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* img.emoji {
|
|
|
|
|
margin-right: .25rem;
|
|
|
|
|
margin-left: .25rem;
|
|
|
|
|
|
|
|
|
|
&:first-child {
|
|
|
|
|
margin-left: 0;
|
|
|
|
|
}
|
|
|
|
|
} */
|
2020-06-13 11:19:39 +03:00
|
|
|
|
}
|
|
|
|
|
|
2021-03-10 23:59:38 +04:00
|
|
|
|
li > .rp {
|
|
|
|
|
height: 72px;
|
|
|
|
|
max-height: 72px;
|
|
|
|
|
border-radius: $border-radius-medium;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: flex-start; // TODO: проверить разницу в производительности с align-items: center;
|
|
|
|
|
flex-direction: row;
|
|
|
|
|
position: relative;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
padding: 9px 8.5px;
|
|
|
|
|
margin: 0 8px;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
|
|
|
|
/* html.is-safari & {
|
|
|
|
|
margin-right: 3px;
|
|
|
|
|
} */
|
|
|
|
|
|
|
|
|
|
@include respond-to(handhelds) {
|
|
|
|
|
padding: 9px 12px 9px 9px !important;
|
|
|
|
|
border-radius: 0;
|
|
|
|
|
margin: 0;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@include hover-background-effect();
|
|
|
|
|
}
|
|
|
|
|
|
2020-09-28 03:23:00 +03:00
|
|
|
|
li.menu-open {
|
2020-06-13 11:19:39 +03:00
|
|
|
|
> .rp {
|
2020-09-28 03:23:00 +03:00
|
|
|
|
background: var(--color-gray-hover);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@include respond-to(not-handhelds) {
|
|
|
|
|
li.active > .rp {
|
|
|
|
|
background: var(--color-gray-hover);
|
2020-06-13 11:19:39 +03:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2020-11-07 00:20:30 +02:00
|
|
|
|
.dialog {
|
|
|
|
|
&-title {
|
|
|
|
|
&-details {
|
|
|
|
|
font-size: .75rem;
|
|
|
|
|
padding: 1px 0px 0px 0px;
|
|
|
|
|
flex: 0 0 auto;
|
2020-11-07 02:58:57 +02:00
|
|
|
|
margin-left: .5rem;
|
2020-11-07 00:20:30 +02:00
|
|
|
|
}
|
2020-06-13 11:19:39 +03:00
|
|
|
|
}
|
2020-11-07 00:20:30 +02:00
|
|
|
|
|
|
|
|
|
&-subtitle {
|
2021-03-10 23:59:38 +04:00
|
|
|
|
margin-top: -3px;
|
|
|
|
|
|
2020-11-07 00:20:30 +02:00
|
|
|
|
&-badge {
|
|
|
|
|
&:not(:empty), &.tgico-pinnedchat {
|
|
|
|
|
margin-left: .5rem;
|
|
|
|
|
}
|
|
|
|
|
}
|
2020-06-13 11:19:39 +03:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.dialog-avatar {
|
|
|
|
|
flex: 0 0 auto;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.user-caption {
|
|
|
|
|
max-width: 100%;
|
|
|
|
|
max-height: 100%;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
color: $color-gray;
|
|
|
|
|
flex: 1 1 auto;
|
2020-06-19 14:49:55 +03:00
|
|
|
|
//padding: 1px 3.5px 1px 9px; - DO MAKETA JS3
|
|
|
|
|
padding: 1px 8.5px 1px 9px; // JS3
|
2020-06-13 11:19:39 +03:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.user-title {
|
2021-01-18 22:34:41 +04:00
|
|
|
|
display: flex !important;
|
2020-11-07 02:58:57 +02:00
|
|
|
|
align-items: center;
|
2020-06-13 11:19:39 +03:00
|
|
|
|
|
|
|
|
|
img.emoji {
|
|
|
|
|
vertical-align: top;
|
|
|
|
|
margin-top: 4px;
|
|
|
|
|
width: 18px;
|
|
|
|
|
height: 18px;
|
|
|
|
|
}
|
|
|
|
|
|
2021-01-18 22:34:41 +04:00
|
|
|
|
/* span.emoji {
|
|
|
|
|
&:first-of-type:not(:first-child) {
|
|
|
|
|
margin-left: .125rem;
|
|
|
|
|
}
|
|
|
|
|
} */
|
2020-06-13 11:19:39 +03:00
|
|
|
|
|
2020-11-07 02:58:57 +02:00
|
|
|
|
.verified-icon {
|
|
|
|
|
flex: 0 0 auto;
|
2020-06-13 11:19:39 +03:00
|
|
|
|
content: " ";
|
|
|
|
|
background: url(assets/img/icon-verified.svg);
|
|
|
|
|
width: 20px;
|
|
|
|
|
height: 20px;
|
2020-08-30 22:30:11 +03:00
|
|
|
|
margin-left: .125rem;
|
2020-06-13 11:19:39 +03:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.user-last-message {
|
|
|
|
|
img.emoji {
|
|
|
|
|
width: 20px;
|
|
|
|
|
height: 20px;
|
|
|
|
|
margin-top: -3px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
span.emoji {
|
|
|
|
|
font-size: 1.2rem;
|
|
|
|
|
margin: 0 .125rem;
|
|
|
|
|
overflow: visible;
|
2021-01-20 05:38:59 +04:00
|
|
|
|
//margin-top: -1.5px;
|
2020-06-13 11:19:39 +03:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.user-title, .user-last-message {
|
|
|
|
|
i {
|
|
|
|
|
font-style: normal;
|
2021-01-23 00:12:57 +02:00
|
|
|
|
//color: $color-blue;
|
2020-06-13 11:19:39 +03:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.message-status {
|
|
|
|
|
margin-right: .1rem;
|
|
|
|
|
//margin-top: .3rem;
|
|
|
|
|
margin-top: -.3rem;
|
|
|
|
|
|
|
|
|
|
&[class*=" tgico-"] {
|
|
|
|
|
color: $color-green;
|
|
|
|
|
font-size: 1.25rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&:before {
|
|
|
|
|
vertical-align: middle;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2021-01-12 15:22:00 +04:00
|
|
|
|
.dialog-subtitle-badge {
|
2020-06-13 11:19:39 +03:00
|
|
|
|
margin-top: 4px;
|
2020-06-20 04:11:24 +03:00
|
|
|
|
margin-right: -3px;
|
2021-01-21 16:27:14 +02:00
|
|
|
|
margin-left: .25rem;
|
2020-06-13 11:19:39 +03:00
|
|
|
|
flex: 0 0 auto;
|
|
|
|
|
}
|
|
|
|
|
|
2021-01-21 16:27:14 +02:00
|
|
|
|
.tgico-chatspinned {
|
|
|
|
|
background: transparent;
|
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
|
|
&:before {
|
|
|
|
|
color: #a2abb2;
|
|
|
|
|
transition: opacity .2s ease-in-out;
|
|
|
|
|
opacity: 1;
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 0;
|
|
|
|
|
left: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&.unread {
|
|
|
|
|
&:before {
|
|
|
|
|
opacity: 0;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2020-10-11 15:51:23 +03:00
|
|
|
|
.unread, li.is-muted.backwards .unread {
|
2020-06-13 11:19:39 +03:00
|
|
|
|
background: $color-green;
|
|
|
|
|
}
|
|
|
|
|
|
2021-01-21 16:27:14 +02:00
|
|
|
|
li.is-muted .unread {
|
2020-06-13 11:19:39 +03:00
|
|
|
|
background: #c5c9cc;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.search-group {
|
|
|
|
|
width: 100%;
|
|
|
|
|
//border-bottom: 1px solid #DADCE0;
|
|
|
|
|
padding: 1rem 0 .5rem;
|
2020-12-29 10:08:50 +02:00
|
|
|
|
margin-bottom: 17px;
|
2020-06-13 11:19:39 +03:00
|
|
|
|
|
2020-06-21 15:25:17 +03:00
|
|
|
|
@include respond-to(handhelds) {
|
|
|
|
|
margin-bottom: 0;
|
|
|
|
|
}
|
|
|
|
|
|
2020-06-13 11:19:39 +03:00
|
|
|
|
&__name {
|
|
|
|
|
color: $color-gray;
|
|
|
|
|
padding: 0 23px;
|
|
|
|
|
padding-bottom: 1rem;
|
|
|
|
|
font-weight: 500;
|
2020-06-21 15:25:17 +03:00
|
|
|
|
user-select: none;
|
|
|
|
|
|
|
|
|
|
@include respond-to(handhelds) {
|
2020-12-29 10:08:50 +02:00
|
|
|
|
padding: 5px 9px 0 16px;
|
2020-06-21 15:25:17 +03:00
|
|
|
|
font-size: 15px;
|
|
|
|
|
}
|
2020-06-13 11:19:39 +03:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&-contacts {
|
2020-12-29 10:08:50 +02:00
|
|
|
|
border-bottom: 1px solid #dadce0;
|
2020-06-13 11:19:39 +03:00
|
|
|
|
|
2020-06-21 15:25:17 +03:00
|
|
|
|
@include respond-to(handhelds) {
|
2020-12-29 10:08:50 +02:00
|
|
|
|
padding: 0px 0 2px;
|
2020-06-21 15:25:17 +03:00
|
|
|
|
}
|
|
|
|
|
|
2020-12-29 10:08:50 +02:00
|
|
|
|
// .search-group__name {
|
|
|
|
|
// padding-bottom: 17px;
|
2020-06-21 15:25:17 +03:00
|
|
|
|
|
2020-12-29 10:08:50 +02:00
|
|
|
|
// @include respond-to(handhelds) {
|
|
|
|
|
// padding-bottom: 0;
|
|
|
|
|
// }
|
|
|
|
|
// }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&-people.search-group-contacts {
|
|
|
|
|
padding: 5px 0 5px !important;
|
2020-06-13 11:19:39 +03:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
|
border-bottom: none;
|
|
|
|
|
}
|
|
|
|
|
}
|
2020-12-29 10:08:50 +02:00
|
|
|
|
|
|
|
|
|
.search-super {
|
|
|
|
|
.search-group {
|
|
|
|
|
margin-bottom: 0px;
|
|
|
|
|
padding: 4px 0 0;
|
|
|
|
|
|
|
|
|
|
&__name {
|
|
|
|
|
padding-top: 1rem;
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2020-06-13 11:19:39 +03:00
|
|
|
|
}
|
|
|
|
|
|
2020-12-01 17:38:36 +02:00
|
|
|
|
// use together like class="chatlist-container contacts-container"
|
2020-06-13 11:19:39 +03:00
|
|
|
|
.contacts-container, .search-group-contacts {
|
|
|
|
|
li {
|
|
|
|
|
//margin-bottom: 2px;
|
|
|
|
|
padding-bottom: 4px;
|
|
|
|
|
padding-top: 2px;
|
2020-06-21 15:25:17 +03:00
|
|
|
|
|
|
|
|
|
@include respond-to(handhelds) {
|
|
|
|
|
padding: 0;
|
|
|
|
|
}
|
2020-06-13 11:19:39 +03:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
li > .rp {
|
|
|
|
|
padding: 9px 11.5px !important;
|
|
|
|
|
height: 66px;
|
2020-06-21 15:25:17 +03:00
|
|
|
|
|
|
|
|
|
//@include respond-to(handhelds) {
|
|
|
|
|
//height: 62px;
|
|
|
|
|
//}
|
2020-06-13 11:19:39 +03:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.user-caption {
|
|
|
|
|
padding: 1px 3.5px 1px 13px;
|
2020-06-21 15:25:17 +03:00
|
|
|
|
|
|
|
|
|
@include respond-to(handhelds) {
|
|
|
|
|
padding: 0px 4px 0px 14px;
|
|
|
|
|
}
|
2020-06-13 11:19:39 +03:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.user-title, b, .user-last-message b {
|
|
|
|
|
font-weight: normal;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
p {
|
|
|
|
|
height: 24px;
|
2020-06-21 15:25:17 +03:00
|
|
|
|
|
|
|
|
|
@include respond-to(handhelds) {
|
|
|
|
|
height: 26px;
|
|
|
|
|
}
|
2020-06-13 11:19:39 +03:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
span.user-last-message {
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#contacts-container {
|
|
|
|
|
.sidebar-header {
|
|
|
|
|
margin-bottom: 1px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.input-search {
|
|
|
|
|
margin-left: 16px;
|
|
|
|
|
}
|
|
|
|
|
}
|