Upstream 7.0.6 with WebAuthn/passkey transports, the sticker creator and image editor work, the thanos collapse-gap fixes and the split of the big style files. Conflicts kept our side by default, upstream taken where it fixes things: - version files: upstream 7.0.6 numbers, our ZaStoGram naming and the stable-only comments; - emoji_list_widget repaintCustom: upstream's guard that only remembers a set id when a section really matched, driving our animation scheduler; - intro_qr: our retry timer next to upstream's stopped/restart handling, and the shown flag resets when the step is left; - boxes.style: took upstream's split, moved our proxy settings metrics to connection_box.style; - .agents/ stays out of version control. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
98 lines
3.1 KiB
Text
98 lines
3.1 KiB
Text
/*
|
|
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
|
|
*/
|
|
using "boxes/boxes.style";
|
|
|
|
connectionHostInputField: InputField(defaultInputField) {
|
|
width: 160px;
|
|
}
|
|
connectionPortInputField: InputField(defaultInputField) {
|
|
width: 55px;
|
|
}
|
|
connectionUserInputField: InputField(defaultInputField) {
|
|
}
|
|
connectionPasswordInputField: InputField(defaultInputField) {
|
|
}
|
|
proxyUsePadding: margins(22px, 6px, 22px, 5px);
|
|
proxyTryIPv6Padding: margins(22px, 8px, 22px, 5px);
|
|
proxySettingsBoxWidth: 680px;
|
|
proxySettingsBoxMaxHeight: 620px;
|
|
proxySettingsListColumnWidth: boxWideWidth;
|
|
proxySettingsColumnSkip: 16px;
|
|
proxySettingsControlsMinWidth: 240px;
|
|
proxySettingsRightCheckPadding: margins(0px, 8px, 0px, 5px);
|
|
proxySettingsRightUsePadding: margins(0px, 6px, 0px, 5px);
|
|
proxySettingsRightSliderPadding: margins(0px, 7px, 0px, 4px);
|
|
proxySettingsRightAboutPadding: margins(0px, 7px, 0px, 14px);
|
|
proxyRowPadding: margins(22px, 8px, 8px, 8px);
|
|
proxyRowIconSkip: 32px;
|
|
proxyRowSkip: 2px;
|
|
proxyRowRipple: defaultRippleAnimationBgOver;
|
|
proxyRowTitleFg: windowFg;
|
|
proxyRowTitlePalette: TextPalette(defaultTextPalette) {
|
|
linkFg: windowSubTextFg;
|
|
}
|
|
proxyRowTitleStyle: TextStyle(defaultTextStyle) {
|
|
font: semiboldFont;
|
|
}
|
|
proxyRowStatusFg: windowSubTextFg;
|
|
proxyRowStatusFgOnline: windowActiveTextFg;
|
|
proxyRowStatusFgOffline: boxTextFgError;
|
|
proxyRowStatusFgAvailable: boxTextFgGood;
|
|
proxyEditTitle: FlatLabel(defaultFlatLabel) {
|
|
style: TextStyle(defaultTextStyle) {
|
|
font: autoDownloadTitleFont;
|
|
}
|
|
textFg: boxTitleFg;
|
|
}
|
|
proxyEditTitlePadding: margins(22px, 16px, 22px, 0px);
|
|
proxyEditTypePadding: margins(22px, 4px, 22px, 8px);
|
|
proxyEditInputPadding: margins(22px, 0px, 22px, 0px);
|
|
proxyEditSkip: 16px;
|
|
proxyEmptyListLabel: FlatLabel(defaultFlatLabel) {
|
|
align: align(top);
|
|
textFg: windowSubTextFg;
|
|
}
|
|
proxyEmptyListPadding: margins(22px, 48px, 22px, 0px);
|
|
proxyCheckingPosition: point(2px, 5px);
|
|
proxyCheckingSkip: 6px;
|
|
proxyCheckingAnimation: InfiniteRadialAnimation(defaultInfiniteRadialAnimation) {
|
|
color: windowSubTextFg;
|
|
thickness: 1px;
|
|
size: size(8px, 8px);
|
|
}
|
|
proxyAboutSponsorPadding: margins(22px, 7px, 22px, 0px);
|
|
proxyApplyBoxTable: Table(defaultTable) {
|
|
labelMinWidth: 91px;
|
|
}
|
|
proxyApplyBoxTableMargin: margins(24px, 4px, 24px, 4px);
|
|
proxyApplyBoxTableLabelMargin: margins(13px, 10px, 13px, 10px);
|
|
proxyApplyBoxTableValueMargin: margins(13px, 9px, 13px, 9px);
|
|
proxyApplyBoxValueMultiline: FlatLabel(defaultTableValue) {
|
|
minWidth: 128px;
|
|
maxHeight: 100px;
|
|
style: TextStyle(defaultTextStyle) {
|
|
font: font(10px);
|
|
linkUnderline: kLinkUnderlineNever;
|
|
}
|
|
}
|
|
proxyApplyBoxSponsorLabel: FlatLabel(defaultFlatLabel) {
|
|
textFg: windowBoldFg;
|
|
minWidth: 100px;
|
|
align: align(top);
|
|
style: TextStyle(defaultTextStyle) {
|
|
font: font(11px);
|
|
}
|
|
}
|
|
proxyApplyBoxSponsorMargin: margins(13px, 8px, 13px, 8px);
|
|
proxyApplyBox: Box(defaultBox) {
|
|
buttonPadding: margins(22px, 11px, 22px, 22px);
|
|
buttonHeight: 38px;
|
|
buttonWide: true;
|
|
button: proxyApplyBoxButton;
|
|
shadowIgnoreTopSkip: true;
|
|
}
|