Removed unused keys from profile.style.
This commit is contained in:
parent
563f933201
commit
9ec42f02bd
|
@ -13,42 +13,6 @@ using "info/info.style";
|
||||||
profileBg: windowBg;
|
profileBg: windowBg;
|
||||||
|
|
||||||
profileTopBarHeight: topBarHeight;
|
profileTopBarHeight: topBarHeight;
|
||||||
profileFixedBarButton: topBarButton;
|
|
||||||
|
|
||||||
profileMarginTop: 13px;
|
|
||||||
profilePhotoSize: 112px;
|
|
||||||
profilePhotoLeftMin: 18px;
|
|
||||||
profilePhotoLeftMax: 35px;
|
|
||||||
profilePhotoDuration: 500;
|
|
||||||
profileNameLeft: 26px;
|
|
||||||
profileNameTop: 9px;
|
|
||||||
profileNameLabel: FlatLabel(defaultFlatLabel) {
|
|
||||||
margin: margins(10px, 5px, 10px, 5px);
|
|
||||||
minWidth: 160px;
|
|
||||||
maxHeight: 24px;
|
|
||||||
textFg: windowBoldFg;
|
|
||||||
style: TextStyle(defaultTextStyle) {
|
|
||||||
font: font(16px semibold);
|
|
||||||
linkFont: font(16px semibold);
|
|
||||||
linkFontOver: font(16px semibold underline);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
profileStatusLeft: 27px;
|
|
||||||
profileStatusTop: 35px;
|
|
||||||
profileStatusFont: normalFont;
|
|
||||||
profileStatusFg: windowSubTextFg;
|
|
||||||
profileStatusFgActive: windowActiveTextFg;
|
|
||||||
profileMarginBottom: 30px;
|
|
||||||
|
|
||||||
profileButtonLeft: 27px;
|
|
||||||
profileButtonTop: 88px;
|
|
||||||
profileButtonSkip: 10px;
|
|
||||||
profilePrimaryButton: defaultActiveButton;
|
|
||||||
profileSecondaryButton: defaultLightButton;
|
|
||||||
profileAddMemberButton: RoundButton(profileSecondaryButton) {
|
|
||||||
width: 62px;
|
|
||||||
icon: icon {{ "profile_add_member", lightButtonFg, point(20px, 10px) }};
|
|
||||||
}
|
|
||||||
|
|
||||||
profileDropAreaBg: profileBg;
|
profileDropAreaBg: profileBg;
|
||||||
profileDropAreaFg: lightButtonFg;
|
profileDropAreaFg: lightButtonFg;
|
||||||
|
@ -61,23 +25,11 @@ profileDropAreaBorderFg: profileDropAreaFg;
|
||||||
profileDropAreaBorderWidth: 3px;
|
profileDropAreaBorderWidth: 3px;
|
||||||
profileDropAreaDuration: 200;
|
profileDropAreaDuration: 200;
|
||||||
|
|
||||||
profileBlocksTop: 7px;
|
|
||||||
profileBlocksBottom: 20px;
|
|
||||||
profileBlockLeftMin: 8px;
|
|
||||||
profileBlockLeftMax: 25px;
|
|
||||||
profileBlockNarrowWidthMin: 220px;
|
|
||||||
profileBlockWideWidthMin: 300px;
|
|
||||||
profileBlockWideWidthMax: 340px;
|
|
||||||
profileBlockMarginTop: 14px;
|
profileBlockMarginTop: 14px;
|
||||||
profileBlockMarginRight: 10px;
|
|
||||||
profileBlockMarginBottom: 7px;
|
|
||||||
profileBlockTitleHeight: 24px;
|
profileBlockTitleHeight: 24px;
|
||||||
profileBlockTitleFont: font(14px semibold);
|
profileBlockTitleFont: font(14px semibold);
|
||||||
profileBlockTitleFg: windowBoldFg;
|
profileBlockTitleFg: windowBoldFg;
|
||||||
profileBlockTitlePosition: point(24px, 0px);
|
profileBlockTitlePosition: point(24px, 0px);
|
||||||
profileBlockLabel: FlatLabel(defaultFlatLabel) {
|
|
||||||
textFg: windowSubTextFg;
|
|
||||||
}
|
|
||||||
profileBlockTextPart: FlatLabel(defaultFlatLabel) {
|
profileBlockTextPart: FlatLabel(defaultFlatLabel) {
|
||||||
minWidth: 180px;
|
minWidth: 180px;
|
||||||
margin: margins(5px, 5px, 5px, 5px);
|
margin: margins(5px, 5px, 5px, 5px);
|
||||||
|
@ -86,44 +38,5 @@ profileBlockOneLineTextPart: FlatLabel(profileBlockTextPart) {
|
||||||
minWidth: 0px; // No need to set minWidth in one-line text.
|
minWidth: 0px; // No need to set minWidth in one-line text.
|
||||||
maxHeight: 20px;
|
maxHeight: 20px;
|
||||||
}
|
}
|
||||||
profileBioLabel: FlatLabel(profileBlockOneLineTextPart) {
|
|
||||||
minWidth: 120px;
|
|
||||||
maxHeight: 0px;
|
|
||||||
}
|
|
||||||
profileBlockOneLineSkip: 9px;
|
|
||||||
profileBlockOneLineWidthMax: 240px;
|
|
||||||
|
|
||||||
profileEnableNotificationsTop: 7px;
|
|
||||||
profileSettingsBlockSkip: 8px;
|
|
||||||
|
|
||||||
profileInviteLinkText: FlatLabel(profileBlockTextPart) {
|
|
||||||
minWidth: 1px; // Required for BreakEverywhere
|
|
||||||
}
|
|
||||||
|
|
||||||
profileLimitReachedSkip: 6px;
|
|
||||||
|
|
||||||
profileMemberPaddingLeft: 16px;
|
|
||||||
profileMemberNameFg: windowBoldFg;
|
profileMemberNameFg: windowBoldFg;
|
||||||
profileLimitReachedLabel: FlatLabel(defaultFlatLabel) {
|
|
||||||
minWidth: 180px;
|
|
||||||
margin: margins(profileMemberPaddingLeft, 9px, profileMemberPaddingLeft, 6px);
|
|
||||||
style: TextStyle(defaultTextStyle) {
|
|
||||||
lineHeight: 19px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
profileReportReasonOther: InputField(defaultInputField) {
|
|
||||||
textMargins: margins(1px, 26px, 1px, 4px);
|
|
||||||
heightMax: 135px;
|
|
||||||
}
|
|
||||||
|
|
||||||
profileCommonGroupsSkip: 24px;
|
|
||||||
profileCommonGroupsLeftMin: 24px;
|
|
||||||
profileCommonGroupsLeftMax: 36px;
|
|
||||||
profileCommonGroupsWidthMax: 480px;
|
|
||||||
profileCommonGroupsPadding: margins(7px, 7px, 7px, 7px);
|
|
||||||
profileCommonGroupsPhotoSize: 42px;
|
|
||||||
profileCommonGroupsNameTop: 12px;
|
|
||||||
profileCommonGroupsNameLeft: 16px;
|
|
||||||
profileCommonGroupsBgOver: windowBgOver;
|
|
||||||
profileCommonGroupsRipple: defaultRippleAnimation;
|
|
||||||
|
|
Loading…
Reference in New Issue