signal-desktop/stylesheets/components/CallingStatusIndicator.scss

65 lines
1.4 KiB
SCSS
Raw Normal View History

// Copyright 2023 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
.CallingStatusIndicator {
$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);
background: rgba($color-gray-80, 0.7);
&::after {
content: '';
$icon-size: 16px;
width: $icon-size;
height: $icon-size;
}
}
2023-12-06 21:52:29 +00:00
.CallingStatusIndicator--HandRaised {
background: $color-white;
}
.CallingStatusIndicator--HandRaised::after {
@include color-svg(
'../images/icons/v3/raise_hand/raise_hand-light.svg',
$color-black
);
}
.CallingStatusIndicator--Video::after {
@include color-svg(
'../images/icons/v3/video/video-slash-fill-light.svg',
$color-white
);
}
2023-12-06 21:52:29 +00:00
.module-ongoing-call__footer__local-preview .CallingStatusIndicator {
position: absolute;
2023-12-06 21:52:29 +00:00
z-index: $z-index-base;
}
.module-ongoing-call__footer__local-preview .CallingStatusIndicator--Video {
top: 6px;
inset-inline-start: 6px;
2023-12-06 21:52:29 +00:00
}
.module-ongoing-call__footer__local-preview
.CallingStatusIndicator--HandRaised {
bottom: 6px;
inset-inline-start: 6px;
}
.module-ongoing-call__participants__grid
.module-ongoing-call__group-call-remote-participant--hand-raised
.CallingStatusIndicator--HandRaised {
margin-block: 1px;
margin-inline-start: 5px;
}