2016-05-31 09:46:31 +00:00
|
|
|
/*
|
|
|
|
This file is part of Telegram Desktop,
|
2018-01-03 10:23:14 +00:00
|
|
|
the official desktop application for the Telegram messaging service.
|
2016-05-31 09:46:31 +00:00
|
|
|
|
2018-01-03 10:23:14 +00:00
|
|
|
For license and copyright information please follow this link:
|
|
|
|
https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
2016-05-31 09:46:31 +00:00
|
|
|
*/
|
2019-09-17 16:13:12 +00:00
|
|
|
using "ui/basic.style";
|
2016-05-31 09:46:31 +00:00
|
|
|
|
2016-10-27 21:19:38 +00:00
|
|
|
using "ui/widgets/widgets.style";
|
|
|
|
|
2022-09-29 10:33:17 +00:00
|
|
|
DialogRow {
|
|
|
|
height: pixels;
|
|
|
|
padding: margins;
|
|
|
|
photoSize: pixels;
|
|
|
|
nameLeft: pixels;
|
|
|
|
nameTop: pixels;
|
|
|
|
textLeft: pixels;
|
|
|
|
textTop: pixels;
|
2022-11-11 09:24:37 +00:00
|
|
|
topicsSkip: pixels;
|
2022-11-13 19:38:18 +00:00
|
|
|
topicsSkipBig: pixels;
|
2022-11-11 09:24:37 +00:00
|
|
|
topicsHeight: pixels;
|
2022-11-15 15:49:14 +00:00
|
|
|
unreadMarkDiameter: pixels;
|
2022-09-29 10:33:17 +00:00
|
|
|
}
|
|
|
|
|
2022-10-05 07:42:44 +00:00
|
|
|
ForumTopicIcon {
|
|
|
|
size: pixels;
|
|
|
|
font: font;
|
|
|
|
textTop: pixels;
|
|
|
|
}
|
|
|
|
|
|
|
|
defaultForumTopicIcon: ForumTopicIcon {
|
|
|
|
size: 21px;
|
2022-10-06 13:06:18 +00:00
|
|
|
font: font(bold 11px);
|
|
|
|
textTop: 2px;
|
2022-10-05 07:42:44 +00:00
|
|
|
}
|
|
|
|
largeForumTopicIcon: ForumTopicIcon {
|
|
|
|
size: 26px;
|
|
|
|
font: font(bold 13px);
|
2022-10-06 13:06:18 +00:00
|
|
|
textTop: 3px;
|
2022-10-05 07:42:44 +00:00
|
|
|
}
|
2022-10-18 12:38:43 +00:00
|
|
|
infoForumTopicIcon: ForumTopicIcon {
|
|
|
|
size: 32px;
|
|
|
|
font: font(bold 15px);
|
|
|
|
textTop: 4px;
|
|
|
|
}
|
2022-10-05 07:42:44 +00:00
|
|
|
|
2016-06-07 19:59:39 +00:00
|
|
|
dialogsUnreadFont: font(12px bold);
|
|
|
|
dialogsUnreadHeight: 19px;
|
|
|
|
dialogsUnreadPadding: 5px;
|
|
|
|
|
2017-04-25 20:36:04 +00:00
|
|
|
dialogsRipple: RippleAnimation(defaultRippleAnimation) {
|
|
|
|
color: dialogsRippleBg;
|
|
|
|
}
|
2016-12-05 11:01:08 +00:00
|
|
|
|
2016-06-07 19:59:39 +00:00
|
|
|
dialogsTextFont: font(fsize);
|
2016-12-23 13:21:01 +00:00
|
|
|
dialogsTextStyle: TextStyle(defaultTextStyle) {
|
|
|
|
font: dialogsTextFont;
|
|
|
|
linkFont: dialogsTextFont;
|
|
|
|
linkFontOver: dialogsTextFont;
|
|
|
|
}
|
2016-06-07 19:59:39 +00:00
|
|
|
dialogsDateFont: font(13px);
|
|
|
|
dialogsDateSkip: 5px;
|
|
|
|
|
|
|
|
dialogsRowHeight: 62px;
|
2016-11-16 10:44:06 +00:00
|
|
|
dialogsFilterPadding: point(7px, 7px);
|
|
|
|
dialogsFilterSkip: 4px;
|
2022-09-29 10:33:17 +00:00
|
|
|
|
|
|
|
defaultDialogRow: DialogRow {
|
|
|
|
height: dialogsRowHeight;
|
|
|
|
padding: margins(10px, 8px, 10px, 8px);
|
|
|
|
photoSize: 46px;
|
|
|
|
nameLeft: 68px;
|
|
|
|
nameTop: 10px;
|
|
|
|
textLeft: 68px;
|
2022-11-02 12:39:13 +00:00
|
|
|
textTop: 34px;
|
2022-09-29 10:33:17 +00:00
|
|
|
}
|
2022-11-11 09:24:37 +00:00
|
|
|
forumDialogRow: DialogRow(defaultDialogRow) {
|
2022-11-11 06:23:23 +00:00
|
|
|
height: 80px;
|
2022-11-11 09:24:37 +00:00
|
|
|
textTop: 32px;
|
|
|
|
topicsSkip: 8px;
|
2022-11-13 19:38:18 +00:00
|
|
|
topicsSkipBig: 14px;
|
|
|
|
topicsHeight: 21px;
|
2022-11-11 06:23:23 +00:00
|
|
|
}
|
2016-06-07 19:59:39 +00:00
|
|
|
|
2022-11-13 19:38:18 +00:00
|
|
|
forumDialogJumpArrow: icon{{ "dialogs/dialogs_topic_arrow", dialogsTextFg }};
|
|
|
|
forumDialogJumpArrowOver: icon{{ "dialogs/dialogs_topic_arrow", dialogsTextFgOver }};
|
|
|
|
forumDialogJumpArrowSkip: 8px;
|
2022-12-02 14:19:56 +00:00
|
|
|
forumDialogJumpArrowPosition: point(3px, 3px);
|
2022-11-13 19:38:18 +00:00
|
|
|
forumDialogJumpPadding: margins(8px, 3px, 8px, 3px);
|
|
|
|
forumDialogJumpRadius: 11px;
|
|
|
|
|
2019-06-17 14:33:28 +00:00
|
|
|
dialogsOnlineBadgeStroke: 2px;
|
|
|
|
dialogsOnlineBadgeSize: 10px;
|
2020-12-02 10:52:19 +00:00
|
|
|
dialogsOnlineBadgeSkip: point(0px, 2px);
|
2019-06-17 14:37:29 +00:00
|
|
|
dialogsOnlineBadgeDuration: 150;
|
2019-06-02 19:44:00 +00:00
|
|
|
|
2020-12-02 10:52:19 +00:00
|
|
|
dialogsCallBadgeSize: 16px;
|
2022-10-28 13:21:11 +00:00
|
|
|
dialogsCallBadgeSkip: point(-3px, -3px);
|
2020-12-02 10:52:19 +00:00
|
|
|
|
2022-12-01 10:46:04 +00:00
|
|
|
dialogsTTLBadgeSize: 20px;
|
|
|
|
dialogsTTLBadgeInnerMargins: margins(2px, 2px, 2px, 2px);
|
|
|
|
// Relative to a photo place, not a whole userpic place.
|
|
|
|
dialogsTTLBadgeSkip: point(1px, 1px);
|
|
|
|
|
2020-12-02 10:52:19 +00:00
|
|
|
dialogsSpeakingStrokeNumerator: 16px;
|
|
|
|
dialogsSpeakingDenominator: 8.;
|
|
|
|
|
2016-06-07 19:59:39 +00:00
|
|
|
dialogsImportantBarHeight: 37px;
|
|
|
|
|
2017-01-14 18:50:16 +00:00
|
|
|
dialogsWidthDuration: 120;
|
2016-06-07 19:59:39 +00:00
|
|
|
dialogsTextWidthMin: 150px;
|
|
|
|
|
2016-12-23 13:21:01 +00:00
|
|
|
dialogsTextPalette: TextPalette(defaultTextPalette) {
|
2016-06-07 19:59:39 +00:00
|
|
|
linkFg: dialogsTextFgService;
|
2022-07-07 11:17:30 +00:00
|
|
|
monoFg: dialogsTextFg;
|
2022-09-16 21:59:27 +00:00
|
|
|
spoilerFg: dialogsTextFg;
|
2016-06-07 19:59:39 +00:00
|
|
|
}
|
2016-12-23 13:21:01 +00:00
|
|
|
dialogsTextPaletteOver: TextPalette(defaultTextPalette) {
|
2016-11-05 08:36:24 +00:00
|
|
|
linkFg: dialogsTextFgServiceOver;
|
2022-07-07 11:17:30 +00:00
|
|
|
monoFg: dialogsTextFgOver;
|
2022-09-16 21:59:27 +00:00
|
|
|
spoilerFg: dialogsTextFgOver;
|
2016-06-07 19:59:39 +00:00
|
|
|
}
|
2016-12-23 13:21:01 +00:00
|
|
|
dialogsTextPaletteActive: TextPalette(defaultTextPalette) {
|
2016-11-05 08:36:24 +00:00
|
|
|
linkFg: dialogsTextFgServiceActive;
|
2022-07-07 11:17:30 +00:00
|
|
|
monoFg: dialogsTextFgActive;
|
2022-09-16 21:59:27 +00:00
|
|
|
spoilerFg: dialogsTextFgActive;
|
2016-11-05 08:36:24 +00:00
|
|
|
}
|
2016-12-23 13:21:01 +00:00
|
|
|
dialogsTextPaletteDraft: TextPalette(defaultTextPalette) {
|
2016-11-05 08:36:24 +00:00
|
|
|
linkFg: dialogsDraftFg;
|
2022-07-07 11:17:30 +00:00
|
|
|
monoFg: dialogsTextFg;
|
2022-09-16 21:59:27 +00:00
|
|
|
spoilerFg: dialogsTextFg;
|
2016-11-05 08:36:24 +00:00
|
|
|
}
|
2016-12-23 13:21:01 +00:00
|
|
|
dialogsTextPaletteDraftOver: TextPalette(defaultTextPalette) {
|
2016-11-05 08:36:24 +00:00
|
|
|
linkFg: dialogsDraftFgOver;
|
2022-07-07 11:17:30 +00:00
|
|
|
monoFg: dialogsTextFgOver;
|
2022-09-16 21:59:27 +00:00
|
|
|
spoilerFg: dialogsTextFgOver;
|
2016-06-07 19:59:39 +00:00
|
|
|
}
|
2016-12-23 13:21:01 +00:00
|
|
|
dialogsTextPaletteDraftActive: TextPalette(defaultTextPalette) {
|
2016-11-05 08:36:24 +00:00
|
|
|
linkFg: dialogsDraftFgActive;
|
2022-07-07 11:17:30 +00:00
|
|
|
monoFg: dialogsTextFgActive;
|
2022-09-16 21:59:27 +00:00
|
|
|
spoilerFg: dialogsTextFgActive;
|
2016-07-07 16:15:34 +00:00
|
|
|
}
|
2018-11-20 15:36:36 +00:00
|
|
|
dialogsTextPaletteTaken: TextPalette(defaultTextPalette) {
|
|
|
|
linkFg: boxTextFgGood;
|
2022-09-16 21:59:27 +00:00
|
|
|
monoFg: dialogsTextFg;
|
|
|
|
spoilerFg: dialogsTextFg;
|
2018-11-20 15:36:36 +00:00
|
|
|
}
|
|
|
|
dialogsTextPaletteTakenOver: TextPalette(defaultTextPalette) {
|
|
|
|
linkFg: boxTextFgGood;
|
2022-07-07 11:17:30 +00:00
|
|
|
monoFg: dialogsTextFgOver;
|
2022-09-16 21:59:27 +00:00
|
|
|
spoilerFg: dialogsTextFgOver;
|
2018-11-20 15:36:36 +00:00
|
|
|
}
|
|
|
|
dialogsTextPaletteTakenActive: TextPalette(defaultTextPalette) {
|
|
|
|
linkFg: dialogsDraftFgActive;
|
2022-07-07 11:17:30 +00:00
|
|
|
monoFg: dialogsTextFgActive;
|
2022-09-16 21:59:27 +00:00
|
|
|
spoilerFg: dialogsTextFgActive;
|
2018-11-20 15:36:36 +00:00
|
|
|
}
|
2019-05-08 09:05:15 +00:00
|
|
|
dialogsTextPaletteArchive: TextPalette(defaultTextPalette) {
|
|
|
|
linkFg: dialogsArchiveFg;
|
2022-07-07 11:17:30 +00:00
|
|
|
monoFg: dialogsArchiveFg;
|
2022-09-16 21:59:27 +00:00
|
|
|
spoilerFg: dialogsArchiveFg;
|
2019-05-08 09:05:15 +00:00
|
|
|
}
|
|
|
|
dialogsTextPaletteArchiveOver: TextPalette(defaultTextPalette) {
|
|
|
|
linkFg: dialogsArchiveFgOver;
|
2022-07-07 11:17:30 +00:00
|
|
|
monoFg: dialogsArchiveFgOver;
|
2022-09-16 21:59:27 +00:00
|
|
|
spoilerFg: dialogsArchiveFgOver;
|
2019-05-08 09:05:15 +00:00
|
|
|
}
|
|
|
|
dialogsTextPaletteArchiveActive: TextPalette(defaultTextPalette) {
|
|
|
|
linkFg: dialogsTextFgActive;
|
2022-07-07 11:17:30 +00:00
|
|
|
monoFg: dialogsTextFgActive;
|
2022-09-16 21:59:27 +00:00
|
|
|
spoilerFg: dialogsTextFgActive;
|
2019-05-08 09:05:15 +00:00
|
|
|
}
|
2022-11-11 09:24:37 +00:00
|
|
|
dialogsTextPaletteInTopic: TextPalette(defaultTextPalette) {
|
|
|
|
linkFg: dialogsNameFg;
|
|
|
|
monoFg: dialogsTextFg;
|
|
|
|
spoilerFg: dialogsTextFg;
|
|
|
|
}
|
|
|
|
dialogsTextPaletteInTopicOver: TextPalette(defaultTextPalette) {
|
|
|
|
linkFg: dialogsNameFgOver;
|
|
|
|
monoFg: dialogsTextFgOver;
|
|
|
|
spoilerFg: dialogsTextFgOver;
|
|
|
|
}
|
|
|
|
dialogsTextPaletteInTopicActive: TextPalette(defaultTextPalette) {
|
|
|
|
linkFg: dialogsNameFgActive;
|
|
|
|
monoFg: dialogsTextFgActive;
|
|
|
|
spoilerFg: dialogsTextFgActive;
|
|
|
|
}
|
2016-06-20 15:40:36 +00:00
|
|
|
|
2020-03-31 08:36:33 +00:00
|
|
|
dialogsEmptyHeight: 160px;
|
|
|
|
dialogsEmptySkip: 2px;
|
|
|
|
dialogsEmptyLabel: FlatLabel(defaultFlatLabel) {
|
|
|
|
minWidth: 32px;
|
|
|
|
align: align(top);
|
|
|
|
textFg: windowSubTextFg;
|
|
|
|
}
|
|
|
|
|
2016-11-04 11:14:47 +00:00
|
|
|
dialogsMenuToggle: IconButton {
|
2016-11-16 10:44:06 +00:00
|
|
|
width: 40px;
|
|
|
|
height: 40px;
|
2016-07-07 16:15:34 +00:00
|
|
|
|
2021-12-03 11:29:33 +00:00
|
|
|
icon: icon {{ "dialogs/dialogs_menu", dialogsMenuIconFg }};
|
|
|
|
iconOver: icon {{ "dialogs/dialogs_menu", dialogsMenuIconFgOver }};
|
2020-07-24 05:41:51 +00:00
|
|
|
iconPosition: point(-1px, -1px);
|
2016-11-15 11:56:49 +00:00
|
|
|
|
|
|
|
rippleAreaPosition: point(0px, 0px);
|
2016-11-16 10:44:06 +00:00
|
|
|
rippleAreaSize: 40px;
|
|
|
|
ripple: RippleAnimation(defaultRippleAnimation) {
|
|
|
|
color: windowBgOver;
|
|
|
|
}
|
2016-10-27 21:19:38 +00:00
|
|
|
}
|
2020-07-24 05:41:51 +00:00
|
|
|
dialogsMenuToggleUnread: icon {
|
2021-12-03 11:29:33 +00:00
|
|
|
{ "dialogs/dialogs_menu_unread", dialogsMenuIconFg },
|
|
|
|
{ "dialogs/dialogs_menu_unread_dot", dialogsUnreadBg },
|
2020-07-24 05:41:51 +00:00
|
|
|
};
|
|
|
|
dialogsMenuToggleUnreadMuted: icon {
|
2021-12-03 11:29:33 +00:00
|
|
|
{ "dialogs/dialogs_menu_unread", dialogsMenuIconFg },
|
|
|
|
{ "dialogs/dialogs_menu_unread_dot", dialogsMenuIconFg },
|
2020-07-24 05:41:51 +00:00
|
|
|
};
|
|
|
|
|
2016-11-04 19:50:35 +00:00
|
|
|
dialogsLock: IconButton(dialogsMenuToggle) {
|
2021-12-03 11:29:33 +00:00
|
|
|
icon: icon {{ "dialogs/dialogs_lock", dialogsMenuIconFg }};
|
|
|
|
iconOver: icon {{ "dialogs/dialogs_lock", dialogsMenuIconFgOver }};
|
2016-11-04 19:50:35 +00:00
|
|
|
}
|
2021-12-03 11:29:33 +00:00
|
|
|
dialogsUnlockIcon: icon {{ "dialogs/dialogs_unlock", dialogsMenuIconFg }};
|
|
|
|
dialogsUnlockIconOver: icon {{ "dialogs/dialogs_unlock", dialogsMenuIconFgOver }};
|
2017-03-07 09:47:15 +00:00
|
|
|
dialogsCalendar: IconButton {
|
2017-08-01 11:43:50 +00:00
|
|
|
width: 29px;
|
2017-03-07 09:47:15 +00:00
|
|
|
height: 32px;
|
|
|
|
|
2021-12-03 11:29:33 +00:00
|
|
|
icon: icon {{ "dialogs/dialogs_calendar", dialogsMenuIconFg }};
|
|
|
|
iconOver: icon {{ "dialogs/dialogs_calendar", dialogsMenuIconFgOver }};
|
2017-08-01 11:43:50 +00:00
|
|
|
iconPosition: point(0px, 5px);
|
|
|
|
}
|
|
|
|
dialogsSearchFrom: IconButton(dialogsCalendar) {
|
|
|
|
width: 26px;
|
2021-12-03 11:29:33 +00:00
|
|
|
icon: icon {{ "dialogs/dialogs_search_from", dialogsMenuIconFg }};
|
|
|
|
iconOver: icon {{ "dialogs/dialogs_search_from", dialogsMenuIconFgOver }};
|
2017-03-07 09:47:15 +00:00
|
|
|
}
|
2020-03-18 12:14:45 +00:00
|
|
|
dialogsSearchForNarrowFilters: IconButton(dialogsMenuToggle) {
|
|
|
|
icon: icon {{ "top_bar_search", menuIconFg }};
|
|
|
|
iconOver: icon {{ "top_bar_search", menuIconFgOver }};
|
|
|
|
iconPosition: point(4px, 4px);
|
|
|
|
}
|
2017-08-01 15:55:51 +00:00
|
|
|
dialogsSearchFromPadding: margins(10px, 10px, 10px, 10px);
|
2016-11-04 19:50:35 +00:00
|
|
|
|
2022-10-20 13:42:50 +00:00
|
|
|
dialogsFilter: InputField(defaultInputField) {
|
|
|
|
textBg: filterInputInactiveBg;
|
|
|
|
textBgActive: filterInputActiveBg;
|
|
|
|
textMargins: margins(12px, 7px, 30px, 3px);
|
2016-11-04 11:14:47 +00:00
|
|
|
|
2022-10-20 13:42:50 +00:00
|
|
|
placeholderFg: placeholderFg;
|
|
|
|
placeholderFgActive: placeholderFgActive;
|
|
|
|
placeholderFgError: placeholderFgActive;
|
|
|
|
placeholderMargins: margins(2px, 0px, 2px, 0px);
|
|
|
|
placeholderScale: 0.;
|
|
|
|
placeholderShift: -50px;
|
|
|
|
placeholderFont: normalFont;
|
|
|
|
|
|
|
|
borderFg: filterInputInactiveBg;
|
|
|
|
borderFgActive: filterInputBorderFg;
|
|
|
|
borderFgError: activeLineFgError;
|
|
|
|
|
|
|
|
border: 2px;
|
|
|
|
borderActive: 2px;
|
|
|
|
borderRadius: roundRadiusSmall;
|
|
|
|
|
|
|
|
font: normalFont;
|
|
|
|
|
|
|
|
heightMin: 32px;
|
2016-10-27 21:19:38 +00:00
|
|
|
}
|
2016-11-15 11:56:49 +00:00
|
|
|
dialogsCancelSearchInPeer: IconButton(dialogsMenuToggle) {
|
2021-12-03 11:29:33 +00:00
|
|
|
icon: icon {{ "dialogs/dialogs_cancel_search", dialogsMenuIconFg }};
|
|
|
|
iconOver: icon {{ "dialogs/dialogs_cancel_search", dialogsMenuIconFgOver }};
|
2016-11-16 10:44:06 +00:00
|
|
|
iconPosition: point(11px, 11px);
|
2017-08-19 16:20:15 +00:00
|
|
|
rippleAreaPosition: point(3px, 3px);
|
|
|
|
rippleAreaSize: 34px;
|
2016-11-15 11:56:49 +00:00
|
|
|
}
|
2016-11-21 17:46:29 +00:00
|
|
|
dialogsCancelSearch: CrossButton {
|
2016-11-16 10:44:06 +00:00
|
|
|
width: 32px;
|
|
|
|
height: 32px;
|
|
|
|
|
2016-11-21 17:46:29 +00:00
|
|
|
cross: CrossAnimation {
|
|
|
|
size: 32px;
|
|
|
|
skip: 10px;
|
2022-02-25 13:11:49 +00:00
|
|
|
stroke: 1.5;
|
2016-11-21 17:46:29 +00:00
|
|
|
minScale: 0.3;
|
|
|
|
}
|
|
|
|
crossFg: dialogsMenuIconFg;
|
|
|
|
crossFgOver: dialogsMenuIconFgOver;
|
|
|
|
crossPosition: point(0px, 0px);
|
|
|
|
|
|
|
|
duration: 150;
|
2017-04-04 13:19:49 +00:00
|
|
|
loadingPeriod: 1000;
|
2016-11-16 16:04:25 +00:00
|
|
|
ripple: emptyRippleAnimation;
|
2016-11-04 11:14:47 +00:00
|
|
|
}
|
|
|
|
|
2022-03-21 12:33:31 +00:00
|
|
|
dialogCalendar: IconButton(dialogsMenuToggle) {
|
|
|
|
icon: icon {{ "dialogs/dialogs_calendar", lightButtonFg }};
|
|
|
|
iconOver: icon {{ "dialogs/dialogs_calendar", lightButtonFgOver }};
|
|
|
|
iconPosition: point(8px, 9px);
|
|
|
|
|
|
|
|
rippleAreaPosition: point(3px, 3px);
|
|
|
|
rippleAreaSize: 34px;
|
|
|
|
}
|
2022-03-21 14:35:31 +00:00
|
|
|
dialogSearchFrom: IconButton(dialogCalendar) {
|
|
|
|
icon: icon {{ "dialogs/dialogs_search_from", lightButtonFg }};
|
|
|
|
iconOver: icon {{ "dialogs/dialogs_search_from", lightButtonFgOver }};
|
|
|
|
iconPosition: point(9px, 8px);
|
|
|
|
}
|
2022-03-21 12:33:31 +00:00
|
|
|
|
2022-10-25 12:40:54 +00:00
|
|
|
dialogsChatTypeSkip: 3px;
|
2021-12-03 11:29:33 +00:00
|
|
|
dialogsChatIcon: icon {{ "dialogs/dialogs_chat", dialogsChatIconFg, point(1px, 4px) }};
|
|
|
|
dialogsChatIconOver: icon {{ "dialogs/dialogs_chat", dialogsChatIconFgOver, point(1px, 4px) }};
|
|
|
|
dialogsChatIconActive: icon {{ "dialogs/dialogs_chat", dialogsChatIconFgActive, point(1px, 4px) }};
|
|
|
|
dialogsChannelIcon: icon {{ "dialogs/dialogs_channel", dialogsChatIconFg, point(3px, 4px) }};
|
|
|
|
dialogsChannelIconOver: icon {{ "dialogs/dialogs_channel", dialogsChatIconFgOver, point(3px, 4px) }};
|
|
|
|
dialogsChannelIconActive: icon {{ "dialogs/dialogs_channel", dialogsChatIconFgActive, point(3px, 4px) }};
|
|
|
|
dialogsBotIcon: icon {{ "dialogs/dialogs_bot", dialogsChatIconFg, point(1px, 3px) }};
|
|
|
|
dialogsBotIconOver: icon {{ "dialogs/dialogs_bot", dialogsChatIconFgOver, point(1px, 3px) }};
|
|
|
|
dialogsBotIconActive: icon {{ "dialogs/dialogs_bot", dialogsChatIconFgActive, point(1px, 3px) }};
|
2022-10-25 12:40:54 +00:00
|
|
|
dialogsForumIcon: icon {{ "dialogs/dialogs_forum", dialogsChatIconFg, point(1px, 4px) }};
|
|
|
|
dialogsForumIconOver: icon {{ "dialogs/dialogs_forum", dialogsChatIconFgOver, point(1px, 4px) }};
|
|
|
|
dialogsForumIconActive: icon {{ "dialogs/dialogs_forum", dialogsChatIconFgActive, point(1px, 4px) }};
|
2019-04-16 08:50:59 +00:00
|
|
|
dialogsArchiveUserpic: icon {{ "archive_userpic", historyPeerUserpicFg }};
|
2020-09-15 11:47:42 +00:00
|
|
|
dialogsRepliesUserpic: icon {{ "replies_userpic", historyPeerUserpicFg }};
|
2022-11-11 06:40:33 +00:00
|
|
|
dialogsInaccessibleUserpic: icon {{ "dialogs/inaccessible_userpic", historyPeerUserpicFg }};
|
2016-09-30 12:52:03 +00:00
|
|
|
|
|
|
|
dialogsSendStateSkip: 20px;
|
2021-12-03 11:29:33 +00:00
|
|
|
dialogsSendingIcon: icon {{ "dialogs/dialogs_sending", dialogsSendingIconFg, point(8px, 4px) }};
|
|
|
|
dialogsSendingIconOver: icon {{ "dialogs/dialogs_sending", dialogsSendingIconFgOver, point(8px, 4px) }};
|
|
|
|
dialogsSendingIconActive: icon {{ "dialogs/dialogs_sending", dialogsSendingIconFgActive, point(8px, 4px) }};
|
|
|
|
dialogsSentIcon: icon {{ "dialogs/dialogs_sent", dialogsSentIconFg, point(10px, 4px) }};
|
|
|
|
dialogsSentIconOver: icon {{ "dialogs/dialogs_sent", dialogsSentIconFgOver, point(10px, 4px) }};
|
|
|
|
dialogsSentIconActive: icon {{ "dialogs/dialogs_sent", dialogsSentIconFgActive, point(10px, 4px) }};
|
|
|
|
dialogsReceivedIcon: icon {{ "dialogs/dialogs_received", dialogsSentIconFg, point(5px, 4px) }};
|
|
|
|
dialogsReceivedIconOver: icon {{ "dialogs/dialogs_received", dialogsSentIconFgOver, point(5px, 4px) }};
|
|
|
|
dialogsReceivedIconActive: icon {{ "dialogs/dialogs_received", dialogsSentIconFgActive, point(5px, 4px) }};
|
|
|
|
dialogsPinnedIcon: icon {{ "dialogs/dialogs_pinned", dialogsUnreadBgMuted }};
|
|
|
|
dialogsPinnedIconOver: icon {{ "dialogs/dialogs_pinned", dialogsUnreadBgMutedOver }};
|
|
|
|
dialogsPinnedIconActive: icon {{ "dialogs/dialogs_pinned", dialogsUnreadBgMutedActive }};
|
2022-10-21 11:04:42 +00:00
|
|
|
dialogsLockIcon: icon {{ "emoji/premium_lock", dialogsUnreadBgMuted, point(4px, 0px) }};
|
|
|
|
dialogsLockIconOver: icon {{ "emoji/premium_lock", dialogsUnreadBgMutedOver, point(4px, 0px) }};
|
|
|
|
dialogsLockIconActive: icon {{ "emoji/premium_lock", dialogsUnreadBgMutedActive, point(4px, 0px) }};
|
2016-09-30 12:52:03 +00:00
|
|
|
|
|
|
|
dialogsVerifiedIcon: icon {
|
2021-12-03 11:29:33 +00:00
|
|
|
{ "dialogs/dialogs_verified_star", dialogsVerifiedIconBg },
|
|
|
|
{ "dialogs/dialogs_verified_check", dialogsVerifiedIconFg },
|
2016-11-05 08:36:24 +00:00
|
|
|
};
|
|
|
|
dialogsVerifiedIconOver: icon {
|
2021-12-03 11:29:33 +00:00
|
|
|
{ "dialogs/dialogs_verified_star", dialogsVerifiedIconBgOver },
|
|
|
|
{ "dialogs/dialogs_verified_check", dialogsVerifiedIconFgOver },
|
2016-08-27 04:49:18 +00:00
|
|
|
};
|
2016-11-05 08:36:24 +00:00
|
|
|
dialogsVerifiedIconActive: icon {
|
2021-12-03 11:29:33 +00:00
|
|
|
{ "dialogs/dialogs_verified_star", dialogsVerifiedIconBgActive },
|
|
|
|
{ "dialogs/dialogs_verified_check", dialogsVerifiedIconFgActive },
|
2016-09-30 12:52:03 +00:00
|
|
|
};
|
2022-05-20 15:28:50 +00:00
|
|
|
dialogsPremiumIcon: icon {{ "dialogs/dialogs_premium", dialogsVerifiedIconBg }};
|
|
|
|
dialogsPremiumIconOver: icon {{ "dialogs/dialogs_premium", dialogsVerifiedIconBgOver }};
|
|
|
|
dialogsPremiumIconActive: icon {{ "dialogs/dialogs_premium", dialogsVerifiedIconBgActive }};
|
2016-09-30 12:52:03 +00:00
|
|
|
|
2021-12-03 11:29:33 +00:00
|
|
|
historySendingIcon: icon {{ "dialogs/dialogs_sending", historySendingOutIconFg, point(5px, 5px) }};
|
|
|
|
historySendingInvertedIcon: icon {{ "dialogs/dialogs_sending", historySendingInvertedIconFg, point(5px, 5px) }};
|
|
|
|
historyViewsSendingIcon: icon {{ "dialogs/dialogs_sending", historySendingInIconFg, point(3px, 0px) }};
|
|
|
|
historyViewsSendingInvertedIcon: icon {{ "dialogs/dialogs_sending", historySendingInvertedIconFg, point(3px, 0px) }};
|
2016-11-05 08:36:24 +00:00
|
|
|
|
2016-11-11 13:46:04 +00:00
|
|
|
dialogsUpdateButton: FlatButton {
|
2016-11-05 08:36:24 +00:00
|
|
|
color: activeButtonFg;
|
|
|
|
overColor: activeButtonFgOver;
|
|
|
|
|
|
|
|
bgColor: activeButtonBg;
|
|
|
|
overBgColor: activeButtonBgOver;
|
|
|
|
|
|
|
|
width: -34px;
|
|
|
|
height: 46px;
|
|
|
|
|
|
|
|
textTop: 14px;
|
|
|
|
|
|
|
|
font: semiboldFont;
|
|
|
|
overFont: semiboldFont;
|
2016-11-15 11:56:49 +00:00
|
|
|
|
|
|
|
ripple: RippleAnimation(defaultRippleAnimation) {
|
|
|
|
color: activeButtonBgRipple;
|
|
|
|
}
|
2016-11-05 08:36:24 +00:00
|
|
|
}
|
2017-01-14 18:50:16 +00:00
|
|
|
dialogsInstallUpdate: icon {{ "install_update", activeButtonFg }};
|
|
|
|
dialogsInstallUpdateOver: icon {{ "install_update", activeButtonFgOver }};
|
|
|
|
|
2018-11-09 13:54:34 +00:00
|
|
|
dialogsLoadMoreButton: FlatButton(dialogsUpdateButton) {
|
|
|
|
color: lightButtonFg;
|
|
|
|
overColor: lightButtonFg;
|
|
|
|
bgColor: lightButtonBg;
|
|
|
|
overBgColor: lightButtonBgOver;
|
|
|
|
ripple: RippleAnimation(defaultRippleAnimation) {
|
|
|
|
color: lightButtonBgRipple;
|
|
|
|
}
|
|
|
|
|
|
|
|
height: 36px;
|
|
|
|
textTop: 9px;
|
|
|
|
}
|
|
|
|
dialogsLoadMore: icon {{ "install_update-flip_vertical", lightButtonFg }};
|
|
|
|
dialogsLoadMoreLoading: InfiniteRadialAnimation(defaultInfiniteRadialAnimation) {
|
|
|
|
color: lightButtonFg;
|
|
|
|
thickness: 3px;
|
|
|
|
size: size(12px, 12px);
|
|
|
|
}
|
|
|
|
|
2017-08-06 20:07:51 +00:00
|
|
|
dialogsSearchInHeight: 52px;
|
|
|
|
dialogsSearchInPhotoSize: 36px;
|
|
|
|
dialogsSearchInPhotoPadding: 10px;
|
2017-08-19 16:20:15 +00:00
|
|
|
dialogsSearchInSkip: 7px;
|
2017-08-06 20:07:51 +00:00
|
|
|
dialogsSearchFromStyle: TextStyle(defaultTextStyle) {
|
|
|
|
font: normalFont;
|
|
|
|
linkFont: semiboldFont;
|
|
|
|
linkFontOver: semiboldFont;
|
|
|
|
}
|
|
|
|
dialogsSearchFromPalette: TextPalette(defaultTextPalette) {
|
|
|
|
linkFg: dialogsNameFg;
|
|
|
|
}
|
2019-06-23 12:18:33 +00:00
|
|
|
|
|
|
|
dialogsScamPadding: margins(2px, 0px, 2px, 0px);
|
|
|
|
dialogsScamFont: font(9px semibold);
|
|
|
|
dialogsScamSkip: 4px;
|
|
|
|
dialogsScamRadius: 2px;
|
|
|
|
|
2021-10-04 07:58:31 +00:00
|
|
|
dialogsMiniPreviewTop: 1px;
|
2021-10-01 14:58:41 +00:00
|
|
|
dialogsMiniPreview: 16px;
|
2021-10-04 12:29:11 +00:00
|
|
|
dialogsMiniPreviewRadius: 2px;
|
2021-10-01 14:58:41 +00:00
|
|
|
dialogsMiniPreviewSkip: 2px;
|
|
|
|
dialogsMiniPreviewRight: 3px;
|
2021-10-04 12:18:31 +00:00
|
|
|
dialogsMiniPlay: icon{{ "dialogs/dialogs_mini_play", videoPlayIconFg }};
|
2022-01-26 11:47:23 +00:00
|
|
|
|
|
|
|
dialogsUnreadMention: icon{{ "dialogs/dialogs_mention", dialogsUnreadFg }};
|
|
|
|
dialogsUnreadMentionOver: icon{{ "dialogs/dialogs_mention", dialogsUnreadFgOver }};
|
|
|
|
dialogsUnreadMentionActive: icon{{ "dialogs/dialogs_mention", dialogsUnreadFgActive }};
|
2022-01-27 12:55:34 +00:00
|
|
|
dialogsUnreadReaction: icon{{ "dialogs/dialogs_reaction", dialogsUnreadFg }};
|
|
|
|
dialogsUnreadReactionOver: icon{{ "dialogs/dialogs_reaction", dialogsUnreadFgOver }};
|
|
|
|
dialogsUnreadReactionActive: icon{{ "dialogs/dialogs_reaction", dialogsUnreadFgActive }};
|
2022-02-22 13:58:55 +00:00
|
|
|
|
|
|
|
downloadBarHeight: 46px;
|
|
|
|
downloadArrow: icon{{ "fast_to_original", menuIconFg }};
|
|
|
|
downloadArrowOver: icon{{ "fast_to_original", menuIconFgOver }};
|
|
|
|
downloadArrowRight: 10px;
|
|
|
|
downloadTitleLeft: 57px;
|
|
|
|
downloadTitleTop: 4px;
|
|
|
|
downloadInfoStyle: TextStyle(defaultTextStyle) {
|
|
|
|
font: font(12px);
|
|
|
|
linkFont: font(12px);
|
|
|
|
linkFontOver: font(12px underline);
|
|
|
|
}
|
|
|
|
downloadInfoLeft: 57px;
|
|
|
|
downloadInfoTop: 23px;
|
|
|
|
downloadLoadingLeft: 15px;
|
|
|
|
downloadLoadingSize: 24px;
|
|
|
|
downloadLoadingLine: 2px;
|
|
|
|
downloadLoadedSize: 30px;
|
2022-02-27 17:19:16 +00:00
|
|
|
downloadIconDocument: icon {{ "dialogs/dialogs_downloads", windowFgActive }};
|
|
|
|
downloadIconSize: 16px;
|
|
|
|
downloadIconSizeDone: 20px;
|
2022-09-29 10:33:17 +00:00
|
|
|
|
|
|
|
forumTopicRow: DialogRow(defaultDialogRow) {
|
|
|
|
height: 54px;
|
2022-10-06 16:06:24 +00:00
|
|
|
padding: margins(8px, 7px, 10px, 7px);
|
2022-09-29 10:33:17 +00:00
|
|
|
photoSize: 20px;
|
|
|
|
nameLeft: 39px;
|
|
|
|
nameTop: 7px;
|
|
|
|
textLeft: 68px;
|
|
|
|
textTop: 29px;
|
2022-11-15 15:49:14 +00:00
|
|
|
unreadMarkDiameter: 8px;
|
2022-09-29 10:33:17 +00:00
|
|
|
}
|
2022-10-06 13:06:18 +00:00
|
|
|
forumTopicIconPosition: point(2px, 0px);
|
|
|
|
editTopicTitleMargin: margins(70px, 2px, 22px, 18px);
|
|
|
|
editTopicIconPosition: point(24px, 19px);
|
|
|
|
editTopicMaxHeight: 408px;
|
2022-11-01 04:46:31 +00:00
|
|
|
|
|
|
|
chooseTopicListItem: PeerListItem(defaultPeerListItem) {
|
|
|
|
height: 44px;
|
|
|
|
photoSize: 28px;
|
2022-11-01 07:18:56 +00:00
|
|
|
photoPosition: point(8px, 5px);
|
|
|
|
namePosition: point(55px, 11px);
|
2022-11-01 04:46:31 +00:00
|
|
|
nameStyle: TextStyle(defaultTextStyle) {
|
|
|
|
font: font(14px semibold);
|
|
|
|
linkFont: font(14px semibold);
|
|
|
|
linkFontOver: font(14px semibold);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
chooseTopicList: PeerList(defaultPeerList) {
|
|
|
|
item: chooseTopicListItem;
|
|
|
|
}
|