Generateurv2/frontend/styles/room/join.module.scss

63 lines
809 B
SCSS
Raw Normal View History

2022-06-24 13:42:16 +02:00
@import '../variables';
@import '../mixins';
2022-05-18 10:15:54 +02:00
.main{
display: flex;
justify-content: center;
}
2022-06-24 13:42:16 +02:00
.form {
2022-05-18 10:15:54 +02:00
display: flex;
flex-direction: column;
height: 80%;
2022-06-24 13:42:16 +02:00
width: 50%;
@include down(840){
width: 100%;
}
2022-05-18 10:15:54 +02:00
justify-content: center;
2022-06-24 13:42:16 +02:00
gap: 10px;
opacity: 1;
animation: fade 0.2s ease-in-out forwards 1;
}
@keyframes fade {
from {
opacity: 0;
}
to {
opacity: 1;
}
2022-05-18 10:15:54 +02:00
}
2022-06-24 13:42:16 +02:00
2022-05-18 10:15:54 +02:00
.title{
font-size: 2.5em;
2022-06-24 13:42:16 +02:00
text-align: center;
2022-05-18 10:15:54 +02:00
}
2022-06-24 13:42:16 +02:00
.swipe {
transition: 0.6s;
transform: translateX(-200%);
}
.activeToggler{
transition: .3s;
cursor: pointer;
display: flex;
align-items: center;
& svg{
width: 20px;
height: 20px;
transition: .3s;
transform: rotate(-90deg);
}
}
.active{
color: $primary;
font-weight: 800;
& svg{
transform: rotate(0);
}
}