mirror of
https://github.com/vale981/tdesktop
synced 2025-03-07 02:31:41 -05:00

Reading featured sticker sets one by one while scrolling through them, only when the row was fully visible and the image was already loaded.
93 lines
2.6 KiB
Text
93 lines
2.6 KiB
Text
/*
|
|
This file is part of Telegram Desktop,
|
|
the official desktop version of Telegram messaging app, see https://telegram.org
|
|
|
|
Telegram Desktop is free software: you can redistribute it and/or modify
|
|
it under the terms of the GNU General Public License as published by
|
|
the Free Software Foundation, either version 3 of the License, or
|
|
(at your option) any later version.
|
|
|
|
It is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
GNU General Public License for more details.
|
|
|
|
In addition, as a special exception, the copyright holders give permission
|
|
to link the code of portions of this program with the OpenSSL library.
|
|
|
|
Full license: https://github.com/telegramdesktop/tdesktop/blob/master/LICENSE
|
|
Copyright (c) 2014-2016 John Preston, https://desktop.telegram.org
|
|
*/
|
|
using "basic.style";
|
|
|
|
confirmInviteTitle: flatLabel(labelDefFlat) {
|
|
font: font(16px semibold);
|
|
align: align(center);
|
|
width: 320px;
|
|
maxHeight: 24px;
|
|
textFg: #333333;
|
|
}
|
|
confirmInviteStatus: flatLabel(labelDefFlat) {
|
|
font: font(boxFontSize);
|
|
align: align(center);
|
|
width: 320px;
|
|
maxHeight: 20px;
|
|
textFg: windowSubTextFg;
|
|
}
|
|
confirmInviteTitleTop: 106px;
|
|
confirmInvitePhotoSize: 76px;
|
|
confirmInvitePhotoTop: 20px;
|
|
confirmInviteStatusTop: 136px;
|
|
confirmInviteUserHeight: 80px;
|
|
confirmInviteUserPhotoSize: 56px;
|
|
confirmInviteUserPhotoTop: 166px;
|
|
confirmInviteUserName: flatLabel(labelDefFlat) {
|
|
font: normalFont;
|
|
align: align(center);
|
|
width: 66px;
|
|
maxHeight: 20px;
|
|
}
|
|
confirmInviteUserNameTop: 227px;
|
|
|
|
confirmPhoneAboutLabel: flatLabel(labelDefFlat) {
|
|
width: 282px;
|
|
}
|
|
confirmPhoneCodeField: InputField(defaultInputField) {
|
|
}
|
|
|
|
revokePublicLinkStatusStyle: textStyle(defaultTextStyle) {
|
|
linkFg: contactsStatusFgOnline;
|
|
linkFgDown: contactsStatusFgOnline;
|
|
linkFlagsOver: font(fsize);
|
|
}
|
|
aboutRevokePublicLabel: flatLabel(labelDefFlat) {
|
|
font: normalFont;
|
|
align: align(topleft);
|
|
width: 320px;
|
|
textFg: windowTextFg;
|
|
}
|
|
|
|
localStorageBoxSkip: 10px;
|
|
|
|
shareRowsTop: 12px;
|
|
shareRowHeight: 108px;
|
|
sharePhotoRadius: 28px;
|
|
sharePhotoSmallRadius: 24px;
|
|
sharePhotoTop: 6px;
|
|
shareSelectWidth: 2px;
|
|
shareSelectFg: windowActiveBg;
|
|
shareCheckBorder: windowBg;
|
|
shareCheckBg: windowActiveBg;
|
|
shareCheckRadius: 10px;
|
|
shareCheckSmallRadius: 3px;
|
|
shareCheckIcon: icon {
|
|
{ "default_checkbox_check", windowBg, point(3px, 6px) },
|
|
};
|
|
shareNameFont: font(11px);
|
|
shareNameFg: windowTextFg;
|
|
shareNameActiveFg: btnYesColor;
|
|
shareNameTop: 6px;
|
|
shareColumnSkip: 6px;
|
|
shareSelectDuration: 150;
|
|
shareActivateDuration: 150;
|
|
shareScrollDuration: 300;
|