partey_workadventure/front/style/cowebsite-mobile.scss

137 lines
2.5 KiB
SCSS
Raw Normal View History

2021-04-23 19:29:43 +02:00
@media (max-aspect-ratio: 1/1) {
#main-container {
display: flex;
flex-direction: column-reverse;
}
2021-10-07 14:44:15 +02:00
2021-04-23 19:29:43 +02:00
#cowebsite {
left: 0;
top: 0;
width: 100%;
height: 50%;
display: flex;
flex-direction: column-reverse;
2021-10-07 14:44:15 +02:00
2021-04-23 19:29:43 +02:00
&.loading {
transform: translateY(-90%);
}
&.hidden {
transform: translateY(-100%);
}
2021-10-07 14:44:15 +02:00
2021-04-23 19:29:43 +02:00
main {
height: 100%;
}
2021-10-07 14:44:15 +02:00
&-container {
display: none;
}
2021-04-23 19:29:43 +02:00
aside {
2021-10-12 10:38:49 +02:00
height: 50px;
2021-04-23 19:29:43 +02:00
cursor: ns-resize;
2021-10-07 14:44:15 +02:00
flex-direction: row-reverse;
align-items: center;
display: flex;
justify-content: space-between;
#cowebsite-aside-holder {
pointer-events: none;
height: 100%;
img {
height: 80%;
}
}
#cowebsite-sub-icons {
display: inline-flex;
flex-direction: row;
justify-content: center;
align-items: center;
margin-top: 0;
height: 100%;
visibility: visible;
img {
2021-10-12 10:38:49 +02:00
height: 30px;
width: 30px;
2021-10-07 14:44:15 +02:00
cursor: pointer !important;
border-radius: 50%;
background-color: whitesmoke;
}
&>div {
display: flex;
margin-left: 2px;
margin-right: 2px;
}
}
#cowebsite-aside-buttons {
flex-direction: row-reverse;
margin-left: auto;
margin-bottom: 0;
justify-content: end;
}
2021-04-23 19:29:43 +02:00
img {
cursor: ns-resize;
}
2021-10-07 14:44:15 +02:00
#cowebsite-fullscreen {
padding-top: 0;
2021-04-23 19:29:43 +02:00
}
2021-10-07 14:44:15 +02:00
.top-right-btn {
img {
width: 15px;
}
2021-04-23 19:29:43 +02:00
}
}
}
}
@media (max-width:960px) and (max-height:768px) {
#cowebsite {
&-container {
display: none;
}
aside {
#cowebsite-sub-icons {
display: inline-flex;
flex-direction: column;
justify-content: center;
align-items: center;
margin-top: 0;
height: 100%;
visibility: visible;
img {
height: 28px;
width: 28px;
cursor: pointer !important;
border-radius: 50%;
background-color: whitesmoke;
}
&>div {
display: flex;
margin-top: 2px;
margin-bottom: 2px;
transform: rotate(-90deg);
}
}
img {
cursor: ns-resize;
}
}
}
}