diff --git a/src/components/popups/datePicker.ts b/src/components/popups/datePicker.ts index c3bf1d73..a0afec5f 100644 --- a/src/components/popups/datePicker.ts +++ b/src/components/popups/datePicker.ts @@ -5,7 +5,6 @@ */ import PopupElement, { PopupOptions } from "."; -import { getFullDate } from "../../helpers/date"; import mediaSizes from "../../helpers/mediaSizes"; import I18n, { i18n, LangPackKey } from "../../lib/langPack"; import InputField from "../inputField"; diff --git a/src/components/sidebarLeft/index.ts b/src/components/sidebarLeft/index.ts index 06e66291..28bf544a 100644 --- a/src/components/sidebarLeft/index.ts +++ b/src/components/sidebarLeft/index.ts @@ -101,7 +101,7 @@ export class AppSidebarLeft extends SidebarSlider { }; const menuButtons: (ButtonMenuItemOptions & {verify?: () => boolean})[] = [{ - icon: 'savedmessages', + icon: 'saved', text: 'SavedMessages', onClick: () => { setTimeout(() => { // menu doesn't close if no timeout (lol) @@ -119,7 +119,7 @@ export class AppSidebarLeft extends SidebarSlider { new AppSettingsTab(this).open(); } }, { - icon: 'colorize', + icon: 'darkmode', text: 'DarkMode', onClick: () => { @@ -129,7 +129,7 @@ export class AppSidebarLeft extends SidebarSlider { stateKey: 'settings.nightTheme', }) }, { - icon: 'lamp', + icon: 'animations', text: 'Animations', onClick: () => { @@ -146,7 +146,7 @@ export class AppSidebarLeft extends SidebarSlider { appImManager.openUsername('TelegramTips'); } }, { - icon: 'help', + icon: 'bug', text: 'ReportBug', onClick: () => { const a = document.createElement('a'); diff --git a/src/lib/appManagers/appImManager.ts b/src/lib/appManagers/appImManager.ts index cb0f1a4b..b5e9022b 100644 --- a/src/lib/appManagers/appImManager.ts +++ b/src/lib/appManagers/appImManager.ts @@ -715,13 +715,19 @@ export class AppImManager { this.createNewChat(); this.chats.splice(0, 1); */ const spliced = this.chats.splice(1, this.chats.length - 1); - const ret = this.setPeer(peerId, lastMsgId); - this.spliceChats(0, false, false, spliced); + if(this.chat.peerId === peerId) { + this.spliceChats(0, true, true, spliced); + return; + } else { + const ret = this.setPeer(peerId, lastMsgId); + this.spliceChats(0, false, false, spliced); + return ret; + } // } else { // this.spliceChats(1, false, animate); // } - return ret; + //return ret; } // * don't reset peer if returning diff --git a/src/lib/appManagers/appProfileManager.ts b/src/lib/appManagers/appProfileManager.ts index c015ae2f..5cf8d511 100644 --- a/src/lib/appManagers/appProfileManager.ts +++ b/src/lib/appManagers/appProfileManager.ts @@ -556,7 +556,7 @@ export class AppProfileManager { if(peerId === myId && isDialog) { div.innerHTML = ''; div.dataset.color = ''; - div.classList.add('tgico-savedmessages'); + div.classList.add('tgico-saved'); div.classList.remove('tgico-avatar_deletedaccount'); return; } @@ -567,7 +567,7 @@ export class AppProfileManager { div.innerHTML = ''; div.dataset.color = appPeersManager.getPeerColorById(peerId); div.classList.add('tgico-avatar_deletedaccount'); - div.classList.remove('tgico-savedmessages'); + div.classList.remove('tgico-saved'); return; } } @@ -579,7 +579,7 @@ export class AppProfileManager { } div.innerHTML = ''; - div.classList.remove('tgico-savedmessages', 'tgico-avatar_deletedaccount'); + div.classList.remove('tgico-saved', 'tgico-avatar_deletedaccount'); div.dataset.color = color; let abbr: string; diff --git a/src/scss/partials/_avatar.scss b/src/scss/partials/_avatar.scss index a6e9c1b5..c1540f5f 100644 --- a/src/scss/partials/_avatar.scss +++ b/src/scss/partials/_avatar.scss @@ -65,6 +65,10 @@ avatar-element { font-size: calc(36px / var(--multiplier)); } + &.tgico-saved:before { + font-size: calc(21px / var(--multiplier)) !important; // ! IMPORTANT IS TEMPORARY + } + &.tgico-savedmessages:before { font-size: calc(25px / var(--multiplier)); } diff --git a/src/scss/partials/_fonts.scss b/src/scss/partials/_fonts.scss index 15298fdd..03f28fcf 100644 --- a/src/scss/partials/_fonts.scss +++ b/src/scss/partials/_fonts.scss @@ -9,9 +9,9 @@ @font-face { font-family: "#{$tgico-font-family}"; src: - url('#{$tgico-font-path}/#{$tgico-font-family}.ttf?6mppd8') format('truetype'), - url('#{$tgico-font-path}/#{$tgico-font-family}.woff?6mppd8') format('woff'), - url('#{$tgico-font-path}/#{$tgico-font-family}.svg?6mppd8#tgico') format('svg'); + url('#{$tgico-font-path}/#{$tgico-font-family}.ttf?xc1ll') format('truetype'), + url('#{$tgico-font-path}/#{$tgico-font-family}.woff?xc1ll') format('woff'), + url('#{$tgico-font-path}/#{$tgico-font-family}.svg?xc1ll#tgico') format('svg'); font-weight: normal; font-style: normal; font-display: block; @@ -37,576 +37,121 @@ -moz-osx-font-smoothing: grayscale; } -.tgico-zoomout { - &:before { - content: $tgico-zoomout; - } -} -.tgico-username { - &:before { - content: $tgico-username; - } -} -.tgico-zoomin { - &:before { - content: $tgico-zoomin; - } -} -.tgico-up { - &:before { - content: $tgico-up; - } -} -.tgico-user { - &:before { - content: $tgico-user; - } -} -.tgico-unmute { - &:before { - content: $tgico-unmute; - } -} -.tgico-unpin { - &:before { - content: $tgico-unpin; - } -} -.tgico-unread { - &:before { - content: $tgico-unread; - } -} -.tgico-unlock { - &:before { - content: $tgico-unlock; - } -} -.tgico-unarchive { - &:before { - content: $tgico-unarchive; - } -} -.tgico-underline { - &:before { - content: $tgico-underline; - } -} -.tgico-textedit { - &:before { - content: $tgico-textedit; - } -} -.tgico-tip { - &:before { - content: $tgico-tip; - } -} -.tgico-stop { - &:before { - content: $tgico-stop; - } -} -.tgico-strikethrough { - &:before { - content: $tgico-strikethrough; - } -} -.tgico-smile { - &:before { - content: $tgico-smile; - } -} -.tgico-sport { - &:before { - content: $tgico-sport; - } -} -.tgico-stickers { - &:before { - content: $tgico-stickers; - } -} -.tgico-settings { - &:before { - content: $tgico-settings; - } -} -.tgico-smallscreen { - &:before { - content: $tgico-smallscreen; - } -} -.tgico-sendingerror { - &:before { - content: $tgico-sendingerror; - } -} -.tgico-send { - &:before { - content: $tgico-send; - } -} -.tgico-sending { - &:before { - content: $tgico-sending; - } -} -.tgico-select { - &:before { - content: $tgico-select; - } -} -.tgico-send2 { - &:before { - content: $tgico-send2; - } -} -.tgico-scheduled { - &:before { - content: $tgico-scheduled; - } -} -.tgico-search { - &:before { - content: $tgico-search; - } -} -.tgico-revote { - &:before { - content: $tgico-revote; - } -} -.tgico-savedmessages { - &:before { - content: $tgico-savedmessages; - } -} -.tgico-schedule { - &:before { - content: $tgico-schedule; - } -} -.tgico-replace { - &:before { - content: $tgico-replace; - } -} -.tgico-reply { - &:before { - content: $tgico-reply; - } -} -.tgico-radioon { - &:before { - content: $tgico-radioon; - } -} -.tgico-readchats { - &:before { - content: $tgico-readchats; - } -} -.tgico-recent { - &:before { - content: $tgico-recent; - } -} -.tgico-radiooff { - &:before { - content: $tgico-radiooff; - } -} -.tgico-poll { - &:before { - content: $tgico-poll; - } -} -.tgico-previous { - &:before { - content: $tgico-previous; - } -} -.tgico-pinned_filled { - &:before { - content: $tgico-pinned_filled; - } -} -.tgico-pinnedchat { - &:before { - content: $tgico-pinnedchat; - } -} -.tgico-play { - &:before { - content: $tgico-play; - } -} -.tgico-photo { - &:before { - content: $tgico-photo; - } -} -.tgico-pin { - &:before { - content: $tgico-pin; - } -} -.tgico-pinlist { - &:before { - content: $tgico-pinlist; - } -} -.tgico-permissions { - &:before { - content: $tgico-permissions; - } -} -.tgico-phone { - &:before { - content: $tgico-phone; - } -} -.tgico-pause { - &:before { - content: $tgico-pause; - } -} -.tgico-noncontacts { - &:before { - content: $tgico-noncontacts; - } -} -.tgico-nosound { - &:before { - content: $tgico-nosound; - } -} -.tgico-passwordoff { - &:before { - content: $tgico-passwordoff; - } -} -.tgico-newprivate { - &:before { - content: $tgico-newprivate; - } -} -.tgico-next { - &:before { - content: $tgico-next; - } -} -.tgico-newchat_filled { - &:before { - content: $tgico-newchat_filled; - } -} -.tgico-newgroup { - &:before { - content: $tgico-newgroup; - } -} -.tgico-muted { - &:before { - content: $tgico-muted; - } -} -.tgico-newchannel { - &:before { - content: $tgico-newchannel; - } -} -.tgico-more { - &:before { - content: $tgico-more; - } -} -.tgico-mute { - &:before { - content: $tgico-mute; - } -} -.tgico-microphone { - &:before { - content: $tgico-microphone; - } -} -.tgico-minus { - &:before { - content: $tgico-minus; - } -} -.tgico-monospace { - &:before { - content: $tgico-monospace; - } -} -.tgico-message { - &:before { - content: $tgico-message; - } -} -.tgico-microphone2 { - &:before { - content: $tgico-microphone2; - } -} -.tgico-logout { - &:before { - content: $tgico-logout; - } -} -.tgico-mention { - &:before { - content: $tgico-mention; - } -} -.tgico-menu { - &:before { - content: $tgico-menu; - } -} -.tgico-loginlogomobile { - &:before { - content: $tgico-loginlogomobile; - } -} -.tgico-lock { - &:before { - content: $tgico-lock; - } -} -.tgico-loginlogodesktop { - &:before { - content: $tgico-loginlogodesktop; - } -} -.tgico-livelocation { - &:before { - content: $tgico-livelocation; - } -} -.tgico-location { - &:before { - content: $tgico-location; - } -} -.tgico-link { - &:before { - content: $tgico-link; - } -} -.tgico-language { - &:before { - content: $tgico-language; - } -} -.tgico-largepause { - &:before { - content: $tgico-largepause; - } -} -.tgico-largeplay { - &:before { - content: $tgico-largeplay; - } -} -.tgico-lamp { - &:before { - content: $tgico-lamp; - } -} -.tgico-keyboard { - &:before { - content: $tgico-keyboard; - } -} -.tgico-info { - &:before { - content: $tgico-info; - } -} -.tgico-italic { - &:before { - content: $tgico-italic; - } -} -.tgico-group { - &:before { - content: $tgico-group; - } -} -.tgico-help { - &:before { - content: $tgico-help; - } -} -.tgico-info2 { - &:before { - content: $tgico-info2; - } -} -.tgico-forward { - &:before { - content: $tgico-forward; - } -} -.tgico-gifs { - &:before { - content: $tgico-gifs; - } -} -.tgico-flag { - &:before { - content: $tgico-flag; - } -} -.tgico-folder { - &:before { - content: $tgico-folder; - } -} -.tgico-eye1 { - &:before { - content: $tgico-eye1; - } -} -.tgico-eye2 { - &:before { - content: $tgico-eye2; - } -} -.tgico-favourites { - &:before { - content: $tgico-favourites; - } -} -.tgico-edit { - &:before { - content: $tgico-edit; - } -} -.tgico-email { - &:before { - content: $tgico-email; - } -} -.tgico-eats { - &:before { - content: $tgico-eats; - } -} -.tgico-dragmedia { - &:before { - content: $tgico-dragmedia; - } -} -.tgico-down { - &:before { - content: $tgico-down; - } -} -.tgico-download { - &:before { - content: $tgico-download; - } -} -.tgico-dragfiles { - &:before { - content: $tgico-dragfiles; - } -} -.tgico-deleteuser { - &:before { - content: $tgico-deleteuser; - } -} -.tgico-document { - &:before { - content: $tgico-document; - } -} -.tgico-delete_filled { - &:before { - content: $tgico-delete_filled; - } -} -.tgico-delete { - &:before { - content: $tgico-delete; - } -} -.tgico-deleteleft { - &:before { - content: $tgico-deleteleft; - } -} -.tgico-copy { - &:before { - content: $tgico-copy; - } -} -.tgico-data { - &:before { - content: $tgico-data; - } -} -.tgico-commentssticker { - &:before { - content: $tgico-commentssticker; - } -} -.tgico-clouddownload { - &:before { - content: $tgico-clouddownload; - } -} -.tgico-colorize { - &:before { - content: $tgico-colorize; - } -} -.tgico-comments { - &:before { - content: $tgico-comments; - } -} -.tgico-checkboxon { - &:before { - content: $tgico-checkboxon; - } -} -.tgico-close { - &:before { - content: $tgico-close; - } -} -.tgico-checkbox { - &:before { - content: $tgico-checkbox; - } -} -.tgico-checkboxblock { - &:before { - content: $tgico-checkboxblock; - } -} -.tgico-checkboxempty { - &:before { - content: $tgico-checkboxempty; - } -} -.tgico-chatsplaceholder { - &:before { - content: $tgico-chatsplaceholder; - } -} .tgico-check { &:before { content: $tgico-check; } } +.tgico-checks { + &:before { + content: $tgico-checks; + } +} +.tgico-activesessions { + &:before { + content: $tgico-activesessions; + } +} +.tgico-add { + &:before { + content: $tgico-add; + } +} +.tgico-addmember_filled { + &:before { + content: $tgico-addmember_filled; + } +} +.tgico-adduser { + &:before { + content: $tgico-adduser; + } +} +.tgico-admin { + &:before { + content: $tgico-admin; + } +} +.tgico-animals { + &:before { + content: $tgico-animals; + } +} +.tgico-animations { + &:before { + content: $tgico-animations; + } +} +.tgico-archive { + &:before { + content: $tgico-archive; + } +} +.tgico-arrow_back { + &:before { + content: $tgico-arrow_back; + } +} +.tgico-arrow_down { + &:before { + content: $tgico-arrow_down; + } +} +.tgico-arrow_next { + &:before { + content: $tgico-arrow_next; + } +} +.tgico-attach { + &:before { + content: $tgico-attach; + } +} +.tgico-bold { + &:before { + content: $tgico-bold; + } +} +.tgico-botcom { + &:before { + content: $tgico-botcom; + } +} +.tgico-bots { + &:before { + content: $tgico-bots; + } +} +.tgico-bug { + &:before { + content: $tgico-bug; + } +} +.tgico-calendar { + &:before { + content: $tgico-calendar; + } +} +.tgico-calendarfilter { + &:before { + content: $tgico-calendarfilter; + } +} +.tgico-camera { + &:before { + content: $tgico-camera; + } +} +.tgico-cameraadd { + &:before { + content: $tgico-cameraadd; + } +} +.tgico-car { + &:before { + content: $tgico-car; + } +} .tgico-channel { &:before { content: $tgico-channel; @@ -622,114 +167,189 @@ content: $tgico-chatspinned; } } -.tgico-cameraadd { +.tgico-chatsplaceholder { &:before { - content: $tgico-cameraadd; + content: $tgico-chatsplaceholder; } } -.tgico-car { +.tgico-check1 { &:before { - content: $tgico-car; + content: $tgico-check1; } } -.tgico-camera { +.tgico-checkbox { &:before { - content: $tgico-camera; + content: $tgico-checkbox; } } -.tgico-bots { +.tgico-checkboxblock { &:before { - content: $tgico-bots; + content: $tgico-checkboxblock; } } -.tgico-calendar { +.tgico-checkboxempty { &:before { - content: $tgico-calendar; + content: $tgico-checkboxempty; } } -.tgico-calendarfilter { +.tgico-checkboxon { &:before { - content: $tgico-calendarfilter; + content: $tgico-checkboxon; } } -.tgico-botcom { +.tgico-checkretract { &:before { - content: $tgico-botcom; + content: $tgico-checkretract; } } -.tgico-avatar_deletedaccount { +.tgico-checkround { &:before { - content: $tgico-avatar_deletedaccount; + content: $tgico-checkround; } } -.tgico-avatar_savedmessages { +.tgico-close { &:before { - content: $tgico-avatar_savedmessages; + content: $tgico-close; } } -.tgico-bold { +.tgico-clouddownload { &:before { - content: $tgico-bold; + content: $tgico-clouddownload; } } -.tgico-attach { +.tgico-colorize { &:before { - content: $tgico-attach; + content: $tgico-colorize; } } -.tgico-avatar_archivedchats { +.tgico-comments { &:before { - content: $tgico-avatar_archivedchats; + content: $tgico-comments; } } -.tgico-arrow_next { +.tgico-commentssticker { &:before { - content: $tgico-arrow_next; + content: $tgico-commentssticker; } } -.tgico-arrow_back { +.tgico-copy { &:before { - content: $tgico-arrow_back; + content: $tgico-copy; } } -.tgico-arrow_down { +.tgico-darkmode { &:before { - content: $tgico-arrow_down; + content: $tgico-darkmode; } } -.tgico-animals { +.tgico-data { &:before { - content: $tgico-animals; + content: $tgico-data; } } -.tgico-archive { +.tgico-delete { &:before { - content: $tgico-archive; + content: $tgico-delete; } } -.tgico-adduser { +.tgico-delete_filled { &:before { - content: $tgico-adduser; + content: $tgico-delete_filled; } } -.tgico-admin { +.tgico-deleteleft { &:before { - content: $tgico-admin; + content: $tgico-deleteleft; } } -.tgico-addmember_filled { +.tgico-deleteuser { &:before { - content: $tgico-addmember_filled; + content: $tgico-deleteuser; } } -.tgico-activesessions { +.tgico-devices { &:before { - content: $tgico-activesessions; + content: $tgico-devices; } } -.tgico-add { +.tgico-document { &:before { - content: $tgico-add; + content: $tgico-document; + } +} +.tgico-down { + &:before { + content: $tgico-down; + } +} +.tgico-download { + &:before { + content: $tgico-download; + } +} +.tgico-dragfiles { + &:before { + content: $tgico-dragfiles; + } +} +.tgico-dragmedia { + &:before { + content: $tgico-dragmedia; + } +} +.tgico-eats { + &:before { + content: $tgico-eats; + } +} +.tgico-edit { + &:before { + content: $tgico-edit; + } +} +.tgico-email { + &:before { + content: $tgico-email; + } +} +.tgico-enter { + &:before { + content: $tgico-enter; + } +} +.tgico-eye1 { + &:before { + content: $tgico-eye1; + } +} +.tgico-eye2 { + &:before { + content: $tgico-eye2; + } +} +.tgico-favourites { + &:before { + content: $tgico-favourites; + } +} +.tgico-flag { + &:before { + content: $tgico-flag; + } +} +.tgico-folder { + &:before { + content: $tgico-folder; + } +} +.tgico-fontsize { + &:before { + content: $tgico-fontsize; + } +} +.tgico-forward { + &:before { + content: $tgico-forward; } } .tgico-fullscreen { @@ -737,13 +357,458 @@ content: $tgico-fullscreen; } } -.tgico-check_svg1 { +.tgico-gifs { &:before { - content: $tgico-check_svg1; + content: $tgico-gifs; } } -.tgico-checks { +.tgico-group { &:before { - content: $tgico-checks; + content: $tgico-group; + } +} +.tgico-help { + &:before { + content: $tgico-help; + } +} +.tgico-image { + &:before { + content: $tgico-image; + } +} +.tgico-info { + &:before { + content: $tgico-info; + } +} +.tgico-info2 { + &:before { + content: $tgico-info2; + } +} +.tgico-italic { + &:before { + content: $tgico-italic; + } +} +.tgico-keyboard { + &:before { + content: $tgico-keyboard; + } +} +.tgico-lamp { + &:before { + content: $tgico-lamp; + } +} +.tgico-language { + &:before { + content: $tgico-language; + } +} +.tgico-largepause { + &:before { + content: $tgico-largepause; + } +} +.tgico-largeplay { + &:before { + content: $tgico-largeplay; + } +} +.tgico-left { + &:before { + content: $tgico-left; + } +} +.tgico-link { + &:before { + content: $tgico-link; + } +} +.tgico-livelocation { + &:before { + content: $tgico-livelocation; + } +} +.tgico-location { + &:before { + content: $tgico-location; + } +} +.tgico-lock { + &:before { + content: $tgico-lock; + } +} +.tgico-loginlogodesktop { + &:before { + content: $tgico-loginlogodesktop; + } +} +.tgico-loginlogomobile { + &:before { + content: $tgico-loginlogomobile; + } +} +.tgico-logout { + &:before { + content: $tgico-logout; + } +} +.tgico-mention { + &:before { + content: $tgico-mention; + } +} +.tgico-menu { + &:before { + content: $tgico-menu; + } +} +.tgico-message { + &:before { + content: $tgico-message; + } +} +.tgico-messageunread { + &:before { + content: $tgico-messageunread; + } +} +.tgico-microphone { + &:before { + content: $tgico-microphone; + } +} +.tgico-microphone2 { + &:before { + content: $tgico-microphone2; + } +} +.tgico-minus { + &:before { + content: $tgico-minus; + } +} +.tgico-monospace { + &:before { + content: $tgico-monospace; + } +} +.tgico-more { + &:before { + content: $tgico-more; + } +} +.tgico-mute { + &:before { + content: $tgico-mute; + } +} +.tgico-muted { + &:before { + content: $tgico-muted; + } +} +.tgico-newchannel { + &:before { + content: $tgico-newchannel; + } +} +.tgico-newchat_filled { + &:before { + content: $tgico-newchat_filled; + } +} +.tgico-newgroup { + &:before { + content: $tgico-newgroup; + } +} +.tgico-newprivate { + &:before { + content: $tgico-newprivate; + } +} +.tgico-next { + &:before { + content: $tgico-next; + } +} +.tgico-noncontacts { + &:before { + content: $tgico-noncontacts; + } +} +.tgico-nosound { + &:before { + content: $tgico-nosound; + } +} +.tgico-notificationsoff { + &:before { + content: $tgico-notificationsoff; + } +} +.tgico-notificationson { + &:before { + content: $tgico-notificationson; + } +} +.tgico-passwordoff { + &:before { + content: $tgico-passwordoff; + } +} +.tgico-pause { + &:before { + content: $tgico-pause; + } +} +.tgico-permissions { + &:before { + content: $tgico-permissions; + } +} +.tgico-phone { + &:before { + content: $tgico-phone; + } +} +.tgico-photo { + &:before { + content: $tgico-photo; + } +} +.tgico-pin { + &:before { + content: $tgico-pin; + } +} +.tgico-pinlist { + &:before { + content: $tgico-pinlist; + } +} +.tgico-pinned_filled { + &:before { + content: $tgico-pinned_filled; + } +} +.tgico-pinnedchat { + &:before { + content: $tgico-pinnedchat; + } +} +.tgico-play { + &:before { + content: $tgico-play; + } +} +.tgico-plus { + &:before { + content: $tgico-plus; + } +} +.tgico-poll { + &:before { + content: $tgico-poll; + } +} +.tgico-previous { + &:before { + content: $tgico-previous; + } +} +.tgico-radiooff { + &:before { + content: $tgico-radiooff; + } +} +.tgico-radioon { + &:before { + content: $tgico-radioon; + } +} +.tgico-readchats { + &:before { + content: $tgico-readchats; + } +} +.tgico-recent { + &:before { + content: $tgico-recent; + } +} +.tgico-replace { + &:before { + content: $tgico-replace; + } +} +.tgico-reply { + &:before { + content: $tgico-reply; + } +} +.tgico-revote { + &:before { + content: $tgico-revote; + } +} +.tgico-saved { + &:before { + content: $tgico-saved; + } +} +.tgico-savedmessages { + &:before { + content: $tgico-savedmessages; + } +} +.tgico-schedule { + &:before { + content: $tgico-schedule; + } +} +.tgico-scheduled { + &:before { + content: $tgico-scheduled; + } +} +.tgico-search { + &:before { + content: $tgico-search; + } +} +.tgico-select { + &:before { + content: $tgico-select; + } +} +.tgico-send { + &:before { + content: $tgico-send; + } +} +.tgico-send2 { + &:before { + content: $tgico-send2; + } +} +.tgico-sending { + &:before { + content: $tgico-sending; + } +} +.tgico-sendingerror { + &:before { + content: $tgico-sendingerror; + } +} +.tgico-settings { + &:before { + content: $tgico-settings; + } +} +.tgico-smallscreen { + &:before { + content: $tgico-smallscreen; + } +} +.tgico-smile { + &:before { + content: $tgico-smile; + } +} +.tgico-sport { + &:before { + content: $tgico-sport; + } +} +.tgico-stickers { + &:before { + content: $tgico-stickers; + } +} +.tgico-stop { + &:before { + content: $tgico-stop; + } +} +.tgico-strikethrough { + &:before { + content: $tgico-strikethrough; + } +} +.tgico-textedit { + &:before { + content: $tgico-textedit; + } +} +.tgico-tip { + &:before { + content: $tgico-tip; + } +} +.tgico-unarchive { + &:before { + content: $tgico-unarchive; + } +} +.tgico-underline { + &:before { + content: $tgico-underline; + } +} +.tgico-unlock { + &:before { + content: $tgico-unlock; + } +} +.tgico-unmute { + &:before { + content: $tgico-unmute; + } +} +.tgico-unpin { + &:before { + content: $tgico-unpin; + } +} +.tgico-unread { + &:before { + content: $tgico-unread; + } +} +.tgico-up { + &:before { + content: $tgico-up; + } +} +.tgico-user { + &:before { + content: $tgico-user; + } +} +.tgico-username { + &:before { + content: $tgico-username; + } +} +.tgico-write { + &:before { + content: $tgico-write; + } +} +.tgico-zoomin { + &:before { + content: $tgico-zoomin; + } +} +.tgico-zoomout { + &:before { + content: $tgico-zoomout; } } diff --git a/src/scss/partials/_ico.scss b/src/scss/partials/_ico.scss index 633e2fbb..09ac3f5c 100644 --- a/src/scss/partials/_ico.scss +++ b/src/scss/partials/_ico.scss @@ -19,145 +19,158 @@ $tgico-font-path: "assets/fonts" !default; .replace(/\.(.+?):before\{content:"(.+?);\}/g, `$$$1: "\\$2;\n`); */ -$tgico-zoomout: "\e900"; -$tgico-username: "\e901"; -$tgico-zoomin: "\e902"; -$tgico-up: "\e903"; -$tgico-user: "\e904"; -$tgico-unmute: "\e905"; -$tgico-unpin: "\e906"; -$tgico-unread: "\e907"; -$tgico-unlock: "\e908"; -$tgico-unarchive: "\e909"; -$tgico-underline: "\e90a"; -$tgico-textedit: "\e90b"; -$tgico-tip: "\e90c"; -$tgico-stop: "\e90d"; -$tgico-strikethrough: "\e90e"; -$tgico-smile: "\e90f"; -$tgico-sport: "\e910"; -$tgico-stickers: "\e911"; -$tgico-settings: "\e912"; -$tgico-smallscreen: "\e913"; -$tgico-sendingerror: "\e914"; -$tgico-send: "\e915"; -$tgico-sending: "\e916"; -$tgico-select: "\e917"; -$tgico-send2: "\e918"; -$tgico-scheduled: "\e919"; -$tgico-search: "\e91a"; -$tgico-revote: "\e91b"; -$tgico-savedmessages: "\e91c"; -$tgico-schedule: "\e91d"; -$tgico-replace: "\e91e"; -$tgico-reply: "\e91f"; -$tgico-radioon: "\e920"; -$tgico-readchats: "\e921"; -$tgico-recent: "\e922"; -$tgico-radiooff: "\e923"; -$tgico-poll: "\e924"; -$tgico-previous: "\e925"; -$tgico-pinned_filled: "\e926"; -$tgico-pinnedchat: "\e927"; -$tgico-play: "\e928"; -$tgico-photo: "\e929"; -$tgico-pin: "\e92a"; -$tgico-pinlist: "\e92b"; -$tgico-permissions: "\e92c"; -$tgico-phone: "\e92d"; -$tgico-pause: "\e92e"; -$tgico-noncontacts: "\e92f"; -$tgico-nosound: "\e930"; -$tgico-passwordoff: "\e931"; -$tgico-newprivate: "\e932"; -$tgico-next: "\e933"; -$tgico-newchat_filled: "\e934"; -$tgico-newgroup: "\e935"; -$tgico-muted: "\e936"; -$tgico-newchannel: "\e937"; -$tgico-more: "\e938"; -$tgico-mute: "\e939"; -$tgico-microphone: "\e93a"; -$tgico-minus: "\e93b"; -$tgico-monospace: "\e93c"; -$tgico-message: "\e93d"; -$tgico-microphone2: "\e93e"; -$tgico-logout: "\e93f"; -$tgico-mention: "\e940"; -$tgico-menu: "\e941"; -$tgico-loginlogomobile: "\e942"; -$tgico-lock: "\e943"; -$tgico-loginlogodesktop: "\e944"; -$tgico-livelocation: "\e945"; -$tgico-location: "\e946"; -$tgico-link: "\e947"; -$tgico-language: "\e948"; -$tgico-largepause: "\e949"; -$tgico-largeplay: "\e94a"; -$tgico-lamp: "\e94b"; -$tgico-keyboard: "\e94c"; -$tgico-info: "\e94d"; -$tgico-italic: "\e94e"; -$tgico-group: "\e94f"; -$tgico-help: "\e950"; -$tgico-info2: "\e951"; -$tgico-forward: "\e952"; -$tgico-gifs: "\e953"; -$tgico-flag: "\e954"; -$tgico-folder: "\e955"; -$tgico-eye1: "\e956"; -$tgico-eye2: "\e957"; -$tgico-favourites: "\e958"; -$tgico-edit: "\e959"; -$tgico-email: "\e95a"; -$tgico-eats: "\e95b"; -$tgico-dragmedia: "\e95c"; -$tgico-down: "\e95d"; -$tgico-download: "\e95e"; -$tgico-dragfiles: "\e95f"; -$tgico-deleteuser: "\e960"; -$tgico-document: "\e961"; -$tgico-delete_filled: "\e962"; -$tgico-delete: "\e963"; -$tgico-deleteleft: "\e964"; -$tgico-copy: "\e965"; -$tgico-data: "\e966"; -$tgico-commentssticker: "\e967"; -$tgico-clouddownload: "\e968"; -$tgico-colorize: "\e969"; -$tgico-comments: "\e96a"; -$tgico-checkboxon: "\e96b"; -$tgico-close: "\e96c"; -$tgico-checkbox: "\e96d"; -$tgico-checkboxblock: "\e96e"; -$tgico-checkboxempty: "\e96f"; -$tgico-chatsplaceholder: "\e970"; -$tgico-check: "\e971"; -$tgico-channel: "\e972"; -$tgico-channelviews: "\e973"; -$tgico-chatspinned: "\e974"; -$tgico-cameraadd: "\e975"; -$tgico-car: "\e976"; -$tgico-camera: "\e977"; -$tgico-bots: "\e978"; -$tgico-calendar: "\e979"; -$tgico-calendarfilter: "\e97a"; -$tgico-botcom: "\e97b"; -$tgico-avatar_deletedaccount: "\e97c"; -$tgico-avatar_savedmessages: "\e97d"; -$tgico-bold: "\e97e"; -$tgico-attach: "\e97f"; -$tgico-avatar_archivedchats: "\e980"; -$tgico-arrow_next: "\e981"; -$tgico-arrow_back: "\e982"; -$tgico-arrow_down: "\e983"; -$tgico-animals: "\e984"; -$tgico-archive: "\e985"; -$tgico-adduser: "\e986"; -$tgico-admin: "\e987"; -$tgico-addmember_filled: "\e988"; -$tgico-activesessions: "\e989"; -$tgico-add: "\e98a"; -$tgico-fullscreen: "\e98b"; -$tgico-check_svg1: "\e98c"; -$tgico-checks: "\e98d"; +$tgico-check: "\e900"; +$tgico-checks: "\e901"; +$tgico-activesessions: "\e902"; +$tgico-add: "\e903"; +$tgico-addmember_filled: "\e904"; +$tgico-adduser: "\e905"; +$tgico-admin: "\e906"; +$tgico-animals: "\e907"; +$tgico-animations: "\e908"; +$tgico-archive: "\e909"; +$tgico-arrow_back: "\e90a"; +$tgico-arrow_down: "\e90b"; +$tgico-arrow_next: "\e90c"; +$tgico-attach: "\e90d"; +$tgico-bold: "\e90e"; +$tgico-botcom: "\e90f"; +$tgico-bots: "\e910"; +$tgico-bug: "\e911"; +$tgico-calendar: "\e912"; +$tgico-calendarfilter: "\e913"; +$tgico-camera: "\e914"; +$tgico-cameraadd: "\e915"; +$tgico-car: "\e916"; +$tgico-channel: "\e917"; +$tgico-channelviews: "\e918"; +$tgico-chatspinned: "\e919"; +$tgico-chatsplaceholder: "\e91a"; +$tgico-check1: "\e91b"; +$tgico-checkbox: "\e91c"; +$tgico-checkboxblock: "\e91d"; +$tgico-checkboxempty: "\e91e"; +$tgico-checkboxon: "\e91f"; +$tgico-checkretract: "\e920"; +$tgico-checkround: "\e921"; +$tgico-close: "\e922"; +$tgico-clouddownload: "\e923"; +$tgico-colorize: "\e924"; +$tgico-comments: "\e925"; +$tgico-commentssticker: "\e926"; +$tgico-copy: "\e927"; +$tgico-darkmode: "\e928"; +$tgico-data: "\e929"; +$tgico-delete: "\e92a"; +$tgico-delete_filled: "\e92b"; +$tgico-deleteleft: "\e92c"; +$tgico-deleteuser: "\e92d"; +$tgico-devices: "\e92e"; +$tgico-document: "\e92f"; +$tgico-down: "\e930"; +$tgico-download: "\e931"; +$tgico-dragfiles: "\e932"; +$tgico-dragmedia: "\e933"; +$tgico-eats: "\e934"; +$tgico-edit: "\e935"; +$tgico-email: "\e936"; +$tgico-enter: "\e937"; +$tgico-eye1: "\e938"; +$tgico-eye2: "\e939"; +$tgico-favourites: "\e93a"; +$tgico-flag: "\e93b"; +$tgico-folder: "\e93c"; +$tgico-fontsize: "\e93d"; +$tgico-forward: "\e93e"; +$tgico-fullscreen: "\e93f"; +$tgico-gifs: "\e940"; +$tgico-group: "\e941"; +$tgico-help: "\e942"; +$tgico-image: "\e943"; +$tgico-info: "\e944"; +$tgico-info2: "\e945"; +$tgico-italic: "\e946"; +$tgico-keyboard: "\e947"; +$tgico-lamp: "\e948"; +$tgico-language: "\e949"; +$tgico-largepause: "\e94a"; +$tgico-largeplay: "\e94b"; +$tgico-left: "\e94c"; +$tgico-link: "\e94d"; +$tgico-livelocation: "\e94e"; +$tgico-location: "\e94f"; +$tgico-lock: "\e950"; +$tgico-loginlogodesktop: "\e951"; +$tgico-loginlogomobile: "\e952"; +$tgico-logout: "\e953"; +$tgico-mention: "\e954"; +$tgico-menu: "\e955"; +$tgico-message: "\e956"; +$tgico-messageunread: "\e957"; +$tgico-microphone: "\e958"; +$tgico-microphone2: "\e959"; +$tgico-minus: "\e95a"; +$tgico-monospace: "\e95b"; +$tgico-more: "\e95c"; +$tgico-mute: "\e95d"; +$tgico-muted: "\e95e"; +$tgico-newchannel: "\e95f"; +$tgico-newchat_filled: "\e960"; +$tgico-newgroup: "\e961"; +$tgico-newprivate: "\e962"; +$tgico-next: "\e963"; +$tgico-noncontacts: "\e964"; +$tgico-nosound: "\e965"; +$tgico-notificationsoff: "\e966"; +$tgico-notificationson: "\e967"; +$tgico-passwordoff: "\e968"; +$tgico-pause: "\e969"; +$tgico-permissions: "\e96a"; +$tgico-phone: "\e96b"; +$tgico-photo: "\e96c"; +$tgico-pin: "\e96d"; +$tgico-pinlist: "\e96e"; +$tgico-pinned_filled: "\e96f"; +$tgico-pinnedchat: "\e970"; +$tgico-play: "\e971"; +$tgico-plus: "\e972"; +$tgico-poll: "\e973"; +$tgico-previous: "\e974"; +$tgico-radiooff: "\e975"; +$tgico-radioon: "\e976"; +$tgico-readchats: "\e977"; +$tgico-recent: "\e978"; +$tgico-replace: "\e979"; +$tgico-reply: "\e97a"; +$tgico-revote: "\e97b"; +$tgico-saved: "\e97c"; +$tgico-savedmessages: "\e97d"; +$tgico-schedule: "\e97e"; +$tgico-scheduled: "\e97f"; +$tgico-search: "\e980"; +$tgico-select: "\e981"; +$tgico-send: "\e982"; +$tgico-send2: "\e983"; +$tgico-sending: "\e984"; +$tgico-sendingerror: "\e985"; +$tgico-settings: "\e986"; +$tgico-smallscreen: "\e987"; +$tgico-smile: "\e988"; +$tgico-sport: "\e989"; +$tgico-stickers: "\e98a"; +$tgico-stop: "\e98b"; +$tgico-strikethrough: "\e98c"; +$tgico-textedit: "\e98d"; +$tgico-tip: "\e98e"; +$tgico-unarchive: "\e98f"; +$tgico-underline: "\e990"; +$tgico-unlock: "\e991"; +$tgico-unmute: "\e992"; +$tgico-unpin: "\e993"; +$tgico-unread: "\e994"; +$tgico-up: "\e995"; +$tgico-user: "\e996"; +$tgico-username: "\e997"; +$tgico-write: "\e998"; +$tgico-zoomin: "\e999"; +$tgico-zoomout: "\e99a"; diff --git a/src/scss/style.scss b/src/scss/style.scss index c6355ae8..7d5531db 100644 --- a/src/scss/style.scss +++ b/src/scss/style.scss @@ -1128,3 +1128,16 @@ middle-ellipsis-element { 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%); } } + +// ! 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; +}