2016-07-08 16:59:46 +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-07-08 16:59:46 +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-07-08 16:59:46 +00:00
|
|
|
*/
|
|
|
|
using "basic.style";
|
2016-11-04 11:14:47 +00:00
|
|
|
|
2016-10-20 11:34:48 +00:00
|
|
|
using "ui/widgets/widgets.style";
|
2016-10-31 12:29:26 +00:00
|
|
|
using "intro/intro.style";
|
2016-07-08 16:59:46 +00:00
|
|
|
|
2016-11-18 13:34:58 +00:00
|
|
|
boxDuration: 200;
|
2016-12-13 17:07:56 +00:00
|
|
|
boxRadius: 3px;
|
2016-11-18 13:34:58 +00:00
|
|
|
|
2016-11-16 10:44:06 +00:00
|
|
|
boxButtonFont: font(boxFontSize semibold);
|
2016-12-13 17:07:56 +00:00
|
|
|
defaultBoxButton: RoundButton(defaultLightButton) {
|
2016-11-15 11:56:49 +00:00
|
|
|
width: -24px;
|
|
|
|
height: 36px;
|
|
|
|
font: boxButtonFont;
|
|
|
|
}
|
|
|
|
|
2016-12-31 15:19:22 +00:00
|
|
|
boxTextStyle: TextStyle(defaultTextStyle) {
|
|
|
|
font: font(boxFontSize);
|
|
|
|
linkFont: font(boxFontSize);
|
|
|
|
linkFontOver: font(boxFontSize underline);
|
|
|
|
}
|
|
|
|
|
|
|
|
boxLabelStyle: TextStyle(boxTextStyle) {
|
|
|
|
lineHeight: 22px;
|
|
|
|
}
|
|
|
|
|
2016-11-15 11:56:49 +00:00
|
|
|
attentionBoxButton: RoundButton(defaultBoxButton) {
|
2016-11-16 16:04:25 +00:00
|
|
|
textFg: attentionButtonFg;
|
|
|
|
textFgOver: attentionButtonFgOver;
|
|
|
|
textBgOver: attentionButtonBgOver;
|
2016-11-15 11:56:49 +00:00
|
|
|
|
|
|
|
ripple: RippleAnimation(defaultRippleAnimation) {
|
2016-11-16 16:04:25 +00:00
|
|
|
color: attentionButtonBgRipple;
|
2016-11-15 11:56:49 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
defaultBoxCheckbox: Checkbox(defaultCheckbox) {
|
|
|
|
width: -46px;
|
2017-07-07 11:27:13 +00:00
|
|
|
textPosition: point(12px, 1px);
|
2016-12-31 15:19:22 +00:00
|
|
|
style: boxTextStyle;
|
2016-11-15 11:56:49 +00:00
|
|
|
}
|
|
|
|
|
2016-12-13 17:07:56 +00:00
|
|
|
boxRoundShadow: Shadow {
|
|
|
|
left: icon {{ "round_shadow_box_left", windowShadowFg }};
|
|
|
|
topLeft: icon {{ "round_shadow_box_top_left", windowShadowFg }};
|
|
|
|
top: icon {{ "round_shadow_box_top", windowShadowFg }};
|
|
|
|
topRight: icon {{ "round_shadow_box_top_left-flip_horizontal", windowShadowFg }};
|
|
|
|
right: icon {{ "round_shadow_box_left-flip_horizontal", windowShadowFg }};
|
|
|
|
bottomRight: icon {{ "round_shadow_box_bottom_left-flip_horizontal", windowShadowFg }};
|
|
|
|
bottom: icon {{ "round_shadow_box_bottom", windowShadowFg }};
|
|
|
|
bottomLeft: icon {{ "round_shadow_box_bottom_left", windowShadowFg }};
|
|
|
|
extend: margins(10px, 10px, 10px, 10px);
|
|
|
|
fallback: windowShadowFgFallback;
|
|
|
|
}
|
|
|
|
|
|
|
|
boxTitleFont: font(17px semibold);
|
2017-05-17 14:32:36 +00:00
|
|
|
boxTitle: FlatLabel(defaultFlatLabel) {
|
|
|
|
textFg: boxTitleFg;
|
|
|
|
maxHeight: 24px;
|
|
|
|
style: TextStyle(defaultTextStyle) {
|
|
|
|
font: boxTitleFont;
|
|
|
|
linkFont: boxTitleFont;
|
|
|
|
linkFontOver: font(17px semibold underline);
|
|
|
|
}
|
|
|
|
}
|
2016-12-13 17:07:56 +00:00
|
|
|
boxTitlePosition: point(23px, 20px);
|
|
|
|
boxTitleHeight: 56px;
|
|
|
|
boxLayerTitlePosition: point(23px, 16px);
|
|
|
|
boxLayerTitleHeight: 56px;
|
|
|
|
boxLayerTitleAdditionalSkip: 9px;
|
|
|
|
boxLayerTitleAdditionalFont: normalFont;
|
|
|
|
boxLayerScroll: defaultSolidScroll;
|
|
|
|
|
|
|
|
boxTopMargin: 6px;
|
2016-11-08 14:43:10 +00:00
|
|
|
|
2016-12-13 17:07:56 +00:00
|
|
|
boxTitleClose: IconButton(defaultIconButton) {
|
|
|
|
width: boxTitleHeight;
|
|
|
|
height: boxTitleHeight;
|
2016-11-08 14:43:10 +00:00
|
|
|
|
2016-12-13 17:07:56 +00:00
|
|
|
icon: boxTitleCloseIcon;
|
|
|
|
iconOver: boxTitleCloseIconOver;
|
2016-11-17 11:03:49 +00:00
|
|
|
|
2016-12-20 13:03:51 +00:00
|
|
|
rippleAreaPosition: point(6px, 6px);
|
|
|
|
rippleAreaSize: 44px;
|
2016-11-17 11:03:49 +00:00
|
|
|
ripple: RippleAnimation(defaultRippleAnimation) {
|
|
|
|
color: windowBgOver;
|
|
|
|
}
|
2016-10-31 12:29:26 +00:00
|
|
|
}
|
2016-10-22 18:58:25 +00:00
|
|
|
|
2016-12-20 13:03:51 +00:00
|
|
|
boxLinkButton: LinkButton(defaultLinkButton) {
|
2016-11-11 13:46:04 +00:00
|
|
|
font: boxTextFont;
|
|
|
|
overFont: font(boxFontSize underline);
|
|
|
|
}
|
|
|
|
|
2016-12-13 17:07:56 +00:00
|
|
|
boxOptionListPadding: margins(0px, 0px, 0px, 0px);
|
|
|
|
boxOptionListSkip: 20px;
|
2016-12-09 18:56:01 +00:00
|
|
|
boxOptionInputSkip: 6px;
|
2016-11-15 11:56:49 +00:00
|
|
|
|
2016-11-16 10:44:06 +00:00
|
|
|
boxVerticalMargin: 10px;
|
|
|
|
boxWidth: 320px;
|
|
|
|
boxWideWidth: 364px;
|
2016-12-13 17:07:56 +00:00
|
|
|
boxPadding: margins(23px, 30px, 23px, 8px);
|
2016-12-20 13:03:51 +00:00
|
|
|
boxMaxListHeight: 492px;
|
2016-11-16 10:44:06 +00:00
|
|
|
boxLittleSkip: 10px;
|
|
|
|
boxMediumSkip: 20px;
|
|
|
|
|
2016-12-13 17:07:56 +00:00
|
|
|
boxButtonPadding: margins(8px, 12px, 13px, 12px);
|
|
|
|
boxLayerButtonPadding: margins(8px, 8px, 8px, 8px);
|
2016-11-16 10:44:06 +00:00
|
|
|
boxLabel: FlatLabel(defaultFlatLabel) {
|
2017-11-10 15:45:10 +00:00
|
|
|
minWidth: 285px;
|
2016-11-16 10:44:06 +00:00
|
|
|
align: align(topleft);
|
2016-12-31 15:19:22 +00:00
|
|
|
style: boxLabelStyle;
|
2016-11-16 10:44:06 +00:00
|
|
|
}
|
2018-05-06 21:29:53 +00:00
|
|
|
boxDividerLabel: FlatLabel(boxLabel) {
|
|
|
|
minWidth: 245px;
|
|
|
|
textFg: windowSubTextFg;
|
|
|
|
style: defaultTextStyle;
|
|
|
|
}
|
2016-11-16 10:44:06 +00:00
|
|
|
|
|
|
|
countryRowHeight: 36px;
|
|
|
|
countryRowNameFont: semiboldFont;
|
|
|
|
countryRowNameFg: boxTextFg;
|
|
|
|
countryRowPadding: margins(22px, 9px, 8px, 0px);
|
|
|
|
countryRowCodeFont: font(fsize);
|
|
|
|
countryRowBg: windowBg;
|
|
|
|
countryRowBgOver: windowBgOver;
|
|
|
|
countryRowCodeFg: windowSubTextFg;
|
|
|
|
countryRowCodeFgOver: windowSubTextFgOver;
|
|
|
|
countriesSkip: 12px;
|
2016-12-13 17:07:56 +00:00
|
|
|
countriesScroll: ScrollArea(boxLayerScroll) {
|
2016-11-16 10:44:06 +00:00
|
|
|
deltat: 9px;
|
|
|
|
deltab: 3px;
|
|
|
|
}
|
|
|
|
|
2016-11-28 15:45:07 +00:00
|
|
|
boxPhotoTitleFont: font(16px semibold);
|
2016-12-20 13:03:51 +00:00
|
|
|
boxPhotoTitlePosition: point(28px, 20px);
|
2016-12-13 17:07:56 +00:00
|
|
|
boxPhotoPadding: margins(28px, 28px, 28px, 18px);
|
2016-11-28 15:45:07 +00:00
|
|
|
boxPhotoCompressedSkip: 20px;
|
2016-12-09 18:56:01 +00:00
|
|
|
boxPhotoCaptionSkip: 8px;
|
2016-12-21 15:05:58 +00:00
|
|
|
boxPhotoTextFg: windowSubTextFg;
|
2016-11-16 10:44:06 +00:00
|
|
|
|
|
|
|
cropPointSize: 10px;
|
|
|
|
cropSkip: 13px;
|
|
|
|
cropMinSize: 20px;
|
|
|
|
|
|
|
|
confirmInviteTitle: FlatLabel(defaultFlatLabel) {
|
2016-07-08 16:59:46 +00:00
|
|
|
align: align(center);
|
2017-11-10 15:45:10 +00:00
|
|
|
minWidth: 320px;
|
2016-07-08 16:59:46 +00:00
|
|
|
maxHeight: 24px;
|
2016-12-21 15:05:58 +00:00
|
|
|
textFg: windowBoldFg;
|
2016-12-23 13:21:01 +00:00
|
|
|
style: TextStyle(defaultTextStyle) {
|
|
|
|
font: font(16px semibold);
|
|
|
|
linkFont: font(16px semibold);
|
|
|
|
linkFontOver: font(16px semibold underline);
|
|
|
|
}
|
2016-07-08 16:59:46 +00:00
|
|
|
}
|
2016-12-23 13:21:01 +00:00
|
|
|
confirmInviteStatus: FlatLabel(boxLabel) {
|
2016-07-08 16:59:46 +00:00
|
|
|
align: align(center);
|
2017-11-10 15:45:10 +00:00
|
|
|
minWidth: 320px;
|
2016-07-08 16:59:46 +00:00
|
|
|
maxHeight: 20px;
|
|
|
|
textFg: windowSubTextFg;
|
|
|
|
}
|
|
|
|
confirmInviteTitleTop: 106px;
|
|
|
|
confirmInvitePhotoSize: 76px;
|
|
|
|
confirmInvitePhotoTop: 20px;
|
|
|
|
confirmInviteStatusTop: 136px;
|
2016-12-20 13:03:51 +00:00
|
|
|
confirmInviteUserHeight: 84px;
|
2016-07-08 16:59:46 +00:00
|
|
|
confirmInviteUserPhotoSize: 56px;
|
|
|
|
confirmInviteUserPhotoTop: 166px;
|
2016-11-16 10:44:06 +00:00
|
|
|
confirmInviteUserName: FlatLabel(defaultFlatLabel) {
|
2016-07-08 16:59:46 +00:00
|
|
|
align: align(center);
|
2017-11-10 15:45:10 +00:00
|
|
|
minWidth: 66px;
|
2016-07-08 16:59:46 +00:00
|
|
|
maxHeight: 20px;
|
|
|
|
}
|
|
|
|
confirmInviteUserNameTop: 227px;
|
2016-07-18 15:39:10 +00:00
|
|
|
|
2016-11-16 10:44:06 +00:00
|
|
|
confirmPhoneAboutLabel: FlatLabel(defaultFlatLabel) {
|
2017-11-10 15:45:10 +00:00
|
|
|
minWidth: 282px;
|
2016-07-28 17:01:08 +00:00
|
|
|
}
|
|
|
|
confirmPhoneCodeField: InputField(defaultInputField) {
|
|
|
|
}
|
2016-08-12 15:22:11 +00:00
|
|
|
|
2016-12-23 13:21:01 +00:00
|
|
|
revokePublicLinkStatusPalette: TextPalette(defaultTextPalette) {
|
2016-08-12 15:22:11 +00:00
|
|
|
linkFg: contactsStatusFgOnline;
|
|
|
|
}
|
2016-11-16 10:44:06 +00:00
|
|
|
aboutRevokePublicLabel: FlatLabel(defaultFlatLabel) {
|
2016-08-12 15:22:11 +00:00
|
|
|
align: align(topleft);
|
2017-11-10 15:45:10 +00:00
|
|
|
minWidth: 320px;
|
2016-08-12 15:22:11 +00:00
|
|
|
}
|
2017-07-18 15:15:02 +00:00
|
|
|
editBioCountdownLabel: FlatLabel(defaultFlatLabel) {
|
|
|
|
style: boxTextStyle;
|
|
|
|
textFg: windowSubTextFg;
|
|
|
|
}
|
2016-08-28 19:16:23 +00:00
|
|
|
|
2016-12-21 15:05:58 +00:00
|
|
|
contactUserIcon: icon {{ "add_contact_user", menuIconFg }};
|
|
|
|
contactPhoneIcon: icon {{ "add_contact_phone", menuIconFg }};
|
2016-12-09 18:56:01 +00:00
|
|
|
contactIconTop: 28px;
|
2016-10-22 18:58:25 +00:00
|
|
|
|
2016-11-16 16:04:25 +00:00
|
|
|
contactsAddIconAbove: icon {{ "contacts_add", activeButtonFg, point(18px, 18px) }};
|
|
|
|
contactsAdd: TwoIconButton {
|
2016-11-10 18:10:31 +00:00
|
|
|
width: 52px;
|
|
|
|
height: 52px;
|
|
|
|
|
2016-11-16 16:04:25 +00:00
|
|
|
iconBelow: contactsAddIconBelow;
|
|
|
|
iconBelowOver: contactsAddIconBelowOver;
|
|
|
|
iconAbove: contactsAddIconAbove;
|
|
|
|
iconAboveOver: contactsAddIconAbove;
|
|
|
|
|
|
|
|
rippleAreaPosition: point(5px, 5px);
|
|
|
|
rippleAreaSize: 42px;
|
|
|
|
ripple: RippleAnimation(defaultRippleAnimation) {
|
|
|
|
color: activeButtonBgRipple;
|
|
|
|
}
|
2016-11-10 18:10:31 +00:00
|
|
|
}
|
|
|
|
contactsAddPosition: point(14px, 8px);
|
|
|
|
|
2016-12-13 17:07:56 +00:00
|
|
|
contactPadding: margins(49px, 2px, 0px, 12px);
|
2016-12-09 18:56:01 +00:00
|
|
|
contactSkip: 6px;
|
2016-11-10 18:10:31 +00:00
|
|
|
contactPhoneSkip: 30px;
|
|
|
|
|
|
|
|
contactsPhotoSize: 42px;
|
|
|
|
contactsPadding: margins(16px, 7px, 16px, 7px);
|
|
|
|
contactsNameTop: 2px;
|
2016-12-23 13:21:01 +00:00
|
|
|
contactsNameStyle: TextStyle(defaultTextStyle) {
|
|
|
|
font: semiboldFont;
|
|
|
|
linkFont: semiboldFont;
|
|
|
|
linkFontOver: semiboldFont;
|
|
|
|
}
|
2016-11-10 18:10:31 +00:00
|
|
|
contactsStatusTop: 23px;
|
|
|
|
contactsStatusFont: font(fsize);
|
|
|
|
contactsCheckPosition: point(8px, 16px);
|
2016-12-02 19:16:35 +00:00
|
|
|
contactsAllAdminsTop: 15px;
|
|
|
|
contactsAboutBg: windowBgOver;
|
|
|
|
contactsAboutFg: windowSubTextFgOver;
|
|
|
|
contactsAboutTop: 60px;
|
|
|
|
contactsAboutBottom: 19px;
|
2016-10-22 18:58:25 +00:00
|
|
|
|
2017-03-31 15:50:02 +00:00
|
|
|
contactsSearchField: InputField(defaultInputField) {
|
|
|
|
textBg: transparent;
|
|
|
|
textMargins: margins(2px, 7px, 2px, 0px);
|
|
|
|
|
|
|
|
placeholderFg: placeholderFg;
|
|
|
|
placeholderFgActive: placeholderFgActive;
|
|
|
|
placeholderFgError: placeholderFgActive;
|
|
|
|
placeholderMargins: margins(2px, 0px, 2px, 0px);
|
|
|
|
placeholderScale: 0.;
|
|
|
|
placeholderFont: normalFont;
|
|
|
|
|
|
|
|
border: 0px;
|
|
|
|
borderActive: 0px;
|
|
|
|
|
|
|
|
heightMin: 32px;
|
|
|
|
|
|
|
|
font: normalFont;
|
|
|
|
}
|
|
|
|
contactsSearchCancel: CrossButton {
|
|
|
|
width: 44px;
|
|
|
|
height: 44px;
|
|
|
|
|
|
|
|
cross: CrossAnimation {
|
|
|
|
size: 36px;
|
|
|
|
skip: 12px;
|
|
|
|
stroke: 2px;
|
|
|
|
minScale: 0.3;
|
|
|
|
}
|
|
|
|
crossFg: boxTitleCloseFg;
|
|
|
|
crossFgOver: boxTitleCloseFgOver;
|
|
|
|
crossPosition: point(4px, 4px);
|
|
|
|
|
|
|
|
duration: 150;
|
2017-04-04 13:19:49 +00:00
|
|
|
loadingPeriod: 1000;
|
2017-03-31 15:50:02 +00:00
|
|
|
ripple: RippleAnimation(defaultRippleAnimation) {
|
|
|
|
color: windowBgOver;
|
|
|
|
}
|
|
|
|
}
|
2016-10-20 19:48:35 +00:00
|
|
|
contactsMultiSelect: MultiSelect {
|
2016-10-31 12:29:26 +00:00
|
|
|
bg: boxSearchBg;
|
2016-12-13 17:07:56 +00:00
|
|
|
padding: margins(8px, 6px, 8px, 6px);
|
2016-10-20 19:48:35 +00:00
|
|
|
maxHeight: 104px;
|
2016-12-13 17:07:56 +00:00
|
|
|
scroll: ScrollArea(defaultSolidScroll) {
|
2016-10-21 12:28:26 +00:00
|
|
|
deltat: 3px;
|
|
|
|
deltab: 3px;
|
|
|
|
round: 1px;
|
|
|
|
width: 8px;
|
|
|
|
deltax: 3px;
|
|
|
|
hiding: 1000;
|
|
|
|
}
|
|
|
|
|
2017-08-01 15:55:51 +00:00
|
|
|
item: defaultMultiSelectItem;
|
2016-10-21 12:28:26 +00:00
|
|
|
itemSkip: 8px;
|
|
|
|
|
2017-03-31 15:50:02 +00:00
|
|
|
field: contactsSearchField;
|
2016-10-22 13:03:20 +00:00
|
|
|
fieldMinWidth: 42px;
|
2016-11-04 11:14:47 +00:00
|
|
|
fieldIcon: boxFieldSearchIcon;
|
2016-10-21 12:28:26 +00:00
|
|
|
fieldIconSkip: 36px;
|
2016-10-22 13:03:20 +00:00
|
|
|
|
2017-03-31 15:50:02 +00:00
|
|
|
fieldCancel: contactsSearchCancel;
|
2016-11-18 13:34:58 +00:00
|
|
|
fieldCancelSkip: 40px;
|
2016-10-20 19:48:35 +00:00
|
|
|
}
|
2017-11-23 14:58:00 +00:00
|
|
|
contactsPhotoCheckIcon: icon {{
|
|
|
|
"default_checkbox_check",
|
|
|
|
windowFgActive,
|
|
|
|
point(3px, 6px)
|
|
|
|
}};
|
|
|
|
contactsPhotoCheck: RoundCheckbox(defaultRoundCheckbox) {
|
|
|
|
size: 20px;
|
|
|
|
sizeSmall: 0.3;
|
|
|
|
check: contactsPhotoCheckIcon;
|
|
|
|
}
|
2016-10-20 13:41:46 +00:00
|
|
|
contactsPhotoCheckbox: RoundImageCheckbox {
|
|
|
|
imageRadius: 21px;
|
|
|
|
imageSmallRadius: 18px;
|
2016-10-20 11:34:48 +00:00
|
|
|
selectWidth: 2px;
|
2016-11-16 10:44:06 +00:00
|
|
|
selectFg: windowBgActive;
|
2016-10-20 11:34:48 +00:00
|
|
|
selectDuration: 150;
|
2017-11-23 14:58:00 +00:00
|
|
|
check: contactsPhotoCheck;
|
2016-10-20 11:34:48 +00:00
|
|
|
}
|
2016-12-21 15:05:58 +00:00
|
|
|
contactsPhotoDisabledCheckFg: menuIconFg;
|
|
|
|
contactsNameCheckedFg: windowActiveTextFg;
|
2016-12-05 11:01:08 +00:00
|
|
|
contactsRipple: defaultRippleAnimation;
|
2016-10-20 13:41:46 +00:00
|
|
|
|
2016-12-13 17:07:56 +00:00
|
|
|
contactsMarginTop: 4px;
|
|
|
|
contactsMarginBottom: 4px;
|
|
|
|
membersMarginTop: 10px;
|
|
|
|
membersMarginBottom: 10px;
|
|
|
|
|
2017-09-26 17:57:01 +00:00
|
|
|
peerListBox: PeerList(defaultPeerList) {
|
|
|
|
padding: margins(
|
|
|
|
0px,
|
|
|
|
membersMarginTop,
|
|
|
|
0px,
|
|
|
|
membersMarginBottom);
|
|
|
|
item: PeerListItem(defaultPeerListItem) {
|
|
|
|
height: 56px;
|
|
|
|
photoSize: contactsPhotoSize;
|
|
|
|
photoPosition: point(16px, 7px);
|
|
|
|
namePosition: point(74px, 9px);
|
|
|
|
statusPosition: point(74px, 30px);
|
|
|
|
button: OutlineButton(defaultPeerListButton) {
|
|
|
|
textBg: contactsBg;
|
|
|
|
textBgOver: contactsBgOver;
|
|
|
|
ripple: contactsRipple;
|
|
|
|
}
|
|
|
|
statusFg: contactsStatusFg;
|
|
|
|
statusFgOver: contactsStatusFgOver;
|
|
|
|
statusFgActive: contactsStatusFgOnline;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-10-20 13:41:46 +00:00
|
|
|
localStorageBoxSkip: 10px;
|
|
|
|
|
|
|
|
shareRowsTop: 12px;
|
|
|
|
shareRowHeight: 108px;
|
|
|
|
sharePhotoTop: 6px;
|
|
|
|
sharePhotoCheckbox: RoundImageCheckbox(contactsPhotoCheckbox) {
|
|
|
|
imageRadius: 28px;
|
|
|
|
imageSmallRadius: 24px;
|
|
|
|
}
|
2016-12-23 13:21:01 +00:00
|
|
|
shareNameStyle: TextStyle(defaultTextStyle) {
|
|
|
|
font: font(11px);
|
|
|
|
linkFont: font(11px);
|
|
|
|
linkFontOver: font(11px);
|
|
|
|
}
|
2016-11-16 10:44:06 +00:00
|
|
|
shareNameFg: windowFg;
|
2016-12-03 12:10:35 +00:00
|
|
|
shareNameActiveFg: windowActiveTextFg;
|
2016-09-06 12:28:37 +00:00
|
|
|
shareNameTop: 6px;
|
|
|
|
shareColumnSkip: 6px;
|
|
|
|
shareActivateDuration: 150;
|
2016-09-06 14:45:10 +00:00
|
|
|
shareScrollDuration: 300;
|
2016-10-05 18:37:48 +00:00
|
|
|
|
2016-12-13 17:07:56 +00:00
|
|
|
notificationsBoxHeight: 420px;
|
2016-10-05 18:37:48 +00:00
|
|
|
notificationsBoxMonitorTop: 63px;
|
2016-10-31 12:29:26 +00:00
|
|
|
notificationsBoxMonitor: icon {{ "monitor", notificationsBoxMonitorFg }};
|
2016-10-05 18:37:48 +00:00
|
|
|
notificationsBoxScreenTop: 10px;
|
|
|
|
notificationsBoxScreenSize: size(280px, 160px);
|
|
|
|
notificationsBoxCountLabelTop: 80px;
|
|
|
|
notificationsBoxCountTop: 30px;
|
2016-10-06 16:41:09 +00:00
|
|
|
|
|
|
|
notificationsSampleSkip: 5px;
|
|
|
|
notificationsSampleTopSkip: 5px;
|
|
|
|
notificationsSampleBottomSkip: 5px;
|
|
|
|
notificationsSampleMargin: 2px;
|
|
|
|
|
|
|
|
notificationSampleOpacity: 0.5;
|
|
|
|
notificationSampleSize: size(64px, 16px);
|
2016-10-27 14:10:28 +00:00
|
|
|
|
2016-10-31 12:29:26 +00:00
|
|
|
membersAboutLimitPadding: margins(0px, 12px, 0px, 12px);
|
2017-03-14 17:04:28 +00:00
|
|
|
membersAbout: FlatLabel(defaultFlatLabel) {
|
2017-11-16 09:13:17 +00:00
|
|
|
minWidth: 240px;
|
2017-03-14 17:04:28 +00:00
|
|
|
textFg: membersAboutLimitFg;
|
|
|
|
align: align(top);
|
|
|
|
style: boxLabelStyle;
|
|
|
|
}
|
2016-10-27 21:19:38 +00:00
|
|
|
|
2016-12-13 17:07:56 +00:00
|
|
|
sessionsScroll: boxLayerScroll;
|
|
|
|
sessionsHeight: 350px;
|
2016-10-27 21:19:38 +00:00
|
|
|
sessionHeight: 70px;
|
|
|
|
sessionCurrentPadding: margins(0px, 7px, 0px, 4px);
|
|
|
|
sessionCurrentHeight: 118px;
|
|
|
|
sessionPadding: margins(21px, 10px, 21px, 0px);
|
|
|
|
sessionNameFont: msgNameFont;
|
2016-10-31 12:29:26 +00:00
|
|
|
sessionNameFg: boxTextFg;
|
|
|
|
sessionWhenFont: msgDateFont;
|
2016-12-21 15:05:58 +00:00
|
|
|
sessionWhenFg: windowSubTextFg;
|
2016-10-27 21:19:38 +00:00
|
|
|
sessionInfoFont: msgFont;
|
2016-12-21 15:05:58 +00:00
|
|
|
sessionInfoFg: windowSubTextFg;
|
2016-12-05 11:01:08 +00:00
|
|
|
sessionTerminateTop: 28px;
|
|
|
|
sessionTerminateSkip: 22px;
|
2016-11-01 12:46:34 +00:00
|
|
|
sessionTerminate: IconButton {
|
2016-12-05 11:01:08 +00:00
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
2016-10-27 21:19:38 +00:00
|
|
|
|
2016-12-21 15:05:58 +00:00
|
|
|
icon: smallCloseIcon;
|
|
|
|
iconOver: smallCloseIconOver;
|
2016-12-05 11:01:08 +00:00
|
|
|
iconPosition: point(5px, 5px);
|
|
|
|
|
|
|
|
rippleAreaPosition: point(0px, 0px);
|
|
|
|
rippleAreaSize: 20px;
|
|
|
|
ripple: RippleAnimation(defaultRippleAnimation) {
|
|
|
|
color: windowBgOver;
|
|
|
|
}
|
2016-10-27 21:19:38 +00:00
|
|
|
}
|
2016-11-11 13:46:04 +00:00
|
|
|
sessionTerminateAllButton: LinkButton(boxLinkButton) {
|
2016-12-20 13:03:51 +00:00
|
|
|
color: attentionButtonFg;
|
|
|
|
overColor: attentionButtonFg;
|
2016-11-11 13:46:04 +00:00
|
|
|
}
|
2016-10-31 12:29:26 +00:00
|
|
|
|
|
|
|
passcodeHeaderFont: font(19px);
|
|
|
|
passcodeHeaderHeight: 80px;
|
2016-12-09 18:56:01 +00:00
|
|
|
passcodeInput: InputField(introPhone) {
|
|
|
|
textMargins: margins(1px, 27px, 1px, 6px);
|
|
|
|
}
|
2016-11-04 19:50:35 +00:00
|
|
|
passcodeSubmit: RoundButton(introNextButton) {
|
2016-10-31 12:29:26 +00:00
|
|
|
width: 225px;
|
|
|
|
}
|
|
|
|
passcodeSubmitSkip: 40px;
|
2017-01-02 17:11:49 +00:00
|
|
|
passcodePadding: margins(0px, 0px, 0px, 5px);
|
2016-12-09 18:56:01 +00:00
|
|
|
passcodeTextLine: 28px;
|
2016-12-13 17:07:56 +00:00
|
|
|
passcodeLittleSkip: 5px;
|
2017-01-02 17:11:49 +00:00
|
|
|
passcodeAboutSkip: 7px;
|
2016-12-13 17:07:56 +00:00
|
|
|
passcodeSkip: 20px;
|
2016-10-31 12:29:26 +00:00
|
|
|
|
2016-12-21 15:05:58 +00:00
|
|
|
newGroupAboutFg: windowSubTextFg;
|
2016-10-31 12:29:26 +00:00
|
|
|
newGroupPadding: margins(4px, 6px, 4px, 3px);
|
2016-12-09 18:56:01 +00:00
|
|
|
newGroupSkip: 27px;
|
2016-10-31 12:29:26 +00:00
|
|
|
newGroupInfoPadding: margins(0px, -4px, 0px, 1px);
|
|
|
|
|
2016-12-09 18:56:01 +00:00
|
|
|
newGroupLinkPadding: margins(4px, 27px, 4px, 21px);
|
2016-10-31 12:29:26 +00:00
|
|
|
newGroupLinkTop: 3px;
|
|
|
|
newGroupLinkFont: font(16px);
|
|
|
|
|
2016-12-09 18:56:01 +00:00
|
|
|
newGroupNamePosition: point(27px, 5px);
|
|
|
|
|
|
|
|
newGroupDescriptionPadding: margins(0px, 13px, 0px, 4px);
|
|
|
|
newGroupDescription: InputField(defaultInputField) {
|
|
|
|
textMargins: margins(1px, 26px, 1px, 4px);
|
2017-06-16 17:02:27 +00:00
|
|
|
heightMax: 116px;
|
2016-12-09 18:56:01 +00:00
|
|
|
}
|
2016-10-31 12:29:26 +00:00
|
|
|
|
2016-12-09 18:56:01 +00:00
|
|
|
setupChannelLink: InputField(defaultInputField) {
|
|
|
|
textMargins: margins(0px, 6px, 0px, 4px);
|
|
|
|
heightMin: 32px;
|
2016-10-31 12:29:26 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
newGroupPublicLinkPadding: margins(0px, 20px, 0px, 5px);
|
2016-11-02 14:44:33 +00:00
|
|
|
|
|
|
|
themeWarningWidth: boxWideWidth;
|
|
|
|
themeWarningHeight: 150px;
|
|
|
|
themeWarningTextTop: 60px;
|
2016-11-11 13:46:04 +00:00
|
|
|
|
|
|
|
aboutWidth: 390px;
|
|
|
|
aboutVersionTop: -3px;
|
|
|
|
aboutVersionLink: LinkButton(defaultLinkButton) {
|
2016-12-20 13:03:51 +00:00
|
|
|
color: windowSubTextFg;
|
|
|
|
overColor: windowSubTextFg;
|
2016-11-11 13:46:04 +00:00
|
|
|
}
|
|
|
|
aboutTextTop: 34px;
|
|
|
|
aboutSkip: 14px;
|
2016-11-16 10:44:06 +00:00
|
|
|
aboutLabel: FlatLabel(defaultFlatLabel) {
|
2017-11-10 15:45:10 +00:00
|
|
|
minWidth: 330px;
|
2016-11-11 13:46:04 +00:00
|
|
|
align: align(topleft);
|
2016-12-23 13:21:01 +00:00
|
|
|
style: TextStyle(defaultTextStyle) {
|
|
|
|
lineHeight: 22px;
|
|
|
|
}
|
2016-11-11 13:46:04 +00:00
|
|
|
}
|
2016-11-15 11:56:49 +00:00
|
|
|
|
2016-12-20 13:03:51 +00:00
|
|
|
autoDownloadTopDelta: 10px;
|
|
|
|
autoDownloadTitlePosition: point(23px, 18px);
|
2016-12-13 17:07:56 +00:00
|
|
|
autoDownloadTitleFont: font(15px semibold);
|
|
|
|
|
2016-12-09 18:56:01 +00:00
|
|
|
confirmCaptionArea: InputField(defaultInputField) {
|
|
|
|
textMargins: margins(1px, 26px, 1px, 4px);
|
|
|
|
heightMax: 78px;
|
2016-11-15 11:56:49 +00:00
|
|
|
}
|
2016-11-22 09:48:13 +00:00
|
|
|
confirmBg: windowBgOver;
|
2016-11-15 11:56:49 +00:00
|
|
|
confirmMaxHeight: 245px;
|
|
|
|
confirmCompressedSkip: 10px;
|
|
|
|
|
|
|
|
connectionHostInputField: InputField(defaultInputField) {
|
|
|
|
width: 160px;
|
|
|
|
}
|
|
|
|
connectionPortInputField: InputField(defaultInputField) {
|
|
|
|
width: 55px;
|
|
|
|
}
|
|
|
|
connectionUserInputField: InputField(defaultInputField) {
|
|
|
|
width: 95px;
|
|
|
|
}
|
|
|
|
connectionPasswordInputField: InputField(defaultInputField) {
|
|
|
|
width: 120px;
|
|
|
|
}
|
|
|
|
connectionIPv6Skip: 11px;
|
|
|
|
|
|
|
|
langsWidth: 256px;
|
2016-12-02 19:16:35 +00:00
|
|
|
langsButton: Checkbox(defaultBoxCheckbox) {
|
2016-11-15 11:56:49 +00:00
|
|
|
width: 200px;
|
|
|
|
}
|
|
|
|
|
|
|
|
backgroundPadding: 10px;
|
|
|
|
backgroundSize: size(108px, 193px);
|
2016-12-13 17:07:56 +00:00
|
|
|
backgroundScroll: ScrollArea(boxLayerScroll) {
|
|
|
|
deltax: 3px;
|
|
|
|
width: 10px;
|
2016-11-15 11:56:49 +00:00
|
|
|
deltat: 10px;
|
2016-12-13 17:07:56 +00:00
|
|
|
deltab: 10px;
|
2016-11-15 11:56:49 +00:00
|
|
|
}
|
2016-12-09 18:56:01 +00:00
|
|
|
|
2017-03-07 14:03:07 +00:00
|
|
|
calendarTitleHeight: boxTitleHeight;
|
2017-03-07 16:40:17 +00:00
|
|
|
calendarPrevious: IconButton {
|
2017-03-07 14:03:07 +00:00
|
|
|
width: calendarTitleHeight;
|
|
|
|
height: calendarTitleHeight;
|
|
|
|
|
|
|
|
icon: icon {{ "title_back", boxTitleFg }};
|
|
|
|
iconPosition: point(20px, 20px);
|
|
|
|
|
|
|
|
rippleAreaPosition: point(6px, 6px);
|
|
|
|
rippleAreaSize: 44px;
|
|
|
|
ripple: RippleAnimation(defaultRippleAnimation) {
|
|
|
|
color: windowBgOver;
|
|
|
|
}
|
|
|
|
}
|
2017-03-07 16:40:17 +00:00
|
|
|
calendarPreviousDisabled: icon {{ "title_back", menuIconFg }};
|
|
|
|
calendarNext: IconButton(calendarPrevious) {
|
2017-03-07 14:03:07 +00:00
|
|
|
icon: icon {{ "title_back-flip_horizontal", boxTitleFg }};
|
|
|
|
}
|
2017-03-07 16:40:17 +00:00
|
|
|
calendarNextDisabled: icon {{ "title_back-flip_horizontal", menuIconFg }};
|
2017-03-07 14:03:07 +00:00
|
|
|
calendarTitleFont: boxTitleFont;
|
|
|
|
calendarDaysFont: normalFont;
|
|
|
|
calendarDaysFg: boxTitleAdditionalFg;
|
|
|
|
calendarDaysHeight: 32px;
|
|
|
|
calendarCellSize: size(48px, 40px);
|
|
|
|
calendarCellInner: 34px;
|
|
|
|
calendarPadding: margins(14px, 15px, 14px, 10px);
|
|
|
|
calendarScroll: backgroundScroll;
|
|
|
|
|
2016-12-23 13:21:01 +00:00
|
|
|
passcodeTextStyle: TextStyle(defaultTextStyle) {
|
|
|
|
lineHeight: 20px;
|
|
|
|
}
|
|
|
|
|
2016-12-09 18:56:01 +00:00
|
|
|
usernamePadding: margins(23px, 6px, 21px, 12px);
|
|
|
|
usernameSkip: 49px;
|
2017-07-19 19:20:38 +00:00
|
|
|
usernameTextStyle: TextStyle(boxTextStyle, passcodeTextStyle) {
|
|
|
|
}
|
2016-12-21 15:05:58 +00:00
|
|
|
usernameDefaultFg: windowSubTextFg;
|
2016-12-09 18:56:01 +00:00
|
|
|
|
|
|
|
downloadPathSkip: 10px;
|
2017-02-03 20:07:26 +00:00
|
|
|
|
|
|
|
colorEditWidth: 390px;
|
|
|
|
colorEditSkip: 10px;
|
|
|
|
colorPickerSize: 256px;
|
|
|
|
colorPickerMarkRadius: 6px;
|
|
|
|
colorPickerMarkLine: 1px;
|
|
|
|
colorSliderSkip: 8px;
|
|
|
|
colorSliderArrowLeft: icon {{ "color_slider_arrow", sliderBgActive }};
|
|
|
|
colorSliderArrowRight: icon {{ "color_slider_arrow-flip_horizontal", sliderBgActive }};
|
|
|
|
colorSliderArrowTop: icon {{ "color_slider_arrow_vertical", sliderBgActive }};
|
|
|
|
colorSliderArrowBottom: icon {{ "color_slider_arrow_vertical-flip_vertical", sliderBgActive }};
|
|
|
|
colorSliderWidth: 19px;
|
|
|
|
colorSampleSize: size(60px, 34px);
|
|
|
|
colorFieldSkip: 13px;
|
|
|
|
colorValueInput: InputField(defaultInputField) {
|
|
|
|
textMargins: margins(16px, 3px, 0px, 2px);
|
|
|
|
heightMin: 27px;
|
|
|
|
}
|
|
|
|
colorResultInput: InputField(colorValueInput) {
|
|
|
|
}
|
2017-03-16 15:15:07 +00:00
|
|
|
|
2017-03-19 08:29:05 +00:00
|
|
|
editPrivacyOptionMargin: margins(23px, 14px, 21px, 0px);
|
2017-03-16 15:15:07 +00:00
|
|
|
editPrivacyPadding: margins(23px, 0px, 21px, 0px);
|
2017-03-19 08:29:05 +00:00
|
|
|
editPrivacyWarningPadding: margins(23px, 14px, 21px, 0px);
|
2017-03-16 15:15:07 +00:00
|
|
|
editPrivacyTitle: FlatLabel(defaultFlatLabel) {
|
2017-11-10 15:45:10 +00:00
|
|
|
minWidth: 320px;
|
2017-03-16 15:15:07 +00:00
|
|
|
textFg: boxTitleFg;
|
2017-03-19 08:29:05 +00:00
|
|
|
maxHeight: 56px;
|
2017-03-16 15:15:07 +00:00
|
|
|
style: TextStyle(defaultTextStyle) {
|
|
|
|
font: boxTitleFont;
|
|
|
|
linkFont: boxTitleFont;
|
|
|
|
linkFontOver: boxTitleFont;
|
|
|
|
}
|
|
|
|
}
|
2017-09-20 19:44:22 +00:00
|
|
|
editPrivacyTitlePadding: margins(23px, 20px, 21px, 13px);
|
2017-03-16 15:15:07 +00:00
|
|
|
editPrivacyLabel: FlatLabel(defaultFlatLabel) {
|
2017-11-10 15:45:10 +00:00
|
|
|
minWidth: 320px;
|
2017-03-16 15:15:07 +00:00
|
|
|
textFg: membersAboutLimitFg;
|
|
|
|
style: defaultTextStyle;
|
|
|
|
}
|
2017-03-17 18:44:55 +00:00
|
|
|
editPrivacyLinkMargin: margins(0px, 0px, 0px, 8px);
|
2017-03-21 11:42:04 +00:00
|
|
|
|
|
|
|
changePhoneIcon: icon {
|
|
|
|
{ "phone_simcard_from", changePhoneSimcardFrom },
|
|
|
|
{ "phone_simcard_migrate", changePhoneSimcardTo, point(30px, 11px) },
|
|
|
|
{ "phone_simcard_to", changePhoneSimcardTo, point(78px, 0px) }
|
|
|
|
};
|
|
|
|
changePhoneDescription: FlatLabel(boxLabel) {
|
2017-11-10 15:45:10 +00:00
|
|
|
minWidth: 332px;
|
2017-03-21 11:42:04 +00:00
|
|
|
align: align(top);
|
|
|
|
}
|
|
|
|
changePhoneIconTop: 20px;
|
|
|
|
changePhoneDescriptionTop: 96px;
|
|
|
|
changePhoneLabel: FlatLabel(defaultFlatLabel) {
|
2017-11-10 15:45:10 +00:00
|
|
|
minWidth: 275px;
|
2017-03-21 11:42:04 +00:00
|
|
|
textFg: windowSubTextFg;
|
|
|
|
}
|
|
|
|
changePhoneError: FlatLabel(changePhoneLabel) {
|
|
|
|
textFg: boxTextFgError;
|
|
|
|
}
|
2017-07-04 13:31:18 +00:00
|
|
|
|
|
|
|
adminLogFilterUserpicLeft: 15px;
|
|
|
|
adminLogFilterLittleSkip: 16px;
|
|
|
|
adminLogFilterCheckbox: Checkbox(defaultBoxCheckbox) {
|
|
|
|
style: TextStyle(boxTextStyle) {
|
|
|
|
font: font(boxFontSize semibold);
|
|
|
|
linkFont: font(boxFontSize semibold);
|
|
|
|
linkFontOver: font(boxFontSize semibold underline);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
adminLogFilterSkip: 32px;
|
|
|
|
adminLogFilterUserCheckbox: Checkbox(defaultBoxCheckbox) {
|
|
|
|
margin: margins(8px, 6px, 8px, 6px);
|
2017-09-21 19:21:33 +00:00
|
|
|
checkPosition: point(8px, 6px);
|
2017-07-04 13:31:18 +00:00
|
|
|
}
|
2017-07-09 15:06:27 +00:00
|
|
|
|
|
|
|
rightsCheckbox: Checkbox(defaultBoxCheckbox) {
|
|
|
|
rippleBg: attentionButtonBgOver;
|
|
|
|
}
|
|
|
|
rightsToggle: Toggle(defaultToggle) {
|
|
|
|
toggledFg: windowBgActive;
|
|
|
|
untoggledFg: attentionButtonFg;
|
|
|
|
xsize: 8px;
|
|
|
|
vsize: 5px;
|
|
|
|
vshift: 1px;
|
|
|
|
stroke: 2px;
|
|
|
|
duration: 120;
|
|
|
|
}
|
2017-09-21 10:28:34 +00:00
|
|
|
rightsDividerHeight: 10px;
|
2017-07-10 10:43:25 +00:00
|
|
|
rightsHeaderMargin: margins(23px, 20px, 23px, 8px);
|
|
|
|
rightsToggleMargin: margins(23px, 8px, 23px, 8px);
|
|
|
|
rightsAboutMargin: margins(23px, 8px, 23px, 8px);
|
2017-11-13 13:19:14 +00:00
|
|
|
rightsPhotoButton: UserpicButton(defaultUserpicButton) {
|
|
|
|
size: size(60px, 60px);
|
2017-07-10 12:43:30 +00:00
|
|
|
photoSize: 60px;
|
|
|
|
}
|
2017-07-10 10:43:25 +00:00
|
|
|
rightsPhotoMargin: margins(20px, 0px, 15px, 18px);
|
|
|
|
rightsNameStyle: TextStyle(semiboldTextStyle) {
|
|
|
|
font: font(15px semibold);
|
|
|
|
linkFont: font(15px semibold);
|
|
|
|
linkFontOver: font(15px semibold underline);
|
|
|
|
}
|
|
|
|
rightsNameTop: 8px;
|
|
|
|
rightsStatusTop: 32px;
|
|
|
|
rightsHeaderLabel: FlatLabel(boxLabel) {
|
|
|
|
style: TextStyle(semiboldTextStyle) {
|
|
|
|
font: font(boxFontSize semibold);
|
|
|
|
linkFont: font(boxFontSize semibold);
|
|
|
|
linkFontOver: font(boxFontSize semibold underline);
|
|
|
|
}
|
|
|
|
textFg: windowActiveTextFg;
|
|
|
|
}
|
|
|
|
rightsUntilMargin: margins(0px, 8px, 0px, 0px);
|
2017-07-19 15:25:50 +00:00
|
|
|
|
2017-11-13 13:19:14 +00:00
|
|
|
mutePhotoButton: UserpicButton(defaultUserpicButton) {
|
|
|
|
size: size(40px, 40px);
|
2017-07-19 15:25:50 +00:00
|
|
|
photoSize: 40px;
|
|
|
|
}
|
|
|
|
muteChatTitle: FlatLabel(boxLabel) {
|
2017-11-10 15:45:10 +00:00
|
|
|
minWidth: 235px;
|
2017-07-19 15:25:50 +00:00
|
|
|
maxHeight: 20px; // block word wrap
|
|
|
|
style: TextStyle(boxTextStyle) {
|
|
|
|
font: font(boxFontSize semibold);
|
|
|
|
}
|
|
|
|
}
|
2017-09-20 19:44:22 +00:00
|
|
|
muteChatTitleLeft: 50px;
|
2017-08-05 20:01:20 +00:00
|
|
|
|
|
|
|
groupStickersRemove: contactsSearchCancel;
|
|
|
|
groupStickersRemovePosition: point(6px, 6px);
|
|
|
|
groupStickersFieldPadding: margins(8px, 6px, 8px, 6px);
|
|
|
|
groupStickersField: InputField(contactsSearchField) {
|
|
|
|
placeholderFont: boxTextFont;
|
|
|
|
font: boxTextFont;
|
|
|
|
placeholderMargins: margins(0px, 0px, 0px, 0px);
|
|
|
|
textMargins: margins(0px, 7px, 0px, 0px);
|
|
|
|
textBg: boxBg;
|
|
|
|
heightMin: 32px;
|
|
|
|
}
|
|
|
|
groupStickersSubTitleHeight: 36px;
|
2017-12-19 16:57:42 +00:00
|
|
|
|
|
|
|
sendMediaPreviewSize: 308px;
|
2017-12-22 17:42:33 +00:00
|
|
|
sendMediaPreviewHeightMax: 1280;
|
|
|
|
sendMediaPreviewPhotoSkip: 10px;
|
|
|
|
sendMediaFileThumbSize: 64px;
|
|
|
|
sendMediaFileThumbSkip: 10px;
|
|
|
|
sendMediaFileNameTop: 7px;
|
|
|
|
sendMediaFileStatusTop: 37px;
|
2018-04-28 09:27:43 +00:00
|
|
|
|
2018-05-06 21:29:53 +00:00
|
|
|
proxyUsePadding: margins(22px, 6px, 22px, 5px);
|
|
|
|
proxyTryIPv6Padding: margins(22px, 8px, 22px, 5px);
|
2018-04-28 09:27:43 +00:00
|
|
|
proxyRowPadding: margins(22px, 8px, 8px, 8px);
|
2018-04-28 14:06:59 +00:00
|
|
|
proxyRowIconSkip: 32px;
|
2018-04-28 09:27:43 +00:00
|
|
|
proxyRowSkip: 2px;
|
|
|
|
proxyRowRipple: RippleAnimation(defaultRippleAnimation) {
|
|
|
|
color: windowBgOver;
|
|
|
|
}
|
2018-05-03 15:05:18 +00:00
|
|
|
proxyRowSelectedIcon: icon {{ "passport_ready", windowActiveTextFg }};
|
2018-04-28 09:27:43 +00:00
|
|
|
proxyRowTitleFg: windowFg;
|
|
|
|
proxyRowTitlePalette: TextPalette(defaultTextPalette) {
|
|
|
|
linkFg: windowSubTextFg;
|
|
|
|
}
|
|
|
|
proxyRowTitleStyle: TextStyle(defaultTextStyle) {
|
|
|
|
font: semiboldFont;
|
|
|
|
linkFont: normalFont;
|
|
|
|
linkFontOver: normalFont;
|
|
|
|
}
|
|
|
|
proxyRowStatusFg: windowSubTextFg;
|
|
|
|
proxyRowStatusFgOnline: windowActiveTextFg;
|
2018-04-30 15:49:03 +00:00
|
|
|
proxyRowStatusFgOffline: boxTextFgError;
|
|
|
|
proxyRowStatusFgAvailable: boxTextFgGood;
|
2018-04-28 09:27:43 +00:00
|
|
|
proxyRowEdit: IconButton(defaultIconButton) {
|
|
|
|
width: 40px;
|
|
|
|
height: 40px;
|
|
|
|
|
|
|
|
icon: icon {{ "settings_edit_name", menuIconFg }};
|
|
|
|
iconOver: icon {{ "settings_edit_name", menuIconFgOver }};
|
|
|
|
iconPosition: point(12px, 13px);
|
|
|
|
|
|
|
|
rippleAreaSize: 40px;
|
|
|
|
rippleAreaPosition: point(0px, 0px);
|
|
|
|
ripple: RippleAnimation(defaultRippleAnimation) {
|
|
|
|
color: windowBgOver;
|
|
|
|
}
|
|
|
|
}
|
2018-04-28 15:58:22 +00:00
|
|
|
|
|
|
|
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);
|
2018-05-03 15:05:18 +00:00
|
|
|
proxyCheckingPosition: point(2px, 5px);
|
|
|
|
proxyCheckingSkip: 6px;
|
|
|
|
proxyCheckingAnimation: InfiniteRadialAnimation(defaultInfiniteRadialAnimation) {
|
|
|
|
color: windowSubTextFg;
|
|
|
|
thickness: 1px;
|
|
|
|
size: size(8px, 8px);
|
|
|
|
}
|
2018-05-05 13:14:46 +00:00
|
|
|
proxyDropdownDownPosition: point(-2px, 35px);
|
|
|
|
proxyDropdownUpPosition: point(-2px, 20px);
|
2018-05-06 21:29:53 +00:00
|
|
|
|
|
|
|
proxyAboutPadding: margins(22px, 7px, 22px, 14px);
|
2018-05-15 17:22:28 +00:00
|
|
|
proxyAboutSponsorPadding: margins(22px, 7px, 22px, 0px);
|
2018-05-26 14:58:21 +00:00
|
|
|
|
|
|
|
markdownLinkFieldPadding: margins(22px, 0px, 22px, 10px);
|