2016-09-09 18:52:46 +03:00
|
|
|
/*
|
|
|
|
This file is part of Telegram Desktop,
|
2018-01-03 13:23:14 +03:00
|
|
|
the official desktop application for the Telegram messaging service.
|
2016-09-09 18:52:46 +03:00
|
|
|
|
2018-01-03 13:23:14 +03:00
|
|
|
For license and copyright information please follow this link:
|
|
|
|
https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
2016-09-09 18:52:46 +03:00
|
|
|
*/
|
2019-09-17 19:13:12 +03:00
|
|
|
using "ui/basic.style";
|
2016-09-09 18:52:46 +03:00
|
|
|
|
2016-10-22 21:58:25 +03:00
|
|
|
using "boxes/boxes.style";
|
2023-01-23 22:56:25 +04:00
|
|
|
using "ui/layers/layers.style";
|
2016-10-27 17:10:28 +03:00
|
|
|
using "ui/widgets/widgets.style";
|
2016-10-22 21:58:25 +03:00
|
|
|
|
2023-01-20 20:44:08 +04:00
|
|
|
TabbedSearch {
|
|
|
|
outer: color;
|
|
|
|
bg: color;
|
|
|
|
fg: color;
|
|
|
|
fgActive: color;
|
|
|
|
fadeLeft: icon;
|
|
|
|
fadeRight: icon;
|
|
|
|
field: InputField;
|
|
|
|
search: IconButton;
|
|
|
|
back: IconButton;
|
|
|
|
cancel: CrossButton;
|
|
|
|
defaultFieldWidth: pixels;
|
|
|
|
groupWidth: pixels;
|
2023-01-24 12:11:09 +04:00
|
|
|
groupSkip: pixels;
|
2023-01-20 20:44:08 +04:00
|
|
|
height: pixels;
|
|
|
|
}
|
|
|
|
|
2022-08-22 19:41:23 +03:00
|
|
|
EmojiPan {
|
|
|
|
margin: margins;
|
|
|
|
padding: margins;
|
|
|
|
desiredSize: pixels;
|
|
|
|
verticalSizeSub: pixels;
|
|
|
|
header: pixels;
|
|
|
|
headerLeft: pixels;
|
|
|
|
headerLockLeft: pixels;
|
|
|
|
headerLockedLeft: pixels;
|
|
|
|
headerTop: pixels;
|
|
|
|
footer: pixels;
|
|
|
|
iconSkip: pixels;
|
|
|
|
iconWidth: pixels;
|
|
|
|
iconArea: pixels;
|
2022-08-23 21:34:51 +03:00
|
|
|
bg: color;
|
2022-08-22 19:41:23 +03:00
|
|
|
overBg: color;
|
2023-01-23 22:56:25 +04:00
|
|
|
categoriesBg: color;
|
2023-02-01 21:29:50 +04:00
|
|
|
categoriesBgOver: color;
|
2022-08-22 19:41:23 +03:00
|
|
|
fadeLeft: icon;
|
|
|
|
fadeRight: icon;
|
2023-01-20 20:44:08 +04:00
|
|
|
search: TabbedSearch;
|
|
|
|
searchMargin: margins;
|
2022-08-22 19:41:23 +03:00
|
|
|
}
|
|
|
|
|
2016-11-15 14:56:49 +03:00
|
|
|
switchPmButton: RoundButton(defaultBoxButton) {
|
|
|
|
width: 320px;
|
|
|
|
height: 34px;
|
|
|
|
textTop: 7px;
|
|
|
|
}
|
2017-06-11 20:33:20 +02:00
|
|
|
stickersRestrictedLabel: FlatLabel(defaultFlatLabel) {
|
2017-11-14 12:15:14 +04:00
|
|
|
minWidth: 200px;
|
2017-06-11 20:33:20 +02:00
|
|
|
align: align(center);
|
|
|
|
textFg: noContactsColor;
|
|
|
|
}
|
2016-11-15 14:56:49 +03:00
|
|
|
|
2018-03-02 20:17:33 +03:00
|
|
|
stickersTrendingHeader: 56px;
|
|
|
|
stickersTrendingSkip: 4px;
|
2016-09-09 18:52:46 +03:00
|
|
|
|
2016-10-27 17:10:28 +03:00
|
|
|
stickersTrendingHeaderFont: semiboldFont;
|
2016-11-16 13:44:06 +03:00
|
|
|
stickersTrendingHeaderFg: windowFg;
|
2018-03-02 20:17:33 +03:00
|
|
|
stickersTrendingHeaderTop: 11px;
|
2016-10-27 17:10:28 +03:00
|
|
|
stickersTrendingSubheaderFont: normalFont;
|
2016-12-21 18:05:58 +03:00
|
|
|
stickersTrendingSubheaderFg: windowSubTextFg;
|
2018-03-02 20:17:33 +03:00
|
|
|
stickersTrendingSubheaderTop: 31px;
|
2016-09-09 18:52:46 +03:00
|
|
|
|
2022-07-22 19:00:06 +03:00
|
|
|
emojiPanButtonRight: 7px;
|
2023-01-25 10:43:34 +04:00
|
|
|
emojiPanButtonTop: 8px;
|
2022-07-22 19:00:06 +03:00
|
|
|
emojiPanButton: RoundButton(defaultActiveButton) {
|
|
|
|
width: -24px;
|
|
|
|
height: 23px;
|
|
|
|
textTop: 2px;
|
|
|
|
}
|
2022-07-22 20:01:03 +03:00
|
|
|
emojiPanExpand: RoundButton(defaultActiveButton) {
|
|
|
|
font: font(12px bold);
|
|
|
|
width: -8px;
|
|
|
|
height: 19px;
|
|
|
|
textTop: 1px;
|
|
|
|
}
|
2022-07-22 19:00:06 +03:00
|
|
|
|
2018-03-02 20:17:33 +03:00
|
|
|
stickersTrendingAddTop: 14px;
|
2016-10-27 17:10:28 +03:00
|
|
|
stickersTrendingAdd: RoundButton(defaultActiveButton) {
|
2016-11-22 12:48:13 +03:00
|
|
|
width: -16px;
|
2016-09-09 18:52:46 +03:00
|
|
|
height: 26px;
|
|
|
|
textTop: 4px;
|
|
|
|
}
|
2016-11-22 12:48:13 +03:00
|
|
|
stickersRemove: IconButton(defaultIconButton) {
|
|
|
|
width: 40px;
|
|
|
|
height: 40px;
|
2016-09-10 23:54:59 +03:00
|
|
|
|
2022-02-25 16:11:49 +03:00
|
|
|
icon: icon {{ "info/info_media_delete", menuIconFg }};
|
|
|
|
iconOver: icon {{ "info/info_media_delete", menuIconFgOver }};
|
2016-09-10 23:54:59 +03:00
|
|
|
|
2016-11-22 12:48:13 +03:00
|
|
|
rippleAreaSize: 40px;
|
|
|
|
rippleAreaPosition: point(0px, 0px);
|
|
|
|
ripple: RippleAnimation(defaultRippleAnimation) {
|
|
|
|
color: windowBgOver;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
stickersUndoRemove: RoundButton(defaultLightButton) {
|
|
|
|
width: -16px;
|
|
|
|
height: 26px;
|
|
|
|
textTop: 4px;
|
|
|
|
}
|
|
|
|
stickersRemoveSkip: 4px;
|
|
|
|
stickersReorderIcon: icon {{ "stickers_reorder", menuIconFg }};
|
|
|
|
stickersReorderSkip: 13px;
|
|
|
|
|
2017-04-08 18:20:12 +03:00
|
|
|
stickersTabs: defaultTabsSlider;
|
2016-12-13 20:07:56 +03:00
|
|
|
|
2016-11-22 12:48:13 +03:00
|
|
|
stickerEmojiSkip: 5px;
|
2016-09-10 23:54:59 +03:00
|
|
|
|
2016-11-22 12:48:13 +03:00
|
|
|
stickersFeaturedBadgeFont: font(12px bold);
|
|
|
|
stickersFeaturedBadgeSize: 15px;
|
|
|
|
stickersFeaturedBadgeTextTop: -1px;
|
|
|
|
stickersFeaturedBadgePadding: 4px;
|
|
|
|
stickersFeaturedBadgeSkip: 4px;
|
|
|
|
stickersFeaturedBadgeTop: 9px;
|
2016-09-10 23:54:59 +03:00
|
|
|
stickersFeaturedUnreadBg: msgFileInBg;
|
|
|
|
stickersFeaturedUnreadSize: 5px;
|
|
|
|
stickersFeaturedUnreadSkip: 5px;
|
|
|
|
stickersFeaturedUnreadTop: 7px;
|
2021-02-12 16:40:36 +04:00
|
|
|
stickersFeaturedInstalled: icon {{ "chat/input_save", lightButtonFg }};
|
2016-10-27 17:10:28 +03:00
|
|
|
|
2016-12-13 20:07:56 +03:00
|
|
|
stickersMaxHeight: 320px;
|
|
|
|
stickersPadding: margins(19px, 13px, 19px, 13px);
|
2016-10-27 17:10:28 +03:00
|
|
|
stickersSize: size(64px, 64px);
|
2022-07-22 14:39:28 +03:00
|
|
|
emojiSetPadding: margins(12px, 0px, 12px, 0px);
|
|
|
|
emojiSetMaxHeight: 197px;
|
|
|
|
emojiSetSize: size(42px, 39px);
|
2019-11-02 20:06:47 +03:00
|
|
|
stickersScroll: ScrollArea(boxScroll) {
|
2016-12-13 20:07:56 +03:00
|
|
|
deltat: 19px;
|
2016-10-27 17:10:28 +03:00
|
|
|
deltab: 9px;
|
|
|
|
}
|
|
|
|
stickersRowDisabledOpacity: 0.4;
|
|
|
|
stickersRowDuration: 200;
|
|
|
|
|
2022-02-25 16:11:49 +03:00
|
|
|
stickersSettings: icon {{ "emoji/emoji_settings", emojiIconFg }};
|
|
|
|
stickersTrending: icon {{ "emoji/stickers_add", emojiIconFg }};
|
2020-04-20 16:24:29 +04:00
|
|
|
stickersTrendingUnread: icon {
|
2022-02-25 16:11:49 +03:00
|
|
|
{ "emoji/stickers_add_unread", emojiIconFg },
|
|
|
|
{ "emoji/stickers_add_dot", dialogsUnreadBg }
|
2020-04-20 16:24:29 +04:00
|
|
|
};
|
2023-01-20 20:44:08 +04:00
|
|
|
emojiStatusDefault: icon {{ "emoji/stickers_premium", emojiIconFg }};
|
2016-10-27 17:10:28 +03:00
|
|
|
|
2020-03-10 16:41:12 +04:00
|
|
|
filtersRemove: IconButton(stickersRemove) {
|
|
|
|
ripple: defaultRippleAnimation;
|
|
|
|
}
|
|
|
|
|
2016-12-13 20:07:56 +03:00
|
|
|
emojiPanMargins: margins(10px, 10px, 10px, 10px);
|
|
|
|
|
2017-04-09 21:06:06 +03:00
|
|
|
emojiTabs: SettingsSlider(defaultTabsSlider) {
|
2023-01-23 22:56:25 +04:00
|
|
|
height: 43px;
|
|
|
|
barTop: 40px;
|
|
|
|
labelTop: 12px;
|
2017-04-09 21:06:06 +03:00
|
|
|
}
|
2022-02-25 16:11:49 +03:00
|
|
|
emojiRecent: icon {{ "emoji/emoji_recent", emojiIconFg }};
|
2022-07-26 13:20:18 +03:00
|
|
|
emojiRecentActive: icon {{ "emoji/emoji_recent", emojiSubIconFgActive }};
|
2023-01-20 20:44:08 +04:00
|
|
|
emojiPeople: icon {{ "emoji/emoji_smile", emojiIconFg }};
|
|
|
|
emojiPeopleActive: icon {{ "emoji/emoji_smile", emojiSubIconFgActive }};
|
2022-02-25 16:11:49 +03:00
|
|
|
emojiNature: icon {{ "emoji/emoji_nature", emojiIconFg }};
|
2022-07-26 13:20:18 +03:00
|
|
|
emojiNatureActive: icon {{ "emoji/emoji_nature", emojiSubIconFgActive }};
|
2022-02-25 16:11:49 +03:00
|
|
|
emojiFood: icon {{ "emoji/emoji_food", emojiIconFg }};
|
2022-07-26 13:20:18 +03:00
|
|
|
emojiFoodActive: icon {{ "emoji/emoji_food", emojiSubIconFgActive }};
|
2023-01-20 20:44:08 +04:00
|
|
|
emojiActivity: icon {{ "emoji/emoji_activities", emojiIconFg }};
|
|
|
|
emojiActivityActive: icon {{ "emoji/emoji_activities", emojiSubIconFgActive }};
|
2022-02-25 16:11:49 +03:00
|
|
|
emojiTravel: icon {{ "emoji/emoji_travel", emojiIconFg }};
|
2022-07-26 13:20:18 +03:00
|
|
|
emojiTravelActive: icon {{ "emoji/emoji_travel", emojiSubIconFgActive }};
|
2022-02-25 16:11:49 +03:00
|
|
|
emojiObjects: icon {{ "emoji/emoji_objects", emojiIconFg }};
|
2022-07-26 13:20:18 +03:00
|
|
|
emojiObjectsActive: icon {{ "emoji/emoji_objects", emojiSubIconFgActive }};
|
2023-01-20 20:44:08 +04:00
|
|
|
emojiSymbols: icon {{ "emoji/emoji_love", emojiIconFg }};
|
|
|
|
emojiSymbolsActive: icon {{ "emoji/emoji_love", emojiSubIconFgActive }};
|
2016-10-27 17:10:28 +03:00
|
|
|
|
2022-08-22 19:41:23 +03:00
|
|
|
emojiCategoryIconTop: 6px;
|
2016-11-12 18:02:19 +03:00
|
|
|
emojiPanAnimation: PanelAnimation(defaultPanelAnimation) {
|
|
|
|
fadeBg: emojiPanBg;
|
2023-01-23 22:56:25 +04:00
|
|
|
shadow: boxRoundShadow;
|
2016-11-12 18:02:19 +03:00
|
|
|
}
|
2016-10-27 17:10:28 +03:00
|
|
|
emojiPanWidth: 345px;
|
2017-04-03 19:46:24 +03:00
|
|
|
emojiPanMinHeight: 278px;
|
|
|
|
emojiPanMaxHeight: 640px;
|
|
|
|
emojiPanHeightRatio: 0.75;
|
2017-03-29 18:09:16 +03:00
|
|
|
emojiPanShowDuration: 200;
|
|
|
|
emojiPanDuration: 200;
|
2016-11-19 12:22:53 +03:00
|
|
|
emojiPanHover: windowBgOver;
|
2017-03-29 18:09:16 +03:00
|
|
|
emojiPanSlideDuration: 200;
|
2022-07-21 20:09:30 +03:00
|
|
|
emojiPanArea: size(34px, 32px);
|
|
|
|
emojiPanRadius: 8px;
|
2016-10-27 17:10:28 +03:00
|
|
|
|
2023-01-20 20:44:08 +04:00
|
|
|
defaultTabbedSearch: TabbedSearch {
|
|
|
|
outer: emojiPanBg;
|
|
|
|
bg: emojiPanCategories;
|
|
|
|
fg: emojiIconFg;
|
|
|
|
fgActive: emojiSubIconFgActive;
|
|
|
|
fadeLeft: icon {{ "fade_horizontal-flip_horizontal", emojiPanCategories }};
|
|
|
|
fadeRight: icon {{ "fade_horizontal", emojiPanCategories }};
|
|
|
|
field: InputField(defaultMultiSelectSearchField) {
|
|
|
|
textMargins: margins(2px, 7px, 2px, 0px);
|
|
|
|
}
|
|
|
|
search: IconButton(defaultIconButton) {
|
|
|
|
width: 33px;
|
|
|
|
height: 33px;
|
|
|
|
icon: icon{{ "emoji/emoji_search_input", emojiIconFg }};
|
|
|
|
iconOver: icon{{ "emoji/emoji_search_input", emojiIconFg }};
|
2023-01-23 22:56:25 +04:00
|
|
|
iconPosition: point(7px, -1px);
|
2023-01-20 20:44:08 +04:00
|
|
|
ripple: emptyRippleAnimation;
|
|
|
|
}
|
|
|
|
back: IconButton(defaultIconButton) {
|
|
|
|
width: 33px;
|
|
|
|
height: 33px;
|
|
|
|
icon: icon{{ "emoji/emoji_back", menuIconFg }};
|
|
|
|
iconOver: icon{{ "emoji/emoji_back", menuIconFg }};
|
2023-01-23 22:56:25 +04:00
|
|
|
iconPosition: point(7px, -1px);
|
2023-01-20 20:44:08 +04:00
|
|
|
ripple: emptyRippleAnimation;
|
|
|
|
}
|
2023-01-24 09:12:04 +04:00
|
|
|
cancel: CrossButton {
|
|
|
|
width: 33px;
|
|
|
|
height: 33px;
|
|
|
|
|
|
|
|
cross: CrossAnimation {
|
|
|
|
size: 27px;
|
|
|
|
skip: 8px;
|
|
|
|
stroke: 1.;
|
|
|
|
minScale: 0.3;
|
|
|
|
}
|
|
|
|
crossFg: menuIconFg;
|
|
|
|
crossFgOver: menuIconFg;
|
|
|
|
crossPosition: point(1px, 3px);
|
|
|
|
|
|
|
|
duration: 150;
|
|
|
|
loadingPeriod: 1000;
|
|
|
|
ripple: emptyRippleAnimation;
|
|
|
|
}
|
2023-01-24 12:11:09 +04:00
|
|
|
defaultFieldWidth: 103px;
|
2023-01-20 20:44:08 +04:00
|
|
|
groupWidth: 30px;
|
2023-01-24 12:11:09 +04:00
|
|
|
groupSkip: 2px;
|
2023-01-20 20:44:08 +04:00
|
|
|
height: 33px;
|
|
|
|
}
|
2022-08-22 19:41:23 +03:00
|
|
|
defaultEmojiPan: EmojiPan {
|
2023-01-23 22:56:25 +04:00
|
|
|
margin: margins(7px, 0px, 7px, 0px);
|
|
|
|
padding: margins(7px, 0px, 4px, 7px);
|
|
|
|
desiredSize: 37px;
|
|
|
|
verticalSizeSub: 1px;
|
2023-01-25 10:43:34 +04:00
|
|
|
header: 33px;
|
2023-01-23 22:56:25 +04:00
|
|
|
headerLeft: 14px;
|
|
|
|
headerLockLeft: 7px;
|
|
|
|
headerLockedLeft: 26px;
|
2023-01-25 10:43:34 +04:00
|
|
|
headerTop: 10px;
|
2023-01-23 22:56:25 +04:00
|
|
|
footer: 36px;
|
|
|
|
iconSkip: 3px;
|
|
|
|
iconWidth: 30px;
|
|
|
|
iconArea: 28px;
|
2022-08-23 21:34:51 +03:00
|
|
|
bg: emojiPanBg;
|
2022-08-22 19:41:23 +03:00
|
|
|
overBg: emojiPanHover;
|
2023-01-23 22:56:25 +04:00
|
|
|
categoriesBg: emojiPanCategories;
|
2023-02-01 21:29:50 +04:00
|
|
|
categoriesBgOver: windowBgRipple;
|
2022-08-22 19:41:23 +03:00
|
|
|
fadeLeft: icon {{ "fade_horizontal-flip_horizontal", emojiPanCategories }};
|
|
|
|
fadeRight: icon {{ "fade_horizontal", emojiPanCategories }};
|
2023-01-20 20:44:08 +04:00
|
|
|
search: defaultTabbedSearch;
|
2023-01-23 22:56:25 +04:00
|
|
|
searchMargin: margins(1px, 11px, 2px, 5px);
|
2022-08-22 19:41:23 +03:00
|
|
|
}
|
2023-01-24 20:44:25 +04:00
|
|
|
statusEmojiPan: EmojiPan(defaultEmojiPan) {
|
|
|
|
categoriesBg: windowBg;
|
2023-02-01 21:29:50 +04:00
|
|
|
categoriesBgOver: windowBgOver;
|
2023-01-24 20:44:25 +04:00
|
|
|
fadeLeft: icon {{ "fade_horizontal-flip_horizontal", windowBg }};
|
|
|
|
fadeRight: icon {{ "fade_horizontal", windowBg }};
|
|
|
|
}
|
2022-08-22 19:41:23 +03:00
|
|
|
|
2018-11-22 16:48:50 +04:00
|
|
|
inlineResultsMinHeight: 278px;
|
|
|
|
inlineResultsMaxHeight: 640px;
|
|
|
|
|
2016-10-27 17:10:28 +03:00
|
|
|
emojiPanHeaderFont: semiboldFont;
|
2022-07-21 20:09:30 +03:00
|
|
|
emojiPanRemoveSkip: 10px;
|
2023-01-25 10:43:34 +04:00
|
|
|
emojiPanRemoveTop: 10px;
|
2016-10-27 17:10:28 +03:00
|
|
|
|
|
|
|
emojiColorsPadding: 5px;
|
|
|
|
emojiColorsSep: 1px;
|
2016-12-21 18:05:58 +03:00
|
|
|
emojiColorsSepColor: shadowFg;
|
2016-10-27 17:10:28 +03:00
|
|
|
|
2022-07-15 11:09:50 +03:00
|
|
|
emojiIconSelectSkip: 3px;
|
2022-07-15 14:21:42 +03:00
|
|
|
emojiPremiumRequired: icon{{ "emoji/premium_lock", windowSubTextFg }};
|
2022-07-12 19:10:40 +03:00
|
|
|
|
2016-11-01 15:46:34 +03:00
|
|
|
hashtagClose: IconButton {
|
2016-10-28 00:19:38 +03:00
|
|
|
width: 30px;
|
|
|
|
height: 30px;
|
|
|
|
|
2016-12-21 18:05:58 +03:00
|
|
|
icon: smallCloseIcon;
|
|
|
|
iconOver: smallCloseIconOver;
|
2016-10-28 00:19:38 +03:00
|
|
|
iconPosition: point(10px, 10px);
|
2016-12-05 14:01:08 +03:00
|
|
|
|
|
|
|
rippleAreaPosition: point(5px, 5px);
|
|
|
|
rippleAreaSize: 20px;
|
|
|
|
ripple: RippleAnimation(defaultRippleAnimation) {
|
|
|
|
color: windowBgOver;
|
|
|
|
}
|
2016-10-28 00:19:38 +03:00
|
|
|
}
|
2016-12-23 16:21:01 +03:00
|
|
|
|
2017-11-12 13:54:18 +04:00
|
|
|
stickerPanWidthMin: 64px;
|
|
|
|
stickerPanSize: size(stickerPanWidthMin, stickerPanWidthMin);
|
2017-03-29 18:09:16 +03:00
|
|
|
stickerPanPadding: 11px;
|
2022-02-25 16:11:49 +03:00
|
|
|
stickerPanDeleteIconBg: icon {{ "emoji/emoji_delete_bg", stickerPanDeleteBg }};
|
|
|
|
stickerPanDeleteIconFg: icon {{ "emoji/emoji_delete", stickerPanDeleteFg }};
|
2017-09-05 19:34:36 +03:00
|
|
|
stickerPanDeleteOpacityBg: 0.3;
|
|
|
|
stickerPanDeleteOpacityBgOver: 0.5;
|
|
|
|
stickerPanDeleteOpacityFg: 0.8;
|
|
|
|
stickerPanDeleteOpacityFgOver: 1.;
|
2023-01-24 09:32:27 +04:00
|
|
|
stickerPanRemoveSet: IconButton(hashtagClose) {
|
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
|
|
|
iconPosition: point(-1px, -1px);
|
|
|
|
rippleAreaPosition: point(0px, 0px);
|
|
|
|
}
|
2017-03-29 18:09:16 +03:00
|
|
|
stickerIconMove: 400;
|
|
|
|
stickerPreviewDuration: 150;
|
|
|
|
stickerPreviewMin: 0.1;
|
|
|
|
|
2017-08-03 14:52:56 +02:00
|
|
|
stickerGroupCategorySize: 28px;
|
|
|
|
stickerGroupCategoryAbout: defaultTextStyle;
|
|
|
|
stickerGroupCategoryAddMargin: margins(0px, 10px, 0px, 5px);
|
|
|
|
stickerGroupCategoryAdd: stickersTrendingAdd;
|
|
|
|
|
2020-04-29 18:52:40 +04:00
|
|
|
stickersToast: Toast(defaultToast) {
|
|
|
|
minWidth: 340px;
|
|
|
|
maxWidth: 340px;
|
|
|
|
padding: margins(16px, 13px, 16px, 12px);
|
|
|
|
}
|
2017-03-27 21:11:51 +03:00
|
|
|
|
2018-03-02 20:17:33 +03:00
|
|
|
stickersEmpty: icon {{ "stickers_empty", windowSubTextFg }};
|
|
|
|
|
2017-03-27 21:11:51 +03:00
|
|
|
inlineBotsScroll: ScrollArea(defaultSolidScroll) {
|
|
|
|
deltat: stickerPanPadding;
|
|
|
|
deltab: stickerPanPadding;
|
|
|
|
}
|
2017-03-31 18:50:02 +03:00
|
|
|
|
2023-01-24 13:20:57 +04:00
|
|
|
gifsPadding: margins(9px, 5px, 3px, 9px);
|
2017-07-22 11:35:18 +03:00
|
|
|
|
|
|
|
emojiSuggestionsDropdown: InnerDropdown(defaultInnerDropdown) {
|
2019-03-30 14:00:31 +04:00
|
|
|
scrollMargin: margins(0px, emojiColorsPadding, 0px, emojiColorsPadding);
|
|
|
|
scrollPadding: margins(0px, 0px, 0px, 0px);
|
2017-07-22 11:35:18 +03:00
|
|
|
}
|
2019-03-30 14:00:31 +04:00
|
|
|
emojiSuggestionSize: 40px;
|
|
|
|
emojiSuggestionsScrolledWidth: 240px;
|
|
|
|
emojiSuggestionsPadding: margins(emojiColorsPadding, 0px, emojiColorsPadding, 0px);
|
|
|
|
emojiSuggestionsFadeAfter: 20px;
|
2017-08-01 15:01:42 +03:00
|
|
|
|
|
|
|
mentionHeight: 40px;
|
|
|
|
mentionPadding: margins(8px, 5px, 8px, 5px);
|
|
|
|
mentionTop: 11px;
|
|
|
|
mentionFont: linkFont;
|
|
|
|
mentionNameFg: windowFg;
|
|
|
|
mentionNameFgOver: windowFgOver;
|
2022-09-30 11:25:02 +04:00
|
|
|
mentionPhotoSize: 33px;
|
2017-08-01 15:01:42 +03:00
|
|
|
mentionBg: windowBg;
|
|
|
|
mentionBgOver: windowBgOver;
|
|
|
|
mentionFg: windowSubTextFg;
|
|
|
|
mentionFgOver: windowSubTextFgOver;
|
|
|
|
mentionFgActive: windowActiveTextFg;
|
|
|
|
mentionFgOverActive: windowActiveTextFg;
|
2018-10-02 23:39:54 +03:00
|
|
|
|
|
|
|
autocompleteSearchPadding: margins(16px, 5px, 16px, 5px);
|
|
|
|
autocompleteRowPadding: margins(16px, 5px, 16px, 5px);
|
|
|
|
autocompleteRowTitle: semiboldTextStyle;
|
|
|
|
autocompleteRowKeys: defaultTextStyle;
|
|
|
|
autocompleteRowAnswer: defaultTextStyle;
|
2018-12-26 18:00:08 +04:00
|
|
|
|
2019-01-02 16:11:13 +04:00
|
|
|
manageEmojiPreview: 22px;
|
|
|
|
manageEmojiPreviewWidth: 48px;
|
|
|
|
manageEmojiPreviewHeight: 48px;
|
2020-04-29 12:08:34 +04:00
|
|
|
manageEmojiPreviewPadding: margins(22px, 9px, 19px, 9px);
|
2019-01-02 16:11:13 +04:00
|
|
|
manageEmojiMarginRight: 21px;
|
|
|
|
manageEmojiNameTop: 3px;
|
|
|
|
manageEmojiStatusTop: 25px;
|
2020-10-19 18:37:59 +03:00
|
|
|
|
|
|
|
inlineRadialSize: 44px;
|
|
|
|
inlineFileSize: 44px;
|
2022-05-18 14:18:17 +04:00
|
|
|
|
2022-05-20 18:57:01 +04:00
|
|
|
stickersPremiumLock: icon{{ "emoji/premium_lock", premiumButtonFg }};
|
2022-08-17 21:03:57 +03:00
|
|
|
|
|
|
|
reactStripExtend: margins(21px, 49px, 39px, 0px);
|
|
|
|
reactStripHeight: 40px;
|
2022-08-18 17:31:38 +03:00
|
|
|
reactStripSize: 32px;
|
2022-08-23 18:09:40 +03:00
|
|
|
reactStripMinWidth: 60px;
|
2022-08-22 19:41:23 +03:00
|
|
|
reactStripImage: 26px;
|
2022-08-18 17:31:38 +03:00
|
|
|
reactStripSkip: 7px;
|
2022-08-19 15:08:11 +03:00
|
|
|
reactStripBubble: icon{
|
|
|
|
{ "chat/reactions_bubble_shadow", windowShadowFg },
|
|
|
|
{ "chat/reactions_bubble", windowBg },
|
|
|
|
};
|
|
|
|
reactStripBubbleRight: 20px;
|
2023-01-24 20:44:25 +04:00
|
|
|
reactPanelEmojiPan: EmojiPan(statusEmojiPan) {
|
2022-08-22 19:41:23 +03:00
|
|
|
margin: margins(reactStripSkip, 0px, reactStripSkip, 0px);
|
|
|
|
padding: margins(reactStripSkip, 0px, reactStripSkip, reactStripSkip);
|
|
|
|
desiredSize: reactStripSize;
|
|
|
|
verticalSizeSub: 0px;
|
|
|
|
overBg: transparent;
|
2023-01-25 11:54:01 +04:00
|
|
|
search: TabbedSearch(defaultTabbedSearch) {
|
|
|
|
defaultFieldWidth: 88px;
|
|
|
|
}
|
|
|
|
searchMargin: margins(1px, 10px, 2px, 6px);
|
2022-08-22 19:41:23 +03:00
|
|
|
}
|
2023-01-25 10:43:34 +04:00
|
|
|
emojiScroll: ScrollArea(defaultSolidScroll) {
|
2022-08-22 19:41:23 +03:00
|
|
|
deltat: 3px;
|
|
|
|
deltab: 3px;
|
2023-01-25 10:43:34 +04:00
|
|
|
round: -1px;
|
2022-08-22 19:41:23 +03:00
|
|
|
width: 7px;
|
|
|
|
deltax: 2px;
|
|
|
|
hiding: 0;
|
|
|
|
}
|
2023-01-25 10:43:34 +04:00
|
|
|
reactPanelScroll: ScrollArea(emojiScroll) {
|
|
|
|
deltab: 7px;
|
|
|
|
}
|
2022-08-22 19:41:23 +03:00
|
|
|
|
|
|
|
emojiSuggestionsFadeLeft: icon {{ "fade_horizontal-flip_horizontal", boxBg }};
|
|
|
|
emojiSuggestionsFadeRight: icon {{ "fade_horizontal", boxBg }};
|
|
|
|
|
2023-02-01 16:41:49 +04:00
|
|
|
choosePeerGroupIcon: icon {{ "info/edit/create_group", lightButtonFg }};
|
|
|
|
choosePeerChannelIcon: icon {{ "info/edit/create_channel", lightButtonFg }};
|
|
|
|
choosePeerCreateIconLeft: 25px;
|