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