signal-desktop/stylesheets/components/CallingLobby.scss

43 lines
747 B
SCSS
Raw Normal View History

// Copyright 2021 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
.module-CallingLobby {
&__local-preview {
position: absolute;
2021-12-01 23:13:09 +00:00
z-index: $z-index-negative;
2023-10-31 19:32:56 +00:00
top: 28px;
&--camera-is-on {
2021-09-10 17:24:05 +00:00
@include lonely-local-video-preview;
2023-10-25 13:40:22 +00:00
width: auto;
2023-10-31 19:32:56 +00:00
height: 100%;
max-height: calc(100% - 140px);
2021-09-10 17:24:05 +00:00
opacity: 0.6;
}
&--camera-is-off {
2023-10-31 19:32:56 +00:00
@include lonely-local-video-preview;
width: auto;
2021-09-10 17:24:05 +00:00
height: 100%;
2023-10-31 19:32:56 +00:00
max-height: calc(100% - 140px);
aspect-ratio: 4 / 3;
}
}
&__camera-is-off {
&--visible {
opacity: 1;
}
&--invisible {
opacity: 0;
}
}
}
2023-10-31 19:32:56 +00:00
.CallingLobby__Footer {
display: flex;
width: 100%;
justify-content: center;
2023-10-31 19:32:56 +00:00
}