Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 0 additions & 32 deletions Telegram/SourceFiles/boxes/boxes.style
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ boxPhotoTitlePosition: point(28px, 20px);
boxPhotoPadding: margins(28px, 28px, 28px, 18px);
boxPhotoCompressedSkip: 20px;
boxPhotoCaptionSkip: 8px;
boxPhotoCaptionReplyOverlap: 5px;

defaultChangeUserpicIcon: icon {{ "new_chat_photo", activeButtonFg }};
defaultUploadUserpicIcon: icon {{ "upload_chat_photo", msgDateImgFg }};
Expand Down Expand Up @@ -115,10 +114,8 @@ confirmInviteStatus: FlatLabel(confirmInviteAbout) {
}
confirmInviteAboutPadding: margins(36px, 4px, 36px, 10px);
confirmInviteAboutRequestsPadding: margins(36px, 9px, 36px, 15px);
confirmInviteTitleTop: 141px;
confirmInvitePhotoSize: 96px;
confirmInvitePhotoTop: 33px;
confirmInviteStatusTop: 164px;
confirmInviteUserHeight: 100px;
confirmInviteUserPhotoSize: 50px;
confirmInviteUserPhotoTop: 210px;
Expand Down Expand Up @@ -349,7 +346,6 @@ themeWarningHeight: 150px;
themeWarningTextTop: 60px;

aboutWidth: 390px;
aboutVersionTop: -3px;
aboutVersionLink: LinkButton(defaultLinkButton) {
color: windowSubTextFg;
overColor: windowSubTextFg;
Expand Down Expand Up @@ -386,7 +382,6 @@ connectionUserInputField: InputField(defaultInputField) {
}
connectionPasswordInputField: InputField(defaultInputField) {
}
connectionIPv6Skip: 11px;

autolockWidth: 256px;
autolockButton: Checkbox(defaultBoxCheckbox) {
Expand Down Expand Up @@ -529,7 +524,6 @@ colorResultInput: InputField(colorValueInput) {
changePhoneButton: RoundButton(defaultActiveButton) {
width: 256px;
}
changePhoneButtonPadding: margins(0px, 32px, 0px, 44px);
changePhoneTitle: FlatLabel(boxTitle) {
}
changePhoneTitlePadding: margins(0px, 8px, 0px, 8px);
Expand All @@ -550,18 +544,6 @@ changePhoneError: FlatLabel(changePhoneLabel) {

normalBoxLottieSize: size(120px, 120px);

adminLogFilterUserpicLeft: 15px;
adminLogFilterLittleSkip: 16px;
adminLogFilterCheckbox: Checkbox(defaultBoxCheckbox) {
style: TextStyle(boxTextStyle) {
font: font(boxFontSize semibold);
}
}
adminLogFilterSkip: 32px;
adminLogFilterUserCheckbox: Checkbox(defaultBoxCheckbox) {
margin: margins(8px, 6px, 8px, 6px);
checkPosition: point(8px, 6px);
}
rightsCheckbox: Checkbox(defaultCheckbox) {
textPosition: point(10px, 1px);
rippleBg: attentionButtonBgOver;
Expand All @@ -588,7 +570,6 @@ rightsButtonToggleWidth: 70px;
rightsDividerMargin: margins(0px, 0px, 0px, 20px);
rightsHeaderMargin: margins(22px, 13px, 22px, 7px);
rightsToggleMargin: margins(22px, 8px, 22px, 8px);
rightsAboutMargin: margins(22px, 8px, 22px, 8px);
rightsPhotoButton: UserpicButton(defaultUserpicButton) {
size: size(60px, 60px);
photoSize: 60px;
Expand Down Expand Up @@ -1001,8 +982,6 @@ contactsWithStories: PeerList(peerListBox) {
nameFgChecked: contactsNameFg;
}
}
storiesReadLineTwice: 2px;
storiesUnreadLineTwice: 4px;
requestsAcceptButton: RoundButton(defaultActiveButton) {
width: -28px;
height: 30px;
Expand Down Expand Up @@ -1087,7 +1066,6 @@ collectibleHeaderPadding: margins(24px, 16px, 24px, 12px);
collectibleOwnerPadding: margins(24px, 4px, 24px, 8px);
collectibleInfo: inviteForbiddenInfo;
collectibleInfoPadding: margins(24px, 12px, 24px, 12px);
collectibleInfoTonMargins: margins(0px, 3px, 0px, 0px);
collectibleMore: RoundButton(defaultActiveButton) {
height: 36px;
textTop: 9px;
Expand Down Expand Up @@ -1134,7 +1112,6 @@ moderateBoxDividerLabel: FlatLabel(boxDividerLabel) {
}

profileQrFont: font(fsize bold);
profileQrCenterSize: 34px;
profileQrBackgroundRadius: 12px;
profileQrIcon: icon{{ "qr_mini", windowActiveTextFg }};
profileQrBackgroundMargins: margins(36px, 12px, 36px, 12px);
Expand All @@ -1147,13 +1124,6 @@ foldersMenu: PopupMenu(popupMenuWithIcons) {
}
}

fakeUserpicButton: UserpicButton(defaultUserpicButton) {
size: size(1px, 1px);
photoSize: 1px;
changeIcon: icon {{ "settings/photo", transparent }};
uploadBg: transparent;
}

moderateCommonGroupsCheckbox: RoundImageCheckbox(defaultPeerListCheckbox) {
imageRadius: 12px;
imageSmallRadius: 11px;
Expand Down Expand Up @@ -1213,7 +1183,6 @@ createBotStatusLabel: FlatLabel(aboutRevokePublicLabel) {
maxHeight: 20px;
}

aiComposeBoxSectionSkip: 8px;
aiComposeBoxStyleTabsSkip: 8px;
aiComposeContentMargin: margins(16px, 0px, 16px, 0px);

Expand Down Expand Up @@ -1282,7 +1251,6 @@ aiComposeCardRadius: 22px;
aiComposeCardPadding: margins(12px, 16px, 16px, 16px);
aiComposeCardDivider: shadowFg;
aiComposeCardSectionSkip: 12px;
aiComposeCardTextSkip: 0px;
aiComposeCardControlSkip: 8px;
aiComposeCardTitle: FlatLabel(defaultSubsectionTitle) {
textFg: windowFg;
Expand Down
5 changes: 0 additions & 5 deletions Telegram/SourceFiles/boxes/polls.style
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ historyPollExplanationTitleSkip: 4px;
historyPollExplanationCloseSize: 20px;
historyPollExplanationCloseIconSize: 8px;
historyPollExplanationCloseStroke: 2px;
historyPollExplanationMediaMaxHeight: 300px;
historyPollExplanationMediaSkip: 6px;
historyPollChoiceRight: icon {{ "poll_choice_right", activeButtonFg }};
historyPollChoiceWrong: icon {{ "poll_choice_wrong", activeButtonFg }};
Expand All @@ -89,7 +88,6 @@ historyPollInChosen: icon {{ "poll_select_check", historyFileInIconFg }};
historyPollInChosenSelected: icon {{ "poll_select_check", historyFileInIconFgSelected }};

historyPollAddOptionTop: 3px;
historyPollAddOptionHeight: 32px;
historyPollAddOptionButtonSize: 26px;
historyPollAddOptionEmojiLeft: -4px;
historyPollAddOptionField: InputField(defaultInputField) {
Expand Down Expand Up @@ -127,9 +125,7 @@ historyPollAddOptionAttach: IconButton(defaultIconButton) {
ripple: defaultRippleAnimationBgOver;
}

pollBoxOutlinePollEmojiIcon: icon{{ "poll/general/outline_poll_emoji", activeButtonFg }};
pollBoxOutlinePollAddIcon: icon{{ "poll/general/outline_poll_add-18x18", activeButtonFg }};
pollBoxOutlinePollAttachIcon: icon{{ "poll/general/outline_poll_attach", activeButtonFg }};
pollBoxMenuPollOrderIcon: icon{{ "poll/general/menu_poll_order-24x24", historyComposeIconFg }};
pollBoxFilledPollDeadlineIcon: icon{{ "poll/filled/filled_poll_deadline", activeButtonFg }};
pollBoxFilledPollViewIcon: icon{{ "poll/filled/filled_poll_view", activeButtonFg }};
Expand All @@ -143,7 +139,6 @@ pollAttachTextSkip: 28px;
pollAttachProgressMargin: 4px;
pollAttachCancel: icon {{ "history_audio_cancel", historyFileThumbIconFg }};
pollAttachView: icon {{ "mediaview/views", historyFileThumbIconFg }};
pollAttachShift: point(-11px, -2px);

createPollField: InputField(defaultInputField) {
textMargins: margins(0px, 4px, 0px, 4px);
Expand Down
6 changes: 0 additions & 6 deletions Telegram/SourceFiles/calls/calls.style
Original file line number Diff line number Diff line change
Expand Up @@ -548,10 +548,6 @@ callTitle: WindowTitle(defaultWindowTitle) {
callTitleShadowRight: icon {{ "calls/calls_shadow_controls", windowShadowFg }};
callTitleShadowLeft: icon {{ "calls/calls_shadow_controls-flip_horizontal", windowShadowFg }};

callErrorToast: Toast(defaultToast) {
minWidth: 240px;
}

groupCallWidth: 380px;
groupCallHeight: 520px;
groupCallWidthRtmp: 720px;
Expand Down Expand Up @@ -1508,8 +1504,6 @@ groupCallAttentionBoxButton: RoundButton(groupCallBoxButton) {
groupCallRtmpUrlSkip: 1px;
groupCallRtmpKeySubsectionTitleSkip: 8px;
groupCallRtmpSubsectionTitleAddPadding: margins(0px, -1px, 0px, -4px);
groupCallRtmpShowButtonPosition: point(21px, -5px);
groupCallDividerBg: groupCallMembersBgRipple;

groupCallScheduleDateField: InputField(groupCallField) {
textMargins: margins(2px, 0px, 2px, 0px);
Expand Down
44 changes: 0 additions & 44 deletions Telegram/SourceFiles/chat_helpers/chat_helpers.style
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,6 @@ stickersAddCellBgRadius: 28px;

stickersEmojiPickerExpandedRadius: 20px;
stickersEmojiPickerBg: emojiPanBg;
stickersEmojiPickerShadow: windowShadowFg;
stickersEmojiPickerPadding: margins(12px, 8px, 12px, 0px);
stickersEmojiPickerItemSize: 30px;
stickersEmojiPickerItemSkip: 4px;
Expand All @@ -442,8 +441,6 @@ stickersEmojiPickerStripBubble: icon{
};
stickersEmojiPickerStripBubbleRight: 20px;
stickersEmojiPickerSelectedBg: windowBgActive;
stickersEmojiPickerSelectedFg: windowBgActive;
stickersEmojiPickerHeaderFg: windowSubTextFg;
stickersEmojiPickerScroll: ScrollArea(boxScroll) {
width: 14px;
deltax: 5px;
Expand All @@ -458,14 +455,6 @@ stickersEmojiPickerAbout: FlatLabel(defaultFlatLabel) {
font: font(12px);
}
}
stickersEmojiPickerSectionHeader: FlatLabel(defaultFlatLabel) {
minWidth: 10px;
align: align(topleft);
textFg: windowSubTextFg;
style: TextStyle(defaultTextStyle) {
font: font(12px semibold);
}
}
stickersEmojiPickerExpandIcon: icon {{ "intro_country_dropdown", windowSubTextFg }};
stickersEmojiPickerCollapseIcon: icon {{ "intro_country_dropdown-flip_vertical", windowSubTextFg }};
stickersEmojiPickerExpandSize: 24px;
Expand Down Expand Up @@ -976,10 +965,6 @@ historyComposeButton: FlatButton {
color: historyComposeButtonBgRipple;
}
}
historyComposeButtonText: FlatLabel(defaultFlatLabel) {
style: semiboldTextStyle;
textFg: windowActiveTextFg;
}
historyGiftToChannel: IconButton(defaultIconButton) {
width: 46px;
height: 46px;
Expand Down Expand Up @@ -1258,7 +1243,6 @@ historyAddMedia: IconButton(historyAttach) {
}

historyAttachEmojiActive: icon {{ "chat/input_smile_face", windowBgActive }};
historyEmojiCircle: size(20px, 20px);
historyEmojiCircleLine: 1.5;
historyEmojiCircleFg: historyComposeIconFg;
historyEmojiCircleFgOver: historyComposeIconFgOver;
Expand Down Expand Up @@ -1295,25 +1279,6 @@ historySuggestPostToggle: IconButton(historyAttach) {
historySuggestIconPosition: point(4px, 4px);
historySuggestIconActive: icon{{ "chat/input_paid", windowActiveTextFg }};

suggestOptionsPrice: InputField(defaultInputField) {
textBg: transparent;
textMargins: margins(2px, 20px, 2px, 0px);

placeholderFg: placeholderFg;
placeholderFgActive: placeholderFgActive;
placeholderFgError: placeholderFgActive;
placeholderMargins: margins(2px, 0px, 2px, 0px);
placeholderScale: 0.;
placeholderFont: normalFont;

border: 0px;
borderActive: 0px;

heightMin: 32px;

style: defaultTextStyle;
}

historyAttachEmojiInner: IconButton(historyAttach) {
icon: icon {{ "chat/input_smile_face", historyComposeIconFg }};
iconOver: icon {{ "chat/input_smile_face", historyComposeIconFgOver }};
Expand Down Expand Up @@ -1365,9 +1330,7 @@ historyRecordVoiceFgInactive: attentionButtonFg;
historyRecordVoiceFgActive: windowBgActive;
historyRecordVoiceFgActiveIcon: windowFgActive;
historyRecordVoiceOnceBg: icon {{ "voice_lock/audio_once_bg", historySendIconFg }};
historyRecordVoiceOnceBgOver: icon {{ "voice_lock/audio_once_bg", historySendIconFgOver }};
historyRecordVoiceOnceFg: icon {{ "voice_lock/audio_once_number", windowFgActive }};
historyRecordVoiceOnceFgOver: icon {{ "voice_lock/audio_once_number", windowFgActive }};
historyRecordVoiceOnceInactive: icon {{ "chat/audio_once", windowSubTextFg }};
historyRecordSendIconPosition: point(2px, 0px);
historyRecordVoiceRippleBgActive: lightButtonBgOver;
Expand All @@ -1377,7 +1340,6 @@ historyRecordCancelActive: historySendIconFg;
historyRecordFont: font(13px);
historyRecordDurationSkip: 12px;
historyRecordDurationFg: historyComposeAreaFg;
historyRecordTTLLineWidth: 2px;

historyRecordMainBlobMinRadius: 23px;
historyRecordMainBlobMaxRadius: 37px;
Expand Down Expand Up @@ -1422,7 +1384,6 @@ historyRecordDelete: IconButton(historyAttach) {
iconOver: icon {{ "voice_lock/recorded_delete", historyComposeIconFgOver }};
iconPosition: point(10px, 11px);
}
historyRecordWaveformRightSkip: 10px;
historyRecordWaveformBgMargins: margins(5px, 8px, 5px, 9px);
historyRecordWaveformBgRadius: 7px;
historyRecordWaveformOutsideAlpha: 0.6;
Expand All @@ -1434,16 +1395,12 @@ historyRecordCenterControlTextSkip: 2px;
historyRecordCenterControlMinimumProgressPadding: 5px;

historyRecordWaveformBar: 3px;
historyRecordTrimFrameRadius: 5px;
historyRecordTrimFrameBorder: 1px;
historyRecordTrimHandleWidth: 10px;
historyRecordTrimHandleInnerSize: size(2px, 8px);
historyRecordTrimHandleInnerSkip: 2px;

historyRecordLockPosition: point(1px, 22px);

historyRecordCancelButtonWidth: 100px;
historyRecordCancelButtonFg: lightButtonFg;

historyRecordTooltipSkip: 8px;
historyRecordTooltip: ImportantTooltip(defaultImportantTooltip) {
Expand Down Expand Up @@ -1522,7 +1479,6 @@ importantTooltipHide: IconButton(defaultIconButton) {
ripple: emptyRippleAnimation;
}
boxAiComposeButtonPosition: point(0px, -4px);
historyRecordFrameIndex: 30;

defaultComposeFilesMenu: IconButton(defaultIconButton) {
width: 48px;
Expand Down
3 changes: 0 additions & 3 deletions Telegram/SourceFiles/dialogs/dialogs.style
Original file line number Diff line number Diff line change
Expand Up @@ -531,9 +531,6 @@ dialogsSearchInMenu: PopupMenu(defaultPopupMenu) {
dialogsSearchInCheck: icon {{ "player/player_check", mediaPlayerActiveFg }};
dialogsSearchInCheckSkip: 8px;
dialogsSearchFromStyle: defaultTextStyle;
dialogsSearchFromPalette: TextPalette(defaultTextPalette) {
linkFg: dialogsNameFg;
}

dialogsScamPadding: margins(2px, 0px, 2px, 0px);
dialogsScamFont: font(9px semibold);
Expand Down
3 changes: 0 additions & 3 deletions Telegram/SourceFiles/editor/editor.style
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ photoEditorTextButtonPadding: margins(22px, 0px, 22px, 0px);
photoEditorButtonStyle: TextStyle(semiboldTextStyle) {
font: font(14px semibold);
}
photoEditorButtonTextTop: 15px;

photoEditorAbout: FlatLabel(defaultFlatLabel) {
textFg: mediaviewCaptionFg;
Expand Down Expand Up @@ -129,7 +128,6 @@ photoEditorColorButtonBorderFg: mediaviewCaptionFg;
photoEditorColorPaletteItemSize: 20px;
photoEditorColorPaletteGap: 6px;
photoEditorColorPaletteSelectionWidth: 2px;
photoEditorColorPaletteSelectionFg: mediaviewCaptionFg;
photoEditorColorPalettePlusLine: 2px;
photoEditorColorPalettePlusFg: mediaviewCaptionFg;

Expand All @@ -154,7 +152,6 @@ photoEditorBlurSizeMultiplier: 3.0;
photoEditorBlurPreviewOpacity: 0.25;
photoEditorBlurRadius: 20;

photoEditorBrushSizeControlLeftSkip: 0px;
photoEditorBrushSizeControlHeight: 280px;
photoEditorBrushSizeControlCollapsedWidth: 2px;
photoEditorBrushSizeControlExpandedTopWidth: 25px;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -185,10 +185,6 @@ giveawayRefundedPadding: margins(8px, 10px, 8px, 10px);
startGiveawayBox: Box(premiumGiftBox) {
shadowIgnoreTopSkip: true;
}
startGiveawayScrollArea: ScrollArea(boxScroll) {
deltax: 3px;
deltat: 50px;
}
startGiveawayBoxTitleClose: IconButton(boxTitleClose) {
ripple: universalRippleAnimation;
}
Expand All @@ -213,12 +209,6 @@ startGiveawayButtonLoading: InfiniteRadialAnimation(defaultInfiniteRadialAnimati
thickness: 2px;
}

starConvertButtonLoading: InfiniteRadialAnimation(startGiveawayButtonLoading) {
color: windowActiveTextFg;
thickness: 2px;
}

starGiftSmallButton: defaultTableSmallButton;
darkGiftCodeBox: Box(giveawayGiftCodeBox) {
bg: groupCallMembersBg;
title: FlatLabel(boxTitle) {
Expand Down Expand Up @@ -274,9 +264,6 @@ darkGiftTableMessage: FlatLabel(giveawayGiftMessage) {
textFg: groupCallMembersFg;
palette: darkGiftPalette;
}
darkGiftCodeLink: FlatLabel(giveawayGiftCodeLink) {
textFg: mediaviewMenuFg;
}
darkGiftBoxClose: IconButton(boxTitleClose) {
icon: icon {{ "box_button_close", groupCallMemberInactiveIcon }};
iconOver: icon {{ "box_button_close", groupCallMemberInactiveIcon }};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ using "ui/basic.style";
using "boxes/boxes.style";
using "statistics/statistics.style";

channelEarnLearnArrowMargins: margins(-2px, 5px, 0px, 0px);

channelEarnOverviewTitleSkip: 11px;
channelEarnOverviewMajorLabel: FlatLabel(defaultFlatLabel) {
maxHeight: 30px;
Expand Down Expand Up @@ -112,7 +110,6 @@ channelEarnBalanceMinorLabel: FlatLabel(channelEarnOverviewMinorLabel) {
}
}
channelEarnBalanceMinorLabelSkip: 6px;
channelEarnFadeDuration: 60;

channelEarnLearnDescription: FlatLabel(defaultFlatLabel) {
maxHeight: 0px;
Expand Down Expand Up @@ -152,4 +149,3 @@ botEarnButtonLock: IconEmoji {
icon: icon{{ "chat/mini_lock", premiumButtonFg }};
padding: margins(-2px, 4px, 0px, 0px);
}

Loading