2021-03-23 12:34:34 +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
|
|
|
|
*/
|
|
|
|
using "ui/basic.style";
|
|
|
|
|
2021-03-26 13:05:31 +00:00
|
|
|
using "info/info.style";
|
2021-03-23 16:06:59 +00:00
|
|
|
|
2021-03-31 06:19:14 +00:00
|
|
|
paymentsPanelButton: defaultBoxButton;
|
2021-03-26 13:05:31 +00:00
|
|
|
paymentsPanelSubmit: RoundButton(defaultActiveButton) {
|
2021-03-31 06:19:14 +00:00
|
|
|
width: -36px;
|
|
|
|
height: 36px;
|
|
|
|
font: boxButtonFont;
|
2021-03-24 11:30:01 +00:00
|
|
|
}
|
2021-03-31 06:19:14 +00:00
|
|
|
paymentsPanelPadding: margins(8px, 12px, 15px, 12px);
|
2021-03-26 13:05:31 +00:00
|
|
|
|
|
|
|
paymentsCoverPadding: margins(26px, 0px, 26px, 13px);
|
|
|
|
paymentsDescription: FlatLabel(defaultFlatLabel) {
|
|
|
|
minWidth: 160px;
|
|
|
|
textFg: windowFg;
|
|
|
|
}
|
|
|
|
paymentsTitle: FlatLabel(paymentsDescription) {
|
|
|
|
style: semiboldTextStyle;
|
|
|
|
}
|
|
|
|
paymentsSeller: FlatLabel(paymentsDescription) {
|
|
|
|
textFg: windowSubTextFg;
|
|
|
|
}
|
2021-04-01 14:39:44 +00:00
|
|
|
paymentsWebviewBottom: FlatLabel(defaultFlatLabel) {
|
|
|
|
textFg: windowSubTextFg;
|
|
|
|
}
|
2021-03-26 13:05:31 +00:00
|
|
|
paymentsPriceLabel: paymentsDescription;
|
|
|
|
paymentsPriceAmount: defaultFlatLabel;
|
|
|
|
paymentsFullPriceLabel: paymentsTitle;
|
|
|
|
paymentsFullPriceAmount: FlatLabel(defaultFlatLabel) {
|
|
|
|
style: semiboldTextStyle;
|
|
|
|
}
|
|
|
|
|
|
|
|
paymentsTitleTop: 0px;
|
|
|
|
paymentsDescriptionTop: 3px;
|
|
|
|
paymentsSellerTop: 4px;
|
|
|
|
|
|
|
|
paymentsThumbnailSize: size(80px, 80px);
|
|
|
|
paymentsThumbnailSkip: 18px;
|
|
|
|
|
|
|
|
paymentsPricesTopSkip: 12px;
|
|
|
|
paymentsPricesBottomSkip: 13px;
|
|
|
|
paymentsPricePadding: margins(28px, 6px, 28px, 5px);
|
|
|
|
|
2021-04-02 11:46:48 +00:00
|
|
|
paymentsTipSkip: 8px;
|
|
|
|
paymentsTipButton: RoundButton(defaultLightButton) {
|
|
|
|
textFg: paymentsTipActive;
|
|
|
|
textFgOver: paymentsTipActive;
|
|
|
|
textBgOver: transparent;
|
|
|
|
|
|
|
|
width: -16px;
|
|
|
|
height: 28px;
|
|
|
|
textTop: 5px;
|
|
|
|
}
|
|
|
|
paymentsTipChosen: RoundButton(paymentsTipButton) {
|
|
|
|
textFg: windowFgActive;
|
|
|
|
textFgOver: windowFgActive;
|
|
|
|
textBgOver: transparent;
|
|
|
|
}
|
|
|
|
paymentsTipButtonsPadding: margins(26px, 6px, 26px, 6px);
|
|
|
|
|
2021-03-26 13:05:31 +00:00
|
|
|
paymentsSectionsTopSkip: 11px;
|
|
|
|
paymentsSectionButton: SettingsButton(infoProfileButton) {
|
|
|
|
padding: margins(68px, 11px, 14px, 9px);
|
|
|
|
}
|
|
|
|
|
|
|
|
paymentsIconPaymentMethod: icon {{ "payments/payment_card", menuIconFg }};
|
|
|
|
paymentsIconShippingAddress: icon {{ "payments/payment_address", menuIconFg }};
|
|
|
|
paymentsIconName: icon {{ "payments/payment_name", menuIconFg }};
|
|
|
|
paymentsIconEmail: icon {{ "payments/payment_email", menuIconFg }};
|
|
|
|
paymentsIconPhone: icon {{ "payments/payment_phone", menuIconFg }};
|
|
|
|
paymentsIconShippingMethod: icon {{ "payments/payment_shipping", menuIconFg }};
|
2021-03-26 15:23:12 +00:00
|
|
|
|
|
|
|
paymentsField: defaultInputField;
|
2021-04-02 12:59:54 +00:00
|
|
|
paymentsMoneyField: InputField(paymentsField) {
|
|
|
|
textMargins: margins(0px, 4px, 0px, 4px);
|
|
|
|
heightMin: 30px;
|
|
|
|
}
|
2021-04-01 09:27:39 +00:00
|
|
|
paymentsFieldAdditional: FlatLabel(defaultFlatLabel) {
|
|
|
|
style: boxTextStyle;
|
|
|
|
}
|
|
|
|
|
2021-03-26 15:23:12 +00:00
|
|
|
paymentsFieldPadding: margins(28px, 0px, 28px, 2px);
|
2021-03-30 17:18:39 +00:00
|
|
|
paymentsSaveCheckboxPadding: margins(28px, 20px, 28px, 8px);
|
2021-03-26 15:23:12 +00:00
|
|
|
paymentsExpireCvcSkip: 34px;
|
|
|
|
|
|
|
|
paymentsBillingInformationTitle: FlatLabel(defaultFlatLabel) {
|
|
|
|
style: semiboldTextStyle;
|
|
|
|
textFg: windowActiveTextFg;
|
|
|
|
minWidth: 240px;
|
|
|
|
}
|
|
|
|
paymentsBillingInformationTitlePadding: margins(28px, 26px, 28px, 1px);
|
2021-03-30 17:18:39 +00:00
|
|
|
|
|
|
|
paymentsShippingMargin: margins(27px, 11px, 27px, 20px);
|
|
|
|
paymentsShippingLabel: FlatLabel(defaultFlatLabel) {
|
|
|
|
style: boxTextStyle;
|
|
|
|
}
|
|
|
|
paymentsShippingPrice: FlatLabel(defaultFlatLabel) {
|
|
|
|
textFg: windowSubTextFg;
|
|
|
|
}
|
|
|
|
paymentsShippingLabelPosition: point(43px, 8px);
|
|
|
|
paymentsShippingPricePosition: point(43px, 29px);
|
2021-04-01 09:27:39 +00:00
|
|
|
|
|
|
|
paymentTipsErrorLabel: FlatLabel(defaultFlatLabel) {
|
|
|
|
minWidth: 275px;
|
|
|
|
textFg: boxTextFgError;
|
|
|
|
}
|
|
|
|
paymentTipsErrorPadding: margins(22px, 6px, 22px, 0px);
|
2021-04-01 14:05:46 +00:00
|
|
|
|
|
|
|
paymentsToProviderLabel: paymentsShippingPrice;
|
|
|
|
paymentsToProviderPadding: margins(28px, 6px, 28px, 6px);
|