2018-09-05 19:05:49 +00:00
|
|
|
/*
|
|
|
|
This file is part of Telegram Desktop,
|
|
|
|
the official desktop application for the Telegram messaging service.
|
|
|
|
|
|
|
|
For license and copyright information please follow this link:
|
|
|
|
https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
|
|
|
*/
|
2019-09-17 16:13:12 +00:00
|
|
|
using "ui/basic.style";
|
2018-09-05 19:05:49 +00:00
|
|
|
using "ui/widgets/widgets.style";
|
|
|
|
using "info/info.style";
|
2018-09-07 09:40:25 +00:00
|
|
|
using "boxes/boxes.style";
|
2018-09-05 19:05:49 +00:00
|
|
|
|
2022-02-13 13:30:43 +00:00
|
|
|
settingsButton: SettingsButton(infoProfileButton) {
|
2018-09-07 09:40:25 +00:00
|
|
|
font: boxTextFont;
|
2022-02-09 10:43:07 +00:00
|
|
|
padding: margins(60px, 10px, 22px, 10px);
|
|
|
|
iconLeft: 20px;
|
2018-09-07 09:40:25 +00:00
|
|
|
}
|
2022-02-13 13:30:43 +00:00
|
|
|
settingsButtonNoIcon: SettingsButton(settingsButton) {
|
2018-09-15 10:37:48 +00:00
|
|
|
padding: margins(22px, 10px, 22px, 8px);
|
|
|
|
}
|
2022-02-13 13:30:43 +00:00
|
|
|
settingsAttentionButton: SettingsButton(settingsButtonNoIcon) {
|
2018-11-07 09:39:31 +00:00
|
|
|
textFg: attentionButtonFg;
|
|
|
|
textFgOver: attentionButtonFgOver;
|
|
|
|
}
|
2022-02-13 13:30:43 +00:00
|
|
|
settingsOptionDisabled: SettingsButton(settingsButtonNoIcon) {
|
2022-02-02 12:33:41 +00:00
|
|
|
textFg: windowSubTextFg;
|
|
|
|
textFgOver: windowSubTextFg;
|
|
|
|
textBg: windowBg;
|
|
|
|
textBgOver: windowBg;
|
|
|
|
toggleOver: infoProfileToggle;
|
|
|
|
}
|
2022-02-09 10:43:07 +00:00
|
|
|
settingsSectionSkip: 6px;
|
2018-09-09 12:10:54 +00:00
|
|
|
settingsSeparatorPadding: margins(22px, infoProfileSkip, 0px, infoProfileSkip);
|
2022-02-08 17:49:58 +00:00
|
|
|
settingsButtonRightSkip: 23px;
|
2022-02-09 10:43:07 +00:00
|
|
|
settingsScalePadding: margins(63px, 7px, 21px, 4px);
|
|
|
|
settingsBigScalePadding: margins(21px, 7px, 21px, 4px);
|
2018-09-06 10:18:49 +00:00
|
|
|
settingsSlider: SettingsSlider(defaultSettingsSlider) {
|
2018-09-10 12:18:39 +00:00
|
|
|
barFg: windowBgOver;
|
2018-09-06 10:18:49 +00:00
|
|
|
labelFg: windowSubTextFg;
|
|
|
|
labelFgActive: windowActiveTextFg;
|
|
|
|
}
|
2022-02-13 13:30:43 +00:00
|
|
|
settingsUpdateToggle: SettingsButton(settingsButtonNoIcon) {
|
2018-09-10 12:18:39 +00:00
|
|
|
height: 40px;
|
2018-09-17 10:52:34 +00:00
|
|
|
padding: margins(22px, 8px, 22px, 8px);
|
2018-09-07 09:40:25 +00:00
|
|
|
}
|
|
|
|
settingsUpdateState: FlatLabel(defaultFlatLabel) {
|
|
|
|
textFg: windowSubTextFg;
|
|
|
|
}
|
2022-02-13 13:30:43 +00:00
|
|
|
settingsUpdate: SettingsButton(infoMainButton, settingsButtonNoIcon) {
|
2018-09-07 09:40:25 +00:00
|
|
|
}
|
2018-09-17 10:52:34 +00:00
|
|
|
settingsUpdateStatePosition: point(22px, 29px);
|
2022-02-13 13:30:43 +00:00
|
|
|
settingsDividerLabelPadding: margins(22px, 8px, 22px, 16px);
|
2018-09-06 17:58:44 +00:00
|
|
|
|
2022-02-13 13:30:43 +00:00
|
|
|
settingsIconAccount: icon {{ "settings/account", settingsIconFg }};
|
2022-02-09 10:43:07 +00:00
|
|
|
settingsIconNotifications: icon {{ "settings/notifications", settingsIconFg }};
|
|
|
|
settingsIconChat: icon {{ "settings/chat", settingsIconFg }};
|
|
|
|
settingsIconFolders: icon {{ "settings/folders", settingsIconFg }};
|
|
|
|
settingsIconGeneral: icon {{ "settings/advanced", settingsIconFg }};
|
2022-02-13 13:30:43 +00:00
|
|
|
settingsIconLock: icon {{ "settings/lock", settingsIconFg }};
|
2022-02-09 10:43:07 +00:00
|
|
|
settingsIconLanguage: icon {{ "settings/language", settingsIconFg }};
|
|
|
|
settingsIconInterfaceScale: icon {{ "settings/interface_scale", settingsIconFg }};
|
|
|
|
settingsIconFaq: icon {{ "settings/faq", settingsIconFg }};
|
|
|
|
settingsIconCalls: icon {{ "settings/calls", settingsIconFg }};
|
|
|
|
settingsIconAskQuestion: icon {{ "settings/ask_question", settingsIconFg }};
|
2022-02-09 16:59:30 +00:00
|
|
|
settingsIconTips: icon {{ "settings/tips", settingsIconFg }};
|
2022-02-09 10:43:07 +00:00
|
|
|
settingsIconStickers: icon {{ "settings/stickers", settingsIconFg }};
|
|
|
|
settingsIconEmoji: icon {{ "settings/emoji", settingsIconFg }};
|
|
|
|
settingsIconThemes: icon {{ "settings/palette", settingsIconFg }};
|
2022-02-13 13:30:43 +00:00
|
|
|
settingsIconGroup: icon {{ "settings/group", settingsIconFg }};
|
|
|
|
settingsIconChannel: icon {{ "settings/channel", settingsIconFg }};
|
2022-02-09 13:54:16 +00:00
|
|
|
settingsIconContacts: icon {{ "settings/user", settingsIconFg }};
|
|
|
|
settingsIconSavedMessages: icon {{ "settings/saved_messages", settingsIconFg }};
|
|
|
|
settingsIconKey: icon {{ "settings/key", settingsIconFg }};
|
|
|
|
settingsIconReload: icon {{ "settings/reload", settingsIconFg }};
|
|
|
|
settingsIconNight: icon {{ "settings/night", settingsIconFg }};
|
|
|
|
settingsIconSettings: icon {{ "settings/settings", settingsIconFg }};
|
2022-02-09 14:52:20 +00:00
|
|
|
settingsIconArchive: icon {{ "settings/archive", settingsIconFg }};
|
2022-02-13 13:30:43 +00:00
|
|
|
settingsIconPlus: icon {{ "settings/plus", settingsIconFg }};
|
|
|
|
settingsIconMinus: icon {{ "settings/minus", settingsIconFg }};
|
|
|
|
settingsIconTimer: icon {{ "settings/timer", settingsIconFg }};
|
|
|
|
settingsIconLaptop: icon {{ "settings/laptop", settingsIconFg }};
|
|
|
|
settingsIconArrows: icon {{ "settings/arrows", settingsIconFg }};
|
|
|
|
settingsIconOnline: icon {{ "settings/online", settingsIconFg }};
|
|
|
|
settingsIconVideoCalls: icon {{ "settings/video_calls", settingsIconFg }};
|
|
|
|
settingsIconEmail: icon {{ "settings/email", settingsIconFg }};
|
|
|
|
settingsIconForward: icon {{ "settings/forward", settingsIconFg }};
|
2022-02-18 15:32:46 +00:00
|
|
|
settingsIconSound: icon {{ "settings/sound", settingsIconFg }};
|
|
|
|
settingsIconDock: icon {{ "settings/dock", settingsIconFg }};
|
|
|
|
settingsIconPosition: icon {{ "settings/position", settingsIconFg }};
|
|
|
|
settingsIconPin: icon {{ "settings/pin", settingsIconFg }};
|
2018-09-07 12:19:56 +00:00
|
|
|
|
2018-09-10 12:18:39 +00:00
|
|
|
settingsSetPhotoSkip: 7px;
|
|
|
|
|
|
|
|
settingsCheckbox: Checkbox(defaultBoxCheckbox) {
|
|
|
|
textPosition: point(15px, 1px);
|
|
|
|
}
|
2018-09-07 12:19:56 +00:00
|
|
|
settingsCheckboxPadding: margins(22px, 10px, 10px, 10px);
|
2018-09-06 17:58:44 +00:00
|
|
|
settingsLink: boxLinkButton;
|
|
|
|
settingsAdvancedNotificationsPadding: margins(22px, 20px, 10px, 10px);
|
2018-09-07 12:19:56 +00:00
|
|
|
settingsLinkLabel: defaultFlatLabel;
|
2018-09-10 12:18:39 +00:00
|
|
|
settingsCheckboxesSkip: 12px;
|
|
|
|
|
|
|
|
settingsSendType: settingsCheckbox;
|
|
|
|
settingsSendTypePadding: margins(22px, 5px, 10px, 5px);
|
|
|
|
settingsSendTypeSkip: 5px;
|
2018-09-07 12:19:56 +00:00
|
|
|
|
|
|
|
settingsBackgroundThumb: 76px;
|
|
|
|
settingsThumbSkip: 16px;
|
2018-09-09 12:10:54 +00:00
|
|
|
settingsSubsectionTitle: FlatLabel(defaultFlatLabel) {
|
2018-09-07 12:19:56 +00:00
|
|
|
style: TextStyle(semiboldTextStyle) {
|
|
|
|
font: font(boxFontSize semibold);
|
|
|
|
linkFont: font(boxFontSize semibold);
|
|
|
|
linkFontOver: font(boxFontSize semibold underline);
|
|
|
|
}
|
|
|
|
textFg: windowActiveTextFg;
|
2019-03-19 10:39:19 +00:00
|
|
|
minWidth: 240px;
|
2018-09-07 12:19:56 +00:00
|
|
|
}
|
2021-02-08 18:14:51 +00:00
|
|
|
settingsSubsectionTitleRight: FlatLabel(settingsSubsectionTitle) {
|
|
|
|
minWidth: 0px;
|
|
|
|
}
|
2018-09-15 10:37:48 +00:00
|
|
|
settingsSubsectionTitlePadding: margins(22px, 7px, 10px, 9px);
|
2018-09-10 12:18:39 +00:00
|
|
|
settingsBackgroundPadding: margins(22px, 11px, 10px, 12px);
|
|
|
|
settingsTileSkip: 15px;
|
2018-09-07 12:19:56 +00:00
|
|
|
settingsFromGalleryTop: 2px;
|
|
|
|
settingsFromFileTop: 14px;
|
2022-02-13 13:30:43 +00:00
|
|
|
settingsPrivacyOption: Checkbox(settingsCheckbox) {
|
|
|
|
textPosition: point(13px, 1px);
|
|
|
|
}
|
2018-09-10 12:18:39 +00:00
|
|
|
settingsPrivacySecurityPadding: 12px;
|
2018-09-15 10:37:48 +00:00
|
|
|
settingsPrivacySkip: 14px;
|
2022-02-13 13:30:43 +00:00
|
|
|
settingsPrivacySkipTop: 4px;
|
2018-09-09 12:10:54 +00:00
|
|
|
|
|
|
|
settingsCloudPasswordLabel: FlatLabel(defaultFlatLabel) {
|
|
|
|
textFg: windowSubTextFg;
|
|
|
|
style: boxTextStyle;
|
|
|
|
maxHeight: 20px;
|
|
|
|
}
|
|
|
|
settingsCloudPasswordLabelPadding: margins(22px, 8px, 10px, 8px);
|
2018-09-09 17:38:08 +00:00
|
|
|
|
2018-09-13 20:09:26 +00:00
|
|
|
settingsInfoPhotoHeight: 175px;
|
|
|
|
settingsInfoPhotoSize: 84px;
|
|
|
|
settingsInfoPhoto: UserpicButton(defaultUserpicButton) {
|
|
|
|
size: size(settingsInfoPhotoSize, settingsInfoPhotoSize);
|
|
|
|
photoSize: settingsInfoPhotoSize;
|
|
|
|
}
|
|
|
|
settingsInfoPhotoTop: 17px;
|
|
|
|
settingsInfoPhotoSkip: 16px;
|
|
|
|
settingsInfoPhotoSet: defaultActiveButton;
|
|
|
|
|
2022-02-13 13:30:43 +00:00
|
|
|
settingsInfoRow: SettingsButton(settingsButtonNoIcon) {
|
2018-09-13 20:09:26 +00:00
|
|
|
height: 62px;
|
|
|
|
padding: margins(0px, 0px, 0px, 0px);
|
|
|
|
}
|
2018-09-10 12:18:39 +00:00
|
|
|
settingsInfoIconPosition: point(22px, 18px);
|
2018-09-09 17:38:08 +00:00
|
|
|
settingsInfoValue: FlatLabel(defaultFlatLabel) {
|
|
|
|
textFg: windowFg;
|
|
|
|
style: boxTextStyle;
|
|
|
|
maxHeight: 20px;
|
|
|
|
}
|
|
|
|
settingsInfoValuePosition: point(78px, 14px);
|
|
|
|
settingsInfoAbout: FlatLabel(settingsInfoValue) {
|
|
|
|
textFg: windowSubTextFg;
|
|
|
|
style: defaultTextStyle;
|
|
|
|
}
|
2018-09-10 12:18:39 +00:00
|
|
|
settingsInfoAboutPosition: point(78px, 34px);
|
2018-09-09 17:38:08 +00:00
|
|
|
settingsInfoRightSkip: 60px;
|
2018-09-13 20:09:26 +00:00
|
|
|
settingsInfoEditRight: 14px;
|
2021-12-13 10:16:40 +00:00
|
|
|
settingsInfoEditIconOver: icon {{ "settings/settings_edit", menuIconFgOver }};
|
2018-09-10 12:18:39 +00:00
|
|
|
settingsBio: InputField(defaultInputField) {
|
|
|
|
textBg: transparent;
|
2018-09-13 20:09:26 +00:00
|
|
|
textMargins: margins(0px, 7px, 0px, 13px);
|
2018-09-10 12:18:39 +00:00
|
|
|
|
|
|
|
placeholderFg: placeholderFg;
|
|
|
|
placeholderFgActive: placeholderFgActive;
|
|
|
|
placeholderFgError: placeholderFgActive;
|
|
|
|
placeholderMargins: margins(2px, 0px, 2px, 0px);
|
|
|
|
placeholderScale: 0.;
|
|
|
|
placeholderFont: normalFont;
|
|
|
|
|
|
|
|
heightMin: 32px;
|
|
|
|
|
|
|
|
font: boxTextFont;
|
2018-09-09 17:38:08 +00:00
|
|
|
}
|
2018-09-10 12:18:39 +00:00
|
|
|
settingsInfoAfterSkip: 14px;
|
2021-12-13 10:16:40 +00:00
|
|
|
settingsInfoName: icon {{ "settings/settings_name", menuIconFg }};
|
|
|
|
settingsInfoPhone: icon {{ "settings/settings_phone_number", menuIconFg }};
|
|
|
|
settingsInfoUsername: icon {{ "settings/settings_username", menuIconFg }};
|
2018-09-09 17:38:08 +00:00
|
|
|
|
2018-09-10 12:18:39 +00:00
|
|
|
settingsBioMargins: margins(20px, 6px, 20px, 6px);
|
2018-09-09 17:38:08 +00:00
|
|
|
settingsBioCountdown: FlatLabel(defaultFlatLabel) {
|
|
|
|
style: boxTextStyle;
|
|
|
|
textFg: windowSubTextFg;
|
|
|
|
}
|
2018-09-13 20:09:26 +00:00
|
|
|
settingsBioLabelPadding: margins(22px, 11px, 22px, 0px);
|
2018-09-19 09:06:21 +00:00
|
|
|
|
|
|
|
settingsPrivacyEditLabelPadding: margins(22px, 11px, 22px, 11px);
|
2018-09-26 11:28:16 +00:00
|
|
|
|
2018-09-28 11:20:36 +00:00
|
|
|
settingsThemesTopSkip: 10px;
|
|
|
|
settingsThemesBottomSkip: 8px;
|
2018-09-26 11:28:16 +00:00
|
|
|
settingsTheme: Checkbox(defaultCheckbox) {
|
|
|
|
textFg: windowSubTextFg;
|
|
|
|
textFgActive: windowActiveTextFg;
|
|
|
|
|
|
|
|
width: 80px;
|
|
|
|
margin: margins(0px, 0px, 0px, 0px);
|
|
|
|
|
2019-09-04 11:20:07 +00:00
|
|
|
textPosition: point(0px, 99px);
|
2018-09-26 11:28:16 +00:00
|
|
|
checkPosition: point(0px, 0px);
|
|
|
|
|
|
|
|
style: defaultTextStyle;
|
|
|
|
|
|
|
|
disabledOpacity: 0.5;
|
|
|
|
}
|
|
|
|
|
2019-09-04 11:20:07 +00:00
|
|
|
settingsThemePreviewSize: size(80px, 92px);
|
2018-09-26 11:28:16 +00:00
|
|
|
settingsThemeBubbleSize: size(40px, 14px);
|
|
|
|
settingsThemeBubbleRadius: 2px;
|
|
|
|
settingsThemeBubblePosition: point(6px, 8px);
|
2019-09-04 11:20:07 +00:00
|
|
|
settingsThemeBubbleSkip: 6px;
|
|
|
|
settingsThemeRadioBottom: 12px;
|
2018-09-26 11:28:16 +00:00
|
|
|
settingsThemeMinSkip: 4px;
|
2018-12-06 15:47:28 +00:00
|
|
|
|
2019-09-05 10:51:36 +00:00
|
|
|
settingsThemeNotSupportedBg: windowBgOver;
|
|
|
|
settingsThemeNotSupportedIcon: icon {{ "theme_preview", menuIconFg }};
|
|
|
|
|
2022-02-13 13:30:43 +00:00
|
|
|
autoDownloadLimitButton: SettingsButton(settingsButtonNoIcon) {
|
2018-12-06 15:47:28 +00:00
|
|
|
padding: margins(22px, 10px, 22px, 0px);
|
|
|
|
}
|
2019-01-05 11:08:02 +00:00
|
|
|
settingsAudioVolumeSlider: MediaSlider(defaultContinuousSlider) {
|
2020-01-02 11:25:52 +00:00
|
|
|
seekSize: size(15px, 15px);
|
2019-01-05 11:08:02 +00:00
|
|
|
}
|
2020-04-29 08:08:34 +00:00
|
|
|
settingsAudioVolumeSliderPadding: margins(22px, 5px, 20px, 10px);
|
2019-01-05 11:08:02 +00:00
|
|
|
settingsAudioVolumeLabel: LabelSimple(defaultLabelSimple) {
|
2020-01-02 11:25:52 +00:00
|
|
|
font: boxTextFont;
|
|
|
|
textFg: windowBoldFg;
|
2019-01-05 11:08:02 +00:00
|
|
|
}
|
|
|
|
settingsAudioVolumeLabelPadding: margins(22px, 11px, 22px, 11px);
|
2020-04-29 08:08:34 +00:00
|
|
|
settingsLevelMeterPadding: margins(22px, 10px, 20px, 10px);
|
2019-03-19 13:50:36 +00:00
|
|
|
|
2022-02-13 13:30:43 +00:00
|
|
|
settingsForwardPrivacyPadding: 10px;
|
2019-03-19 13:50:36 +00:00
|
|
|
settingsForwardPrivacyArrowSkip: 32px;
|
2022-02-13 13:30:43 +00:00
|
|
|
settingsForwardPrivacyArrowSize: 7px;
|
|
|
|
settingsForwardPrivacyTooltipPadding: margins(12px, 7px, 12px, 7px);
|
2019-08-23 16:00:24 +00:00
|
|
|
|
2019-08-27 15:26:59 +00:00
|
|
|
settingsAccentColorSize: 24px;
|
|
|
|
settingsAccentColorSkip: 4px;
|
|
|
|
settingsAccentColorLine: 3px;
|
2020-02-04 23:50:29 +00:00
|
|
|
|
2020-03-24 10:49:50 +00:00
|
|
|
settingsFilterIconSkip: 68px;
|
|
|
|
settingsFilterIconLeft: 17px;
|
|
|
|
|
2021-11-25 15:46:37 +00:00
|
|
|
settingsDeviceName: InputField(defaultInputField) {
|
|
|
|
textBg: transparent;
|
|
|
|
textMargins: margins(1px, 3px, 1px, 4px);
|
|
|
|
|
|
|
|
placeholderFg: placeholderFg;
|
|
|
|
placeholderFgActive: placeholderFgActive;
|
|
|
|
placeholderFgError: placeholderFgActive;
|
|
|
|
placeholderMargins: margins(1px, 0px, 1px, 0px);
|
|
|
|
placeholderScale: 0.;
|
|
|
|
placeholderFont: normalFont;
|
|
|
|
|
|
|
|
heightMin: 29px;
|
|
|
|
|
|
|
|
font: boxTextFont;
|
|
|
|
}
|
|
|
|
|
2020-02-04 23:50:29 +00:00
|
|
|
dictionariesSectionButton: SettingsButton(settingsUpdateToggle) {
|
|
|
|
font: font(14px semibold);
|
|
|
|
}
|
2021-11-30 12:06:41 +00:00
|
|
|
|
|
|
|
sessionsScroll: boxScroll;
|
|
|
|
sessionsHeight: 350px;
|
|
|
|
sessionsTerminateAll: SettingsButton(defaultSettingsButton) {
|
|
|
|
textFg: attentionButtonFg;
|
|
|
|
textFgOver: attentionButtonFgOver;
|
|
|
|
font: font(boxFontSize semibold);
|
|
|
|
height: 20px;
|
|
|
|
padding: margins(77px, 12px, 22px, 10px);
|
2022-02-09 10:43:07 +00:00
|
|
|
iconLeft: 30px;
|
2021-11-30 12:06:41 +00:00
|
|
|
}
|
|
|
|
sessionsTerminateAllIcon: icon {{ "settings/devices/terminate_all", attentionButtonFg }};
|
2021-11-30 16:38:47 +00:00
|
|
|
sessionLocationTop: 54px;
|
2021-11-30 12:06:41 +00:00
|
|
|
sessionCurrentSkip: 8px;
|
|
|
|
sessionSubtitleSkip: 14px;
|
2021-11-30 16:38:47 +00:00
|
|
|
sessionLocationFg: windowSubTextFg;
|
2021-11-30 12:06:41 +00:00
|
|
|
sessionInfoFg: windowSubTextFg;
|
|
|
|
sessionTerminateTop: 9px;
|
2021-11-30 16:58:53 +00:00
|
|
|
sessionTerminateSkip: 12px;
|
2021-11-30 12:06:41 +00:00
|
|
|
sessionTerminate: IconButton {
|
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
|
|
|
|
|
|
|
icon: smallCloseIcon;
|
|
|
|
iconOver: smallCloseIconOver;
|
|
|
|
iconPosition: point(5px, 5px);
|
|
|
|
|
|
|
|
rippleAreaPosition: point(0px, 0px);
|
|
|
|
rippleAreaSize: 20px;
|
|
|
|
ripple: RippleAnimation(defaultRippleAnimation) {
|
|
|
|
color: windowBgOver;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
sessionIconWindows: icon{{ "settings/devices/device_desktop_win", historyPeerUserpicFg }};
|
|
|
|
sessionIconMac: icon{{ "settings/devices/device_desktop_mac", historyPeerUserpicFg }};
|
|
|
|
sessionIconUbuntu: icon{{ "settings/devices/device_linux_ubuntu", historyPeerUserpicFg }};
|
|
|
|
sessionIconLinux: icon{{ "settings/devices/device_linux", historyPeerUserpicFg }};
|
|
|
|
sessionIconiPhone: icon{{ "settings/devices/device_phone_ios", historyPeerUserpicFg }};
|
|
|
|
sessionIconiPad: icon{{ "settings/devices/device_tablet_ios", historyPeerUserpicFg }};
|
|
|
|
sessionIconAndroid: icon{{ "settings/devices/device_phone_android", historyPeerUserpicFg }};
|
|
|
|
sessionIconWeb: icon{{ "settings/devices/device_web_other", historyPeerUserpicFg }};
|
|
|
|
sessionIconChrome: icon{{ "settings/devices/device_web_chrome", historyPeerUserpicFg }};
|
|
|
|
sessionIconEdge: icon{{ "settings/devices/device_web_edge", historyPeerUserpicFg }};
|
|
|
|
sessionIconFirefox: icon{{ "settings/devices/device_web_firefox", historyPeerUserpicFg }};
|
|
|
|
sessionIconSafari: icon{{ "settings/devices/device_web_safari", historyPeerUserpicFg }};
|
|
|
|
sessionIconOther: icon{{ "settings/devices/device_other", historyPeerUserpicFg }};
|
|
|
|
sessionBigUserpicSize: 70px;
|
|
|
|
sessionBigLottieSize: 52px;
|
|
|
|
sessionBigIconOther: icon{{ "settings/devices/device_other_large", historyPeerUserpicFg }};
|
|
|
|
sessionBigIconWeb: icon{{ "settings/devices/device_web_other_large", historyPeerUserpicFg }};
|
|
|
|
sessionBigCoverPadding: margins(0px, 18px, 0px, 7px);
|
|
|
|
sessionBigName: FlatLabel(defaultFlatLabel) {
|
|
|
|
textFg: boxTitleFg;
|
|
|
|
maxHeight: 29px;
|
|
|
|
style: TextStyle(defaultTextStyle) {
|
|
|
|
font: font(20px semibold);
|
|
|
|
linkFont: font(20px semibold);
|
|
|
|
linkFontOver: font(20px semibold underline);
|
|
|
|
}
|
|
|
|
align: align(top);
|
|
|
|
}
|
|
|
|
sessionDateLabel: FlatLabel(defaultFlatLabel) {
|
|
|
|
textFg: windowSubTextFg;
|
|
|
|
align: align(top);
|
|
|
|
}
|
|
|
|
sessionDateSkip: 19px;
|
|
|
|
sessionValuePadding: margins(0px, 5px, 0px, 2px);
|
|
|
|
sessionValueLabel: FlatLabel(defaultFlatLabel) {
|
|
|
|
textFg: windowSubTextFg;
|
|
|
|
}
|
|
|
|
sessionValueSkip: 8px;
|
2021-11-30 16:38:47 +00:00
|
|
|
|
|
|
|
sessionListItem: PeerListItem(defaultPeerListItem) {
|
|
|
|
button: OutlineButton(defaultPeerListButton) {
|
|
|
|
font: normalFont;
|
|
|
|
padding: margins(11px, 5px, 11px, 5px);
|
|
|
|
}
|
|
|
|
height: 84px;
|
|
|
|
photoPosition: point(21px, 10px);
|
|
|
|
nameStyle: TextStyle(defaultTextStyle) {
|
|
|
|
font: msgNameFont;
|
|
|
|
}
|
|
|
|
namePosition: point(77px, 11px);
|
|
|
|
statusPosition: point(77px, 32px);
|
|
|
|
photoSize: 42px;
|
|
|
|
statusFg: boxTextFg;
|
|
|
|
statusFgOver: boxTextFg;
|
|
|
|
}
|
|
|
|
sessionList: PeerList(defaultPeerList) {
|
|
|
|
item: sessionListItem;
|
|
|
|
padding: margins(0px, 4px, 0px, 0px);
|
|
|
|
}
|
|
|
|
sessionListThreeDotsIcon: icon {{ "info/edit/dotsmini", dialogsMenuIconFg }};
|
|
|
|
sessionListThreeDotsIconOver: icon {{ "info/edit/dotsmini", dialogsMenuIconFgOver }};
|
|
|
|
sessionListThreeDotsSkip: 12px;
|
2022-02-08 17:25:24 +00:00
|
|
|
|
|
|
|
settingsPhotoLeft: 22px;
|
|
|
|
settingsPhotoTop: 8px;
|
|
|
|
settingsPhotoBottom: 16px;
|
|
|
|
settingsNameLeft: 112px;
|
|
|
|
settingsNameTop: 12px;
|
|
|
|
settingsPhoneLeft: settingsNameLeft;
|
|
|
|
settingsPhoneTop: 37px;
|
|
|
|
settingsUsernameLeft: settingsNameLeft;
|
|
|
|
settingsUsernameTop: 58px;
|
2022-02-13 13:30:43 +00:00
|
|
|
settingsPeerToPeerSkip: 9px;
|
2022-02-09 10:43:07 +00:00
|
|
|
|
|
|
|
settingsIconRadius: 6px;
|