signal-desktop/stylesheets/components/CallingAudioIndicator.scss

51 lines
1,022 B
SCSS
Raw Normal View History

// Copyright 2022 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
.CallingAudioIndicator {
$size: 28px;
2022-05-09 23:51:57 +00:00
display: flex;
align-items: center;
justify-content: center;
height: $size;
min-width: $size;
width: $size;
z-index: $z-index-base;
2022-05-09 23:51:57 +00:00
border-radius: calc($size / 2);
&--with-content {
background: rgba($color-gray-80, 0.7);
2022-05-09 23:51:57 +00:00
}
&__content {
$size: 16px;
2022-05-09 23:51:57 +00:00
width: $size;
height: $size;
2022-05-23 22:00:01 +00:00
/* Center Lottie animation */
display: flex;
align-items: center;
justify-content: center;
2022-05-09 23:51:57 +00:00
&--muted {
@include color-svg(
2023-05-04 18:04:22 +00:00
'../images/icons/v3/mic/mic-slash-fill-compact-light.svg',
2022-05-09 23:51:57 +00:00
$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;
}