2021-04-08 17:52:31 +04:00
|
|
|
/*
|
|
|
|
* https://github.com/morethanwords/tweb
|
|
|
|
* Copyright (C) 2019-2021 Eduard Kuzmenko
|
|
|
|
* https://github.com/morethanwords/tweb/blob/master/LICENSE
|
|
|
|
*/
|
|
|
|
|
2020-06-13 11:19:39 +03:00
|
|
|
$placeholder-color: #9e9e9e;
|
|
|
|
$border-radius: 8px;
|
|
|
|
$border-radius-medium: 10px;
|
|
|
|
$border-radius-big: 12px;
|
|
|
|
|
2021-02-06 15:49:45 +02:00
|
|
|
$hover-alpha: .08;
|
2020-06-13 11:19:39 +03:00
|
|
|
|
2020-08-27 21:25:47 +03:00
|
|
|
//$small-screen: 720px;
|
2020-09-26 01:47:43 +03:00
|
|
|
$small-screen: 600px;
|
2020-08-27 21:25:47 +03:00
|
|
|
//$small-screen: 900px;
|
2020-09-23 23:29:53 +03:00
|
|
|
$medium-screen: 1275px;
|
2020-06-13 11:19:39 +03:00
|
|
|
$large-screen: 1680px;
|
|
|
|
//$large-screen: 16800px;
|
|
|
|
|
2020-09-26 01:47:43 +03:00
|
|
|
$floating-left-sidebar: 925px;
|
2020-10-20 02:39:36 +03:00
|
|
|
$messages-container-width: 728px;
|
2020-09-26 01:47:43 +03:00
|
|
|
|
2020-12-08 21:48:44 +02:00
|
|
|
$chat-input-size: 3.375rem;
|
|
|
|
$chat-input-handhelds-size: 2.875rem;
|
2021-04-02 18:32:10 +04:00
|
|
|
$chat-padding: .8125rem;
|
2021-04-20 22:00:38 +04:00
|
|
|
$chat-padding-handhelds: .5rem;
|
|
|
|
$chat-input-inner-padding: .5rem;
|
|
|
|
$chat-input-inner-padding-handhelds: .25rem;
|
2020-12-08 21:48:44 +02:00
|
|
|
|
2021-02-06 15:49:45 +02:00
|
|
|
@function hover-color($color) {
|
|
|
|
@return rgba($color, $hover-alpha);
|
2020-06-13 11:19:39 +03:00
|
|
|
}
|
|
|
|
|
2021-04-20 22:00:38 +04:00
|
|
|
/* @mixin safari-overflow() {
|
|
|
|
html.is-safari & {
|
|
|
|
-webkit-mask-image: -webkit-radial-gradient(circle, white 100%, black 100%);
|
|
|
|
@content;
|
|
|
|
}
|
|
|
|
} */
|
|
|
|
|
2021-02-06 15:49:45 +02:00
|
|
|
@import "mixins/hover";
|
|
|
|
@import "mixins/respondTo";
|
2021-04-03 23:25:43 +04:00
|
|
|
@import "mixins/textOverflow";
|
2021-04-04 22:46:09 +04:00
|
|
|
@import "mixins/animationLevel";
|
2021-02-06 15:49:45 +02:00
|
|
|
|
2020-09-23 23:29:53 +03:00
|
|
|
:root {
|
2020-10-31 00:39:36 +02:00
|
|
|
--vh: 1vh;
|
2020-10-10 05:08:12 +03:00
|
|
|
--z-below: -1;
|
2021-04-02 18:32:10 +04:00
|
|
|
--hover-alpha: #{$hover-alpha};
|
|
|
|
|
2021-04-15 03:45:29 +04:00
|
|
|
--transition-standard-easing: cubic-bezier(.4, .0, .2, 1);
|
2021-04-15 12:44:27 +04:00
|
|
|
--transition-standard-in-time: .3s;
|
|
|
|
--transition-standard-out-time: .25s;
|
2021-04-15 03:45:29 +04:00
|
|
|
--transition-standard-in: var(--transition-standard-in-time) var(--transition-standard-easing);
|
|
|
|
--transition-standard-out: var(--transition-standard-out-time) var(--transition-standard-easing);
|
|
|
|
|
2020-11-25 21:36:18 +02:00
|
|
|
--pm-transition: .2s ease-in-out;
|
2021-04-15 03:45:29 +04:00
|
|
|
--layer-transition: .2s cubic-bezier(.4, .0, .2, 1);
|
2021-02-15 19:49:58 +04:00
|
|
|
--slide-header-transition: .4s ease-in-out;
|
2021-01-18 22:34:41 +04:00
|
|
|
--tabs-transition: .25s ease-in-out;
|
2021-04-09 20:44:43 +04:00
|
|
|
--btn-menu-transition: .2s cubic-bezier(.4, 0, .2, 1);
|
|
|
|
--esg-transition: var(--btn-menu-transition);
|
|
|
|
--popup-transition-function: cubic-bezier(.4, 0, .2, 1);
|
|
|
|
--popup-transition-time: .15s;
|
2020-09-23 23:29:53 +03:00
|
|
|
//--layer-transition: .3s cubic-bezier(.33, 1, .68, 1);
|
|
|
|
//--layer-transition: none;
|
2020-12-08 21:48:44 +02:00
|
|
|
--btn-corner-transition: .2s cubic-bezier(.34, 1.56, .64, 1);
|
2020-09-23 23:29:53 +03:00
|
|
|
--message-handhelds-margin: 5.5625rem;
|
|
|
|
--message-beside-button-margin: 2.875rem;
|
|
|
|
--message-time-background: rgba(0, 0, 0, .35);
|
2021-03-10 22:44:46 +04:00
|
|
|
--message-highlightning-color: hsla(85.5319, 36.9171%, 40.402%, .4);//rgba(77, 142, 80, .4);
|
2020-10-20 02:39:36 +03:00
|
|
|
--messages-container-width: #{$messages-container-width};
|
2021-01-03 16:02:35 +04:00
|
|
|
--messages-text-size: 16px;
|
|
|
|
--messages-secondary-text-size: calc(var(--messages-text-size) - 1px);
|
2021-03-17 19:21:42 +04:00
|
|
|
--line-height: 1.3125;
|
2020-09-26 01:47:43 +03:00
|
|
|
--esg-sticker-size: 80px;
|
2021-04-03 23:25:43 +04:00
|
|
|
--disabled-opacity: .3;
|
2020-09-23 23:29:53 +03:00
|
|
|
|
2021-01-10 20:10:02 +04:00
|
|
|
// https://github.com/overtake/TelegramSwift/blob/5cc7d2475fe4738a6aa0486c23eaf80a89d33b97/submodules/TGUIKit/TGUIKit/PresentationTheme.swift#L2054
|
|
|
|
--peer-avatar-red-top: #ff885e;
|
|
|
|
--peer-avatar-red-bottom: #ff516a;
|
|
|
|
--peer-avatar-orange-top: #ffcd6a;
|
|
|
|
--peer-avatar-orange-bottom: #ffa85c;
|
|
|
|
--peer-avatar-violet-top: #82b1ff;
|
|
|
|
--peer-avatar-violet-bottom: #665fff;
|
|
|
|
--peer-avatar-green-top: #a0de7e;
|
|
|
|
--peer-avatar-green-bottom: #54cb68;
|
|
|
|
--peer-avatar-cyan-top: #53edd6;
|
|
|
|
--peer-avatar-cyan-bottom: #28c9b7;
|
|
|
|
--peer-avatar-blue-top: #72d5fd;
|
|
|
|
--peer-avatar-blue-bottom: #2a9ef1;
|
|
|
|
--peer-avatar-pink-top: #e0a2f3;
|
|
|
|
--peer-avatar-pink-bottom: #d669ed;
|
|
|
|
|
2020-09-23 23:29:53 +03:00
|
|
|
@include respond-to(handhelds) {
|
|
|
|
--right-column-width: 100vw;
|
2020-09-26 01:47:43 +03:00
|
|
|
--esg-sticker-size: 68px;
|
2020-12-08 21:48:44 +02:00
|
|
|
|
|
|
|
--chat-input-size: #{$chat-input-handhelds-size};
|
|
|
|
--chat-input-padding: #{$chat-padding-handhelds};
|
2021-04-20 22:00:38 +04:00
|
|
|
--chat-input-inner-padding: #{$chat-input-inner-padding-handhelds};
|
2020-09-23 23:29:53 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
@include respond-to(not-handhelds) {
|
|
|
|
--right-column-width: calc(#{$large-screen} / 4);
|
2020-12-08 21:48:44 +02:00
|
|
|
|
|
|
|
--chat-input-size: #{$chat-input-size};
|
|
|
|
--chat-input-padding: #{$chat-padding};
|
2021-04-20 22:00:38 +04:00
|
|
|
--chat-input-inner-padding: #{$chat-input-inner-padding};
|
2020-09-23 23:29:53 +03:00
|
|
|
}
|
|
|
|
|
2021-02-15 19:49:58 +04:00
|
|
|
@include respond-to(esg-bottom) {
|
|
|
|
--chat-input-size: #{$chat-input-handhelds-size};
|
2021-04-20 22:00:38 +04:00
|
|
|
--chat-input-inner-padding: #{$chat-input-inner-padding-handhelds};
|
2021-02-15 19:49:58 +04:00
|
|
|
}
|
|
|
|
|
2020-09-23 23:29:53 +03:00
|
|
|
@include respond-to(only-medium-screens) {
|
|
|
|
--right-column-width: 25vw;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-04-03 01:45:51 +04:00
|
|
|
@mixin splitColor($property, $color, $light: true, $dark: true) {
|
|
|
|
--#{$property}: #{$color};
|
|
|
|
|
|
|
|
@if $light != false {
|
|
|
|
--light-#{$property}: #{hover-color($color)};
|
|
|
|
}
|
|
|
|
|
|
|
|
@if $dark != false {
|
|
|
|
--dark-#{$property}: #{darken($color, $hover-alpha * 100)};
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-04-02 18:32:10 +04:00
|
|
|
:root {
|
|
|
|
// * Day theme
|
|
|
|
--body-background-color: #fff;
|
2021-04-13 20:19:52 +04:00
|
|
|
--background-color-true: #f4f4f5;
|
2021-04-02 18:32:10 +04:00
|
|
|
--background-color: #fff;
|
|
|
|
--border-color: #dfe1e5;
|
|
|
|
--surface-color: #fff;
|
2021-04-03 01:45:51 +04:00
|
|
|
--scrollbar-color: rgba(0, 0, 0, .2);
|
2021-04-02 18:32:10 +04:00
|
|
|
|
|
|
|
--input-search-background-color: #fff;
|
|
|
|
--input-search-border-color: #dfe1e5;
|
|
|
|
|
2021-04-03 01:45:51 +04:00
|
|
|
@include splitColor(primary-color, #3390ec, true, true);
|
2021-04-02 18:32:10 +04:00
|
|
|
--primary-text-color: #000;
|
|
|
|
|
|
|
|
--secondary-color: #c4c9cc;
|
2021-04-03 01:45:51 +04:00
|
|
|
@include splitColor(secondary-text-color, #707579, true, false);
|
2021-04-02 18:32:10 +04:00
|
|
|
|
2021-04-03 01:45:51 +04:00
|
|
|
@include splitColor(danger-color, #df3f40, true, false);
|
2021-04-02 18:32:10 +04:00
|
|
|
|
|
|
|
--avatar-online-color: #0ac630;
|
2021-04-13 20:19:52 +04:00
|
|
|
--avatar-color-top: var(--peer-avatar-blue-top);
|
|
|
|
--avatar-color-bottom: var(--peer-avatar-blue-bottom);
|
2021-04-02 18:32:10 +04:00
|
|
|
--chatlist-status-color: var(--avatar-online-color);
|
|
|
|
--chatlist-pinned-color: #a2abb2;
|
|
|
|
--badge-text-color: #fff;
|
2021-04-03 23:25:43 +04:00
|
|
|
--link-color: #00488f;
|
2021-04-09 20:44:43 +04:00
|
|
|
--ripple-color: rgba(0, 0, 0, .08);
|
2021-04-15 12:44:27 +04:00
|
|
|
--poll-circle-color: var(--border-color);
|
2021-04-02 18:32:10 +04:00
|
|
|
|
|
|
|
--message-background-color: var(--surface-color);
|
2021-04-03 23:25:43 +04:00
|
|
|
--message-checkbox-color: #61c642;
|
|
|
|
--message-checkbox-border-color: #fff;
|
|
|
|
--message-secondary-color: var(--secondary-color);
|
|
|
|
|
|
|
|
@include splitColor(message-out-background-color, #eeffde, true, true);
|
|
|
|
--message-out-link-color: var(--link-color);
|
2021-04-02 18:32:10 +04:00
|
|
|
--message-out-primary-color: #4fae4e;
|
2021-05-05 18:05:21 +04:00
|
|
|
--message-out-status-color: var(--message-out-primary-color);
|
2021-04-02 18:32:10 +04:00
|
|
|
--message-out-audio-play-button-color: #fff;
|
|
|
|
|
|
|
|
// * Day theme end
|
|
|
|
}
|
|
|
|
|
|
|
|
html.night {
|
|
|
|
//:root {
|
|
|
|
// * Night theme
|
|
|
|
--body-background-color: #181818;
|
2021-04-13 20:19:52 +04:00
|
|
|
--background-color-true: #181818;
|
2021-04-02 18:32:10 +04:00
|
|
|
--background-color: #212121;
|
|
|
|
--border-color: #0f0f0f;
|
|
|
|
--surface-color: #212121;
|
2021-04-03 01:45:51 +04:00
|
|
|
--scrollbar-color: rgba(255, 255, 255, .2);
|
2021-04-02 18:32:10 +04:00
|
|
|
|
|
|
|
--input-search-background-color: #181818;
|
|
|
|
--input-search-border-color: #2f2f2f;
|
|
|
|
|
2021-04-20 09:24:25 +04:00
|
|
|
@include splitColor(primary-color, #8774E1, true, true);
|
2021-04-02 18:32:10 +04:00
|
|
|
--primary-text-color: #fff;
|
|
|
|
|
|
|
|
--secondary-color: #707579;
|
2021-04-03 01:45:51 +04:00
|
|
|
@include splitColor(secondary-text-color, #aaaaaa, true, false);
|
2021-04-02 18:32:10 +04:00
|
|
|
|
2021-04-03 01:45:51 +04:00
|
|
|
@include splitColor(danger-color, #ff595a, true, false);
|
2021-04-02 18:32:10 +04:00
|
|
|
|
|
|
|
--avatar-online-color: #0ac630;
|
2021-04-13 20:19:52 +04:00
|
|
|
--avatar-color-top: var(--peer-avatar-violet-top);
|
|
|
|
--avatar-color-bottom: var(--peer-avatar-violet-bottom);
|
2021-04-02 18:32:10 +04:00
|
|
|
--chatlist-status-color: var(--primary-color);
|
|
|
|
--chatlist-pinned-color: var(--secondary-color);
|
|
|
|
--badge-text-color: #fff;
|
2021-04-03 23:25:43 +04:00
|
|
|
--link-color: var(--primary-color);
|
2021-04-09 20:44:43 +04:00
|
|
|
--ripple-color: rgba(255, 255, 255, .08);
|
2021-04-15 12:44:27 +04:00
|
|
|
--poll-circle-color: #fff;
|
2021-04-02 18:32:10 +04:00
|
|
|
|
|
|
|
--message-background-color: var(--surface-color);
|
2021-04-03 23:25:43 +04:00
|
|
|
--message-checkbox-color: var(--primary-color);
|
|
|
|
--message-checkbox-border-color: #fff;
|
|
|
|
--message-secondary-color: var(--secondary-color);
|
|
|
|
|
2021-04-19 19:30:51 +04:00
|
|
|
//@include splitColor(message-out-background-color, #ae582d, true, true);
|
2021-04-20 09:24:25 +04:00
|
|
|
@include splitColor(message-out-background-color, #8774E1, true, true);
|
2021-04-03 23:25:43 +04:00
|
|
|
--message-out-link-color: #fff;
|
2021-04-02 18:32:10 +04:00
|
|
|
--message-out-primary-color: #fff;
|
2021-05-05 18:05:21 +04:00
|
|
|
--message-out-status-color: rgba(255, 255, 255, .6);
|
2021-04-02 18:32:10 +04:00
|
|
|
--message-out-audio-play-button-color: var(--message-out-background-color);
|
|
|
|
// * Night theme end
|
|
|
|
}
|
|
|
|
|
2020-06-13 11:19:39 +03:00
|
|
|
@import "partials/ico";
|
2020-11-14 01:04:03 +02:00
|
|
|
@import "partials/input";
|
2020-10-21 22:17:49 +03:00
|
|
|
@import "partials/button";
|
2021-02-15 19:49:58 +04:00
|
|
|
@import "partials/animatedIcon";
|
2021-05-16 06:07:17 +04:00
|
|
|
@import "partials/autocompleteHelper";
|
2021-05-29 16:06:55 +03:00
|
|
|
@import "partials/autocompletePeerHelper";
|
2021-01-12 15:22:00 +04:00
|
|
|
@import "partials/badge";
|
2020-10-18 02:19:56 +03:00
|
|
|
@import "partials/checkbox";
|
2020-06-13 11:19:39 +03:00
|
|
|
@import "partials/chatlist";
|
|
|
|
@import "partials/chat";
|
2020-12-01 17:38:36 +02:00
|
|
|
@import "partials/chatTopbar";
|
2020-06-13 11:19:39 +03:00
|
|
|
@import "partials/chatBubble";
|
2020-11-25 21:36:18 +02:00
|
|
|
@import "partials/chatPinned";
|
2020-12-01 17:38:36 +02:00
|
|
|
@import "partials/chatMarkupTooltip";
|
|
|
|
@import "partials/chatStickersHelper";
|
2021-05-18 17:17:54 +03:00
|
|
|
@import "partials/chatEmojiHelper";
|
2021-02-25 22:29:56 +04:00
|
|
|
@import "partials/chatSearch";
|
2020-12-12 02:52:11 +02:00
|
|
|
@import "partials/chatDrop";
|
2021-02-04 02:06:24 +02:00
|
|
|
@import "partials/crop";
|
2020-06-13 11:19:39 +03:00
|
|
|
@import "partials/sidebar";
|
2021-04-06 19:06:42 +04:00
|
|
|
@import "partials/profile";
|
2021-04-10 23:39:36 +04:00
|
|
|
@import "partials/slider";
|
2020-06-13 11:19:39 +03:00
|
|
|
@import "partials/leftSidebar";
|
|
|
|
@import "partials/rightSidebar";
|
|
|
|
@import "partials/mediaViewer";
|
|
|
|
@import "partials/ckin";
|
|
|
|
@import "partials/emojiDropdown";
|
|
|
|
@import "partials/scrollable";
|
|
|
|
@import "partials/selector";
|
2020-08-26 14:04:37 +03:00
|
|
|
@import "partials/gifsMasonry";
|
2020-08-27 21:25:47 +03:00
|
|
|
@import "partials/preloader";
|
2020-09-23 23:29:53 +03:00
|
|
|
@import "partials/ripple";
|
|
|
|
@import "partials/avatar";
|
|
|
|
@import "partials/document";
|
|
|
|
@import "partials/audio";
|
2021-02-25 22:29:56 +04:00
|
|
|
@import "partials/quizHint";
|
2021-03-29 22:42:01 +04:00
|
|
|
@import "partials/peerTyping";
|
2021-04-02 18:32:10 +04:00
|
|
|
@import "partials/poll";
|
2021-04-04 22:46:09 +04:00
|
|
|
@import "partials/transition";
|
2021-04-13 20:19:52 +04:00
|
|
|
@import "partials/row";
|
2021-04-22 20:58:31 +04:00
|
|
|
@import "partials/colorPicker";
|
2021-07-02 08:17:51 +03:00
|
|
|
@import "partials/replyKeyboard";
|
2020-06-13 11:19:39 +03:00
|
|
|
|
|
|
|
@import "partials/popups/popup";
|
|
|
|
@import "partials/popups/editAvatar";
|
|
|
|
@import "partials/popups/mediaAttacher";
|
|
|
|
@import "partials/popups/peer";
|
|
|
|
@import "partials/popups/stickers";
|
|
|
|
@import "partials/popups/datePicker";
|
2020-06-16 23:48:08 +03:00
|
|
|
@import "partials/popups/createPoll";
|
2020-10-20 02:39:36 +03:00
|
|
|
@import "partials/popups/forward";
|
2021-05-25 13:45:35 +03:00
|
|
|
@import "partials/popups/instanceDeactivated";
|
2021-06-29 17:21:16 +03:00
|
|
|
@import "partials/popups/joinChatInvite";
|
2020-06-13 11:19:39 +03:00
|
|
|
|
|
|
|
@import "partials/pages/pages";
|
|
|
|
@import "partials/pages/authCode";
|
|
|
|
@import "partials/pages/chats";
|
|
|
|
@import "partials/pages/password";
|
|
|
|
|
|
|
|
/* cyrillic */
|
|
|
|
@font-face {
|
|
|
|
font-family: 'Roboto';
|
|
|
|
font-style: normal;
|
|
|
|
font-weight: 400;
|
|
|
|
font-display: swap;
|
|
|
|
src: local('Roboto'), local('Roboto-Regular'), url(assets/fonts/KFOmCnqEu92Fr1Mu5mxKKTU1Kvnz.woff2) format('woff2');
|
|
|
|
unicode-range:U + 0400-045F, U + 0490-0491, U + 04B0-04B1, U + 2116
|
|
|
|
}
|
|
|
|
|
|
|
|
/* latin-ext */
|
|
|
|
@font-face {
|
|
|
|
font-family: 'Roboto';
|
|
|
|
font-style: normal;
|
|
|
|
font-weight: 400;
|
|
|
|
font-display: swap;
|
|
|
|
src: local('Roboto'), local('Roboto-Regular'), url(assets/fonts/KFOmCnqEu92Fr1Mu7GxKKTU1Kvnz.woff2) format('woff2');
|
|
|
|
unicode-range:U + 0100-024F, U + 0259, U + 1E00-1EFF, U + 2020, U + 20A0-20AB, U + 20AD-20CF, U + 2113, U + 2C60-2C7F, U + A720-A7FF
|
|
|
|
}
|
|
|
|
|
|
|
|
/* latin */
|
|
|
|
@font-face {
|
|
|
|
font-family: 'Roboto';
|
|
|
|
font-style: normal;
|
|
|
|
font-weight: 400;
|
|
|
|
font-display: swap;
|
|
|
|
src: local('Roboto'), local('Roboto-Regular'), url(assets/fonts/KFOmCnqEu92Fr1Mu4mxKKTU1Kg.woff2) format('woff2');
|
|
|
|
unicode-range:U + 0000-00FF, U + 0131, U + 0152-0153, U + 02BB-02BC, U + 02C6, U + 02DA, U + 02DC, U + 2000-206F, U + 2074, U + 20AC, U + 2122, U + 2191, U + 2193, U + 2212, U + 2215, U + FEFF, U + FFFD
|
|
|
|
}
|
|
|
|
|
|
|
|
/* cyrillic */
|
|
|
|
@font-face {
|
|
|
|
font-family: 'Roboto';
|
|
|
|
font-style: normal;
|
|
|
|
font-weight: 500;
|
|
|
|
font-display: swap;
|
|
|
|
src: local('Roboto Medium'), local('Roboto-Medium'), url(assets/fonts/KFOlCnqEu92Fr1MmEU9fABc4AMP6lbBP.woff2) format('woff2');
|
|
|
|
unicode-range:U + 0400-045F, U + 0490-0491, U + 04B0-04B1, U + 2116
|
|
|
|
}
|
|
|
|
|
|
|
|
/* latin-ext */
|
|
|
|
@font-face {
|
|
|
|
font-family: 'Roboto';
|
|
|
|
font-style: normal;
|
|
|
|
font-weight: 500;
|
|
|
|
font-display: swap;
|
|
|
|
src: local('Roboto Medium'), local('Roboto-Medium'), url(assets/fonts/KFOlCnqEu92Fr1MmEU9fChc4AMP6lbBP.woff2) format('woff2');
|
|
|
|
unicode-range:U + 0100-024F, U + 0259, U + 1E00-1EFF, U + 2020, U + 20A0-20AB, U + 20AD-20CF, U + 2113, U + 2C60-2C7F, U + A720-A7FF
|
|
|
|
}
|
|
|
|
|
|
|
|
/* latin */
|
|
|
|
@font-face {
|
|
|
|
font-family: 'Roboto';
|
|
|
|
font-style: normal;
|
|
|
|
font-weight: 500;
|
|
|
|
font-display: swap;
|
|
|
|
src: local('Roboto Medium'), local('Roboto-Medium'), url(assets/fonts/KFOlCnqEu92Fr1MmEU9fBBc4AMP6lQ.woff2) format('woff2');
|
|
|
|
unicode-range:U + 0000-00FF, U + 0131, U + 0152-0153, U + 02BB-02BC, U + 02C6, U + 02DA, U + 02DC, U + 2000-206F, U + 2074, U + 20AC, U + 2122, U + 2191, U + 2193, U + 2212, U + 2215, U + FEFF, U + FFFD
|
|
|
|
}
|
|
|
|
|
2020-11-21 15:13:23 +02:00
|
|
|
// !!! FIX FOR [contenteditable] Ctrl+B, due to font-weight: 500;
|
|
|
|
|
|
|
|
/* cyrillic */
|
|
|
|
@font-face {
|
|
|
|
font-family: 'Roboto';
|
|
|
|
font-style: normal;
|
|
|
|
font-weight: 700;
|
|
|
|
font-display: swap;
|
|
|
|
src: local('Roboto Medium'), local('Roboto-Medium'), url(assets/fonts/KFOlCnqEu92Fr1MmEU9fABc4AMP6lbBP.woff2) format('woff2');
|
|
|
|
unicode-range:U + 0400-045F, U + 0490-0491, U + 04B0-04B1, U + 2116
|
|
|
|
}
|
|
|
|
|
|
|
|
/* latin-ext */
|
|
|
|
@font-face {
|
|
|
|
font-family: 'Roboto';
|
|
|
|
font-style: normal;
|
|
|
|
font-weight: 700;
|
|
|
|
font-display: swap;
|
|
|
|
src: local('Roboto Medium'), local('Roboto-Medium'), url(assets/fonts/KFOlCnqEu92Fr1MmEU9fChc4AMP6lbBP.woff2) format('woff2');
|
|
|
|
unicode-range:U + 0100-024F, U + 0259, U + 1E00-1EFF, U + 2020, U + 20A0-20AB, U + 20AD-20CF, U + 2113, U + 2C60-2C7F, U + A720-A7FF
|
|
|
|
}
|
|
|
|
|
|
|
|
/* latin */
|
|
|
|
@font-face {
|
|
|
|
font-family: 'Roboto';
|
|
|
|
font-style: normal;
|
|
|
|
font-weight: 700;
|
|
|
|
font-display: swap;
|
|
|
|
src: local('Roboto Medium'), local('Roboto-Medium'), url(assets/fonts/KFOlCnqEu92Fr1MmEU9fBBc4AMP6lQ.woff2) format('woff2');
|
|
|
|
unicode-range:U + 0000-00FF, U + 0131, U + 0152-0153, U + 02BB-02BC, U + 02C6, U + 02DA, U + 02DC, U + 2000-206F, U + 2074, U + 20AC, U + 2122, U + 2191, U + 2193, U + 2212, U + 2215, U + FEFF, U + FFFD
|
|
|
|
}
|
|
|
|
|
2020-06-13 11:19:39 +03:00
|
|
|
html, body {
|
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
2020-10-31 00:39:36 +02:00
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
|
|
|
|
@include respond-to(handhelds) {
|
|
|
|
overflow: hidden;
|
2020-09-01 19:44:53 +03:00
|
|
|
height: calc(var(--vh, 1vh) * 100);
|
2020-10-31 00:39:36 +02:00
|
|
|
}
|
2020-09-01 19:44:53 +03:00
|
|
|
|
2020-06-13 11:19:39 +03:00
|
|
|
/* @include respond-to(handhelds) {
|
|
|
|
//overflow-y: auto;
|
|
|
|
height: 100%;
|
|
|
|
min-height: 100%;
|
|
|
|
min-width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include respond-to(not-handhelds) {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
} */
|
|
|
|
}
|
|
|
|
|
2021-05-11 20:27:26 +04:00
|
|
|
html.is-ios {
|
|
|
|
//&, body {
|
|
|
|
position: fixed; // fix iOS fullscreen scroll
|
|
|
|
//}
|
|
|
|
}
|
|
|
|
|
2021-05-10 02:50:44 +04:00
|
|
|
@supports(padding: unquote('max(0px)')) {
|
|
|
|
html {
|
|
|
|
padding: 0 unquote('min(16px, env(safe-area-inset-right))') 0 unquote('min(16px, env(safe-area-inset-left))');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-06-13 11:19:39 +03:00
|
|
|
html {
|
|
|
|
font-size: 16px;
|
2020-10-31 00:39:36 +02:00
|
|
|
//overflow: hidden;
|
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
|
-webkit-text-size-adjust: 100%;
|
|
|
|
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
2020-12-18 18:43:17 +02:00
|
|
|
//text-rendering: optimizeSpeed;
|
2020-06-13 11:19:39 +03:00
|
|
|
}
|
|
|
|
|
2020-12-13 01:29:12 +02:00
|
|
|
body {
|
2021-04-04 22:46:09 +04:00
|
|
|
//touch-action: pan-x pan-y;
|
2021-04-02 18:32:10 +04:00
|
|
|
background-color: var(--body-background-color);
|
2021-04-03 01:45:51 +04:00
|
|
|
color: var(--primary-text-color);
|
2020-12-13 01:29:12 +02:00
|
|
|
}
|
|
|
|
|
2021-05-25 13:45:35 +03:00
|
|
|
body.deactivated {
|
|
|
|
animation: grayscale-in var(--transition-standard-in) forwards;
|
|
|
|
}
|
|
|
|
|
|
|
|
body.deactivated-backwards {
|
|
|
|
animation: grayscale-out var(--transition-standard-out) forwards;
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes grayscale-in {
|
|
|
|
0% {
|
|
|
|
filter: grayscale(0);
|
|
|
|
}
|
|
|
|
|
|
|
|
100% {
|
|
|
|
filter: grayscale(1);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes grayscale-out {
|
|
|
|
0% {
|
|
|
|
filter: grayscale(1);
|
|
|
|
}
|
|
|
|
|
|
|
|
100% {
|
|
|
|
filter: grayscale(0);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-06-13 11:19:39 +03:00
|
|
|
/* body {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
min-height: 0!important;
|
|
|
|
} */
|
|
|
|
|
|
|
|
a {
|
2021-04-03 23:25:43 +04:00
|
|
|
color: var(--link-color);
|
2020-06-13 11:19:39 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
button, input, optgroup, select, textarea, html {
|
2021-01-04 14:09:48 +04:00
|
|
|
font-family: "Roboto", -apple-system, apple color emoji, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
2020-06-13 11:19:39 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
input, textarea, button, select, a, div {
|
|
|
|
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
|
|
|
}
|
|
|
|
|
|
|
|
.whole {
|
|
|
|
min-height: 100%;
|
|
|
|
width: 100%;
|
|
|
|
//min-width: 100%;
|
|
|
|
margin: 0 auto;
|
|
|
|
max-width: $large-screen;
|
|
|
|
|
|
|
|
//@include respond-to(not-handhelds) {
|
|
|
|
height: 100%;
|
|
|
|
//}
|
|
|
|
}
|
|
|
|
|
2020-09-26 01:47:43 +03:00
|
|
|
.disable-hover/* ,
|
|
|
|
.disable-hover * */ {
|
2020-06-13 11:19:39 +03:00
|
|
|
pointer-events: none !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include respond-to(not-handhelds) {
|
|
|
|
.only-handhelds {
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.container {
|
|
|
|
margin: 0 auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
h1, h2, h3, h4, h5, h6 {
|
|
|
|
font-weight: 500;
|
|
|
|
}
|
|
|
|
|
|
|
|
h4 {
|
|
|
|
font-size: 2rem;
|
|
|
|
//margin: 1.5rem 0 1rem 0;
|
|
|
|
margin: 22px 0 14px;
|
|
|
|
line-height: 110%;
|
2020-06-20 04:11:24 +03:00
|
|
|
|
|
|
|
@include respond-to(handhelds) {
|
|
|
|
font-size: 20px;
|
|
|
|
margin: 2px 0 8px;
|
|
|
|
}
|
2020-06-13 11:19:39 +03:00
|
|
|
}
|
|
|
|
|
2020-11-16 04:23:37 +02:00
|
|
|
input, [contenteditable=true] {
|
2021-04-02 18:32:10 +04:00
|
|
|
caret-color: var(--primary-color);
|
|
|
|
color: var(--primary-text-color);
|
2021-04-03 01:45:51 +04:00
|
|
|
background-color: transparent;
|
2020-06-13 11:19:39 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
input, textarea {
|
|
|
|
-webkit-appearance: none;
|
2020-10-20 02:39:36 +03:00
|
|
|
}
|
2020-06-13 11:19:39 +03:00
|
|
|
|
2021-04-23 22:05:22 +04:00
|
|
|
/* input:-webkit-autofill,
|
|
|
|
input:-webkit-autofill:hover,
|
|
|
|
input:-webkit-autofill:focus,
|
|
|
|
input:-webkit-autofill:active {
|
|
|
|
transition: background-color 5000s ease-in-out 0s;
|
|
|
|
} */
|
|
|
|
|
2020-06-13 11:19:39 +03:00
|
|
|
.subtitle {
|
|
|
|
/* font-weight: 500; */
|
2021-04-02 18:32:10 +04:00
|
|
|
color: var(--secondary-text-color);
|
2020-06-13 11:19:39 +03:00
|
|
|
line-height: 1.35;
|
|
|
|
}
|
|
|
|
|
2021-02-18 20:05:33 +04:00
|
|
|
.danger {
|
2021-04-03 23:25:43 +04:00
|
|
|
color: var(--danger-color) !important;
|
2021-02-18 20:05:33 +04:00
|
|
|
|
|
|
|
.c-ripple__circle {
|
2021-04-03 23:25:43 +04:00
|
|
|
background-color: var(--light-danger-color);
|
2021-02-18 20:05:33 +04:00
|
|
|
}
|
2020-06-13 11:19:39 +03:00
|
|
|
}
|
|
|
|
|
2021-02-18 20:05:33 +04:00
|
|
|
.blue, .primary {
|
2021-04-03 23:25:43 +04:00
|
|
|
color: var(--primary-color) !important;
|
2021-02-18 20:05:33 +04:00
|
|
|
|
|
|
|
.c-ripple__circle {
|
2021-04-02 18:32:10 +04:00
|
|
|
background-color: var(--light-primary-color);
|
2021-02-18 20:05:33 +04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.blue:before, .primary:before, .danger:before {
|
|
|
|
color: inherit !important;
|
2021-01-03 14:59:12 +04:00
|
|
|
}
|
|
|
|
|
2020-11-15 05:33:47 +02:00
|
|
|
.bg-warning {
|
2021-06-22 04:34:04 +03:00
|
|
|
background: #fed85a !important;
|
2020-11-15 05:33:47 +02:00
|
|
|
}
|
|
|
|
|
2021-03-01 23:49:36 +04:00
|
|
|
.contextmenu {
|
|
|
|
position: fixed !important;
|
|
|
|
right: auto !important;
|
|
|
|
bottom: auto !important;
|
|
|
|
width: auto !important;
|
|
|
|
z-index: 4 !important;
|
2020-06-13 11:19:39 +03:00
|
|
|
}
|
|
|
|
|
2021-04-03 23:25:43 +04:00
|
|
|
.preloader {
|
|
|
|
width: 50px;
|
|
|
|
height: 50px;
|
|
|
|
|
|
|
|
position: absolute;
|
|
|
|
top: 50%;
|
|
|
|
left: 50%;
|
|
|
|
transform: translate(-50%, -50%);
|
|
|
|
|
|
|
|
// ! do not change it to &-path
|
|
|
|
.preloader-path {
|
|
|
|
stroke: var(--primary-color);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-05-25 19:11:58 +03:00
|
|
|
@keyframes thumbnail-fade-in-opacity {
|
|
|
|
0% {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
to {
|
|
|
|
opacity: .8;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-10-10 20:19:04 +03:00
|
|
|
@keyframes fade-in-opacity {
|
2020-06-13 11:19:39 +03:00
|
|
|
0% {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
to {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-10-10 20:19:04 +03:00
|
|
|
@keyframes fade-out-opacity {
|
|
|
|
0% {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
to {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes fade-in-backwards-opacity {
|
|
|
|
0% {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes fade-out-backwards-opacity {
|
|
|
|
0% {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes fade-in-opacity-fade-out-opacity {
|
2020-06-13 11:19:39 +03:00
|
|
|
0% {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
10% {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
50% {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
to {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.toast {
|
|
|
|
position: fixed;
|
|
|
|
left: 50%;
|
|
|
|
top: 50%;
|
|
|
|
transform: translate(-50%, -50%);
|
|
|
|
padding: .5rem 1rem;
|
|
|
|
background-color: rgba(0, 0, 0, .66);
|
|
|
|
color: #fff;
|
|
|
|
font-size: 1rem;
|
|
|
|
border-radius: $border-radius-medium;
|
2020-10-10 20:19:04 +03:00
|
|
|
animation: fade-in-opacity-fade-out-opacity 3s linear forwards;
|
2020-06-16 23:48:08 +03:00
|
|
|
z-index: 5;
|
2021-03-01 23:49:36 +04:00
|
|
|
max-width: 22.5rem;
|
2021-06-22 05:28:37 +03:00
|
|
|
|
|
|
|
b {
|
|
|
|
color: inherit;
|
|
|
|
}
|
2020-06-13 11:19:39 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
hr {
|
|
|
|
width: 100%;
|
|
|
|
border: none;
|
2021-04-02 18:32:10 +04:00
|
|
|
border-top: 1px solid var(--border-color);
|
2021-01-03 14:59:12 +04:00
|
|
|
margin: 0;
|
|
|
|
padding-bottom: .5rem;
|
2020-06-13 11:19:39 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.user-title, b/* , .user-last-message b */ {
|
2021-04-02 18:32:10 +04:00
|
|
|
color: var(--primary-text-color);
|
2020-11-21 15:13:23 +02:00
|
|
|
font-weight: bolder;
|
|
|
|
//font-weight: 500;
|
2020-06-13 11:19:39 +03:00
|
|
|
//font-weight: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
.user-last-message b {
|
|
|
|
font-weight: 400;
|
2021-01-23 00:12:57 +02:00
|
|
|
//margin-right: .25rem;
|
2020-06-13 11:19:39 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.avatar-edit {
|
|
|
|
position: relative;
|
|
|
|
border-radius: 50%;
|
|
|
|
cursor: pointer;
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
|
|
&-canvas {
|
|
|
|
max-width: 100%;
|
|
|
|
max-height: 100%;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2021-04-02 18:32:10 +04:00
|
|
|
background-color: var(--primary-color);
|
2020-06-13 11:19:39 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.tgico-cameraadd {
|
|
|
|
position: absolute;
|
|
|
|
font-size: 48px;
|
|
|
|
line-height: 48px;
|
|
|
|
top: 50%;
|
|
|
|
left: 50%;
|
|
|
|
transform: translateY(-50%) translateX(-50%);
|
|
|
|
z-index: 2;
|
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
|
|
|
|
.avatar-placeholder {
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
top: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
filter: brightness(0.7);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.select-wrapper {
|
|
|
|
max-height: 23.5rem;
|
|
|
|
/* height: auto; */
|
|
|
|
position: absolute;
|
|
|
|
width: 100%;
|
|
|
|
top: calc(100% + .5rem);
|
|
|
|
left: 0;
|
|
|
|
overflow: hidden;
|
2021-04-30 18:58:00 +04:00
|
|
|
background-color: var(--surface-color);
|
2020-06-13 11:19:39 +03:00
|
|
|
z-index: 3;
|
|
|
|
border-radius: $border-radius-medium;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
flex-wrap: wrap;
|
2020-08-23 15:44:33 +03:00
|
|
|
transition: opacity .2s ease-out, transform .2s ease-out;
|
|
|
|
transform: scale(.95);
|
|
|
|
transform-origin: top center;
|
|
|
|
opacity: 0;
|
|
|
|
|
|
|
|
&.active {
|
|
|
|
transform: scale(1);
|
|
|
|
opacity: 1;
|
|
|
|
}
|
2020-06-13 11:19:39 +03:00
|
|
|
|
|
|
|
ul {
|
|
|
|
margin: .5rem 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
li {
|
|
|
|
/* display: flex; */
|
|
|
|
align-items: center;
|
|
|
|
padding: 0 1rem;
|
|
|
|
justify-content: space-between;
|
|
|
|
height: 3.5rem;
|
|
|
|
cursor: pointer;
|
|
|
|
/* font-weight: 500; */
|
|
|
|
|
|
|
|
text-align: left;
|
|
|
|
display: grid;
|
2021-01-20 05:38:59 +04:00
|
|
|
grid-template-columns: calc(26px + 2rem) 1fr 80px;
|
2020-06-13 11:19:39 +03:00
|
|
|
|
2021-03-04 23:31:07 +04:00
|
|
|
@include hover-background-effect();
|
2020-06-13 11:19:39 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
// +2 px bc of whitespace
|
|
|
|
.emoji {
|
|
|
|
height: 26px;
|
|
|
|
width: 26px;
|
|
|
|
font-size: 26px;
|
|
|
|
line-height: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.scrollable {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.phone-code {
|
|
|
|
color: $placeholder-color;
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
|
|
|
|
// this dimensions will be used for monkey business
|
|
|
|
.auth-image {
|
|
|
|
width: 166px;
|
|
|
|
height: 166px;
|
|
|
|
margin: 0 auto 18px;
|
2020-11-27 21:14:26 +02:00
|
|
|
position: relative;
|
2020-06-20 04:11:24 +03:00
|
|
|
|
|
|
|
@include respond-to(handhelds) {
|
|
|
|
width: 120px;
|
|
|
|
height: 120px;
|
|
|
|
}
|
2020-06-13 11:19:39 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
/* .phone-wrapper {
|
|
|
|
display: flex;
|
|
|
|
align-items: ;
|
|
|
|
} */
|
|
|
|
|
|
|
|
.phone-edit {
|
|
|
|
display: inline-block;
|
|
|
|
width: 24px;
|
|
|
|
height: 24px;
|
|
|
|
margin-left: .4rem;
|
|
|
|
opacity: .5;
|
2021-02-06 15:49:45 +02:00
|
|
|
transition: .2s opacity;
|
2020-06-13 11:19:39 +03:00
|
|
|
cursor: pointer;
|
|
|
|
font-size: 1.5rem;
|
|
|
|
|
2020-06-20 04:11:24 +03:00
|
|
|
@include respond-to(handhelds) {
|
|
|
|
margin-top: -14px;
|
|
|
|
}
|
|
|
|
|
2021-02-06 15:49:45 +02:00
|
|
|
@include hover() {
|
2020-06-13 11:19:39 +03:00
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-10-15 21:51:55 +03:00
|
|
|
span.emoji {
|
|
|
|
display: inline !important;
|
|
|
|
vertical-align: unset !important;
|
|
|
|
//line-height: 1em;
|
|
|
|
//font-size: 1em;
|
2020-06-13 11:19:39 +03:00
|
|
|
|
|
|
|
font-family: apple color emoji,segoe ui emoji,noto color emoji,android emoji,emojisymbols,emojione mozilla,twemoji mozilla,segoe ui symbol;
|
2021-01-18 22:34:41 +04:00
|
|
|
line-height: 1 !important;
|
2020-06-13 11:19:39 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
img.emoji {
|
|
|
|
width: 18px;
|
|
|
|
height: 18px;
|
2020-09-01 15:53:46 +03:00
|
|
|
margin: 0 .125rem;
|
2020-10-15 21:51:55 +03:00
|
|
|
|
|
|
|
display: inline-block;
|
|
|
|
/* width: 100%;
|
|
|
|
height: 100%; */
|
|
|
|
max-width: 100%;
|
|
|
|
max-height: 100%;
|
|
|
|
vertical-align: middle;
|
2020-06-13 11:19:39 +03:00
|
|
|
}
|
|
|
|
|
2020-11-16 04:23:37 +02:00
|
|
|
[contenteditable=true] {
|
2020-06-13 11:19:39 +03:00
|
|
|
user-select: text;
|
2020-11-14 01:04:03 +02:00
|
|
|
outline: none;
|
|
|
|
cursor: text;
|
2020-11-16 04:23:37 +02:00
|
|
|
}
|
2020-11-14 01:04:03 +02:00
|
|
|
|
2020-11-16 04:23:37 +02:00
|
|
|
[contenteditable][data-placeholder] {
|
|
|
|
&:empty:before {
|
|
|
|
content: attr(data-placeholder);
|
|
|
|
color: #a2acb4;
|
|
|
|
display: block; /* For Firefox By Ariel Flesler */
|
|
|
|
pointer-events: none;
|
2020-11-14 01:04:03 +02:00
|
|
|
}
|
2020-06-13 11:19:39 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.sticky_sentinel {
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
right: 0; /* needs dimensions */
|
|
|
|
visibility: hidden;
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
|
2020-11-28 17:56:28 +02:00
|
|
|
.super-stickers {
|
|
|
|
width: 100%;
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: repeat(auto-fill, var(--esg-sticker-size)); // 64px
|
|
|
|
grid-column-gap: 1px;
|
|
|
|
justify-content: space-between;
|
|
|
|
}
|
|
|
|
|
|
|
|
.super-sticker {
|
2021-02-06 15:49:45 +02:00
|
|
|
@include hover-background-effect() {
|
2020-12-13 01:29:12 +02:00
|
|
|
border-radius: 10px;
|
2020-11-28 17:56:28 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
/* &:nth-child(5n+5) {
|
|
|
|
margin-right: 0;
|
|
|
|
} */
|
|
|
|
|
2021-04-04 22:46:09 +04:00
|
|
|
/* > img, > .rlottie {
|
2020-11-28 17:56:28 +02:00
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
top: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
> img {
|
|
|
|
object-fit: contain;
|
2021-04-04 22:46:09 +04:00
|
|
|
|
|
|
|
@include animation-level(2) {
|
|
|
|
animation: fade-in-opacity .2s ease forwards;
|
|
|
|
}
|
|
|
|
} */
|
2020-11-28 17:56:28 +02:00
|
|
|
}
|
|
|
|
|
2020-06-13 11:19:39 +03:00
|
|
|
.fade-in-transition {
|
|
|
|
opacity: 1;
|
|
|
|
transition: opacity .2s ease;
|
|
|
|
}
|
|
|
|
|
2020-06-19 14:49:55 +03:00
|
|
|
.show-more {
|
|
|
|
padding-top: 13px;
|
|
|
|
padding-bottom: 13px;
|
|
|
|
cursor: pointer;
|
|
|
|
user-select: none;
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
@include respond-to(not-handhelds) {
|
|
|
|
padding-left: 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tgico-down {
|
|
|
|
float: left;
|
|
|
|
padding-right: 32px;
|
|
|
|
padding-left: 16px;
|
|
|
|
font-size: 24px;
|
2021-04-02 18:32:10 +04:00
|
|
|
color: var(--secondary-text-color);
|
2020-06-19 14:49:55 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-06-21 15:25:17 +03:00
|
|
|
// .message .audio .preloader-container {
|
|
|
|
// @include respond-to(handhelds) {
|
|
|
|
// width: 30px;
|
|
|
|
// height: 30px;
|
|
|
|
// left: 2px;
|
|
|
|
// }
|
|
|
|
// }
|
|
|
|
|
2020-08-31 00:16:26 +03:00
|
|
|
.content-empty {
|
2021-04-02 18:32:10 +04:00
|
|
|
color: var(--secondary-text-color);
|
2020-08-31 00:16:26 +03:00
|
|
|
}
|
|
|
|
|
2020-09-24 22:27:34 +03:00
|
|
|
@keyframes grow-icon {
|
|
|
|
0% {
|
|
|
|
transform: scale(.5);
|
|
|
|
opacity: .8;
|
|
|
|
}
|
|
|
|
|
|
|
|
50% {
|
|
|
|
transform: scale(1.1);
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
100% {
|
|
|
|
transform: scale(1);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes hide-icon {
|
|
|
|
from {
|
|
|
|
transform: scale(1);
|
|
|
|
opacity: .4;
|
|
|
|
}
|
|
|
|
|
|
|
|
to {
|
|
|
|
transform: scale(.5);
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-02-20 21:10:26 +04:00
|
|
|
.popup-disable-password, .popup-skip-email {
|
|
|
|
.popup-description {
|
|
|
|
max-width: 284px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-01-31 03:52:14 +02:00
|
|
|
.grid {
|
|
|
|
width: 100%;
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: repeat(3, 1fr);
|
|
|
|
grid-auto-rows: 1fr;
|
|
|
|
grid-gap: .25rem;
|
|
|
|
|
|
|
|
&-item {
|
|
|
|
height: 0;
|
|
|
|
padding-bottom: 100%;
|
|
|
|
//overflow: hidden;
|
|
|
|
position: relative;
|
|
|
|
cursor: pointer;
|
|
|
|
user-select: none;
|
|
|
|
|
|
|
|
&-media {
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
top: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
object-fit: cover;
|
|
|
|
}
|
2020-09-26 01:47:43 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-11-25 21:36:18 +02:00
|
|
|
.animated-super {
|
|
|
|
&-row {
|
2020-12-14 00:28:17 +02:00
|
|
|
--translateY: 100%;
|
2020-11-25 21:36:18 +02:00
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
transition: transform var(--pm-transition), opacity var(--pm-transition);
|
|
|
|
|
2021-01-03 19:59:13 +04:00
|
|
|
body.animation-level-0 & {
|
|
|
|
transition: none;
|
|
|
|
}
|
|
|
|
|
2020-12-14 00:28:17 +02:00
|
|
|
/* &:not(.is-hiding) {
|
|
|
|
transform: none !important;
|
|
|
|
} */
|
|
|
|
|
2020-11-25 21:36:18 +02:00
|
|
|
&.is-hiding {
|
|
|
|
opacity: 0;
|
|
|
|
|
|
|
|
&.from-top {
|
2020-12-14 00:28:17 +02:00
|
|
|
transform: translate3d(0, calc(var(--translateY) * -1), 0);
|
|
|
|
//transform: translateY(calc(var(--translateY) * -1));
|
|
|
|
//transform: translateY(-100%);
|
2020-11-25 21:36:18 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
&.from-bottom {
|
2020-12-14 00:28:17 +02:00
|
|
|
transform: translate3d(0, var(--translateY), 0);
|
|
|
|
//transform: translateY(var(--translateY));
|
|
|
|
//transform: translateY(100%);
|
2020-11-25 21:36:18 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
/* &.backwards {
|
|
|
|
opacity: 1;
|
|
|
|
transform: translateY(0) !important;
|
|
|
|
} */
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.animated-counter {
|
|
|
|
display: inline-flex;
|
|
|
|
|
|
|
|
&-decimal {
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
&-placeholder {
|
|
|
|
color: transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
&-wrapper {
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
right: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* &:not(:first-child) {
|
|
|
|
.animated-super {
|
|
|
|
&-row {
|
|
|
|
&.is-hiding {
|
|
|
|
&.from-top {
|
|
|
|
transform: translateY(100%);
|
|
|
|
}
|
|
|
|
|
|
|
|
&.from-bottom {
|
|
|
|
transform: translateY(-100%);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
} */
|
|
|
|
}
|
|
|
|
|
|
|
|
/* &.from-top {
|
|
|
|
.animated-super-row.is-hiding {
|
|
|
|
&.from-top {
|
|
|
|
transform: translateY(100%) !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
} */
|
|
|
|
}
|
|
|
|
|
2020-06-21 15:25:17 +03:00
|
|
|
// *:not(input):not(textarea) {
|
|
|
|
// -webkit-user-select: none; /* disable selection/Copy of UIWebView */
|
|
|
|
// -webkit-touch-callout: none; /* disable the IOS popup when long-press on a link */
|
|
|
|
// }
|
2020-11-07 05:48:07 +02:00
|
|
|
|
|
|
|
middle-ellipsis-element {
|
|
|
|
width: 100%;
|
|
|
|
overflow: hidden;
|
|
|
|
display: block;
|
|
|
|
}
|
2020-11-09 22:57:06 +03:00
|
|
|
|
|
|
|
.album-item {
|
|
|
|
&-media {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
}
|
2020-12-08 21:48:44 +02:00
|
|
|
|
2021-01-06 13:16:53 +04:00
|
|
|
.hover-effect {
|
2021-02-06 15:49:45 +02:00
|
|
|
@include hover-background-effect();
|
2021-01-03 14:59:12 +04:00
|
|
|
}
|
2021-01-10 20:10:02 +04:00
|
|
|
|
2021-02-02 08:10:20 +02:00
|
|
|
.progress-ring {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
pointer-events: none;
|
|
|
|
|
|
|
|
&__circle {
|
|
|
|
transition: stroke-dashoffset;
|
|
|
|
stroke-linecap: round;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-01-11 20:09:20 +04:00
|
|
|
.rlottie, .rlottie-vector {
|
|
|
|
left: 0;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
right: 0;
|
|
|
|
position: absolute;
|
|
|
|
max-width: 100%;
|
|
|
|
max-height: 100%;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.rlottie.fade-in {
|
2021-04-04 22:46:09 +04:00
|
|
|
@include animation-level(2) {
|
|
|
|
animation: fade-in-opacity .2s ease-in-out forwards;
|
|
|
|
}
|
2021-01-11 20:09:20 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
.rlottie-vector {
|
|
|
|
fill: rgba(0, 0, 0, .08);
|
|
|
|
}
|
|
|
|
|
2021-02-01 07:01:16 +02:00
|
|
|
.media-photo, .media-video, .media-sticker, .media-round {
|
2021-01-10 20:10:02 +04:00
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
|
2021-04-04 22:46:09 +04:00
|
|
|
@include animation-level(2) {
|
|
|
|
&.fade-in {
|
|
|
|
animation: fade-in-opacity .2s ease-in-out forwards;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.fade-out {
|
|
|
|
animation: fade-out-opacity .2s ease-in-out forwards;
|
|
|
|
}
|
2021-01-11 20:09:20 +04:00
|
|
|
}
|
2021-01-10 20:10:02 +04:00
|
|
|
}
|
|
|
|
|
2021-05-25 19:11:58 +03:00
|
|
|
.media-photo.thumbnail {
|
|
|
|
@include animation-level(2) {
|
|
|
|
&.fade-in {
|
|
|
|
animation: thumbnail-fade-in-opacity .2s ease-in-out forwards;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-01-10 20:10:02 +04:00
|
|
|
.media-video {
|
|
|
|
z-index: 1; // * overflow media-photo
|
|
|
|
}
|
2021-01-11 19:21:03 +04:00
|
|
|
|
|
|
|
.media-sticker {
|
|
|
|
margin: auto;
|
2021-04-04 22:46:09 +04:00
|
|
|
object-fit: contain;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
max-width: 100%;
|
|
|
|
max-height: 100%;
|
2021-01-11 19:21:03 +04:00
|
|
|
}
|
2021-02-01 07:01:16 +02:00
|
|
|
|
|
|
|
.media-round {
|
|
|
|
max-width: 200px;
|
|
|
|
max-height: 200px;
|
|
|
|
z-index: 1;
|
|
|
|
|
|
|
|
canvas {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
border-radius: 50%;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.video-time {
|
2021-02-27 17:13:27 +04:00
|
|
|
padding: 1px 6px 2px;
|
2021-02-01 07:01:16 +02:00
|
|
|
background-color: rgba(0, 0, 0, .23) !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.is-paused .video-time {
|
|
|
|
&:after {
|
|
|
|
content: $tgico-nosound;
|
|
|
|
padding-left: .25rem;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
font-size: 1.125rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2021-04-13 20:19:52 +04:00
|
|
|
|
|
|
|
.gradient-delimiter {
|
|
|
|
width: 100%;
|
|
|
|
height: .75rem;
|
|
|
|
background-color: var(--background-color-true);
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
&:before {
|
|
|
|
content: " ";
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
background: linear-gradient(180deg, rgba(0, 0, 0, .06) 0%, rgba(0, 0, 0, 0) 20%, rgba(0, 0, 0, 0) 94%, rgba(0, 0, 0, .06) 100%);
|
|
|
|
}
|
|
|
|
}
|
2021-04-14 04:32:58 +04:00
|
|
|
|
|
|
|
// ! TEMPORARY
|
|
|
|
.tgico-reply:before,
|
|
|
|
.tgico-attach:before,
|
|
|
|
.tgico-saved:before,
|
|
|
|
.tgico-phone:before,
|
|
|
|
.tgico-admin:before,
|
|
|
|
.tgico-message:before,
|
|
|
|
.tgico-fontsize:before,
|
|
|
|
.tgico-forward:before {
|
|
|
|
font-size: 20px !important;
|
|
|
|
padding: 0 2px;
|
|
|
|
}
|
2021-04-16 08:11:52 +04:00
|
|
|
|
|
|
|
.stealthy {
|
|
|
|
left: 0;
|
|
|
|
margin: 0;
|
|
|
|
max-height: 1px;
|
|
|
|
max-width: 1px;
|
|
|
|
opacity: 0;
|
|
|
|
outline: none;
|
|
|
|
overflow: hidden;
|
|
|
|
pointer-events: none;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
z-index: -1;
|
|
|
|
}
|
2021-04-19 19:30:51 +04:00
|
|
|
|
|
|
|
.verified-check {
|
|
|
|
fill: #fff;
|
|
|
|
}
|
|
|
|
|
|
|
|
.verified-background {
|
|
|
|
fill: #33a8e5;
|
|
|
|
}
|
2021-05-16 06:07:17 +04:00
|
|
|
|
|
|
|
.navigable-list {
|
|
|
|
.active {
|
|
|
|
background-color: var(--light-secondary-text-color);
|
|
|
|
border-radius: inherit;
|
|
|
|
}
|
|
|
|
}
|
2021-05-18 17:17:54 +03:00
|
|
|
|
|
|
|
.super-emojis {
|
|
|
|
// ! No chrome 56 support
|
|
|
|
display: grid;
|
|
|
|
grid-column-gap: 2.44px;
|
2021-05-25 22:00:33 +03:00
|
|
|
grid-template-columns: repeat(auto-fill, 2.625rem);
|
2021-05-18 17:17:54 +03:00
|
|
|
justify-content: space-between;
|
|
|
|
|
2021-05-25 22:00:33 +03:00
|
|
|
font-size: 2.125rem;
|
|
|
|
line-height: 2.125rem;
|
2021-05-18 17:17:54 +03:00
|
|
|
|
|
|
|
.super-emoji {
|
|
|
|
display: inline-block;
|
2021-05-25 22:00:33 +03:00
|
|
|
margin: 0 .0625rem;
|
|
|
|
padding: .25rem;
|
2021-05-18 17:17:54 +03:00
|
|
|
line-height: inherit;
|
2021-05-25 22:00:33 +03:00
|
|
|
border-radius: $border-radius;
|
2021-05-18 17:17:54 +03:00
|
|
|
cursor: pointer;
|
|
|
|
user-select: none;
|
2021-05-25 22:00:33 +03:00
|
|
|
vertical-align: middle;
|
2021-05-18 17:17:54 +03:00
|
|
|
|
2021-05-25 22:00:33 +03:00
|
|
|
width: 2.625rem;
|
|
|
|
height: 2.625rem;
|
2021-05-18 17:17:54 +03:00
|
|
|
|
|
|
|
html:not(.emoji-supported) & {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.emoji-placeholder {
|
|
|
|
position: absolute;
|
|
|
|
left: 7px;
|
|
|
|
top: 7px;
|
|
|
|
width: 1.75rem;
|
|
|
|
height: 1.75rem;
|
|
|
|
border-radius: 50%;
|
|
|
|
background-color: var(--light-secondary-text-color);
|
2021-06-25 18:16:16 +03:00
|
|
|
pointer-events: none;
|
2021-05-18 17:17:54 +03:00
|
|
|
|
|
|
|
@include animation-level(2) {
|
|
|
|
opacity: 0;
|
|
|
|
transition: opacity .2s ease-in-out;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@include animation-level(2) {
|
|
|
|
img {
|
|
|
|
opacity: 1;
|
|
|
|
transition: opacity .2s ease-in-out;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.emoji {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
vertical-align: unset;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include hover-background-effect();
|
|
|
|
}
|
|
|
|
}
|
2021-06-08 18:46:55 +03:00
|
|
|
|
|
|
|
.tgico-char {
|
|
|
|
&:before {
|
|
|
|
font-family: "Roboto" !important;
|
|
|
|
font-weight: 500;
|
|
|
|
width: 1.5rem;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.z:before {
|
|
|
|
content: "Z";
|
|
|
|
}
|
|
|
|
|
|
|
|
&.w:before {
|
|
|
|
content: "W";
|
|
|
|
}
|
|
|
|
}
|