partey_workadventure/front/dist/resources/style/mobile-style.scss

110 lines
1.5 KiB
SCSS
Raw Normal View History

2021-04-22 11:47:59 +02:00
@media screen and (max-width: 700px),
screen and (max-height: 700px){
video#myCamVideo {
2021-04-20 21:11:05 +02:00
width: 150px;
2021-04-20 18:49:42 +02:00
}
.sidebar {
width: 20%;
min-width: 200px;
position: absolute;
display: block;
right: 0;
height: 80%;
&> div {
max-height: 120px;
min-width: 200px;
}
.video-container{
min-width: 200px;
}
2021-04-20 18:49:42 +02:00
}
2021-04-20 21:11:05 +02:00
.btn-cam-action {
&:hover{
transform: translateY(20px);
}
2021-04-20 21:11:05 +02:00
div {
&:hover {
background-color: #666;
}
2021-04-20 21:11:05 +02:00
bottom: 30px;
&.btn-micro {
right: 0;
}
2021-04-20 21:11:05 +02:00
&.btn-monitor {
right: 130px;
}
&.btn-video {
right: 65px;
}
}
2021-04-20 18:49:42 +02:00
}
.main-section {
position: absolute;
width: 100%;
min-width: 400px;
& > div {
z-index: 2;
}
2021-04-20 18:49:42 +02:00
}
}
2021-04-20 21:11:05 +02:00
@media (max-aspect-ratio: 1/1) {
#main-container {
display: flex;
flex-direction: column-reverse;
}
#cowebsite {
left: 0;
top: 0;
width: 100%;
height: 50%;
display: flex;
flex-direction: column-reverse;
&.loading {
transform: translateY(-90%);
}
&.hidden {
transform: translateY(-100%);
}
main {
height: 100%;
}
aside {
height: 30px;
cursor: ns-resize;
flex-direction: column;
img {
cursor: ns-resize;
}
}
.top-right-btn {
&#cowebsite-close {
right: 0;
}
&#cowebsite-fullscreen {
left: 0;
}
}
}
}