signal-desktop/stylesheets/components/CallingLobby.scss
2023-10-25 09:40:22 -04:00

56 lines
1.1 KiB
SCSS

// Copyright 2021 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
.module-CallingLobby {
&__local-preview {
position: absolute;
z-index: $z-index-negative;
&--camera-is-on {
@include lonely-local-video-preview;
top: 15px;
height: 100%;
max-height: calc(100% - 127px);
width: auto;
opacity: 0.6;
}
&--camera-is-off {
height: 100%;
width: 100%;
}
}
&__camera-is-off {
@include calling-text-shadow;
@include font-subtitle;
align-items: center;
color: $color-white;
display: flex;
flex-direction: column;
flex-grow: 1;
justify-content: center;
text-align: center;
transition: opacity 100ms ease-out;
user-select: none;
&--visible {
opacity: 1;
}
&--invisible {
opacity: 0;
}
&::before {
content: '';
display: block;
background-image: url('../images/icons/v3/video/video-slash-fill-light-white.svg');
background-size: 100%;
-webkit-filter: drop-shadow(0 0 4px $color-black-alpha-40);
height: 20px;
margin-bottom: 8px;
width: 20px;
}
}
}