2021-08-17 21:45:18 +00:00
|
|
|
// 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;
|
2021-08-18 21:06:26 +00:00
|
|
|
|
|
|
|
&--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;
|
2021-08-18 21:06:26 +00:00
|
|
|
}
|
2021-08-17 21:45:18 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&__camera-is-off {
|
|
|
|
&--visible {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
&--invisible {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2023-10-31 19:32:56 +00:00
|
|
|
|
|
|
|
.module-CallingLobby__CallControls-spacer {
|
|
|
|
flex-basis: 70px;
|
|
|
|
}
|