Removed unused keys from chat.style.

This commit is contained in:
23rd 2023-01-31 18:18:11 +03:00 committed by John Preston
parent 81b47fd224
commit a8a9b638bb
1 changed files with 2 additions and 29 deletions

View File

@ -40,7 +40,6 @@ msgPhotoSkip: 40px;
msgPadding: margins(13px, 7px, 13px, 8px);
msgMargin: margins(16px, 6px, 56px, 2px);
msgMarginTopAttached: 0px;
msgLnkPadding: 2px; // for media open / save links
msgShadow: 2px;
msgReplyPadding: margins(6px, 6px, 11px, 6px);
@ -55,7 +54,6 @@ msgDateDelta: point(2px, 5px);
msgDateImgDelta: 4px;
msgDateImgPadding: point(8px, 2px);
msgDateImgCheckSpace: 4px;
messageTextStyle: defaultTextStyle;
msgDateTextStyle: defaultTextStyle;
@ -153,9 +151,6 @@ historyComposeAreaPalette: TextPalette(defaultTextPalette) {
mediaCaptionSkip: 5px;
mediaInBubbleSkip: 5px;
mediaThumbSize: 48px;
mediaNameTop: 3px;
mediaDetailsShift: 3px;
mediaUnreadSize: 7px;
mediaUnreadSkip: 5px;
mediaUnreadTop: 6px;
@ -177,7 +172,6 @@ defaultMessageBar: MessageBar {
}
minPhotoSize: 100px;
minVideoSize: 160px;
maxMediaSize: 430px;
maxStickerSize: 224px;
maxAnimatedEmojiSize: 112px;
@ -351,8 +345,6 @@ historyReceivedIcon: icon {{ "history_received", historyOutIconFg, point(2px, 4p
historyReceivedSelectedIcon: icon {{ "history_received", historyOutIconFgSelected, point(2px, 4px) }};
historyReceivedInvertedIcon: icon {{ "history_received", historyIconFgInverted, point(2px, 4px) }};
historyScheduledUntilOnlineStateSpace: 17px;
historyViewsSpace: 8px;
historyViewsWidth: 20px;
historyPinWidth: 24px;
@ -426,10 +418,6 @@ historyComposeButton: FlatButton {
color: historyComposeButtonBgRipple;
}
}
historyComposeButtonLabel: FlatLabel(defaultFlatLabel) {
textFg: windowActiveTextFg;
style: semiboldTextStyle;
}
historyUnblock: FlatButton(historyComposeButton) {
color: attentionButtonFg;
overColor: attentionButtonFgOver;
@ -502,17 +490,11 @@ historyMessagesTTLLabel: FlatLabel(defaultFlatLabel) {
textFg: windowSubTextFg;
}
historyAttachEmojiFgActive: windowBgActive;
historyAttachEmojiActive: icon {{ "chat/input_smile_face", historyAttachEmojiFgActive }};
historyAttachEmojiTooltipDelta: 4px;
historyAttachEmojiActive: icon {{ "chat/input_smile_face", windowBgActive }};
historyEmojiCircle: size(20px, 20px);
historyEmojiCirclePeriod: 1500;
historyEmojiCircleDuration: 500;
historyEmojiCircleTop: 13px;
historyEmojiCircleLine: 1.5;
historyEmojiCircleFg: historyComposeIconFg;
historyEmojiCircleFgOver: historyComposeIconFgOver;
historyEmojiCirclePart: 3.5;
historyBotKeyboardShow: IconButton(historyAttach) {
icon: icon {{ "chat/input_bot_keyboard", historyComposeIconFg }};
iconOver: icon {{ "chat/input_bot_keyboard", historyComposeIconFgOver }};
@ -617,8 +599,6 @@ historySilentToggleOnOver: icon {{ "chat/input_silent_on", historyComposeIconFgO
historyReplySkip: 51px;
historyReplyNameFg: windowActiveTextFg;
historyReplyHeight: 49px;
historyReplyTop: 8px;
historyReplyBottom: 6px;
historyReplyIconPosition: point(5px, 5px);
historyReplyIcon: icon {{ "chat/input_reply", historyReplyIconFg }};
historyForwardIcon: icon {{ "chat/input_forward", historyReplyIconFg }};
@ -655,8 +635,6 @@ topicButtonArrowSkip: 8px;
topicButtonArrowPosition: point(3px, 3px);
topicButtonArrow: icon{{ "dialogs/dialogs_topic_arrow", historyReplyIconFg }};
msgBotKbDuration: 200;
msgBotKbFont: semiboldFont;
msgBotKbIconPadding: 4px;
msgBotKbUrlIcon: icon {{ "inline_button_url", msgBotKbIconFg }};
msgBotKbSwitchPmIcon: icon {{ "inline_button_switch", msgBotKbIconFg }};
@ -820,15 +798,12 @@ attachPreviewThumbLayout: HistoryFileLayout {
thumbSkip: 10px;
}
msgFileMenuSize: size(36px, 36px);
msgFileMinWidth: 268px;
msgFileTopMinus: 6px;
msgFileOverDuration: 200;
msgFileRadialLine: 3px;
msgVideoSize: size(320px, 240px);
msgWaveformBar: 2px;
msgWaveformSkip: 1px;
msgWaveformMin: 3px;
@ -905,7 +880,6 @@ webPageTitleFont: semiboldFont;
webPageTitleStyle: semiboldTextStyle;
webPageDescriptionFont: normalFont;
webPageDescriptionStyle: defaultTextStyle;
webPagePhotoSize: 100px;
webPagePhotoDelta: 8px;
historyPollQuestionFont: semiboldFont;
@ -964,7 +938,6 @@ historyPollInChosenSelected: icon {{ "poll_select_check", historyFileInIconFgSel
historyViewButtonHeight: 42px;
historyViewButtonMargins: margins(13px, 5px, 13px, 5px);
historyViewButtonOutline: margins(2px, 2px, 2px, 2px);
historyViewButtonTextStyle: semiboldTextStyle;
historyCommentsButtonHeight: 40px;
@ -1273,4 +1246,4 @@ historyTranslateSettings: IconButton(defaultIconButton) {
rippleAreaSize: 38px;
ripple: defaultRippleAnimation;
}
historyTranslateMenuPosition: point(-6px, 40px);
historyTranslateMenuPosition: point(-6px, 40px);