148 lines
2.1 KiB
CSS
148 lines
2.1 KiB
CSS
.page {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
width: 100%;
|
|
max-width: 460px;
|
|
padding: 20px 24px;
|
|
color: #2C2C2C;
|
|
}
|
|
|
|
.background-top-blob {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
}
|
|
|
|
.header {
|
|
z-index: 1;
|
|
}
|
|
|
|
.header-title {
|
|
color: #fff !important;
|
|
}
|
|
|
|
.title {
|
|
font-size: 24px;
|
|
font-weight: 400;
|
|
margin: 0;
|
|
margin-top: 28px;
|
|
z-index: 1;
|
|
color: #fff;
|
|
line-height: 125%;
|
|
}
|
|
|
|
.title-select {
|
|
margin: 0;
|
|
margin-top: 38px;
|
|
font-size: 20px;
|
|
font-weight: 400;
|
|
}
|
|
|
|
.description {
|
|
font-size: 15px;
|
|
font-weight: 400;
|
|
margin-top: 44px;
|
|
text-align: center;
|
|
}
|
|
|
|
.genders-container {
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: center;
|
|
flex-wrap: wrap;
|
|
gap: 16px;
|
|
width: 100%;
|
|
margin-top: 45px;
|
|
}
|
|
|
|
.gender {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 3px;
|
|
width: 100%;
|
|
max-width: 150px;
|
|
cursor: pointer;
|
|
transition: transform .7s;
|
|
}
|
|
|
|
.gender__img {
|
|
width: 111px;
|
|
}
|
|
|
|
.gender__name {
|
|
font-size: 27px;
|
|
line-height: 125%;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.image-container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
border: none;
|
|
border-radius: 10px;
|
|
width: 100%;
|
|
padding: 36px 8px 10px;
|
|
}
|
|
|
|
.gender__slide-container {
|
|
width: 100%;
|
|
height: 31px;
|
|
border-radius: 13px;
|
|
background-color: #fff;
|
|
position: relative;
|
|
}
|
|
|
|
.gender__slide-element {
|
|
width: 27px;
|
|
height: 27px;
|
|
position: absolute;
|
|
top: calc(50% - 13.5px);
|
|
left: 10px;
|
|
transition: left .7s;
|
|
}
|
|
|
|
.gender--selected {
|
|
transform: scale(1.1);
|
|
/* animation: gender-click 1.4s linear; */
|
|
}
|
|
|
|
.gender--selected .gender__slide-element {
|
|
left: calc(100% - 27px - 10px);
|
|
/* animation: gender-slide 1.4s linear; */
|
|
}
|
|
|
|
.privacy-policy {
|
|
max-width: 316px;
|
|
margin-top: 26px;
|
|
}
|
|
|
|
.toast-container {
|
|
margin-top: 16px;
|
|
}
|
|
|
|
@keyframes gender-click {
|
|
0% {
|
|
transform: scale(1);
|
|
}
|
|
50% {
|
|
transform: scale(1.1);
|
|
}
|
|
100% {
|
|
transform: scale(1);
|
|
}
|
|
}
|
|
|
|
@keyframes gender-slide {
|
|
0% {
|
|
left: 10px;
|
|
}
|
|
50% {
|
|
left: calc(100% - 27px - 10px);
|
|
}
|
|
100% {
|
|
left: 10px;
|
|
}
|
|
} |