50 lines
1,022 B
SCSS
50 lines
1,022 B
SCSS
// Copyright 2022 Signal Messenger, LLC
|
|
// SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
.CallingAudioIndicator {
|
|
$size: 28px;
|
|
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
height: $size;
|
|
min-width: $size;
|
|
width: $size;
|
|
z-index: $z-index-base;
|
|
border-radius: calc($size / 2);
|
|
|
|
&--with-content {
|
|
background: rgba($color-gray-80, 0.7);
|
|
}
|
|
|
|
&__content {
|
|
$size: 16px;
|
|
width: $size;
|
|
height: $size;
|
|
/* Center Lottie animation */
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
|
|
&--muted {
|
|
@include color-svg(
|
|
'../images/icons/v3/mic/mic-slash-fill-compact-light.svg',
|
|
$color-white
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
.module-ongoing-call__footer__local-preview .CallingAudioIndicator {
|
|
position: absolute;
|
|
top: 6px;
|
|
inset-inline-end: 6px;
|
|
z-index: $z-index-base;
|
|
}
|
|
|
|
.module-ongoing-call__group-call-remote-participant .CallingAudioIndicator {
|
|
position: absolute;
|
|
top: 8px;
|
|
inset-inline-end: 8px;
|
|
z-index: $z-index-base;
|
|
}
|