2017-04-19 20:25:48 +00:00
|
|
|
/*
|
|
|
|
This file is part of Telegram Desktop,
|
2018-01-03 10:23:14 +00:00
|
|
|
the official desktop application for the Telegram messaging service.
|
2017-04-19 20:25:48 +00:00
|
|
|
|
2018-01-03 10:23:14 +00:00
|
|
|
For license and copyright information please follow this link:
|
|
|
|
https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
2017-04-19 20:25:48 +00:00
|
|
|
*/
|
2019-09-17 16:13:12 +00:00
|
|
|
using "ui/basic.style";
|
2017-04-19 20:25:48 +00:00
|
|
|
|
|
|
|
using "ui/widgets/widgets.style";
|
2020-11-29 18:26:49 +00:00
|
|
|
using "ui/layers/layers.style";
|
2020-12-25 10:10:03 +00:00
|
|
|
using "ui/chat/chat.style"; // GroupCallUserpics
|
2017-04-27 19:04:45 +00:00
|
|
|
using "window/window.style";
|
2017-04-19 20:25:48 +00:00
|
|
|
|
2018-05-27 08:24:47 +00:00
|
|
|
CallSignalBars {
|
|
|
|
width: pixels;
|
|
|
|
radius: pixels;
|
|
|
|
skip: pixels;
|
2020-08-14 12:51:47 +00:00
|
|
|
min: pixels;
|
|
|
|
max: pixels;
|
2018-05-27 08:24:47 +00:00
|
|
|
color: color;
|
|
|
|
inactiveOpacity: double;
|
|
|
|
}
|
|
|
|
|
2020-08-14 06:27:38 +00:00
|
|
|
callWidthMin: 300px;
|
2020-08-07 13:28:41 +00:00
|
|
|
callHeightMin: 440px;
|
2020-08-07 14:33:34 +00:00
|
|
|
callWidth: 720px;
|
2020-08-07 13:28:41 +00:00
|
|
|
callHeight: 540px;
|
|
|
|
|
2020-08-14 08:32:05 +00:00
|
|
|
callBottomControlsHeight: 87px;
|
2020-08-07 13:28:41 +00:00
|
|
|
|
|
|
|
CallBodyLayout {
|
|
|
|
height: pixels;
|
|
|
|
photoTop: pixels;
|
|
|
|
photoSize: pixels;
|
|
|
|
nameTop: pixels;
|
|
|
|
statusTop: pixels;
|
2020-08-13 15:48:20 +00:00
|
|
|
muteStroke: pixels;
|
|
|
|
muteSize: pixels;
|
|
|
|
mutePosition: point;
|
2020-08-07 13:28:41 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
callBodyLayout: CallBodyLayout {
|
|
|
|
height: 284px;
|
|
|
|
photoTop: 21px;
|
2020-08-13 14:45:40 +00:00
|
|
|
photoSize: 160px;
|
2020-08-07 13:28:41 +00:00
|
|
|
nameTop: 221px;
|
|
|
|
statusTop: 254px;
|
2020-08-13 15:48:20 +00:00
|
|
|
muteStroke: 3px;
|
|
|
|
muteSize: 36px;
|
|
|
|
mutePosition: point(142px, 135px);
|
2020-08-07 13:28:41 +00:00
|
|
|
}
|
|
|
|
callBodyWithPreview: CallBodyLayout {
|
|
|
|
height: 185px;
|
|
|
|
photoTop: 21px;
|
|
|
|
photoSize: 100px;
|
|
|
|
nameTop: 132px;
|
|
|
|
statusTop: 163px;
|
2020-08-13 15:48:20 +00:00
|
|
|
muteStroke: 3px;
|
|
|
|
muteSize: 0px;
|
|
|
|
mutePosition: point(90px, 84px);
|
2020-08-07 13:28:41 +00:00
|
|
|
}
|
2020-11-25 14:09:59 +00:00
|
|
|
callMutedPeerIcon: icon {{ "calls/calls_mute_userpic", callIconFg }};
|
2020-08-07 13:28:41 +00:00
|
|
|
|
|
|
|
callOutgoingPreviewMin: size(360px, 120px);
|
|
|
|
callOutgoingPreview: size(540px, 180px); // default, for height == callHeight.
|
2020-08-13 11:16:39 +00:00
|
|
|
callOutgoingPreviewMax: size(1620px, 540px);
|
2020-08-04 09:06:48 +00:00
|
|
|
callOutgoingDefaultSize: size(160px, 110px);
|
|
|
|
|
2020-08-13 11:16:39 +00:00
|
|
|
callInnerPadding: 12px;
|
|
|
|
|
2020-08-14 12:51:47 +00:00
|
|
|
callFingerprintPadding: margins(10px, 4px, 8px, 5px);
|
|
|
|
callFingerprintSkip: 4px;
|
|
|
|
callFingerprintSignalBarsSkip: 2px;
|
|
|
|
callSignalBarsPadding: margins(8px, 9px, 11px, 5px);
|
|
|
|
|
|
|
|
callFingerprintTop: 8px;
|
2020-08-07 13:28:41 +00:00
|
|
|
callFingerprintBottom: -16px;
|
|
|
|
|
2020-11-25 14:09:59 +00:00
|
|
|
callTooltipMutedIcon: icon{{ "calls/calls_mute_tooltip", videoPlayIconFg }};
|
2020-08-14 10:54:15 +00:00
|
|
|
callTooltipMutedIconPosition: point(10px, 5px);
|
|
|
|
callTooltipPadding: margins(41px, 7px, 15px, 8px);
|
2020-08-14 08:32:05 +00:00
|
|
|
|
2017-04-19 20:25:48 +00:00
|
|
|
callButton: IconButton {
|
2020-08-14 06:27:38 +00:00
|
|
|
width: 68px;
|
2020-08-14 10:54:15 +00:00
|
|
|
height: 79px;
|
2017-04-19 20:25:48 +00:00
|
|
|
|
2020-08-14 10:54:15 +00:00
|
|
|
iconPosition: point(-1px, 16px);
|
2017-04-19 20:25:48 +00:00
|
|
|
|
2020-08-14 06:27:38 +00:00
|
|
|
rippleAreaPosition: point(12px, 12px);
|
2020-08-07 13:28:41 +00:00
|
|
|
rippleAreaSize: 44px;
|
2017-04-19 20:25:48 +00:00
|
|
|
ripple: defaultRippleAnimation;
|
|
|
|
}
|
2020-08-07 13:28:41 +00:00
|
|
|
callButtonLabel: FlatLabel(defaultFlatLabel) {
|
|
|
|
textFg: callNameFg;
|
2020-08-14 10:54:15 +00:00
|
|
|
style: TextStyle(defaultTextStyle) {
|
|
|
|
font: font(11px);
|
|
|
|
linkFont: font(11px);
|
|
|
|
linkFontOver: font(11px underline);
|
|
|
|
}
|
2020-08-07 13:28:41 +00:00
|
|
|
}
|
2017-04-19 20:25:48 +00:00
|
|
|
|
|
|
|
callAnswer: CallButton {
|
|
|
|
button: IconButton(callButton) {
|
2020-11-25 14:09:59 +00:00
|
|
|
icon: icon {{ "calls/call_answer", callIconFg }};
|
2017-04-19 20:25:48 +00:00
|
|
|
ripple: RippleAnimation(defaultRippleAnimation) {
|
|
|
|
color: callAnswerRipple;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
bg: callAnswerBg;
|
2020-11-28 12:00:06 +00:00
|
|
|
bgSize: 44px;
|
|
|
|
bgPosition: point(12px, 12px);
|
2017-05-05 10:14:40 +00:00
|
|
|
angle: 135.;
|
2017-05-07 19:09:20 +00:00
|
|
|
outerRadius: 12px;
|
|
|
|
outerBg: callAnswerBgOuter;
|
2020-08-07 13:28:41 +00:00
|
|
|
label: callButtonLabel;
|
2017-04-19 20:25:48 +00:00
|
|
|
}
|
2020-11-28 12:00:06 +00:00
|
|
|
callHangup: CallButton(callAnswer) {
|
2017-04-19 20:25:48 +00:00
|
|
|
button: IconButton(callButton) {
|
2020-11-25 14:09:59 +00:00
|
|
|
icon: icon {{ "calls/call_discard", callIconFg }};
|
2017-04-19 20:25:48 +00:00
|
|
|
ripple: RippleAnimation(defaultRippleAnimation) {
|
|
|
|
color: callHangupRipple;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
bg: callHangupBg;
|
2017-05-07 19:09:20 +00:00
|
|
|
outerBg: callHangupBg;
|
2020-08-07 13:28:41 +00:00
|
|
|
label: callButtonLabel;
|
2017-04-19 20:25:48 +00:00
|
|
|
}
|
2020-11-28 12:00:06 +00:00
|
|
|
callCancel: CallButton(callAnswer) {
|
2017-04-29 18:00:27 +00:00
|
|
|
button: IconButton(callButton) {
|
2020-11-25 14:09:59 +00:00
|
|
|
icon: icon {{ "calls/call_cancel", callIconFgActive }};
|
2017-04-29 18:00:27 +00:00
|
|
|
ripple: RippleAnimation(defaultRippleAnimation) {
|
2020-08-13 14:45:40 +00:00
|
|
|
color: callIconActiveRipple;
|
2017-04-29 18:00:27 +00:00
|
|
|
}
|
|
|
|
}
|
2020-08-13 14:45:40 +00:00
|
|
|
bg: callIconBgActive;
|
|
|
|
outerBg: callIconBgActive;
|
2020-08-07 13:28:41 +00:00
|
|
|
label: callButtonLabel;
|
2017-04-29 18:00:27 +00:00
|
|
|
}
|
2020-11-28 12:00:06 +00:00
|
|
|
callMicrophoneMute: CallButton(callAnswer) {
|
2020-08-07 13:28:41 +00:00
|
|
|
button: IconButton(callButton) {
|
2020-11-25 14:09:59 +00:00
|
|
|
icon: icon {{ "calls/call_record_active", callIconFg }};
|
2020-08-07 13:28:41 +00:00
|
|
|
ripple: RippleAnimation(defaultRippleAnimation) {
|
|
|
|
color: callMuteRipple;
|
|
|
|
}
|
2017-04-19 20:25:48 +00:00
|
|
|
}
|
2020-08-13 14:45:40 +00:00
|
|
|
bg: callIconBg;
|
2020-08-07 13:28:41 +00:00
|
|
|
outerBg: callMuteRipple;
|
|
|
|
label: callButtonLabel;
|
2017-04-19 20:25:48 +00:00
|
|
|
}
|
2020-08-13 14:45:40 +00:00
|
|
|
callMicrophoneUnmute: CallButton(callMicrophoneMute) {
|
|
|
|
button: IconButton(callButton) {
|
2020-11-25 14:09:59 +00:00
|
|
|
icon: icon {{ "calls/call_record_muted", callIconFgActive }};
|
2020-08-13 14:45:40 +00:00
|
|
|
ripple: RippleAnimation(defaultRippleAnimation) {
|
|
|
|
color: callIconActiveRipple;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
bg: callIconBgActive;
|
|
|
|
}
|
|
|
|
callCameraMute: CallButton(callMicrophoneMute) {
|
2020-08-07 13:28:41 +00:00
|
|
|
button: IconButton(callButton) {
|
2020-11-25 14:09:59 +00:00
|
|
|
icon: icon {{ "calls/call_camera_active", callIconFg }};
|
2020-08-07 13:28:41 +00:00
|
|
|
ripple: RippleAnimation(defaultRippleAnimation) {
|
|
|
|
color: callMuteRipple;
|
|
|
|
}
|
2020-07-16 16:23:55 +00:00
|
|
|
}
|
|
|
|
}
|
2020-08-13 14:45:40 +00:00
|
|
|
callCameraUnmute: CallButton(callMicrophoneUnmute) {
|
|
|
|
button: IconButton(callButton) {
|
2020-11-25 14:09:59 +00:00
|
|
|
icon: icon {{ "calls/call_camera_muted", callIconFgActive }};
|
2020-08-13 14:45:40 +00:00
|
|
|
ripple: RippleAnimation(defaultRippleAnimation) {
|
|
|
|
color: callIconActiveRipple;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-08-14 08:32:05 +00:00
|
|
|
callBottomShadowSize: 124px;
|
2017-04-19 20:25:48 +00:00
|
|
|
|
2021-04-26 09:21:01 +00:00
|
|
|
CallMuteButton {
|
|
|
|
active: CallButton;
|
|
|
|
muted: CallButton;
|
|
|
|
labelAdditional: pixels;
|
|
|
|
sublabel: FlatLabel;
|
|
|
|
labelsSkip: pixels;
|
|
|
|
sublabelSkip: pixels;
|
|
|
|
lottieSize: size;
|
|
|
|
lottieTop: pixels;
|
|
|
|
}
|
|
|
|
|
|
|
|
callMuteButtonLabel: FlatLabel(defaultFlatLabel) {
|
|
|
|
textFg: groupCallMembersFg;
|
|
|
|
style: TextStyle(defaultTextStyle) {
|
|
|
|
font: font(14px);
|
|
|
|
linkFont: font(14px);
|
|
|
|
linkFontOver: font(14px underline);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
callMuteButtonActiveInner: IconButton {
|
2021-05-21 13:15:45 +00:00
|
|
|
width: 112px;
|
|
|
|
height: 138px;
|
2021-04-26 09:21:01 +00:00
|
|
|
}
|
|
|
|
callMuteButtonSmallActiveInner: IconButton {
|
|
|
|
width: 68px;
|
2021-05-21 14:27:30 +00:00
|
|
|
height: 68px;
|
2021-04-26 09:21:01 +00:00
|
|
|
}
|
|
|
|
callMuteButtonActive: CallButton {
|
|
|
|
button: callMuteButtonActiveInner;
|
|
|
|
bg: groupCallLive1;
|
2021-05-21 13:15:45 +00:00
|
|
|
bgSize: 77px;
|
2021-04-26 09:21:01 +00:00
|
|
|
bgPosition: point(18px, 18px);
|
|
|
|
outerRadius: 18px;
|
|
|
|
outerBg: callAnswerBgOuter;
|
|
|
|
label: callMuteButtonLabel;
|
|
|
|
}
|
|
|
|
callMuteButton: CallMuteButton {
|
|
|
|
active: callMuteButtonActive;
|
|
|
|
muted: CallButton(callMuteButtonActive) {
|
|
|
|
bg: groupCallMuted1;
|
|
|
|
label: callMuteButtonLabel;
|
|
|
|
}
|
|
|
|
labelAdditional: 5px;
|
|
|
|
sublabel: FlatLabel(defaultFlatLabel) {
|
|
|
|
textFg: groupCallMemberNotJoinedStatus;
|
|
|
|
}
|
2021-05-21 13:15:45 +00:00
|
|
|
labelsSkip: 8px;
|
|
|
|
sublabelSkip: 14px;
|
|
|
|
lottieSize: size(54px, 54px);
|
|
|
|
lottieTop: 31px;
|
2021-04-26 09:21:01 +00:00
|
|
|
}
|
|
|
|
callMuteButtonSmallActive: CallButton(callMuteButtonActive) {
|
|
|
|
button: callMuteButtonSmallActiveInner;
|
2021-05-21 14:27:30 +00:00
|
|
|
bgSize: 42px;
|
|
|
|
bgPosition: point(13px, 13px);
|
|
|
|
outerRadius: 13px;
|
2021-04-26 09:21:01 +00:00
|
|
|
label: callButtonLabel;
|
|
|
|
}
|
|
|
|
callMuteButtonSmall: CallMuteButton(callMuteButton) {
|
|
|
|
active: callMuteButtonSmallActive;
|
|
|
|
muted: CallButton(callMuteButtonSmallActive) {
|
|
|
|
bg: groupCallMuted1;
|
|
|
|
label: callButtonLabel;
|
|
|
|
}
|
|
|
|
labelsSkip: 0px;
|
|
|
|
sublabelSkip: 0px;
|
|
|
|
lottieSize: size(36px, 36px);
|
|
|
|
lottieTop: 17px;
|
|
|
|
}
|
|
|
|
|
|
|
|
callMuteMinorBlobMinRadius: 64px;
|
|
|
|
callMuteMinorBlobMaxRadius: 74px;
|
|
|
|
callMuteMajorBlobMinRadius: 67px;
|
|
|
|
callMuteMajorBlobMaxRadius: 77px;
|
|
|
|
callMuteBlobRadiusForDiameter: 100px;
|
|
|
|
|
|
|
|
callConnectingRadial: InfiniteRadialAnimation(defaultInfiniteRadialAnimation) {
|
|
|
|
color: lightButtonFg;
|
|
|
|
thickness: 4px;
|
|
|
|
}
|
|
|
|
|
2017-04-25 16:45:41 +00:00
|
|
|
callName: FlatLabel(defaultFlatLabel) {
|
2017-11-10 15:45:10 +00:00
|
|
|
minWidth: 260px;
|
2017-05-04 12:29:32 +00:00
|
|
|
maxHeight: 30px;
|
2017-04-25 16:45:41 +00:00
|
|
|
textFg: callNameFg;
|
|
|
|
align: align(top);
|
|
|
|
style: TextStyle(defaultTextStyle) {
|
|
|
|
font: font(21px semibold);
|
|
|
|
linkFont: font(21px semibold);
|
|
|
|
linkFontOver: font(21px semibold underline);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
callStatus: FlatLabel(defaultFlatLabel) {
|
2017-11-10 15:45:10 +00:00
|
|
|
minWidth: 260px;
|
2017-04-25 16:45:41 +00:00
|
|
|
maxHeight: 20px;
|
|
|
|
textFg: callStatusFg;
|
|
|
|
align: align(top);
|
|
|
|
style: TextStyle(defaultTextStyle) {
|
|
|
|
font: font(14px);
|
|
|
|
linkFont: font(14px);
|
|
|
|
linkFontOver: font(14px underline);
|
|
|
|
}
|
|
|
|
}
|
2020-08-14 08:32:05 +00:00
|
|
|
callRemoteAudioMute: FlatLabel(callStatus) {
|
|
|
|
minWidth: 0px;
|
2020-08-14 10:54:15 +00:00
|
|
|
textFg: videoPlayIconFg;
|
|
|
|
style: TextStyle(defaultTextStyle) {
|
|
|
|
font: font(12px);
|
|
|
|
linkFont: font(12px);
|
|
|
|
linkFontOver: font(12px underline);
|
|
|
|
}
|
2020-08-14 08:32:05 +00:00
|
|
|
}
|
|
|
|
callRemoteAudioMuteSkip: 12px;
|
2017-04-25 16:45:41 +00:00
|
|
|
|
2017-04-25 20:36:04 +00:00
|
|
|
callBarHeight: 38px;
|
|
|
|
callBarMuteToggle: IconButton {
|
|
|
|
width: 41px;
|
|
|
|
height: 38px;
|
|
|
|
|
2020-11-25 14:09:59 +00:00
|
|
|
icon: icon {{ "calls/call_record_active", callBarFg }};
|
2020-07-16 16:23:55 +00:00
|
|
|
iconPosition: point(3px, 2px);
|
2017-04-25 20:36:04 +00:00
|
|
|
|
|
|
|
ripple: RippleAnimation(defaultRippleAnimation) {
|
|
|
|
color: callBarMuteRipple;
|
|
|
|
}
|
|
|
|
rippleAreaPosition: point(5px, 3px);
|
|
|
|
rippleAreaSize: 32px;
|
|
|
|
}
|
2020-11-25 14:09:59 +00:00
|
|
|
callBarUnmuteIcon: icon {{ "calls/call_record_muted", callBarFg }};
|
2017-04-25 20:36:04 +00:00
|
|
|
callBarRightSkip: 12px;
|
|
|
|
callBarSkip: 10px;
|
|
|
|
callBarHangup: IconButton(callBarMuteToggle) {
|
2020-11-25 14:09:59 +00:00
|
|
|
icon: icon {{ "calls/call_discard", callBarFg }};
|
2020-07-16 16:23:55 +00:00
|
|
|
iconPosition: point(3px, 1px);
|
2017-04-25 20:36:04 +00:00
|
|
|
}
|
|
|
|
callBarLabel: LabelSimple(defaultLabelSimple) {
|
|
|
|
font: semiboldFont;
|
|
|
|
textFg: callBarFg;
|
|
|
|
}
|
2017-05-14 19:44:50 +00:00
|
|
|
callBarInfoLabel: FlatLabel(defaultFlatLabel) {
|
|
|
|
maxHeight: 28px;
|
|
|
|
align: align(top);
|
|
|
|
textFg: callBarFg;
|
|
|
|
style: TextStyle(defaultTextStyle) {
|
|
|
|
font: semiboldFont;
|
|
|
|
}
|
|
|
|
}
|
2017-04-25 20:36:04 +00:00
|
|
|
callBarLabelTop: 10px;
|
2017-04-27 19:04:45 +00:00
|
|
|
|
|
|
|
callArrowPosition: point(-2px, 1px);
|
2020-11-25 14:09:59 +00:00
|
|
|
callArrowIn: icon {{ "calls/call_arrow_in", callArrowFg }};
|
|
|
|
callArrowOut: icon {{ "calls/call_arrow_out", callArrowFg }};
|
|
|
|
callArrowMissed: icon {{ "calls/call_arrow_in", callArrowMissedFg }};
|
2017-04-27 19:04:45 +00:00
|
|
|
callArrowSkip: 4px;
|
|
|
|
callReDial: IconButton {
|
|
|
|
width: 40px;
|
|
|
|
height: 56px;
|
|
|
|
|
2020-11-25 14:09:59 +00:00
|
|
|
icon: icon {{ "calls/call_answer", menuIconFg }};
|
|
|
|
iconOver: icon {{ "calls/call_answer", menuIconFgOver }};
|
2017-04-27 19:04:45 +00:00
|
|
|
iconPosition: point(-1px, -1px);
|
|
|
|
|
|
|
|
ripple: defaultRippleAnimation;
|
2017-04-28 12:54:40 +00:00
|
|
|
rippleAreaPosition: point(0px, 8px);
|
|
|
|
rippleAreaSize: 40px;
|
2017-04-27 19:04:45 +00:00
|
|
|
}
|
2017-05-02 11:56:39 +00:00
|
|
|
|
2020-08-15 12:30:21 +00:00
|
|
|
callCameraReDial: IconButton(callReDial) {
|
2020-11-25 14:09:59 +00:00
|
|
|
icon: icon {{ "calls/call_camera_active", menuIconFg }};
|
|
|
|
iconOver: icon {{ "calls/call_camera_active", menuIconFgOver }};
|
2020-08-15 12:30:21 +00:00
|
|
|
}
|
|
|
|
|
2017-05-10 08:01:34 +00:00
|
|
|
callRatingPadding: margins(24px, 12px, 24px, 0px);
|
2017-05-02 11:56:39 +00:00
|
|
|
callRatingStar: IconButton {
|
|
|
|
width: 36px;
|
|
|
|
height: 36px;
|
|
|
|
|
2020-11-25 14:09:59 +00:00
|
|
|
icon: icon {{ "calls/call_rating", windowSubTextFg }};
|
2017-05-02 11:56:39 +00:00
|
|
|
iconPosition: point(-1px, -1px);
|
|
|
|
|
|
|
|
ripple: RippleAnimation(defaultRippleAnimation) {
|
|
|
|
color: windowBgOver;
|
|
|
|
}
|
|
|
|
rippleAreaPosition: point(0px, 0px);
|
|
|
|
rippleAreaSize: 36px;
|
|
|
|
}
|
2020-11-25 14:09:59 +00:00
|
|
|
callRatingStarFilled: icon {{ "calls/call_rating_filled", lightButtonFg }};
|
2017-05-09 19:33:50 +00:00
|
|
|
callRatingStarTop: 4px;
|
2017-05-02 11:56:39 +00:00
|
|
|
callRatingComment: InputField(defaultInputField) {
|
|
|
|
textMargins: margins(1px, 26px, 1px, 4px);
|
|
|
|
heightMax: 135px;
|
|
|
|
}
|
2017-05-09 19:33:50 +00:00
|
|
|
callRatingCommentTop: 8px;
|
2017-05-04 12:28:37 +00:00
|
|
|
|
2017-09-20 19:44:22 +00:00
|
|
|
callDebugPadding: margins(24px, 0px, 24px, 0px);
|
2017-05-04 12:28:37 +00:00
|
|
|
callDebugLabel: FlatLabel(defaultFlatLabel) {
|
2017-09-20 19:44:22 +00:00
|
|
|
margin: callDebugPadding;
|
2017-05-04 12:28:37 +00:00
|
|
|
}
|
2017-05-05 10:14:40 +00:00
|
|
|
callPanelDuration: 150;
|
2018-05-27 08:24:47 +00:00
|
|
|
|
|
|
|
callPanelSignalBars: CallSignalBars {
|
2020-08-14 12:51:47 +00:00
|
|
|
width: 2px;
|
2018-05-27 08:24:47 +00:00
|
|
|
radius: 1px;
|
2020-08-14 12:51:47 +00:00
|
|
|
skip: 2px;
|
|
|
|
min: 4px;
|
|
|
|
max: 10px;
|
2018-05-27 08:24:47 +00:00
|
|
|
color: callNameFg;
|
|
|
|
inactiveOpacity: 0.5;
|
|
|
|
}
|
|
|
|
callBarSignalBars: CallSignalBars(callPanelSignalBars) {
|
2020-08-14 12:51:47 +00:00
|
|
|
width: 3px;
|
|
|
|
skip: 1px;
|
|
|
|
min: 3px;
|
|
|
|
max: 12px;
|
2018-05-27 08:24:47 +00:00
|
|
|
color: callBarFg;
|
|
|
|
}
|
2020-08-12 13:35:31 +00:00
|
|
|
|
2020-08-13 13:58:54 +00:00
|
|
|
callTitleButton: IconButton {
|
|
|
|
width: 34px;
|
|
|
|
height: 30px;
|
|
|
|
iconPosition: point(0px, 0px);
|
|
|
|
}
|
|
|
|
callTitleMinimizeIcon: icon {
|
2020-11-25 14:09:59 +00:00
|
|
|
{ "calls/calls_minimize_shadow", windowShadowFg },
|
|
|
|
{ "calls/calls_minimize_main", callNameFg },
|
2020-08-13 13:58:54 +00:00
|
|
|
};
|
|
|
|
callTitleMinimizeIconOver: icon {
|
|
|
|
{ size(34px, 30px), callBgButton },
|
|
|
|
{ size(34px, 30px), callMuteRipple },
|
2020-11-25 14:09:59 +00:00
|
|
|
{ "calls/calls_minimize_shadow", windowShadowFg },
|
|
|
|
{ "calls/calls_minimize_main", callNameFg },
|
2020-08-13 13:58:54 +00:00
|
|
|
};
|
|
|
|
callTitleMaximizeIcon: icon {
|
2020-11-25 14:09:59 +00:00
|
|
|
{ "calls/calls_maximize_shadow", windowShadowFg },
|
|
|
|
{ "calls/calls_maximize_main", callNameFg },
|
2020-08-13 13:58:54 +00:00
|
|
|
};
|
|
|
|
callTitleMaximizeIconOver: icon {
|
|
|
|
{ size(34px, 30px), callBgButton },
|
|
|
|
{ size(34px, 30px), callMuteRipple },
|
2020-11-25 14:09:59 +00:00
|
|
|
{ "calls/calls_maximize_shadow", windowShadowFg },
|
|
|
|
{ "calls/calls_maximize_main", callNameFg },
|
2020-08-13 13:58:54 +00:00
|
|
|
};
|
|
|
|
callTitleRestoreIcon: icon {
|
2020-11-25 14:09:59 +00:00
|
|
|
{ "calls/calls_restore_shadow", windowShadowFg },
|
|
|
|
{ "calls/calls_restore_main", callNameFg },
|
2020-08-13 13:58:54 +00:00
|
|
|
};
|
|
|
|
callTitleRestoreIconOver: icon {
|
|
|
|
{ size(34px, 30px), callBgButton },
|
|
|
|
{ size(34px, 30px), callMuteRipple },
|
2020-11-25 14:09:59 +00:00
|
|
|
{ "calls/calls_restore_shadow", windowShadowFg },
|
|
|
|
{ "calls/calls_restore_main", callNameFg },
|
2020-08-13 13:58:54 +00:00
|
|
|
};
|
|
|
|
callTitleCloseIcon: icon {
|
2020-11-25 14:09:59 +00:00
|
|
|
{ "calls/calls_close_shadow", windowShadowFg },
|
|
|
|
{ "calls/calls_close_main", callNameFg },
|
2020-08-13 13:58:54 +00:00
|
|
|
};
|
|
|
|
callTitleCloseIconOver: icon {
|
|
|
|
{ size(34px, 30px), titleButtonCloseBgOver },
|
2020-11-25 14:09:59 +00:00
|
|
|
{ "calls/calls_close_shadow", windowShadowFg },
|
|
|
|
{ "calls/calls_close_main", titleButtonCloseFgOver },
|
2020-08-13 13:58:54 +00:00
|
|
|
};
|
2020-08-12 13:35:31 +00:00
|
|
|
callTitle: WindowTitle(defaultWindowTitle) {
|
2020-08-12 16:58:05 +00:00
|
|
|
height: 0px;
|
2020-08-12 13:35:31 +00:00
|
|
|
bg: callBgOpaque;
|
|
|
|
bgActive: callBgOpaque;
|
|
|
|
fg: transparent;
|
|
|
|
fgActive: transparent;
|
2020-08-13 13:58:54 +00:00
|
|
|
minimize: IconButton(callTitleButton) {
|
|
|
|
icon: callTitleMinimizeIcon;
|
|
|
|
iconOver: callTitleMinimizeIconOver;
|
2020-08-12 13:35:31 +00:00
|
|
|
}
|
2020-08-13 13:58:54 +00:00
|
|
|
minimizeIconActive: callTitleMinimizeIcon;
|
|
|
|
minimizeIconActiveOver: callTitleMinimizeIconOver;
|
|
|
|
maximize: IconButton(callTitleButton) {
|
|
|
|
icon: callTitleMaximizeIcon;
|
|
|
|
iconOver: callTitleMaximizeIconOver;
|
2020-08-12 13:35:31 +00:00
|
|
|
}
|
2020-08-13 13:58:54 +00:00
|
|
|
maximizeIconActive: callTitleMaximizeIcon;
|
|
|
|
maximizeIconActiveOver: callTitleMaximizeIconOver;
|
|
|
|
restoreIcon: callTitleRestoreIcon;
|
|
|
|
restoreIconOver: callTitleRestoreIconOver;
|
|
|
|
restoreIconActive: callTitleRestoreIcon;
|
|
|
|
restoreIconActiveOver: callTitleRestoreIconOver;
|
|
|
|
close: IconButton(callTitleButton) {
|
|
|
|
icon: callTitleCloseIcon;
|
|
|
|
iconOver: callTitleCloseIconOver;
|
2020-08-12 13:35:31 +00:00
|
|
|
}
|
2020-08-13 13:58:54 +00:00
|
|
|
closeIconActive: callTitleCloseIcon;
|
|
|
|
closeIconActiveOver: callTitleCloseIconOver;
|
2020-08-12 13:35:31 +00:00
|
|
|
}
|
2021-06-10 13:16:17 +00:00
|
|
|
callTitleShadowRight: icon {{ "calls/calls_shadow_controls", windowShadowFg }};
|
|
|
|
callTitleShadowLeft: icon {{ "calls/calls_shadow_controls-flip_horizontal", windowShadowFg }};
|
2020-08-21 12:34:37 +00:00
|
|
|
|
|
|
|
callErrorToast: Toast(defaultToast) {
|
|
|
|
minWidth: 240px;
|
|
|
|
}
|
2020-11-24 12:54:20 +00:00
|
|
|
|
|
|
|
groupCallWidth: 380px;
|
|
|
|
groupCallHeight: 580px;
|
2020-11-25 14:09:59 +00:00
|
|
|
|
|
|
|
groupCallRipple: RippleAnimation(defaultRippleAnimation) {
|
2020-11-30 08:00:25 +00:00
|
|
|
color: groupCallMembersBgRipple;
|
2020-11-25 14:09:59 +00:00
|
|
|
}
|
2020-11-30 11:31:32 +00:00
|
|
|
|
|
|
|
groupCallMenu: Menu(defaultMenu) {
|
2020-11-30 12:11:24 +00:00
|
|
|
itemBg: groupCallMenuBg;
|
|
|
|
itemBgOver: groupCallMenuBgOver;
|
2020-11-30 11:31:32 +00:00
|
|
|
itemFg: groupCallMembersFg;
|
|
|
|
itemFgOver: groupCallMembersFg;
|
|
|
|
itemFgDisabled: groupCallMemberNotJoinedStatus;
|
|
|
|
itemFgShortcut: groupCallMemberNotJoinedStatus;
|
|
|
|
itemFgShortcutOver: groupCallMemberNotJoinedStatus;
|
|
|
|
itemFgShortcutDisabled: groupCallMemberNotJoinedStatus;
|
|
|
|
|
2021-03-10 12:29:09 +00:00
|
|
|
separatorFg: groupCallMenuBgOver;
|
2021-06-17 12:22:51 +00:00
|
|
|
separatorPadding: margins(0px, 4px, 0px, 4px);
|
2020-11-30 11:31:32 +00:00
|
|
|
|
|
|
|
arrow: icon {{ "dropdown_submenu_arrow", groupCallMemberNotJoinedStatus }};
|
|
|
|
|
2020-11-30 12:11:24 +00:00
|
|
|
ripple: RippleAnimation(defaultRippleAnimation) {
|
|
|
|
color: groupCallMenuBgRipple;
|
|
|
|
}
|
2020-11-30 11:31:32 +00:00
|
|
|
}
|
2021-03-10 13:51:16 +00:00
|
|
|
groupCallFinishMenu: Menu(groupCallMenu) {
|
|
|
|
itemFg: groupCallMemberMutedIcon;
|
|
|
|
itemFgOver: groupCallMemberMutedIcon;
|
|
|
|
}
|
2020-11-30 11:31:32 +00:00
|
|
|
groupCallMenuShadow: Shadow(defaultEmptyShadow) {
|
2020-11-30 12:11:24 +00:00
|
|
|
fallback: groupCallMenuBg;
|
2020-11-30 11:31:32 +00:00
|
|
|
}
|
|
|
|
groupCallPanelAnimation: PanelAnimation(defaultPanelAnimation) {
|
2020-11-30 12:11:24 +00:00
|
|
|
fadeBg: groupCallMenuBg;
|
2020-11-30 11:31:32 +00:00
|
|
|
shadow: groupCallMenuShadow;
|
|
|
|
}
|
|
|
|
groupCallPopupMenu: PopupMenu(defaultPopupMenu) {
|
|
|
|
shadow: groupCallMenuShadow;
|
|
|
|
menu: groupCallMenu;
|
|
|
|
animation: groupCallPanelAnimation;
|
|
|
|
}
|
2021-06-17 12:22:51 +00:00
|
|
|
groupCallPopupMenuWithVolume: PopupMenu(groupCallPopupMenu) {
|
|
|
|
scrollPadding: margins(0px, 3px, 0px, 8px);
|
|
|
|
menu: Menu(groupCallMenu) {
|
|
|
|
widthMin: 210px;
|
|
|
|
}
|
|
|
|
}
|
2020-11-30 11:31:32 +00:00
|
|
|
|
2021-03-10 13:51:16 +00:00
|
|
|
groupCallRecordingTimerPadding: margins(0px, 4px, 0px, 4px);
|
|
|
|
groupCallRecordingTimerFont: font(12px);
|
|
|
|
|
2021-03-09 15:13:48 +00:00
|
|
|
groupCallInnerDropdown: InnerDropdown(defaultInnerDropdown) {
|
|
|
|
shadow: groupCallMenuShadow;
|
|
|
|
animation: groupCallPanelAnimation;
|
|
|
|
bg: groupCallMenuBg;
|
|
|
|
scroll: defaultSolidScroll;
|
2021-03-10 14:46:16 +00:00
|
|
|
scrollPadding: margins(0px, 4px, 0px, 4px);
|
2021-03-09 15:13:48 +00:00
|
|
|
}
|
|
|
|
groupCallDropdownMenu: DropdownMenu(defaultDropdownMenu) {
|
|
|
|
wrap: groupCallInnerDropdown;
|
|
|
|
menu: groupCallMenu;
|
|
|
|
}
|
2021-03-10 11:55:00 +00:00
|
|
|
groupCallMembersListCheck: RoundCheckbox(defaultPeerListCheck) {
|
|
|
|
border: groupCallMembersBg;
|
|
|
|
bgActive: groupCallActiveFg;
|
|
|
|
check: icon {{ "default_checkbox_check", groupCallMembersFg, point(3px, 6px) }};
|
|
|
|
}
|
|
|
|
groupCallMembersListCheckbox: RoundImageCheckbox(defaultPeerListCheckbox) {
|
|
|
|
selectFg: groupCallActiveFg;
|
|
|
|
check: groupCallMembersListCheck;
|
|
|
|
}
|
2020-11-29 18:26:49 +00:00
|
|
|
groupCallMembersListItem: PeerListItem(defaultPeerListItem) {
|
|
|
|
button: OutlineButton(defaultPeerListButton) {
|
|
|
|
textBg: groupCallMembersBg;
|
2020-11-30 08:00:25 +00:00
|
|
|
textBgOver: groupCallMembersBgOver;
|
2020-11-25 14:09:59 +00:00
|
|
|
|
2020-11-29 18:26:49 +00:00
|
|
|
textFg: groupCallMemberInactiveStatus;
|
|
|
|
textFgOver: groupCallMemberInactiveStatus;
|
2020-11-25 14:09:59 +00:00
|
|
|
|
2020-11-29 18:26:49 +00:00
|
|
|
font: normalFont;
|
|
|
|
padding: margins(11px, 5px, 11px, 5px);
|
2020-11-25 14:09:59 +00:00
|
|
|
|
2020-11-29 18:26:49 +00:00
|
|
|
ripple: groupCallRipple;
|
|
|
|
}
|
|
|
|
disabledCheckFg: groupCallMemberNotJoinedStatus;
|
2021-03-10 11:55:00 +00:00
|
|
|
checkbox: groupCallMembersListCheckbox;
|
2020-11-29 18:26:49 +00:00
|
|
|
height: 52px;
|
|
|
|
photoPosition: point(12px, 6px);
|
2020-12-16 15:31:16 +00:00
|
|
|
namePosition: point(63px, 7px);
|
|
|
|
statusPosition: point(63px, 26px);
|
2020-11-29 18:26:49 +00:00
|
|
|
photoSize: 40px;
|
|
|
|
nameFg: groupCallMembersFg;
|
|
|
|
nameFgChecked: groupCallMembersFg;
|
|
|
|
statusFg: groupCallMemberInactiveStatus;
|
|
|
|
statusFgOver: groupCallMemberInactiveStatus;
|
|
|
|
statusFgActive: groupCallMemberActiveStatus;
|
|
|
|
}
|
2021-05-14 17:32:43 +00:00
|
|
|
groupCallNarrowMembersListItem: PeerListItem(groupCallMembersListItem) {
|
|
|
|
statusFg: groupCallMemberNotJoinedStatus;
|
|
|
|
statusFgOver: groupCallMemberNotJoinedStatus;
|
|
|
|
statusFgActive: groupCallMemberActiveStatus;
|
|
|
|
}
|
2020-11-29 18:26:49 +00:00
|
|
|
groupCallMembersList: PeerList(defaultPeerList) {
|
|
|
|
bg: groupCallMembersBg;
|
|
|
|
about: FlatLabel(defaultPeerListAbout) {
|
2020-12-21 19:43:23 +00:00
|
|
|
textFg: groupCallMemberNotJoinedStatus;
|
2020-11-29 18:26:49 +00:00
|
|
|
}
|
|
|
|
item: groupCallMembersListItem;
|
|
|
|
}
|
2020-12-21 19:43:23 +00:00
|
|
|
groupCallInviteDividerLabel: FlatLabel(defaultFlatLabel) {
|
|
|
|
textFg: groupCallMemberNotJoinedStatus;
|
|
|
|
}
|
|
|
|
groupCallInviteDividerPadding: margins(17px, 7px, 17px, 7px);
|
2021-03-10 11:55:00 +00:00
|
|
|
groupCallInviteMembersListItem: PeerListItem(groupCallMembersListItem) {
|
|
|
|
statusFg: groupCallMemberNotJoinedStatus;
|
|
|
|
statusFgOver: groupCallMemberNotJoinedStatus;
|
|
|
|
statusFgActive: groupCallMemberInactiveStatus;
|
|
|
|
}
|
2020-11-29 18:26:49 +00:00
|
|
|
groupCallInviteMembersList: PeerList(groupCallMembersList) {
|
2020-12-21 19:43:23 +00:00
|
|
|
padding: margins(0px, 10px, 0px, 10px);
|
2021-03-10 11:55:00 +00:00
|
|
|
item: groupCallInviteMembersListItem;
|
|
|
|
}
|
|
|
|
groupCallJoinAsList: PeerList(groupCallInviteMembersList) {
|
|
|
|
item: PeerListItem(groupCallInviteMembersListItem) {
|
|
|
|
height: 56px;
|
|
|
|
checkbox: RoundImageCheckbox(groupCallMembersListCheckbox) {
|
|
|
|
check: RoundCheckbox(groupCallMembersListCheck) {
|
|
|
|
size: 0px;
|
|
|
|
}
|
|
|
|
imageRadius: 19px;
|
|
|
|
imageSmallRadius: 15px;
|
|
|
|
selectFg: groupCallMemberInactiveStatus;
|
|
|
|
}
|
|
|
|
photoSize: 38px;
|
|
|
|
photoPosition: point(24px, 9px);
|
|
|
|
namePosition: point(73px, 9px);
|
|
|
|
statusPosition: point(73px, 28px);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
peerListJoinAsList: PeerList(peerListBox) {
|
|
|
|
item: PeerListItem(peerListBoxItem) {
|
|
|
|
height: 56px;
|
|
|
|
checkbox: RoundImageCheckbox(defaultPeerListCheckbox) {
|
|
|
|
check: RoundCheckbox(defaultRoundCheckbox) {
|
|
|
|
size: 0px;
|
|
|
|
}
|
|
|
|
imageRadius: 19px;
|
|
|
|
imageSmallRadius: 15px;
|
|
|
|
}
|
|
|
|
photoSize: 38px;
|
|
|
|
photoPosition: point(24px, 9px);
|
|
|
|
namePosition: point(73px, 9px);
|
|
|
|
statusPosition: point(73px, 28px);
|
2020-11-25 14:09:59 +00:00
|
|
|
}
|
|
|
|
}
|
2020-11-29 18:26:49 +00:00
|
|
|
groupCallMultiSelect: MultiSelect(defaultMultiSelect) {
|
|
|
|
bg: groupCallMembersBg;
|
|
|
|
item: MultiSelectItem(defaultMultiSelectItem) {
|
2020-11-30 08:00:25 +00:00
|
|
|
textBg: groupCallMembersBgRipple;
|
2020-11-29 18:26:49 +00:00
|
|
|
textFg: groupCallMembersFg;
|
|
|
|
textActiveBg: groupCallActiveFg;
|
|
|
|
textActiveFg: groupCallMembersFg;
|
|
|
|
deleteFg: groupCallMembersFg;
|
|
|
|
}
|
|
|
|
field: InputField(defaultMultiSelectSearchField) {
|
|
|
|
textFg: groupCallMembersFg;
|
|
|
|
placeholderFg: groupCallMemberNotJoinedStatus;
|
|
|
|
placeholderFgActive: groupCallMemberNotJoinedStatus;
|
|
|
|
placeholderFgError: groupCallMemberNotJoinedStatus;
|
2020-11-30 11:31:32 +00:00
|
|
|
menu: groupCallPopupMenu;
|
2020-11-29 18:26:49 +00:00
|
|
|
}
|
|
|
|
fieldIcon: icon {{ "box_search", groupCallMemberNotJoinedStatus, point(10px, 9px) }};
|
|
|
|
fieldCancel: CrossButton(defaultMultiSelectSearchCancel) {
|
|
|
|
crossFg: groupCallMemberNotJoinedStatus;
|
|
|
|
crossFgOver: groupCallMemberNotJoinedStatus;
|
|
|
|
ripple: groupCallRipple;
|
|
|
|
}
|
|
|
|
}
|
2021-03-05 16:59:35 +00:00
|
|
|
groupCallField: InputField(defaultInputField) {
|
|
|
|
textMargins: margins(2px, 7px, 2px, 0px);
|
|
|
|
|
|
|
|
textBg: transparent;
|
|
|
|
textFg: groupCallMembersFg;
|
|
|
|
|
|
|
|
placeholderFg: groupCallMemberNotJoinedStatus;
|
|
|
|
placeholderFgActive: groupCallMemberNotJoinedStatus;
|
|
|
|
placeholderFgError: groupCallMemberNotJoinedStatus;
|
2021-03-10 14:46:16 +00:00
|
|
|
placeholderMargins: margins(0px, 0px, 0px, 0px);
|
2021-03-05 16:59:35 +00:00
|
|
|
placeholderScale: 0.;
|
|
|
|
placeholderFont: normalFont;
|
|
|
|
heightMin: 32px;
|
|
|
|
|
|
|
|
borderFg: inputBorderFg;
|
|
|
|
borderFgActive: groupCallMemberInactiveStatus;
|
|
|
|
borderFgError: activeLineFgError;
|
|
|
|
|
|
|
|
menu: groupCallPopupMenu;
|
|
|
|
}
|
2021-03-10 17:36:21 +00:00
|
|
|
groupCallShareBoxComment: InputField(groupCallField) {
|
|
|
|
textMargins: margins(8px, 8px, 8px, 6px);
|
|
|
|
heightMin: 36px;
|
|
|
|
heightMax: 72px;
|
|
|
|
placeholderMargins: margins(2px, 0px, 2px, 0px);
|
|
|
|
border: 0px;
|
|
|
|
borderActive: 0px;
|
|
|
|
}
|
|
|
|
groupCallShareBoxList: PeerList(groupCallMembersList) {
|
|
|
|
item: PeerListItem(groupCallMembersListItem) {
|
|
|
|
checkbox: RoundImageCheckbox(groupCallMembersListCheckbox) {
|
|
|
|
imageRadius: 28px;
|
|
|
|
imageSmallRadius: 24px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2021-03-05 16:59:35 +00:00
|
|
|
|
2021-03-09 15:13:48 +00:00
|
|
|
groupCallMembersTop: 51px;
|
|
|
|
groupCallTitleTop: 8px;
|
|
|
|
groupCallSubtitleTop: 26px;
|
2021-04-27 14:06:56 +00:00
|
|
|
groupCallWideVideoTop: 24px;
|
2020-12-17 10:19:33 +00:00
|
|
|
|
2020-12-16 15:31:16 +00:00
|
|
|
groupCallAddMember: SettingsButton(defaultSettingsButton) {
|
|
|
|
textFg: groupCallMemberNotJoinedStatus;
|
|
|
|
textFgOver: groupCallMemberNotJoinedStatus;
|
|
|
|
textBg: groupCallMembersBg;
|
|
|
|
textBgOver: groupCallMembersBgOver;
|
|
|
|
|
|
|
|
font: semiboldFont;
|
|
|
|
|
|
|
|
height: 22px;
|
|
|
|
padding: margins(63px, 17px, 22px, 11px);
|
|
|
|
|
2020-11-25 14:09:59 +00:00
|
|
|
ripple: groupCallRipple;
|
|
|
|
}
|
2020-12-16 15:31:16 +00:00
|
|
|
groupCallAddMemberIcon: icon {{ "info_add_member", groupCallMemberInactiveIcon, point(0px, 3px) }};
|
|
|
|
groupCallAddMemberIconLeft: 16px;
|
2020-12-17 10:19:33 +00:00
|
|
|
groupCallSubtitleLabel: FlatLabel(defaultFlatLabel) {
|
2020-11-25 14:09:59 +00:00
|
|
|
maxHeight: 18px;
|
2020-12-17 10:19:33 +00:00
|
|
|
textFg: groupCallMemberNotJoinedStatus;
|
|
|
|
}
|
|
|
|
groupCallTitleLabel: FlatLabel(groupCallSubtitleLabel) {
|
2020-11-25 14:09:59 +00:00
|
|
|
textFg: groupCallMembersFg;
|
|
|
|
style: TextStyle(defaultTextStyle) {
|
2020-12-17 10:19:33 +00:00
|
|
|
font: font(semibold 14px);
|
|
|
|
linkFont: font(semibold 14px);
|
|
|
|
linkFontOver: font(semibold 14px);
|
2020-11-25 14:09:59 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
groupCallAddButtonPosition: point(10px, 7px);
|
2021-05-12 15:02:45 +00:00
|
|
|
groupCallMembersWidthMax: 480px;
|
2021-03-09 13:24:32 +00:00
|
|
|
groupCallRecordingMark: 6px;
|
|
|
|
groupCallRecordingMarkSkip: 4px;
|
2021-03-09 15:13:48 +00:00
|
|
|
groupCallRecordingMarkTop: 8px;
|
|
|
|
|
|
|
|
groupCallMenuTogglePosition: point(13px, 8px);
|
|
|
|
groupCallMenuToggle: IconButton {
|
|
|
|
width: 36px;
|
|
|
|
height: 36px;
|
|
|
|
|
|
|
|
icon: icon {{ "info/edit/dotsmini", groupCallMemberInactiveIcon }};
|
|
|
|
iconOver: icon {{ "info/edit/dotsmini", groupCallMemberInactiveIcon }};
|
|
|
|
iconPosition: point(6px, 6px);
|
|
|
|
|
|
|
|
rippleAreaPosition: point(3px, 3px);
|
|
|
|
rippleAreaSize: 30px;
|
|
|
|
ripple: RippleAnimation(defaultRippleAnimation) {
|
|
|
|
color: groupCallMembersBg;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
groupCallJoinAsToggle: UserpicButton(defaultUserpicButton) {
|
|
|
|
size: size(36px, 36px);
|
|
|
|
photoSize: 30px;
|
|
|
|
photoPosition: point(3px, 3px);
|
|
|
|
}
|
|
|
|
groupCallMenuPosition: point(-1px, 29px);
|
2021-05-26 14:21:50 +00:00
|
|
|
groupCallWideMenuPosition: point(-2px, 28px);
|
2020-11-25 14:09:59 +00:00
|
|
|
|
2020-12-02 12:25:30 +00:00
|
|
|
groupCallActiveButton: IconButton {
|
2020-11-25 14:09:59 +00:00
|
|
|
width: 36px;
|
|
|
|
height: 52px;
|
|
|
|
|
2020-12-02 12:25:30 +00:00
|
|
|
icon: icon {{ "calls/group_calls_unmuted", groupCallMemberInactiveIcon }};
|
|
|
|
iconOver: icon {{ "calls/group_calls_unmuted", groupCallMemberInactiveIcon }};
|
2020-11-25 14:09:59 +00:00
|
|
|
iconPosition: point(-1px, -1px);
|
|
|
|
|
|
|
|
ripple: groupCallRipple;
|
|
|
|
rippleAreaPosition: point(0px, 8px);
|
|
|
|
rippleAreaSize: 36px;
|
|
|
|
}
|
2020-12-02 12:25:30 +00:00
|
|
|
groupCallMemberButtonSkip: 10px;
|
|
|
|
|
|
|
|
groupCallMemberInactiveCrossLine: CrossLineAnimation {
|
|
|
|
fg: groupCallMemberInactiveIcon;
|
2020-12-01 11:52:40 +00:00
|
|
|
icon: icon {{ "calls/group_calls_unmuted", groupCallMemberInactiveIcon }};
|
2020-12-02 12:25:30 +00:00
|
|
|
startPosition: point(5px, 2px);
|
|
|
|
endPosition: point(20px, 17px);
|
|
|
|
stroke: 2px;
|
2020-11-25 14:09:59 +00:00
|
|
|
}
|
2020-12-02 12:25:30 +00:00
|
|
|
groupCallMemberColoredCrossLine: CrossLineAnimation(groupCallMemberInactiveCrossLine) {
|
|
|
|
fg: groupCallMemberMutedIcon;
|
|
|
|
icon: icon {{ "calls/group_calls_unmuted", groupCallMemberActiveIcon }};
|
2020-11-25 14:09:59 +00:00
|
|
|
}
|
2020-12-16 11:58:53 +00:00
|
|
|
groupCallMemberInvited: icon {{ "calls/group_calls_invited", groupCallMemberInactiveIcon }};
|
|
|
|
groupCallMemberInvitedPosition: point(2px, 12px);
|
2021-03-09 07:24:29 +00:00
|
|
|
groupCallMemberRaisedHand: icon {{ "calls/group_calls_raised_hand", groupCallMemberInactiveStatus }};
|
2020-11-28 12:00:06 +00:00
|
|
|
|
2021-04-07 10:56:53 +00:00
|
|
|
groupCallSettingsInner: IconButton(callButton) {
|
|
|
|
iconPosition: point(-1px, 22px);
|
2021-04-22 16:05:17 +00:00
|
|
|
icon: icon {{ "calls/calls_settings", groupCallIconFg }};
|
2021-04-07 10:56:53 +00:00
|
|
|
ripple: RippleAnimation(defaultRippleAnimation) {
|
|
|
|
color: callMuteRipple;
|
|
|
|
}
|
|
|
|
}
|
2021-04-27 12:03:36 +00:00
|
|
|
groupCallShareInner: IconButton(groupCallSettingsInner) {
|
|
|
|
icon: icon {{ "calls/group_calls_share", groupCallIconFg }};
|
|
|
|
}
|
2021-05-21 13:15:45 +00:00
|
|
|
groupCallVideoInner: IconButton(groupCallSettingsInner) {
|
|
|
|
icon: icon {{ "calls/call_camera_muted", groupCallIconFg }};
|
|
|
|
iconPosition: point(-1px, 16px);
|
|
|
|
}
|
2021-04-27 12:03:36 +00:00
|
|
|
groupCallHangupInner: IconButton(callButton) {
|
|
|
|
icon: icon {{ "calls/call_discard", groupCallIconFg }};
|
|
|
|
ripple: RippleAnimation(defaultRippleAnimation) {
|
|
|
|
color: groupCallLeaveBgRipple;
|
|
|
|
}
|
|
|
|
}
|
2020-11-28 12:00:06 +00:00
|
|
|
groupCallSettings: CallButton(callMicrophoneMute) {
|
2021-04-07 10:56:53 +00:00
|
|
|
button: groupCallSettingsInner;
|
|
|
|
}
|
|
|
|
groupCallShare: CallButton(groupCallSettings) {
|
2021-04-27 12:03:36 +00:00
|
|
|
button: groupCallShareInner;
|
2020-11-30 12:11:24 +00:00
|
|
|
}
|
2021-05-21 13:15:45 +00:00
|
|
|
groupCallVideo: CallButton(groupCallSettings) {
|
|
|
|
button: groupCallVideoInner;
|
|
|
|
}
|
|
|
|
groupCallVideoInnerActive: IconButton(groupCallVideoInner) {
|
|
|
|
icon: icon {{ "calls/call_camera_active", groupCallIconFg }};
|
|
|
|
}
|
|
|
|
groupCallVideoActive: CallButton(groupCallVideo) {
|
|
|
|
button: groupCallVideoInnerActive;
|
|
|
|
}
|
2020-11-30 12:11:24 +00:00
|
|
|
groupCallHangup: CallButton(callHangup) {
|
2021-04-27 12:03:36 +00:00
|
|
|
button: groupCallHangupInner;
|
2020-11-30 12:11:24 +00:00
|
|
|
bg: groupCallLeaveBg;
|
|
|
|
outerBg: groupCallLeaveBg;
|
2020-11-28 12:00:06 +00:00
|
|
|
label: callButtonLabel;
|
|
|
|
}
|
2021-04-27 12:03:36 +00:00
|
|
|
groupCallSettingsSmall: CallButton(groupCallSettings) {
|
|
|
|
button: IconButton(groupCallSettingsInner) {
|
2021-05-21 14:27:30 +00:00
|
|
|
width: 60px;
|
|
|
|
height: 68px;
|
|
|
|
rippleAreaPosition: point(8px, 12px);
|
2021-04-27 12:03:36 +00:00
|
|
|
}
|
2021-05-21 14:27:30 +00:00
|
|
|
bgPosition: point(8px, 12px);
|
2021-04-27 12:03:36 +00:00
|
|
|
}
|
|
|
|
groupCallHangupSmall: CallButton(groupCallHangup) {
|
|
|
|
button: IconButton(groupCallHangupInner) {
|
2021-05-21 14:27:30 +00:00
|
|
|
width: 60px;
|
|
|
|
height: 68px;
|
|
|
|
rippleAreaPosition: point(8px, 12px);
|
2021-04-27 12:03:36 +00:00
|
|
|
}
|
2021-05-21 14:27:30 +00:00
|
|
|
bgPosition: point(8px, 12px);
|
2021-04-27 12:03:36 +00:00
|
|
|
}
|
2021-05-26 10:27:48 +00:00
|
|
|
groupCallVideoSmall: CallButton(groupCallSettingsSmall) {
|
2021-05-21 13:15:45 +00:00
|
|
|
button: IconButton(groupCallVideoInner) {
|
2021-05-21 14:27:30 +00:00
|
|
|
width: 60px;
|
|
|
|
height: 68px;
|
|
|
|
rippleAreaPosition: point(8px, 12px);
|
2021-05-21 13:15:45 +00:00
|
|
|
}
|
2021-04-27 12:03:36 +00:00
|
|
|
}
|
|
|
|
groupCallVideoActiveSmall: CallButton(groupCallVideoSmall) {
|
2021-05-21 13:15:45 +00:00
|
|
|
button: IconButton(groupCallVideoInnerActive) {
|
2021-05-21 14:27:30 +00:00
|
|
|
width: 60px;
|
|
|
|
height: 68px;
|
|
|
|
rippleAreaPosition: point(8px, 12px);
|
2021-04-27 12:03:36 +00:00
|
|
|
}
|
|
|
|
}
|
2021-05-26 10:27:48 +00:00
|
|
|
groupCallScreenShareSmall: CallButton(groupCallSettingsSmall) {
|
2021-04-27 12:03:36 +00:00
|
|
|
button: IconButton(groupCallSettingsInner) {
|
|
|
|
icon: icon {{ "calls/calls_present", groupCallIconFg }};
|
2021-05-26 14:21:50 +00:00
|
|
|
width: 60px;
|
|
|
|
height: 68px;
|
|
|
|
rippleAreaPosition: point(8px, 12px);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
groupCallMenuToggleSmall: CallButton(groupCallSettingsSmall) {
|
|
|
|
button: IconButton(groupCallSettingsInner) {
|
|
|
|
icon: icon {{ "calls/calls_more", groupCallIconFg }};
|
2021-05-21 14:27:30 +00:00
|
|
|
width: 60px;
|
|
|
|
height: 68px;
|
|
|
|
rippleAreaPosition: point(8px, 12px);
|
2021-04-27 12:03:36 +00:00
|
|
|
}
|
|
|
|
}
|
2021-05-21 13:15:45 +00:00
|
|
|
groupCallButtonSkip: 40px;
|
2021-05-21 14:27:30 +00:00
|
|
|
groupCallButtonSkipSmall: 5px;
|
2021-05-21 13:15:45 +00:00
|
|
|
groupCallButtonBottomSkip: 113px;
|
2021-04-27 12:03:36 +00:00
|
|
|
groupCallButtonBottomSkipSmall: 95px;
|
2021-06-17 07:52:53 +00:00
|
|
|
groupCallButtonBottomSkipWide: 108px;
|
2021-05-21 14:27:30 +00:00
|
|
|
groupCallControlsBackMargin: margins(10px, 0px, 10px, 0px);
|
2021-04-27 14:06:56 +00:00
|
|
|
groupCallControlsBackRadius: 12px;
|
2021-05-21 13:15:45 +00:00
|
|
|
groupCallMuteBottomSkip: 116px;
|
|
|
|
|
|
|
|
groupCallMembersMargin: margins(16px, 16px, 16px, 60px);
|
2021-05-30 10:56:54 +00:00
|
|
|
groupCallMembersTopSkip: 6px;
|
2021-05-21 13:15:45 +00:00
|
|
|
groupCallMembersBottomSkip: 80px;
|
|
|
|
groupCallMembersShadowHeight: 160px;
|
|
|
|
groupCallMembersFadeSkip: 10px;
|
|
|
|
groupCallMembersFadeHeight: 100px;
|
2020-11-29 12:29:25 +00:00
|
|
|
|
2020-12-25 10:10:03 +00:00
|
|
|
groupCallTopBarUserpics: GroupCallUserpics {
|
|
|
|
size: 28px;
|
|
|
|
shift: 8px;
|
|
|
|
stroke: 2px;
|
|
|
|
align: align(left);
|
|
|
|
}
|
2020-11-29 13:12:46 +00:00
|
|
|
groupCallTopBarJoin: RoundButton(defaultActiveButton) {
|
2020-12-08 06:44:22 +00:00
|
|
|
width: -26px;
|
|
|
|
height: 26px;
|
|
|
|
textTop: 4px;
|
2020-11-29 13:12:46 +00:00
|
|
|
}
|
2021-04-06 09:59:14 +00:00
|
|
|
groupCallTopBarOpen: RoundButton(groupCallTopBarJoin) {
|
|
|
|
ripple: RippleAnimation(defaultRippleAnimation) {
|
|
|
|
color: shadowFg;
|
|
|
|
}
|
|
|
|
}
|
2021-04-29 16:28:12 +00:00
|
|
|
groupCallBoxButton: RoundButton(defaultBoxButton) {
|
|
|
|
textFg: groupCallActiveFg;
|
|
|
|
textFgOver: groupCallActiveFg;
|
|
|
|
numbersTextFg: groupCallActiveFg;
|
|
|
|
numbersTextFgOver: groupCallActiveFg;
|
|
|
|
textBg: groupCallMembersBg;
|
|
|
|
textBgOver: groupCallMembersBgOver;
|
2020-11-29 18:26:49 +00:00
|
|
|
|
2021-04-29 16:28:12 +00:00
|
|
|
ripple: groupCallRipple;
|
|
|
|
}
|
|
|
|
groupCallBox: Box(defaultBox) {
|
|
|
|
button: groupCallBoxButton;
|
2020-11-29 18:26:49 +00:00
|
|
|
margin: margins(0px, 56px, 0px, 10px);
|
|
|
|
bg: groupCallMembersBg;
|
|
|
|
title: FlatLabel(boxTitle) {
|
|
|
|
textFg: groupCallMembersFg;
|
|
|
|
}
|
|
|
|
titleAdditionalFg: groupCallMemberNotJoinedStatus;
|
|
|
|
}
|
|
|
|
groupCallLayerBox: Box(groupCallBox) {
|
|
|
|
buttonPadding: margins(8px, 8px, 8px, 8px);
|
|
|
|
}
|
|
|
|
groupCallLevelMeter: LevelMeter(defaultLevelMeter) {
|
|
|
|
height: 18px;
|
|
|
|
lineWidth: 3px;
|
|
|
|
lineSpacing: 5px;
|
|
|
|
lineCount: 44;
|
|
|
|
activeFg: groupCallActiveFg;
|
2021-06-07 15:52:25 +00:00
|
|
|
inactiveFg: groupCallMembersBgRipple;
|
2020-11-29 18:26:49 +00:00
|
|
|
}
|
|
|
|
groupCallCheckboxIcon: icon {{ "default_checkbox_check", groupCallMembersFg, point(4px, 7px) }};
|
|
|
|
groupCallCheck: Check(defaultCheck) {
|
|
|
|
untoggledFg: groupCallMemberNotJoinedStatus;
|
|
|
|
toggledFg: groupCallActiveFg;
|
|
|
|
icon: groupCallCheckboxIcon;
|
|
|
|
}
|
|
|
|
groupCallRadio: Radio(defaultRadio) {
|
|
|
|
untoggledFg: groupCallMemberNotJoinedStatus;
|
|
|
|
toggledFg: groupCallActiveFg;
|
|
|
|
}
|
|
|
|
groupCallCheckbox: Checkbox(defaultBoxCheckbox) {
|
|
|
|
textFg: groupCallMembersFg;
|
|
|
|
textFgActive: groupCallMembersFg;
|
2020-11-30 08:00:25 +00:00
|
|
|
rippleBg: groupCallMembersBgRipple;
|
|
|
|
rippleBgActive: groupCallMembersBgRipple;
|
2020-11-29 18:26:49 +00:00
|
|
|
}
|
|
|
|
|
2020-12-03 18:17:15 +00:00
|
|
|
groupCallSettingsToggle: Toggle(defaultToggle) {
|
|
|
|
toggledBg: groupCallMembersBg;
|
|
|
|
toggledFg: groupCallActiveFg;
|
|
|
|
untoggledBg: groupCallMembersBg;
|
|
|
|
untoggledFg: groupCallMemberNotJoinedStatus;
|
|
|
|
}
|
|
|
|
groupCallSettingsButton: SettingsButton(defaultSettingsButton) {
|
2020-11-29 18:26:49 +00:00
|
|
|
textFg: groupCallMembersFg;
|
|
|
|
textFgOver: groupCallMembersFg;
|
|
|
|
textBg: groupCallMembersBg;
|
2020-11-30 08:00:25 +00:00
|
|
|
textBgOver: groupCallMembersBgOver;
|
2020-11-29 18:26:49 +00:00
|
|
|
rightLabel: FlatLabel(defaultSettingsRightLabel) {
|
|
|
|
textFg: groupCallActiveFg;
|
|
|
|
}
|
2020-12-03 18:17:15 +00:00
|
|
|
toggle: groupCallSettingsToggle;
|
|
|
|
toggleOver: groupCallSettingsToggle;
|
2020-11-30 11:31:32 +00:00
|
|
|
ripple: groupCallRipple;
|
2020-11-29 18:26:49 +00:00
|
|
|
}
|
|
|
|
groupCallSettingsAttentionButton: SettingsButton(groupCallSettingsButton) {
|
|
|
|
textFg: attentionButtonFg;
|
|
|
|
textFgOver: attentionButtonFgOver;
|
|
|
|
}
|
|
|
|
groupCallBoxLabel: FlatLabel(boxLabel) {
|
|
|
|
textFg: groupCallMembersFg;
|
|
|
|
}
|
2021-03-10 11:55:00 +00:00
|
|
|
groupCallJoinAsLabel: FlatLabel(defaultFlatLabel) {
|
2021-03-16 13:16:52 +00:00
|
|
|
minWidth: 272px;
|
2021-03-10 11:55:00 +00:00
|
|
|
textFg: groupCallMembersFg;
|
|
|
|
}
|
2021-03-16 13:16:52 +00:00
|
|
|
groupCallJoinAsWidth: 330px;
|
2021-03-10 14:46:16 +00:00
|
|
|
groupCallJoinAsTextTop: 4px;
|
|
|
|
groupCallJoinAsNameTop: 23px;
|
|
|
|
groupCallJoinAsPadding: margins(12px, 8px, 12px, 7px);
|
|
|
|
groupCallJoinAsPhotoSize: 30px;
|
2020-12-01 09:06:06 +00:00
|
|
|
|
2020-12-02 12:25:30 +00:00
|
|
|
groupCallRowBlobMinRadius: 27px;
|
|
|
|
groupCallRowBlobMaxRadius: 29px;
|
2020-12-01 16:44:05 +00:00
|
|
|
|
2020-12-06 12:44:20 +00:00
|
|
|
groupCallDelayLabel: LabelSimple(defaultLabelSimple) {
|
|
|
|
textFg: groupCallMembersFg;
|
|
|
|
font: boxTextFont;
|
|
|
|
}
|
|
|
|
groupCallDelayLabelMargin: margins(22px, 10px, 20px, 5px);
|
|
|
|
groupCallDelaySlider: MediaSlider(defaultContinuousSlider) {
|
|
|
|
seekSize: size(15px, 15px);
|
|
|
|
activeFg: groupCallActiveFg;
|
|
|
|
inactiveFg: groupCallMemberNotJoinedStatus;
|
|
|
|
activeFgOver: groupCallActiveFg;
|
|
|
|
inactiveFgOver: groupCallMemberNotJoinedStatus;
|
|
|
|
activeFgDisabled: groupCallActiveFg;
|
|
|
|
inactiveFgDisabled: groupCallMemberNotJoinedStatus;
|
|
|
|
receivedTillFg: groupCallMemberNotJoinedStatus;
|
|
|
|
}
|
|
|
|
groupCallDelayMargin: margins(22px, 5px, 20px, 10px);
|
|
|
|
|
2020-12-06 13:53:17 +00:00
|
|
|
groupCallTitleButton: IconButton {
|
|
|
|
width: 24px;
|
|
|
|
height: 21px;
|
|
|
|
iconPosition: point(0px, 0px);
|
|
|
|
}
|
|
|
|
groupCallTitleMinimizeIcon: icon {
|
|
|
|
{ "title_button_minimize", groupCallMemberNotJoinedStatus, point(4px, 4px) },
|
|
|
|
};
|
|
|
|
groupCallTitleMinimizeIconOver: icon {
|
|
|
|
{ size(24px, 21px), groupCallMembersBgOver },
|
|
|
|
{ "title_button_minimize", groupCallMembersFg, point(4px, 4px) },
|
|
|
|
};
|
|
|
|
groupCallTitleMaximizeIcon: icon {
|
|
|
|
{ "title_button_maximize", groupCallMemberNotJoinedStatus, point(4px, 4px) },
|
|
|
|
};
|
|
|
|
groupCallTitleMaximizeIconOver: icon {
|
|
|
|
{ size(24px, 21px), groupCallMembersBgOver },
|
|
|
|
{ "title_button_maximize", groupCallMembersFg, point(4px, 4px) },
|
|
|
|
};
|
|
|
|
groupCallTitleRestoreIcon: icon {
|
|
|
|
{ "title_button_restore", groupCallMemberNotJoinedStatus, point(4px, 4px) },
|
|
|
|
};
|
|
|
|
groupCallTitleRestoreIconOver: icon {
|
|
|
|
{ size(24px, 21px), groupCallMembersBgOver },
|
|
|
|
{ "title_button_restore", groupCallMembersFg, point(4px, 4px) },
|
|
|
|
};
|
|
|
|
groupCallTitleCloseIcon: icon {
|
|
|
|
{ "title_button_close", groupCallMemberNotJoinedStatus, point(4px, 4px) },
|
|
|
|
};
|
|
|
|
groupCallTitleCloseIconOver: icon {
|
|
|
|
{ size(24px, 21px), titleButtonCloseBgOver },
|
|
|
|
{ "title_button_close", titleButtonCloseFgOver, point(4px, 4px) },
|
|
|
|
};
|
|
|
|
groupCallTitle: WindowTitle(defaultWindowTitle) {
|
|
|
|
height: 0px;
|
2021-03-05 08:14:34 +00:00
|
|
|
bg: groupCallBg;
|
|
|
|
bgActive: groupCallBg;
|
2020-12-06 13:53:17 +00:00
|
|
|
fg: transparent;
|
|
|
|
fgActive: transparent;
|
|
|
|
minimize: IconButton(groupCallTitleButton) {
|
|
|
|
icon: groupCallTitleMinimizeIcon;
|
|
|
|
iconOver: groupCallTitleMinimizeIconOver;
|
|
|
|
}
|
|
|
|
minimizeIconActive: groupCallTitleMinimizeIcon;
|
|
|
|
minimizeIconActiveOver: groupCallTitleMinimizeIconOver;
|
|
|
|
maximize: IconButton(groupCallTitleButton) {
|
|
|
|
icon: groupCallTitleMaximizeIcon;
|
|
|
|
iconOver: groupCallTitleMaximizeIconOver;
|
|
|
|
}
|
|
|
|
maximizeIconActive: groupCallTitleMaximizeIcon;
|
|
|
|
maximizeIconActiveOver: groupCallTitleMaximizeIconOver;
|
|
|
|
restoreIcon: groupCallTitleRestoreIcon;
|
|
|
|
restoreIconOver: groupCallTitleRestoreIconOver;
|
|
|
|
restoreIconActive: groupCallTitleRestoreIcon;
|
|
|
|
restoreIconActiveOver: groupCallTitleRestoreIconOver;
|
|
|
|
close: IconButton(groupCallTitleButton) {
|
|
|
|
icon: groupCallTitleCloseIcon;
|
|
|
|
iconOver: groupCallTitleCloseIconOver;
|
|
|
|
}
|
|
|
|
closeIconActive: groupCallTitleCloseIcon;
|
|
|
|
closeIconActiveOver: groupCallTitleCloseIconOver;
|
|
|
|
}
|
|
|
|
|
2020-12-10 13:24:02 +00:00
|
|
|
groupCallMajorBlobIdleRadius: 2px;
|
|
|
|
groupCallMajorBlobMaxRadius: 4px;
|
2020-12-08 20:16:27 +00:00
|
|
|
|
2020-12-10 13:24:02 +00:00
|
|
|
groupCallMinorBlobIdleRadius: 3px;
|
|
|
|
groupCallMinorBlobMaxRadius: 12px;
|
2020-12-08 20:16:27 +00:00
|
|
|
|
2021-01-16 15:11:43 +00:00
|
|
|
groupCallMuteCrossLine: CrossLineAnimation {
|
|
|
|
fg: groupCallIconFg;
|
|
|
|
icon: icon {{ "calls/volume/speaker", groupCallIconFg }};
|
|
|
|
startPosition: point(2px, 5px);
|
|
|
|
endPosition: point(16px, 19px);
|
|
|
|
stroke: 2px;
|
|
|
|
}
|
2021-01-15 16:18:35 +00:00
|
|
|
|
2021-01-17 21:44:03 +00:00
|
|
|
groupCallMenuSpeakerArcsSkip: 1px;
|
|
|
|
groupCallMenuVolumeSkip: 5px;
|
2021-06-17 12:22:51 +00:00
|
|
|
groupCallMenuVolumePadding: margins(17px, 6px, 17px, 5px);
|
|
|
|
groupCallMenuVolumeMargin: margins(55px, 0px, 15px, 0px);
|
2021-01-24 22:45:26 +00:00
|
|
|
groupCallMenuVolumeSlider: MediaSlider(defaultContinuousSlider) {
|
|
|
|
activeFg: groupCallMembersFg;
|
|
|
|
inactiveFg: groupCallMemberInactiveIcon;
|
|
|
|
activeFgOver: groupCallMembersFg;
|
|
|
|
inactiveFgOver: groupCallMemberInactiveIcon;
|
|
|
|
activeFgDisabled: groupCallMemberInactiveIcon;
|
|
|
|
receivedTillFg: groupCallMemberInactiveIcon;
|
2021-06-17 12:22:51 +00:00
|
|
|
width: 7px;
|
|
|
|
seekSize: size(7px, 7px);
|
2021-01-24 22:45:26 +00:00
|
|
|
}
|
2021-01-17 21:44:03 +00:00
|
|
|
|
|
|
|
groupCallSpeakerArcsAnimation: ArcsAnimation {
|
|
|
|
fg: groupCallIconFg;
|
|
|
|
stroke: 2px;
|
|
|
|
space: 4px;
|
|
|
|
duration: 200;
|
|
|
|
deltaAngle: 60;
|
|
|
|
deltaHeight: 6px;
|
|
|
|
deltaWidth: 7px;
|
|
|
|
startHeight: 3px;
|
|
|
|
startWidth: 0px;
|
|
|
|
}
|
|
|
|
|
2021-01-27 23:33:49 +00:00
|
|
|
groupCallStatusSpeakerIcon: icon {{ "calls/volume/speaker_small", groupCallIconFg }};
|
|
|
|
groupCallStatusSpeakerArcsSkip: 3px;
|
|
|
|
groupCallStatusSpeakerArcsAnimation: ArcsAnimation(groupCallSpeakerArcsAnimation) {
|
|
|
|
deltaAngle: 68;
|
|
|
|
space: 3px;
|
|
|
|
deltaHeight: 5px;
|
|
|
|
deltaWidth: 4px;
|
|
|
|
startHeight: 1px;
|
|
|
|
}
|
|
|
|
|
2021-03-10 17:36:21 +00:00
|
|
|
groupCallShareMutedMargin: margins(16px, 16px, 16px, 8px);
|
|
|
|
|
2020-12-01 16:44:05 +00:00
|
|
|
callTopBarMuteCrossLine: CrossLineAnimation {
|
|
|
|
fg: callBarFg;
|
|
|
|
icon: icon {{ "calls/call_record_active", callBarFg }};
|
|
|
|
startPosition: point(11px, 8px);
|
|
|
|
endPosition: point(26px, 23px);
|
|
|
|
stroke: 2px;
|
|
|
|
}
|
2021-04-06 14:02:43 +00:00
|
|
|
|
|
|
|
groupCallStartsIn: FlatLabel(defaultFlatLabel) {
|
|
|
|
style: TextStyle(defaultTextStyle) {
|
|
|
|
font: font(20px semibold);
|
|
|
|
linkFont: font(20px semibold);
|
|
|
|
linkFontOver: font(20px semibold underline);
|
|
|
|
}
|
|
|
|
textFg: groupCallMembersFg;
|
|
|
|
}
|
|
|
|
groupCallScheduledBodyHeight: 200px;
|
|
|
|
groupCallStartsWhen: groupCallStartsIn;
|
|
|
|
groupCallStartsInTop: 10px;
|
|
|
|
groupCallStartsWhenTop: 160px;
|
|
|
|
groupCallCountdownFont: font(64px semibold);
|
|
|
|
groupCallCountdownTop: 52px;
|
2021-04-20 10:30:42 +00:00
|
|
|
|
2021-04-29 16:28:12 +00:00
|
|
|
desktopCaptureMargins: margins(12px, 8px, 12px, 6px);
|
|
|
|
desktopCaptureSourceSize: size(235px, 165px);
|
|
|
|
desktopCaptureSourceSkips: size(2px, 10px);
|
|
|
|
desktopCaptureSourceTitle: WindowTitle(groupCallTitle) {
|
2021-06-01 09:58:15 +00:00
|
|
|
bg: groupCallMembersBgOver;
|
|
|
|
bgActive: groupCallMembersBgOver;
|
2021-04-29 16:28:12 +00:00
|
|
|
height: 21px;
|
|
|
|
}
|
|
|
|
desktopCapturePadding: margins(7px, 7px, 7px, 33px);
|
|
|
|
desktopCaptureLabelBottom: 7px;
|
|
|
|
desktopCaptureLabel: FlatLabel(defaultFlatLabel) {
|
|
|
|
minWidth: 200px;
|
|
|
|
maxHeight: 20px;
|
|
|
|
textFg: groupCallMembersFg;
|
|
|
|
style: semiboldTextStyle;
|
|
|
|
}
|
|
|
|
desktopCaptureCancel: RoundButton(defaultBoxButton) {
|
|
|
|
textFg: groupCallActiveFg;
|
|
|
|
textFgOver: groupCallActiveFg;
|
|
|
|
numbersTextFg: groupCallActiveFg;
|
|
|
|
numbersTextFgOver: groupCallActiveFg;
|
2021-06-01 09:58:15 +00:00
|
|
|
textBg: groupCallMembersBg;
|
|
|
|
textBgOver: groupCallMembersBgOver;
|
2021-04-29 16:28:12 +00:00
|
|
|
|
|
|
|
ripple: groupCallRipple;
|
|
|
|
}
|
|
|
|
desktopCaptureFinish: RoundButton(desktopCaptureCancel) {
|
|
|
|
textFg: groupCallMemberMutedIcon;
|
|
|
|
textFgOver: groupCallMemberMutedIcon;
|
|
|
|
}
|
|
|
|
desktopCaptureSubmit: RoundButton(desktopCaptureCancel) {
|
|
|
|
textFg: groupCallIconFg;
|
|
|
|
textFgOver: groupCallIconFg;
|
|
|
|
numbersTextFg: groupCallIconFg;
|
|
|
|
numbersTextFgOver: groupCallIconFg;
|
|
|
|
textBg: groupCallMuted1;
|
|
|
|
textBgOver: groupCallMuted1;
|
|
|
|
|
|
|
|
ripple: RippleAnimation(groupCallRipple) {
|
2021-04-30 18:04:12 +00:00
|
|
|
color: shadowFg;
|
2021-04-29 16:28:12 +00:00
|
|
|
}
|
|
|
|
}
|
2021-04-22 09:13:13 +00:00
|
|
|
|
|
|
|
groupCallNarrowSkip: 9px;
|
2021-05-29 19:57:21 +00:00
|
|
|
groupCallNarrowMembersWidth: 204px;
|
|
|
|
groupCallNarrowVideoHeight: 120px;
|
2021-05-14 12:08:48 +00:00
|
|
|
groupCallWideModeWidthMin: 600px;
|
2021-05-11 15:00:37 +00:00
|
|
|
groupCallWideModeSize: size(960px, 580px);
|
2021-05-07 09:55:46 +00:00
|
|
|
groupCallNarrowInactiveCrossLine: CrossLineAnimation {
|
2021-05-14 17:32:43 +00:00
|
|
|
fg: groupCallMemberNotJoinedStatus;
|
|
|
|
icon: icon {{ "calls/video_mini_mute", groupCallMemberNotJoinedStatus }};
|
2021-05-14 12:08:48 +00:00
|
|
|
startPosition: point(3px, 0px);
|
|
|
|
endPosition: point(13px, 12px);
|
2021-05-07 09:55:46 +00:00
|
|
|
stroke: 3px;
|
|
|
|
strokeDenominator: 2;
|
|
|
|
}
|
|
|
|
groupCallNarrowColoredCrossLine: CrossLineAnimation(groupCallNarrowInactiveCrossLine) {
|
2021-05-14 12:08:48 +00:00
|
|
|
fg: groupCallMemberNotJoinedStatus;
|
|
|
|
icon: icon {{ "calls/video_mini_mute", groupCallMemberActiveStatus }};
|
|
|
|
}
|
|
|
|
groupCallNarrowRaisedHand: icon {{ "calls/video_mini_speak", groupCallMemberInactiveStatus }};
|
2021-05-14 17:32:43 +00:00
|
|
|
groupCallNarrowCameraIcon: icon {{ "calls/video_mini_video", groupCallMemberNotJoinedStatus }};
|
|
|
|
groupCallNarrowScreenIcon: icon {{ "calls/video_mini_screencast", groupCallMemberNotJoinedStatus }};
|
2021-05-14 12:08:48 +00:00
|
|
|
groupCallNarrowIconPosition: point(-4px, 2px);
|
|
|
|
groupCallNarrowIconSkip: 15px;
|
2021-05-28 17:05:28 +00:00
|
|
|
groupCallOutline: 2px;
|
2021-05-30 14:46:51 +00:00
|
|
|
groupCallVideoCrossLine: CrossLineAnimation(groupCallMemberColoredCrossLine) {
|
2021-05-14 12:08:48 +00:00
|
|
|
fg: groupCallVideoTextFg;
|
|
|
|
icon: icon {{ "calls/video_over_mute", groupCallVideoTextFg }};
|
2021-05-07 15:37:28 +00:00
|
|
|
}
|
|
|
|
|
2021-05-30 14:46:51 +00:00
|
|
|
GroupCallVideoTile {
|
2021-05-07 15:37:28 +00:00
|
|
|
shadowHeight: pixels;
|
|
|
|
namePosition: point;
|
2021-05-25 08:08:06 +00:00
|
|
|
pin: CrossLineAnimation;
|
2021-05-07 15:37:28 +00:00
|
|
|
pinPosition: point;
|
2021-05-18 13:07:19 +00:00
|
|
|
pinPadding: margins;
|
|
|
|
pinTextPosition: point;
|
2021-05-30 17:08:54 +00:00
|
|
|
back: icon;
|
2021-05-07 15:37:28 +00:00
|
|
|
iconPosition: point;
|
|
|
|
}
|
|
|
|
|
2021-05-30 14:46:51 +00:00
|
|
|
groupCallVideoTile: GroupCallVideoTile {
|
2021-05-13 10:38:59 +00:00
|
|
|
shadowHeight: 40px;
|
2021-05-07 15:37:28 +00:00
|
|
|
namePosition: point(15px, 8px);
|
2021-05-25 08:08:06 +00:00
|
|
|
pin: CrossLineAnimation {
|
|
|
|
fg: groupCallVideoTextFg;
|
|
|
|
icon: icon {{ "calls/video_over_pin", groupCallVideoTextFg }};
|
|
|
|
startPosition: point(7px, 4px);
|
|
|
|
endPosition: point(17px, 14px);
|
|
|
|
stroke: 3px;
|
|
|
|
strokeDenominator: 2;
|
|
|
|
}
|
2021-05-13 10:38:59 +00:00
|
|
|
pinPosition: point(18px, 18px);
|
2021-05-18 13:07:19 +00:00
|
|
|
pinPadding: margins(6px, 2px, 12px, 1px);
|
|
|
|
pinTextPosition: point(1px, 3px);
|
2021-05-30 17:08:54 +00:00
|
|
|
back: icon {{ "calls/video_back", groupCallVideoTextFg }};
|
2021-05-13 10:38:59 +00:00
|
|
|
iconPosition: point(10px, 5px);
|
|
|
|
}
|
2021-05-12 15:02:45 +00:00
|
|
|
|
|
|
|
groupCallVideoSmallSkip: 4px;
|
|
|
|
groupCallVideoLargeSkip: 6px;
|
2021-06-15 08:33:21 +00:00
|
|
|
groupCallVideoPlaceholderHeight: 212px;
|
|
|
|
groupCallVideoPlaceholderIconTop: 50px;
|
|
|
|
groupCallVideoPlaceholderTextTop: 120px;
|
2021-05-28 10:47:41 +00:00
|
|
|
|
|
|
|
groupCallTooltip: Tooltip(defaultTooltip) {
|
|
|
|
textBg: groupCallMembersBg;
|
|
|
|
textFg: groupCallMembersFg;
|
|
|
|
textBorder: groupCallMembersBgOver;
|
|
|
|
}
|
2021-05-28 15:08:11 +00:00
|
|
|
groupCallNiceTooltip: ImportantTooltip(defaultImportantTooltip) {
|
|
|
|
bg: importantTooltipBg;
|
2021-06-18 12:11:32 +00:00
|
|
|
padding: margins(10px, 1px, 10px, 3px);
|
2021-05-28 15:08:11 +00:00
|
|
|
radius: 4px;
|
|
|
|
arrow: 4px;
|
|
|
|
}
|
|
|
|
groupCallNiceTooltipLabel: FlatLabel(defaultImportantTooltipLabel) {
|
|
|
|
style: TextStyle(defaultTextStyle) {
|
|
|
|
font: font(11px);
|
|
|
|
linkFont: font(11px);
|
|
|
|
linkFontOver: font(11px underline);
|
|
|
|
}
|
|
|
|
}
|
2021-06-18 12:11:32 +00:00
|
|
|
groupCallStickedTooltip: ImportantTooltip(groupCallNiceTooltip) {
|
|
|
|
padding: margins(10px, 1px, 6px, 3px);
|
|
|
|
}
|
|
|
|
groupCallStickedTooltipClose: IconButton(defaultIconButton) {
|
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
|
|
|
iconPosition: point(4px, 3px);
|
|
|
|
icon: icon {{ "calls/video_tooltip", importantTooltipFg }};
|
|
|
|
iconOver: icon {{ "calls/video_tooltip", importantTooltipFg }};
|
|
|
|
ripple: emptyRippleAnimation;
|
|
|
|
}
|
2021-05-28 15:08:11 +00:00
|
|
|
groupCallNiceTooltipTop: 4px;
|
2021-06-08 10:50:41 +00:00
|
|
|
groupCallPaused: icon {{ "calls/video_large_paused", groupCallVideoTextFg }};
|