2021-04-08 15:52:31 +02:00
|
|
|
/*
|
|
|
|
* https://github.com/morethanwords/tweb
|
|
|
|
* Copyright (C) 2019-2021 Eduard Kuzmenko
|
|
|
|
* https://github.com/morethanwords/tweb/blob/master/LICENSE
|
|
|
|
*/
|
|
|
|
|
2020-04-24 02:48:48 +02:00
|
|
|
#column-right {
|
2020-03-01 18:26:25 +01:00
|
|
|
position: relative;
|
2021-04-02 16:32:10 +02:00
|
|
|
overflow: unset;
|
2020-03-01 18:26:25 +01:00
|
|
|
|
2020-09-23 22:29:53 +02:00
|
|
|
@include respond-to(only-small-screens) {
|
2021-04-16 05:51:47 +02:00
|
|
|
box-shadow: 0 0.25rem 0.5rem 0.1rem rgba(0, 0, 0, .2);
|
2020-09-23 22:29:53 +02:00
|
|
|
}
|
|
|
|
|
2020-12-21 01:38:21 +01:00
|
|
|
@include respond-to(handhelds) {
|
|
|
|
body:not(.is-right-column-shown) & {
|
|
|
|
transform: translate3d(100vw, 0, 0);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-02-10 16:56:59 +01:00
|
|
|
@include respond-to(floating-left-sidebar) {
|
|
|
|
body.is-right-column-shown:not(.is-left-column-shown) & {
|
|
|
|
transition: transform var(--transition-standard-in);
|
|
|
|
transform: translate3d(0, 0, 0);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@include respond-to(no-floating-left-sidebar) {
|
|
|
|
body.is-right-column-shown & {
|
|
|
|
transition: transform var(--transition-standard-in);
|
|
|
|
transform: translate3d(0, 0, 0);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-06-05 18:01:06 +02:00
|
|
|
@include respond-to(not-handhelds) {
|
2021-05-04 15:49:00 +02:00
|
|
|
width: calc(var(--right-column-width));
|
2021-04-15 01:45:29 +02:00
|
|
|
transition: transform var(--transition-standard-out);
|
2020-09-23 22:29:53 +02:00
|
|
|
position: absolute;
|
|
|
|
right: 0;
|
|
|
|
z-index: 3;
|
2021-05-04 15:49:00 +02:00
|
|
|
transform: translate3d(var(--right-column-width), 0, 0);
|
|
|
|
//transform: translate3d(calc(var(--right-column-width) + 1px), 0, 0);
|
2020-04-24 02:48:48 +02:00
|
|
|
|
2020-06-05 18:01:06 +02:00
|
|
|
.sidebar-content {
|
2020-09-23 22:29:53 +02:00
|
|
|
min-width: var(--right-column-width);
|
2020-06-05 18:01:06 +02:00
|
|
|
}
|
|
|
|
|
2020-09-23 22:29:53 +02:00
|
|
|
/* &:not(.active) {
|
2020-06-05 18:01:06 +02:00
|
|
|
border-left-width: 0;
|
2020-09-23 22:29:53 +02:00
|
|
|
} */
|
2020-06-05 18:01:06 +02:00
|
|
|
|
2020-09-23 22:29:53 +02:00
|
|
|
body.animation-level-0 & {
|
|
|
|
transition: none;
|
|
|
|
}
|
|
|
|
|
2021-05-03 18:32:28 +02:00
|
|
|
/* &:before {
|
2021-04-04 20:46:09 +02:00
|
|
|
position: absolute;
|
|
|
|
content: " ";
|
|
|
|
display: block;
|
2021-05-04 15:49:00 +02:00
|
|
|
//height: 56px;
|
|
|
|
height: 100vh;
|
2021-04-04 20:46:09 +02:00
|
|
|
width: 1px;
|
|
|
|
background-color: var(--border-color);
|
2021-05-04 15:49:00 +02:00
|
|
|
left: 0px;
|
2021-04-04 20:46:09 +02:00
|
|
|
top: 0;
|
2021-05-03 18:32:28 +02:00
|
|
|
} */
|
|
|
|
}
|
|
|
|
|
|
|
|
@include respond-to(medium-screens) {
|
2021-05-04 15:49:00 +02:00
|
|
|
width: calc(var(--right-column-width) + 1px);
|
|
|
|
transform: translate3d(calc(var(--right-column-width) + 1px), 0, 0);
|
2021-05-03 18:32:28 +02:00
|
|
|
border-left: 1px solid var(--border-color);
|
2020-03-01 18:26:25 +01:00
|
|
|
}
|
|
|
|
|
2021-04-02 16:32:10 +02:00
|
|
|
/* @include respond-to(medium-screens) {
|
|
|
|
border-left: 1px solid var(--border-color);
|
|
|
|
} */
|
|
|
|
|
2020-10-20 01:39:36 +02:00
|
|
|
/* body.is-forward-active & {
|
2020-10-04 01:10:57 +02:00
|
|
|
z-index: 4;
|
2020-10-20 01:39:36 +02:00
|
|
|
} */
|
2020-10-04 01:10:57 +02:00
|
|
|
|
2020-03-01 18:26:25 +01:00
|
|
|
.sidebar-header {
|
|
|
|
flex: 0 0 auto;
|
2020-06-05 18:01:06 +02:00
|
|
|
|
2021-02-15 16:49:58 +01:00
|
|
|
.sidebar-close-button.tgico:before {
|
2021-04-15 01:45:29 +02:00
|
|
|
content: $tgico-left;
|
2020-06-05 18:01:06 +02:00
|
|
|
|
|
|
|
@include respond-to(not-handhelds) {
|
|
|
|
content: $tgico-close;
|
|
|
|
}
|
|
|
|
}
|
2020-03-01 18:26:25 +01:00
|
|
|
}
|
2020-04-24 02:48:48 +02:00
|
|
|
|
|
|
|
#search-private-container {
|
2020-12-01 16:38:36 +01:00
|
|
|
.chatlist-container {
|
2020-04-24 02:48:48 +02:00
|
|
|
position: relative;
|
|
|
|
flex: 1 1 auto;
|
|
|
|
}
|
|
|
|
}
|
2020-05-06 03:03:31 +02:00
|
|
|
|
2020-10-20 01:39:36 +02:00
|
|
|
/* #forward-container {
|
2020-05-27 08:21:16 +02:00
|
|
|
z-index: 5;
|
2020-10-20 01:39:36 +02:00
|
|
|
} */
|
2020-05-27 08:21:16 +02:00
|
|
|
|
2020-05-06 03:03:31 +02:00
|
|
|
.sidebar-search {
|
|
|
|
display: none;
|
|
|
|
|
|
|
|
&.active {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
}
|
2021-03-12 22:40:03 +01:00
|
|
|
|
|
|
|
.input-wrapper {
|
|
|
|
width: 100%;
|
|
|
|
max-width: 100%;
|
2023-01-06 20:27:29 +01:00
|
|
|
margin: .75rem 0;
|
|
|
|
padding: 0 .75rem;
|
2021-03-12 22:40:03 +01:00
|
|
|
}
|
2020-03-01 18:26:25 +01:00
|
|
|
}
|
|
|
|
|
2021-04-09 18:44:43 +02:00
|
|
|
.shared-media-container {
|
2021-04-13 18:19:52 +02:00
|
|
|
//background-color: var(--background-color-true) !important;
|
2021-03-11 23:39:57 +01:00
|
|
|
/* .search-super {
|
2020-12-25 13:53:20 +01:00
|
|
|
top: 100%;
|
|
|
|
min-height: calc((var(--vh, 1vh) * 100) - 100% - 56px);
|
|
|
|
|
|
|
|
&.sliding {
|
|
|
|
max-height: calc((var(--vh, 1vh) * 100) - 100% - 56px);
|
|
|
|
}
|
2021-03-11 23:39:57 +01:00
|
|
|
} */
|
2021-04-23 14:44:19 +02:00
|
|
|
.scrollable:not(.no-parallax) {
|
2021-04-13 18:19:52 +02:00
|
|
|
perspective: 0px;
|
2021-04-07 19:11:08 +02:00
|
|
|
perspective-origin: left top;
|
2021-04-13 18:19:52 +02:00
|
|
|
|
|
|
|
&.parallax {
|
|
|
|
perspective: 1px;
|
|
|
|
}
|
2021-04-07 19:11:08 +02:00
|
|
|
}
|
|
|
|
|
2022-04-04 17:09:32 +02:00
|
|
|
.profile-content.is-me {
|
|
|
|
.profile-name {
|
|
|
|
margin-bottom: .9375rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.profile-subtitle {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-03-11 23:39:57 +01:00
|
|
|
.search-super {
|
|
|
|
top: 100%;
|
|
|
|
min-height: calc((var(--vh, 1vh) * 100) - 56px);
|
2022-11-11 17:21:29 +01:00
|
|
|
|
|
|
|
&-tabs {
|
|
|
|
--padding-horizontal: 0;
|
|
|
|
|
|
|
|
.menu-horizontal-div-item {
|
|
|
|
border-radius: 0 !important;
|
|
|
|
}
|
|
|
|
}
|
2020-12-25 13:53:20 +01:00
|
|
|
}
|
2021-02-15 16:49:58 +01:00
|
|
|
|
|
|
|
.sidebar-header .transition {
|
|
|
|
flex-grow: 1;
|
|
|
|
|
|
|
|
.transition-item {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
}
|
2021-04-10 15:52:21 +02:00
|
|
|
|
|
|
|
.btn-corner {
|
|
|
|
&.menu-open:before {
|
|
|
|
content: $tgico-close;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include respond-to(handhelds) {
|
|
|
|
width: 54px;
|
|
|
|
height: 54px;
|
|
|
|
bottom: 14px;
|
|
|
|
right: 14px;
|
|
|
|
|
|
|
|
position: fixed !important;
|
|
|
|
z-index: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.can-add-members {
|
2021-04-26 16:33:51 +02:00
|
|
|
//@include respond-to(handhelds) {
|
2021-04-10 15:52:21 +02:00
|
|
|
.btn-corner:not(.is-hidden) {
|
|
|
|
transform: translateZ(0);
|
|
|
|
}
|
2021-04-26 16:33:51 +02:00
|
|
|
//}
|
2021-04-10 15:52:21 +02:00
|
|
|
|
2021-04-26 16:33:51 +02:00
|
|
|
/* @include hover() {
|
2021-04-10 15:52:21 +02:00
|
|
|
.btn-corner:not(.is-hidden) {
|
|
|
|
transform: translateZ(0);
|
|
|
|
}
|
2021-04-26 16:33:51 +02:00
|
|
|
} */
|
2021-04-10 15:52:21 +02:00
|
|
|
}
|
2020-12-25 13:53:20 +01:00
|
|
|
}
|
|
|
|
|
2020-12-25 00:19:34 +01:00
|
|
|
.search-super {
|
|
|
|
width: 100%;
|
|
|
|
max-width: 100%;
|
|
|
|
position: absolute;
|
2020-12-25 13:53:20 +01:00
|
|
|
min-height: 100%;
|
2020-12-25 00:19:34 +01:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2021-04-07 19:11:08 +02:00
|
|
|
background-color: var(--surface-color);
|
2020-12-25 00:19:34 +01:00
|
|
|
|
2020-12-29 09:08:50 +01:00
|
|
|
.search-group__show-more {
|
2021-04-02 16:32:10 +02:00
|
|
|
color: var(--primary-color);
|
2020-12-29 09:08:50 +01:00
|
|
|
cursor: pointer;
|
|
|
|
font-weight: 400;
|
|
|
|
}
|
|
|
|
|
|
|
|
.search-super-month-name {
|
2021-04-03 21:25:43 +02:00
|
|
|
border-top: 1px solid var(--border-color);
|
2020-12-29 09:08:50 +01:00
|
|
|
padding: 24px 0px 0px 24px;
|
2022-04-14 02:37:06 +02:00
|
|
|
font-weight: var(--font-weight-bold);
|
2021-04-02 16:32:10 +02:00
|
|
|
color: var(--secondary-text-color);
|
2020-12-29 09:08:50 +01:00
|
|
|
|
|
|
|
@include respond-to(handhelds) {
|
|
|
|
padding: 18px 0px 0px 16px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-03-11 23:39:57 +01:00
|
|
|
/* &.sliding {
|
2020-12-25 13:53:20 +01:00
|
|
|
max-height: 100%;
|
2021-03-11 23:39:57 +01:00
|
|
|
} */
|
|
|
|
|
|
|
|
&.sliding {
|
|
|
|
max-height: none !important;
|
2020-12-25 00:19:34 +01:00
|
|
|
}
|
2020-09-01 23:16:04 +02:00
|
|
|
|
2020-04-25 03:17:50 +02:00
|
|
|
&-tabs {
|
2021-04-10 21:39:36 +02:00
|
|
|
width: auto;
|
|
|
|
flex: 1 1 auto;
|
2022-11-11 17:21:29 +01:00
|
|
|
|
|
|
|
// floating design
|
|
|
|
// padding: .25rem 0;
|
|
|
|
// --padding-horizontal: .25rem;
|
2021-04-10 21:39:36 +02:00
|
|
|
|
2020-04-28 19:30:54 +02:00
|
|
|
//margin-top: 36px;
|
2021-04-13 18:19:52 +02:00
|
|
|
/* i {
|
2020-08-27 20:25:47 +02:00
|
|
|
padding-right: 1.5rem !important;
|
|
|
|
margin-left: -.75rem !important;
|
2021-04-13 18:19:52 +02:00
|
|
|
} */
|
2020-12-25 00:19:34 +01:00
|
|
|
}
|
2020-08-27 20:25:47 +02:00
|
|
|
|
2020-12-25 18:38:32 +01:00
|
|
|
&-tabs-scrollable {
|
2020-12-29 09:08:50 +01:00
|
|
|
box-shadow: none !important;
|
2021-01-02 11:34:16 +01:00
|
|
|
position: -webkit-sticky !important;
|
|
|
|
position: sticky !important;
|
2021-03-11 23:39:57 +01:00
|
|
|
//top: -1px;
|
|
|
|
top: 0px;
|
2021-01-02 11:34:16 +01:00
|
|
|
z-index: 2;
|
2021-04-02 16:32:10 +02:00
|
|
|
background-color: var(--surface-color);
|
2020-12-29 09:08:50 +01:00
|
|
|
|
2021-03-11 23:39:57 +01:00
|
|
|
&:before {
|
|
|
|
position: absolute;
|
|
|
|
width: 100%;
|
|
|
|
height: 1px;
|
|
|
|
left: 0;
|
2021-04-13 18:19:52 +02:00
|
|
|
top: 0;
|
2021-03-11 23:39:57 +01:00
|
|
|
background-color: inherit;
|
|
|
|
display: block;
|
|
|
|
content: " ";
|
2021-04-13 18:19:52 +02:00
|
|
|
z-index: -1;
|
|
|
|
|
|
|
|
.search-super.is-full-viewport & {
|
|
|
|
top: -1px;
|
|
|
|
}
|
2021-03-11 23:39:57 +01:00
|
|
|
}
|
|
|
|
|
2020-12-25 18:38:32 +01:00
|
|
|
.scrollable {
|
|
|
|
position: relative;
|
2021-04-10 21:39:36 +02:00
|
|
|
display: flex;
|
2020-12-25 18:38:32 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-12-25 00:19:34 +01:00
|
|
|
&-tabs-container {
|
|
|
|
//min-height: 100%;
|
|
|
|
min-height: calc(100% - 49px);
|
|
|
|
grid-template-rows: 100%;
|
|
|
|
flex: 1 1 auto;
|
|
|
|
//position: absolute; // FIX THE SAFARI!
|
|
|
|
//position: relative;
|
|
|
|
/* width: 500%;
|
|
|
|
margin-left: -100%;
|
|
|
|
*/
|
|
|
|
/* > div {
|
|
|
|
height: 0;
|
|
|
|
|
|
|
|
&.active {
|
|
|
|
height: auto;
|
2020-04-25 03:17:50 +02:00
|
|
|
}
|
2020-12-25 00:19:34 +01:00
|
|
|
} */
|
|
|
|
|
|
|
|
> div {
|
|
|
|
//height: 100%;
|
|
|
|
position: relative;
|
|
|
|
min-height: 150px;
|
2022-01-08 13:52:14 +01:00
|
|
|
background-color: var(--surface-color) !important;
|
2020-12-25 00:19:34 +01:00
|
|
|
|
|
|
|
/* > div:not(:empty) + .content-empty {
|
|
|
|
display: none;
|
2020-04-25 03:17:50 +02:00
|
|
|
} */
|
2021-03-13 04:53:19 +01:00
|
|
|
|
|
|
|
> div:first-child {
|
|
|
|
transform: translateY(0);
|
2021-04-18 13:55:56 +02:00
|
|
|
|
|
|
|
// * fix saving scroll on tab switching, when FROM tab has height < 100vh, and another is scrolled less than the FROM tab's height
|
|
|
|
// * adding 1 extra pixel for scroll
|
|
|
|
min-height: calc(100vh - 111px);
|
2021-03-13 04:53:19 +01:00
|
|
|
}
|
2020-12-25 00:19:34 +01:00
|
|
|
}
|
2020-05-06 03:03:31 +02:00
|
|
|
|
2021-03-11 23:39:57 +01:00
|
|
|
/* .scrollable-y {
|
|
|
|
height: auto;
|
|
|
|
position: absolute !important;
|
|
|
|
} */
|
|
|
|
|
2020-12-25 00:19:34 +01:00
|
|
|
/* > div > div:not(.scroll-padding) {
|
|
|
|
height: 100%;
|
|
|
|
} */
|
2020-06-16 22:48:08 +02:00
|
|
|
|
2020-12-25 00:19:34 +01:00
|
|
|
.preloader {
|
|
|
|
padding: 0;
|
|
|
|
position: absolute !important;
|
2021-04-14 10:30:14 +02:00
|
|
|
top: 100px;
|
|
|
|
transform: translate(-50%);
|
2020-05-18 03:21:58 +02:00
|
|
|
|
2020-12-25 00:19:34 +01:00
|
|
|
> svg {
|
|
|
|
height: 50px;
|
|
|
|
width: 50px;
|
2020-04-25 03:17:50 +02:00
|
|
|
}
|
2020-12-25 00:19:34 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-12-25 13:53:20 +01:00
|
|
|
&-month:first-of-type &-month-name {
|
|
|
|
display: none;
|
|
|
|
}
|
2020-12-25 00:19:34 +01:00
|
|
|
|
2021-09-12 07:12:39 +02:00
|
|
|
.document-name,
|
|
|
|
.audio-title,
|
|
|
|
.title {
|
2021-04-10 21:39:36 +02:00
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
}
|
|
|
|
|
|
|
|
.sent-time {
|
|
|
|
flex: 0 0 auto;
|
|
|
|
margin-left: 8px;
|
|
|
|
margin-top: 3px;
|
|
|
|
font-size: 12px;
|
|
|
|
color: var(--secondary-text-color);
|
|
|
|
}
|
|
|
|
|
2020-12-25 13:53:20 +01:00
|
|
|
&-content-media {
|
2020-12-29 09:08:50 +01:00
|
|
|
.search-super-month-name {
|
|
|
|
border: none;
|
|
|
|
padding: 9px 0px 7px 24px;
|
|
|
|
}
|
|
|
|
|
2020-12-25 00:19:34 +01:00
|
|
|
.video-time {
|
|
|
|
position: absolute;
|
|
|
|
left: 5px;
|
|
|
|
top: 4px;
|
|
|
|
height: 18px;
|
|
|
|
border-radius: 4px;
|
|
|
|
background-color: var(--message-time-background);
|
|
|
|
padding: 0px 6px 0px 5px;
|
2023-01-12 16:13:22 +01:00
|
|
|
z-index: 2;
|
2020-12-25 00:19:34 +01:00
|
|
|
font-size: 12px;
|
|
|
|
color: white;
|
2020-12-29 09:08:50 +01:00
|
|
|
line-height: 18px;
|
2020-12-25 00:19:34 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.grid-item {
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
2021-09-12 07:12:39 +02:00
|
|
|
.checkbox-field {
|
|
|
|
right: .25rem;
|
|
|
|
top: .25rem;
|
|
|
|
}
|
|
|
|
|
2020-12-25 00:19:34 +01:00
|
|
|
/* span.video-play {
|
|
|
|
background-color: var(--message-time-background);
|
|
|
|
color: #fff;
|
|
|
|
text-align: center;
|
|
|
|
font-size: 34px;
|
|
|
|
line-height: 60px;
|
|
|
|
cursor: pointer;
|
|
|
|
} */
|
|
|
|
}
|
|
|
|
|
2021-09-12 07:12:39 +02:00
|
|
|
.checkbox {
|
|
|
|
&-box {
|
|
|
|
box-shadow: 0px 0px 3px 0px rgb(0 0 0 / 40%);
|
|
|
|
|
|
|
|
&-border {
|
|
|
|
border-color: var(--message-checkbox-border-color);
|
2023-03-10 10:08:06 +01:00
|
|
|
z-index: 1 !important;
|
2021-09-12 07:12:39 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
&-background {
|
|
|
|
background-color: var(--message-checkbox-color);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&-field {
|
2022-11-11 17:21:29 +01:00
|
|
|
position: absolute !important;
|
2021-09-12 07:12:39 +02:00
|
|
|
z-index: 2;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-02-08 20:18:01 +01:00
|
|
|
/* .document,
|
2021-09-12 07:12:39 +02:00
|
|
|
.audio {
|
|
|
|
.checkbox-field {
|
|
|
|
top: 50%;
|
|
|
|
left: 0;
|
|
|
|
margin-left: 2rem;
|
|
|
|
margin-top: 1rem;
|
|
|
|
transform: translateY(-50%);
|
|
|
|
}
|
2022-02-08 20:18:01 +01:00
|
|
|
} */
|
2021-09-12 07:12:39 +02:00
|
|
|
|
2020-12-25 13:53:20 +01:00
|
|
|
&-content-media &-month {
|
|
|
|
&-items {
|
|
|
|
width: 100%;
|
2021-04-13 18:19:52 +02:00
|
|
|
padding-top: 1px;
|
2020-12-25 13:53:20 +01:00
|
|
|
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: repeat(3,1fr);
|
|
|
|
grid-auto-rows: 1fr;
|
2021-04-13 18:19:52 +02:00
|
|
|
grid-gap: 1px;
|
2020-12-25 13:53:20 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&-content-files {
|
2020-12-29 09:08:50 +01:00
|
|
|
// padding: 8px 20px;
|
|
|
|
.search-super-month-items {
|
|
|
|
padding: 8px 24px 16px 20px;
|
|
|
|
|
|
|
|
@include respond-to(handhelds) {
|
|
|
|
padding: 8px 16px 8px 12px;
|
|
|
|
}
|
|
|
|
}
|
2020-12-25 00:19:34 +01:00
|
|
|
|
|
|
|
.document {
|
2022-02-08 20:18:01 +01:00
|
|
|
--icon-size: 3rem;
|
|
|
|
--icon-margin: .75rem;
|
2020-12-29 09:08:50 +01:00
|
|
|
height: calc(48px + 1.5rem);
|
2020-12-25 00:19:34 +01:00
|
|
|
|
2021-09-12 07:12:39 +02:00
|
|
|
&-ico,
|
|
|
|
&-download {
|
2020-12-29 09:08:50 +01:00
|
|
|
border-radius: 5px !important;
|
2020-12-25 00:19:34 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
/* & + .document {
|
|
|
|
margin-top: 1.5rem;
|
|
|
|
} */
|
|
|
|
}
|
|
|
|
|
|
|
|
.document-name {
|
|
|
|
font-weight: normal;
|
|
|
|
|
|
|
|
width: 100%;
|
|
|
|
max-width: 100%;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&-content-links {
|
2020-12-29 09:08:50 +01:00
|
|
|
// padding: 0 24px 15px 15px;
|
2020-12-25 00:19:34 +01:00
|
|
|
|
2020-12-25 13:53:20 +01:00
|
|
|
.search-super-item {
|
2020-12-25 00:19:34 +01:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2021-09-12 07:12:39 +02:00
|
|
|
padding-left: 4.4375rem;
|
2020-12-25 00:19:34 +01:00
|
|
|
position: relative;
|
|
|
|
overflow: hidden;
|
2021-09-12 07:12:39 +02:00
|
|
|
min-height: 4.375rem;
|
|
|
|
cursor: pointer;
|
|
|
|
justify-content: flex-start;
|
|
|
|
}
|
2021-04-07 19:11:08 +02:00
|
|
|
|
2021-09-12 07:12:39 +02:00
|
|
|
.row-media {
|
|
|
|
height: 3rem;
|
|
|
|
width: 3rem;
|
|
|
|
border-radius: .375rem;
|
|
|
|
overflow: hidden;
|
|
|
|
position: absolute;
|
|
|
|
left: .6875rem;
|
|
|
|
|
|
|
|
&.empty {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
font-size: 2rem;
|
|
|
|
color: #fff;
|
|
|
|
text-transform: uppercase;
|
|
|
|
background-color: var(--primary-color);
|
2020-03-01 18:26:25 +01:00
|
|
|
}
|
2021-09-12 07:12:39 +02:00
|
|
|
}
|
2020-04-28 19:30:54 +02:00
|
|
|
|
2021-09-14 06:36:28 +02:00
|
|
|
a:not(:last-child) {
|
|
|
|
position: relative;
|
|
|
|
z-index: 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
.anchor-url:last-child {
|
|
|
|
position: unset;
|
|
|
|
|
2021-09-12 07:12:39 +02:00
|
|
|
&:before {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
content: " ";
|
|
|
|
cursor: pointer;
|
2021-09-14 06:36:28 +02:00
|
|
|
z-index: 1;
|
2020-12-25 00:19:34 +01:00
|
|
|
}
|
2021-09-14 06:36:28 +02:00
|
|
|
}
|
2021-09-12 07:12:39 +02:00
|
|
|
|
|
|
|
.media-photo {
|
|
|
|
object-fit: cover;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
border-radius: inherit;
|
2020-12-25 00:19:34 +01:00
|
|
|
}
|
2020-09-01 21:15:50 +02:00
|
|
|
|
2021-09-12 07:12:39 +02:00
|
|
|
.row-title {
|
|
|
|
margin-top: .1875rem;
|
2020-12-25 00:19:34 +01:00
|
|
|
}
|
2020-09-01 21:15:50 +02:00
|
|
|
|
2021-09-12 07:12:39 +02:00
|
|
|
.row-subtitle {
|
|
|
|
overflow: hidden;
|
|
|
|
white-space: pre-wrap;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
word-break: break-word;
|
2020-12-25 00:19:34 +01:00
|
|
|
}
|
|
|
|
|
2021-09-12 07:12:39 +02:00
|
|
|
.sent-time {
|
|
|
|
margin: 1px 0 0;
|
|
|
|
}
|
|
|
|
|
2021-09-26 18:03:45 +02:00
|
|
|
.sender-title {
|
|
|
|
display: block;
|
|
|
|
margin-top: .25rem;
|
|
|
|
}
|
|
|
|
|
2021-09-12 07:12:39 +02:00
|
|
|
.checkbox-field {
|
|
|
|
padding: 0 !important;
|
|
|
|
margin: 2rem 0 0 -1.75rem !important;
|
2022-11-11 17:21:29 +01:00
|
|
|
--offset-left: 0 !important;
|
2021-09-12 07:12:39 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
@include respond-to(not-handhelds) {
|
|
|
|
.search-super-month-items {
|
|
|
|
margin: .5625rem;
|
2021-01-02 11:34:16 +01:00
|
|
|
}
|
2020-12-29 09:08:50 +01:00
|
|
|
}
|
|
|
|
|
2021-09-12 07:12:39 +02:00
|
|
|
@include respond-to(handhelds) {
|
|
|
|
.search-super-month-name {
|
|
|
|
padding: .875rem 1rem;
|
|
|
|
}
|
|
|
|
}
|
2021-01-02 11:34:16 +01:00
|
|
|
}
|
2020-12-29 09:08:50 +01:00
|
|
|
|
2022-11-27 14:09:10 +01:00
|
|
|
&-content-music,
|
|
|
|
&-content-voice {
|
2021-01-02 11:34:16 +01:00
|
|
|
.search-super-month-items {
|
|
|
|
padding: 20px 15px 0px 20px;
|
2020-12-29 09:08:50 +01:00
|
|
|
|
2021-01-02 11:34:16 +01:00
|
|
|
@include respond-to(handhelds) {
|
|
|
|
padding: 20px 15px 0px 12px;
|
|
|
|
}
|
2020-12-29 09:08:50 +01:00
|
|
|
}
|
2020-12-25 00:19:34 +01:00
|
|
|
|
|
|
|
.audio {
|
|
|
|
/* min-height: 58px; */
|
|
|
|
justify-content: unset;
|
|
|
|
margin-bottom: 1.5rem;
|
|
|
|
|
2020-12-29 09:08:50 +01:00
|
|
|
@include respond-to(not-handhelds) {
|
|
|
|
max-width: 377px;
|
|
|
|
}
|
|
|
|
|
2020-12-25 00:19:34 +01:00
|
|
|
&.audio-show-progress .audio-subtitle {
|
|
|
|
overflow: visible;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* &-no-subtitle {
|
|
|
|
padding-bottom: 16px;
|
|
|
|
} */
|
2020-03-01 18:26:25 +01:00
|
|
|
}
|
|
|
|
}
|
2021-04-09 18:44:43 +02:00
|
|
|
|
2023-03-02 16:51:37 +01:00
|
|
|
&-content-members,
|
|
|
|
&-content-groups {
|
2021-04-09 18:44:43 +02:00
|
|
|
.chatlist {
|
|
|
|
padding-top: .5rem;
|
|
|
|
padding-bottom: .5rem;
|
|
|
|
}
|
|
|
|
}
|
2021-09-12 07:12:39 +02:00
|
|
|
|
|
|
|
&-tabs-scrollable {
|
|
|
|
.search-super-nav-scrollable {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.search-super-nav-scrollable,
|
|
|
|
.search-super-selection-container {
|
|
|
|
@include animation-level(2) {
|
|
|
|
transition: opacity .2s ease-in-out;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.is-selecting {
|
|
|
|
&:not(.backwards) {
|
|
|
|
.search-super-nav-scrollable {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.search-super-selection-container {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.is-selecting {
|
|
|
|
a {
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.row {
|
|
|
|
&:not(.menu-open) {
|
|
|
|
background-color: transparent !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&-selection {
|
|
|
|
&-container {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: space-between;
|
|
|
|
padding: 0 1rem;
|
|
|
|
opacity: 0;
|
|
|
|
|
|
|
|
.btn-icon + .btn-icon {
|
|
|
|
margin-left: .5rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include respond-to(handhelds) {
|
|
|
|
padding: 0 .5rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&-count {
|
|
|
|
flex-grow: 1;
|
2022-04-14 02:37:06 +02:00
|
|
|
font-weight: var(--font-weight-bold);
|
2021-09-12 07:12:39 +02:00
|
|
|
color: var(--primary-text-color);
|
|
|
|
white-space: nowrap;
|
|
|
|
text-transform: capitalize;
|
|
|
|
margin-left: 1.5rem;
|
|
|
|
}
|
|
|
|
}
|
2020-03-01 18:26:25 +01:00
|
|
|
}
|
2020-06-13 10:19:39 +02:00
|
|
|
|
2020-12-25 13:53:20 +01:00
|
|
|
#search-container {
|
|
|
|
.search-super-content-music {
|
2021-10-05 22:40:07 +02:00
|
|
|
.audio:not(.audio-show-progress) {
|
|
|
|
.audio-time,
|
|
|
|
.audio-description:before {
|
|
|
|
display: none;
|
|
|
|
}
|
2020-12-25 13:53:20 +01:00
|
|
|
}
|
|
|
|
}
|
2022-11-27 14:09:10 +01:00
|
|
|
|
2020-12-25 18:38:32 +01:00
|
|
|
.search-group.is-short {
|
2022-11-27 14:09:10 +01:00
|
|
|
.chatlist-chat:nth-child(n + 4) {
|
2020-12-25 18:38:32 +01:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
2020-12-25 13:53:20 +01:00
|
|
|
}
|
|
|
|
|
2020-06-13 10:19:39 +02:00
|
|
|
#stickers-container {
|
|
|
|
.sticker-sets {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
margin-top: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.sticker-set {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
height: 140px;
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
&-name {
|
2022-04-14 02:37:06 +02:00
|
|
|
font-weight: var(--font-weight-bold);
|
2020-06-13 10:19:39 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
&-count {
|
|
|
|
font-size: 14px;
|
2021-04-02 16:32:10 +02:00
|
|
|
color: var(--secondary-text-color);
|
2020-06-13 10:19:39 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
&-header {
|
|
|
|
display: flex;
|
|
|
|
padding-left: 16px;
|
|
|
|
padding-bottom: 12px;
|
|
|
|
justify-content: space-between;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
&-button {
|
|
|
|
height: 30px;
|
|
|
|
padding-left: 12px;
|
|
|
|
padding-right: 13px;
|
|
|
|
margin-right: 16px;
|
|
|
|
font-size: 15px;
|
|
|
|
border-radius: 16px;
|
|
|
|
font-weight: 400;
|
2021-03-28 20:37:11 +02:00
|
|
|
width: auto;
|
2020-06-13 10:19:39 +02:00
|
|
|
transition: width 0.2s;
|
|
|
|
|
|
|
|
&.gray {
|
|
|
|
background: #F1F3F4;
|
2021-04-02 16:32:10 +02:00
|
|
|
color: var(--secondary-text-color);
|
2020-06-13 10:19:39 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&-stickers {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-around;
|
|
|
|
}
|
|
|
|
|
|
|
|
&-sticker {
|
|
|
|
width: 68px;
|
|
|
|
height: 68px;
|
2020-11-28 16:56:28 +01:00
|
|
|
position: relative;
|
2020-06-13 10:19:39 +02:00
|
|
|
//padding: 0 5px;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
border-radius: 12px;
|
2021-04-02 16:32:10 +02:00
|
|
|
background-color: var(--light-secondary-text-color);
|
2020-06-13 10:19:39 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
img {
|
|
|
|
max-width: 100%;
|
|
|
|
max-height: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-06-16 22:48:08 +02:00
|
|
|
|
|
|
|
#poll-results-container {
|
|
|
|
.poll-results {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
position: relative;
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
&-answer {
|
2021-04-02 16:32:10 +02:00
|
|
|
color: var(--secondary-text-color);
|
2020-06-16 22:48:08 +02:00
|
|
|
padding: 0 16px 8px 16px;
|
|
|
|
margin: 0;
|
2022-04-14 02:37:06 +02:00
|
|
|
font-weight: var(--font-weight-bold);
|
2020-06-16 22:48:08 +02:00
|
|
|
justify-content: space-between;
|
|
|
|
display: flex;
|
|
|
|
font-size: 15px;
|
|
|
|
user-select: none;
|
|
|
|
|
|
|
|
@include respond-to(not-handhelds) {
|
|
|
|
padding: 0 24px 8px 24px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&-more {
|
2022-11-27 14:09:10 +01:00
|
|
|
margin: 0 .5rem;
|
|
|
|
width: auto;
|
2020-06-16 22:48:08 +02:00
|
|
|
|
2022-11-27 14:09:10 +01:00
|
|
|
@include respond-to(handhelds) {
|
|
|
|
margin: 0;
|
|
|
|
border-radius: 0;
|
2020-06-16 22:48:08 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
h3 {
|
|
|
|
padding: 0 16px;
|
|
|
|
margin-top: 15px;
|
|
|
|
font-size: 20px;
|
|
|
|
margin-bottom: 16px;
|
|
|
|
|
|
|
|
@include respond-to(not-handhelds) {
|
|
|
|
padding: 0 24px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
hr {
|
|
|
|
margin-bottom: 15px;
|
|
|
|
margin-top: 7px;
|
2022-11-27 14:09:10 +01:00
|
|
|
display: block !important;
|
2020-06-16 22:48:08 +02:00
|
|
|
}
|
2021-01-11 16:21:03 +01:00
|
|
|
}
|
|
|
|
}
|
2021-03-12 23:43:18 +01:00
|
|
|
|
|
|
|
.edit-peer-container {
|
|
|
|
.input-wrapper {
|
2023-01-06 20:27:29 +01:00
|
|
|
margin-bottom: .5625rem !important;
|
2021-03-12 23:43:18 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.sidebar-left-section {
|
2021-03-19 15:27:02 +01:00
|
|
|
padding: 0 0 .5rem;
|
2021-03-12 23:43:18 +01:00
|
|
|
}
|
|
|
|
|
2021-07-20 18:11:58 +02:00
|
|
|
.chatlist-new {
|
2021-03-19 13:14:42 +01:00
|
|
|
padding: 0;
|
2021-03-12 23:43:18 +01:00
|
|
|
}
|
|
|
|
}
|
2021-03-13 04:03:59 +01:00
|
|
|
|
|
|
|
.edit-contact-container {
|
|
|
|
.input-wrapper {
|
2023-01-06 20:27:29 +01:00
|
|
|
margin-top: 1.8125rem !important;
|
2021-03-13 04:03:59 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.avatar-placeholder {
|
|
|
|
filter: none !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.avatar-edit {
|
|
|
|
margin-bottom: 1.375rem !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.profile-name {
|
|
|
|
font-size: 1.5rem;
|
2022-02-08 20:18:01 +01:00
|
|
|
line-height: var(--line-height);
|
2021-03-13 04:03:59 +01:00
|
|
|
}
|
|
|
|
}
|
2021-03-16 16:18:51 +01:00
|
|
|
|
|
|
|
.group-type-container {
|
|
|
|
.sidebar-left-section-caption {
|
|
|
|
font-size: .875rem;
|
|
|
|
margin-top: .8125rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.input-wrapper {
|
2023-01-06 20:27:29 +01:00
|
|
|
margin-top: .875rem !important;
|
2021-03-16 16:18:51 +01:00
|
|
|
}
|
|
|
|
}
|