mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2024-12-17 17:20:21 +01:00
307211a47f
* android, desktop: landscape calls on Android and better local camera ratio management The main thing is that now when exiting from CallActivity while in call audio devices are not reset to default. It allows to have landscape mode enabled * styles * fix changing calls
161 lines
2.8 KiB
CSS
161 lines
2.8 KiB
CSS
html,
|
|
body {
|
|
padding: 0;
|
|
margin: 0;
|
|
background-color: black;
|
|
}
|
|
|
|
#remote-video-stream.inline {
|
|
position: absolute;
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
@media (orientation: portrait) {
|
|
#remote-video-stream.collapsed {
|
|
position: absolute;
|
|
width: 30%;
|
|
max-width: 30%;
|
|
height: 39.9vw;
|
|
object-fit: cover;
|
|
margin: 16px;
|
|
border-radius: 16px;
|
|
bottom: 80px;
|
|
right: 0;
|
|
}
|
|
}
|
|
|
|
@media (orientation: landscape) {
|
|
#remote-video-stream.collapsed {
|
|
position: absolute;
|
|
width: 20%;
|
|
max-width: 20%;
|
|
height: 15.03vw;
|
|
object-fit: cover;
|
|
margin: 16px;
|
|
border-radius: 16px;
|
|
bottom: 80px;
|
|
right: 0;
|
|
}
|
|
}
|
|
|
|
@media (orientation: portrait) {
|
|
#remote-video-stream.collapsed-pip {
|
|
position: absolute;
|
|
width: 50%;
|
|
max-width: 50%;
|
|
height: 66.5vw;
|
|
object-fit: cover;
|
|
margin: 8px;
|
|
border-radius: 8px;
|
|
bottom: 0;
|
|
right: 0;
|
|
}
|
|
}
|
|
|
|
@media (orientation: landscape) {
|
|
#remote-video-stream.collapsed-pip {
|
|
position: absolute;
|
|
width: 50%;
|
|
max-width: 50%;
|
|
height: 37.59vw;
|
|
object-fit: cover;
|
|
margin: 8px;
|
|
border-radius: 8px;
|
|
bottom: 0;
|
|
right: 0;
|
|
}
|
|
}
|
|
|
|
#remote-screen-video-stream.inline {
|
|
position: absolute;
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
@media (orientation: portrait) {
|
|
#local-video-stream.inline {
|
|
position: absolute;
|
|
width: 30%;
|
|
max-width: 30%;
|
|
height: 39.9vw;
|
|
object-fit: cover;
|
|
margin: 16px;
|
|
border-radius: 16px;
|
|
top: 0;
|
|
right: 0;
|
|
}
|
|
}
|
|
|
|
@media (orientation: landscape) {
|
|
#local-video-stream.inline {
|
|
position: absolute;
|
|
width: 20%;
|
|
max-width: 20%;
|
|
height: 15.03vw;
|
|
object-fit: cover;
|
|
margin: 16px;
|
|
border-radius: 16px;
|
|
top: 0;
|
|
right: 0;
|
|
}
|
|
}
|
|
|
|
#local-screen-video-stream.inline {
|
|
position: absolute;
|
|
width: 30%;
|
|
max-width: 30%;
|
|
object-fit: cover;
|
|
margin: 16px;
|
|
border-radius: 16px;
|
|
top: 30%;
|
|
right: 0;
|
|
}
|
|
|
|
#remote-video-stream.fullscreen {
|
|
position: absolute;
|
|
height: 100%;
|
|
width: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
#remote-screen-video-stream.fullscreen {
|
|
position: absolute;
|
|
height: 100%;
|
|
width: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
#local-video-stream.fullscreen {
|
|
position: absolute;
|
|
height: 100%;
|
|
width: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
#local-screen-video-stream.fullscreen {
|
|
position: absolute;
|
|
height: 100%;
|
|
width: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
*::-webkit-media-controls {
|
|
display: none !important;
|
|
-webkit-appearance: none !important;
|
|
}
|
|
*::-webkit-media-controls-panel {
|
|
display: none !important;
|
|
-webkit-appearance: none !important;
|
|
}
|
|
*::-webkit-media-controls-play-button {
|
|
display: none !important;
|
|
-webkit-appearance: none !important;
|
|
}
|
|
*::-webkit-media-controls-start-playback-button {
|
|
display: none !important;
|
|
-webkit-appearance: none !important;
|
|
}
|