signal-desktop/stylesheets/components/CallingAudioIndicator.scss

37 lines
696 B
SCSS
Raw Normal View History

// Copyright 2022 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
.CallingAudioIndicator {
2022-05-09 23:51:57 +00:00
$size: 20px;
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: $color-black-alpha-30;
}
&__content {
2022-05-23 22:00:01 +00:00
$size: 14px;
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
);
}
}
}