mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
chore: revert some style changes
This commit is contained in:
@@ -10,8 +10,6 @@
|
||||
#include <latch>
|
||||
#include <QTimer>
|
||||
|
||||
#include <QtNetwork/QNetworkAccessManager>
|
||||
#include <QtNetwork/QNetworkReply>
|
||||
#include <QtCore/QJsonDocument>
|
||||
#include <QtCore/QJsonObject>
|
||||
|
||||
@@ -51,15 +49,12 @@
|
||||
#include "data/stickers/data_custom_emoji.h"
|
||||
#include "data/stickers/data_stickers.h"
|
||||
#include "lang/lang_keys.h"
|
||||
#include "lang/lang_text_entity.h"
|
||||
#include "main/main_domain.h"
|
||||
#include "styles/style_ayu_styles.h"
|
||||
#include "ui/text/text_utilities.h"
|
||||
#include "ui/text/text_entity.h"
|
||||
#include "ui/toast/toast.h"
|
||||
|
||||
#include "unicode/regex.h"
|
||||
|
||||
namespace {
|
||||
|
||||
constexpr auto usernameResolverBotId = 7424190611L;
|
||||
|
||||
@@ -735,7 +735,7 @@ createPollOptionRemove: CrossButton {
|
||||
crossFgOver: boxTitleCloseFgOver;
|
||||
crossPosition: point(0px, 0px);
|
||||
|
||||
duration: 135;
|
||||
duration: 150;
|
||||
loadingPeriod: 1000;
|
||||
ripple: defaultRippleAnimationBgOver;
|
||||
}
|
||||
@@ -782,7 +782,7 @@ backgroundCheck: ServiceCheck {
|
||||
large: 6px;
|
||||
stroke: 2px;
|
||||
color: msgServiceFg;
|
||||
duration: 180;
|
||||
duration: 200;
|
||||
}
|
||||
backgroundConfirmPadding: margins(24px, 16px, 24px, 16px);
|
||||
backgroundConfirm: RoundButton(defaultActiveButton) {
|
||||
|
||||
@@ -446,7 +446,7 @@ callDebugPadding: margins(24px, 0px, 24px, 0px);
|
||||
callDebugLabel: FlatLabel(defaultFlatLabel) {
|
||||
margin: callDebugPadding;
|
||||
}
|
||||
callPanelDuration: 135;
|
||||
callPanelDuration: 150;
|
||||
|
||||
callPanelSignalBars: CallSignalBars {
|
||||
width: 2px;
|
||||
@@ -1263,7 +1263,7 @@ groupCallSpeakerArcsAnimation: ArcsAnimation {
|
||||
fg: groupCallIconFg;
|
||||
stroke: 2px;
|
||||
space: 4px;
|
||||
duration: 180;
|
||||
duration: 200;
|
||||
deltaAngle: 60;
|
||||
deltaHeight: 6px;
|
||||
deltaWidth: 7px;
|
||||
|
||||
@@ -424,7 +424,7 @@ stickersScroll: ScrollArea(boxScroll) {
|
||||
deltab: 9px;
|
||||
}
|
||||
stickersRowDisabledOpacity: 0.4;
|
||||
stickersRowDuration: 180;
|
||||
stickersRowDuration: 200;
|
||||
|
||||
emojiStatusDefault: icon {{ "emoji/stickers_premium", emojiIconFg }};
|
||||
|
||||
@@ -445,10 +445,10 @@ emojiPanWidth: 345px;
|
||||
emojiPanMinHeight: 278px;
|
||||
emojiPanMaxHeight: 640px;
|
||||
emojiPanHeightRatio: 0.75;
|
||||
emojiPanShowDuration: 180;
|
||||
emojiPanDuration: 180;
|
||||
emojiPanShowDuration: 200;
|
||||
emojiPanDuration: 200;
|
||||
emojiPanHover: windowBgOver;
|
||||
emojiPanSlideDuration: 180;
|
||||
emojiPanSlideDuration: 200;
|
||||
emojiPanArea: size(34px, 32px);
|
||||
emojiPanRadius: 8px;
|
||||
emojiPanReactionsPreviewPadding: margins(10px, 20px, 10px, 20px);
|
||||
@@ -469,7 +469,7 @@ defaultTabbedSearchCancel: CrossButton {
|
||||
crossFgOver: menuIconFg;
|
||||
crossPosition: point(1px, 3px);
|
||||
|
||||
duration: 135;
|
||||
duration: 150;
|
||||
loadingPeriod: 1000;
|
||||
ripple: emptyRippleAnimation;
|
||||
}
|
||||
@@ -555,7 +555,7 @@ stickerPanRemoveSet: IconButton(hashtagClose) {
|
||||
rippleAreaPosition: point(0px, 0px);
|
||||
}
|
||||
stickerIconMove: 400;
|
||||
stickerPreviewDuration: 135;
|
||||
stickerPreviewDuration: 150;
|
||||
stickerPreviewMin: 0.1;
|
||||
|
||||
emojiPanColorAll: IconButton(stickerPanRemoveSet) {
|
||||
@@ -906,7 +906,7 @@ defaultMessageBar: MessageBar {
|
||||
text: defaultTextStyle;
|
||||
textFg: historyComposeAreaFg;
|
||||
textPalette: historyComposeAreaPalette;
|
||||
duration: 150;
|
||||
duration: 160;
|
||||
}
|
||||
|
||||
historyComposeButton: FlatButton {
|
||||
|
||||
@@ -145,7 +145,7 @@ forumDialogJumpRadius: 11px;
|
||||
dialogsOnlineBadgeStroke: 3px;
|
||||
dialogsOnlineBadgeSize: 12px;
|
||||
dialogsOnlineBadgeSkip: point(0px, 0px);
|
||||
dialogsOnlineBadgeDuration: 135;
|
||||
dialogsOnlineBadgeDuration: 150;
|
||||
|
||||
dialogsCallBadgeSize: 16px;
|
||||
dialogsCallBadgeSkip: point(-3px, -3px);
|
||||
|
||||
@@ -804,7 +804,7 @@ infoMembersCancelSearch: CrossButton {
|
||||
crossFgOver: menuIconFgOver;
|
||||
crossPosition: point(0px, 0px);
|
||||
|
||||
duration: 135;
|
||||
duration: 150;
|
||||
loadingPeriod: 1000;
|
||||
ripple: defaultRippleAnimationBgOver;
|
||||
}
|
||||
|
||||
@@ -81,8 +81,8 @@ introNextSlide: 200px;
|
||||
introStepHeight: 384px;
|
||||
introContentTopAdd: 30px;
|
||||
introStepHeightFull: 590px;
|
||||
introSlideDuration: 180;
|
||||
introCoverDuration: 180;
|
||||
introSlideDuration: 200;
|
||||
introCoverDuration: 200;
|
||||
|
||||
introNextButton: RoundButton(defaultActiveButton) {
|
||||
width: 300px;
|
||||
|
||||
@@ -82,7 +82,7 @@ mediaPlayerButton: MediaPlayerButton {
|
||||
color: lightButtonBgOver;
|
||||
}
|
||||
|
||||
duration: 180;
|
||||
duration: 200;
|
||||
}
|
||||
mediaPlayerWideWidth: 460px;
|
||||
mediaPlayerHeight: 35px;
|
||||
@@ -289,7 +289,7 @@ mediaPlayerPlayback: FilledSlider {
|
||||
activeFg: mediaPlayerActiveFg;
|
||||
inactiveFg: mediaPlayerInactiveFg;
|
||||
disabledFg: mediaPlayerDisabledFg;
|
||||
duration: 135;
|
||||
duration: 150;
|
||||
}
|
||||
|
||||
mediaPlayerPanelMarginLeft: 10px;
|
||||
|
||||
@@ -224,8 +224,8 @@ mediaviewIconOver: 36px;
|
||||
|
||||
mediaviewWaitHide: 2000;
|
||||
mediaviewHideDuration: 1000;
|
||||
mediaviewShowDuration: 180;
|
||||
mediaviewFadeDuration: 135;
|
||||
mediaviewShowDuration: 200;
|
||||
mediaviewFadeDuration: 150;
|
||||
|
||||
mediaviewDeltaFromLastAction: 5px;
|
||||
mediaviewSwipeDistance: 80px;
|
||||
|
||||
@@ -380,7 +380,7 @@ botKbTinyButton: BotKeyboardButton {
|
||||
botKbScroll: defaultSolidScroll;
|
||||
|
||||
historyScrollDateHideTimeout: 1000;
|
||||
historyDateFadeDuration: 180;
|
||||
historyDateFadeDuration: 200;
|
||||
historyDiceToast: Toast(defaultToast) {
|
||||
minWidth: msgMinWidth;
|
||||
maxWidth: 640px;
|
||||
@@ -512,7 +512,7 @@ attachPreviewThumbLayout: HistoryFileLayout {
|
||||
msgFileMinWidth: 268px;
|
||||
msgFileTopMinus: 6px;
|
||||
|
||||
msgFileOverDuration: 180;
|
||||
msgFileOverDuration: 200;
|
||||
msgFileRadialLine: 3px;
|
||||
|
||||
msgWaveformBar: 2px;
|
||||
@@ -568,12 +568,12 @@ historyAdminLogCancelSearch: CrossButton {
|
||||
crossFgOver: menuIconFgOver;
|
||||
crossPosition: point(6px, 11px);
|
||||
|
||||
duration: 135;
|
||||
duration: 150;
|
||||
loadingPeriod: 1000;
|
||||
ripple: defaultRippleAnimationBgOver;
|
||||
}
|
||||
historyAdminLogSearchTop: 11px;
|
||||
historyAdminLogSearchSlideDuration: 135;
|
||||
historyAdminLogSearchSlideDuration: 150;
|
||||
|
||||
historyFastShareSize: 31px;
|
||||
historyFastShareLeft: 13px;
|
||||
|
||||
@@ -133,7 +133,7 @@ premiumPreviewButtonLabel: FlatLabel(defaultFlatLabel) {
|
||||
textFg: premiumButtonFg;
|
||||
style: semiboldTextStyle;
|
||||
}
|
||||
premiumSlideDuration: 180;
|
||||
premiumSlideDuration: 200;
|
||||
premiumVideoStarSize: size(77px, 73px);
|
||||
|
||||
premiumPreviewHeight: 312px;
|
||||
|
||||
@@ -54,7 +54,7 @@ notifyWidth: 320px;
|
||||
notifyMinHeight: 80px;
|
||||
notifyDeltaX: 6px;
|
||||
notifyDeltaY: 7px;
|
||||
notifyActionsDuration: 180;
|
||||
notifyActionsDuration: 200;
|
||||
|
||||
notifyHideAllHeight: 36px;
|
||||
|
||||
@@ -188,7 +188,7 @@ connectingRetryLink: LinkButton(defaultLinkButton) {
|
||||
}
|
||||
connectingProxyOff: icon {{ "proxy_off", menuIconFg }};
|
||||
connectingProxyOn: icon {{ "proxy_on", windowBgActive }};
|
||||
connectingDuration: 135;
|
||||
connectingDuration: 150;
|
||||
|
||||
windowOutdatedDetails: FlatLabel(defaultFlatLabel) {
|
||||
align: align(top);
|
||||
|
||||
+1
-1
Submodule Telegram/lib_ui updated: 7f7c2518c0...75dd2c53cd
Reference in New Issue
Block a user