|
|
@ -1,17 +1,61 @@
|
|
|
|
@import '../../../styles';
|
|
|
|
@import '../../../styles';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//region Colors
|
|
|
|
|
|
|
|
$color-sun: #E4C74D;
|
|
|
|
|
|
|
|
$color-cloud-inner: #FFFFFF;
|
|
|
|
|
|
|
|
$color-cloud-outer: #D4D4D2;
|
|
|
|
|
|
|
|
$color-parent-outer: #81C0D5;
|
|
|
|
|
|
|
|
$color-parent-inner: #C0E6F6;
|
|
|
|
|
|
|
|
$color-moon-inner: #FFFDF2;
|
|
|
|
|
|
|
|
$color-moon-outer: #DEE1C5;
|
|
|
|
|
|
|
|
$color-stars: #FCFCFC;
|
|
|
|
|
|
|
|
// endregion
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//region Mixins
|
|
|
|
|
|
|
|
@mixin crater($top, $left, $size) {
|
|
|
|
|
|
|
|
content: '';
|
|
|
|
|
|
|
|
position: absolute;
|
|
|
|
|
|
|
|
top: $top;
|
|
|
|
|
|
|
|
left: $left;
|
|
|
|
|
|
|
|
width: $size;
|
|
|
|
|
|
|
|
height: $size;
|
|
|
|
|
|
|
|
background-color: #EFEEDA;
|
|
|
|
|
|
|
|
border-radius: 100%;
|
|
|
|
|
|
|
|
border: 4px solid $color-moon-outer;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@mixin cloudBubble($top, $right, $width, $height, $deg) {
|
|
|
|
|
|
|
|
content: '';
|
|
|
|
|
|
|
|
display: block;
|
|
|
|
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
top: $top;
|
|
|
|
|
|
|
|
right: $right;
|
|
|
|
|
|
|
|
width: $width;
|
|
|
|
|
|
|
|
height: $height;
|
|
|
|
|
|
|
|
border: 8px solid $color-cloud-outer;
|
|
|
|
|
|
|
|
border-radius: 100%;
|
|
|
|
|
|
|
|
border-right-color: transparent;
|
|
|
|
|
|
|
|
border-bottom-color: transparent;
|
|
|
|
|
|
|
|
transform: rotateZ($deg);
|
|
|
|
|
|
|
|
background-color: $color-cloud-inner;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
//endregion
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$theme-transition: all .3s ease-in-out;
|
|
|
|
|
|
|
|
|
|
|
|
.header {
|
|
|
|
.header {
|
|
|
|
padding: 0 1rem;
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
padding: 1rem;
|
|
|
|
display: flex;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
flex-direction: row;
|
|
|
|
align-items: center;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: space-between;
|
|
|
|
justify-content: space-between;
|
|
|
|
gap: 4rem;
|
|
|
|
gap: 2rem;
|
|
|
|
|
|
|
|
|
|
|
|
.left_part {
|
|
|
|
.left_part {
|
|
|
|
display: flex;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
flex-direction: row;
|
|
|
|
gap: 4rem;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
&__logo {
|
|
|
|
&__logo {
|
|
|
|
&--container{
|
|
|
|
&--container{
|
|
|
@ -28,6 +72,130 @@
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.right_part, .mobile_menu {
|
|
|
|
|
|
|
|
// Dark mode button
|
|
|
|
|
|
|
|
.wrapper {
|
|
|
|
|
|
|
|
text-align: center;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.toggle {
|
|
|
|
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
display: inline-block;
|
|
|
|
|
|
|
|
width: 100px;
|
|
|
|
|
|
|
|
padding: 4px;
|
|
|
|
|
|
|
|
border-radius: 40px;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
&:before, &:after {
|
|
|
|
|
|
|
|
content: '';
|
|
|
|
|
|
|
|
display: table;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
&:after {
|
|
|
|
|
|
|
|
clear: both;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.toggle-bg {
|
|
|
|
|
|
|
|
position: absolute;
|
|
|
|
|
|
|
|
top: -4px;
|
|
|
|
|
|
|
|
left: -4px;
|
|
|
|
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
height: 100%;
|
|
|
|
|
|
|
|
background-color: $color-parent-inner;
|
|
|
|
|
|
|
|
border-radius: 40px;
|
|
|
|
|
|
|
|
border: 4px solid $color-parent-outer;
|
|
|
|
|
|
|
|
transition: all .1s cubic-bezier(0.250, 0.460, 0.450, 0.940);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.toggle-input {
|
|
|
|
|
|
|
|
position: absolute;
|
|
|
|
|
|
|
|
top: 0;
|
|
|
|
|
|
|
|
left: 0;
|
|
|
|
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
height: 100%;
|
|
|
|
|
|
|
|
border: 1px solid red;
|
|
|
|
|
|
|
|
border-radius: 40px;
|
|
|
|
|
|
|
|
z-index: 2;
|
|
|
|
|
|
|
|
opacity: 0;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
&:checked ~ .toggle-switch {
|
|
|
|
|
|
|
|
margin-left: 0;
|
|
|
|
|
|
|
|
border-color: $color-moon-outer;
|
|
|
|
|
|
|
|
background-color: $color-moon-inner;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
&:checked ~ .toggle-bg {
|
|
|
|
|
|
|
|
background-color: #484848;
|
|
|
|
|
|
|
|
border-color: #202020;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
&:checked ~ .toggle-switch .toggle-switch-figure {
|
|
|
|
|
|
|
|
margin-left: 40px;
|
|
|
|
|
|
|
|
opacity: 0;
|
|
|
|
|
|
|
|
transform: scale(0.1);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
&:checked ~ .toggle-switch .toggle-switch-figureAlt {
|
|
|
|
|
|
|
|
transform: scale(1);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.toggle-switch {
|
|
|
|
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
width: 30px;
|
|
|
|
|
|
|
|
height: 30px;
|
|
|
|
|
|
|
|
margin-left: 60px;
|
|
|
|
|
|
|
|
background-color: #F5EB42;
|
|
|
|
|
|
|
|
border: 4px solid $color-sun;
|
|
|
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
|
|
|
transition: all .1s cubic-bezier(0.250, 0.460, 0.450, 0.940);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.toggle-switch-figure {
|
|
|
|
|
|
|
|
position: absolute;
|
|
|
|
|
|
|
|
bottom: -14px;
|
|
|
|
|
|
|
|
left: -50px;
|
|
|
|
|
|
|
|
display: block;
|
|
|
|
|
|
|
|
width: 80px;
|
|
|
|
|
|
|
|
height: 30px;
|
|
|
|
|
|
|
|
border: 8px solid $color-cloud-outer;
|
|
|
|
|
|
|
|
border-radius: 20px;
|
|
|
|
|
|
|
|
background-color: #fff;
|
|
|
|
|
|
|
|
transform: scale(0.4);
|
|
|
|
|
|
|
|
transition: all .12s cubic-bezier(0.250, 0.460, 0.450, 0.940);
|
|
|
|
|
|
|
|
&:after {
|
|
|
|
|
|
|
|
@include cloudBubble(-65px, -42px, 15px, 15px, 70deg);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
&:before {
|
|
|
|
|
|
|
|
@include cloudBubble(-25px, -10px, 30px, 30px, 30deg);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.toggle-switch-figureAlt {
|
|
|
|
|
|
|
|
@include crater(5px, 2px, 2px);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
box-shadow:
|
|
|
|
|
|
|
|
42px -7px 0 -3px $color-stars,
|
|
|
|
|
|
|
|
75px -10px 0 -3px $color-stars,
|
|
|
|
|
|
|
|
54px 4px 0 -4px $color-stars,
|
|
|
|
|
|
|
|
83px 7px 0 -2px $color-stars,
|
|
|
|
|
|
|
|
63px 18px 0 -4px $color-stars,
|
|
|
|
|
|
|
|
44px 23px 0 -2px $color-stars,
|
|
|
|
|
|
|
|
78px 21px 0 -3px $color-stars;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
transition: all .12s cubic-bezier(0.250, 0.460, 0.450, 0.940);
|
|
|
|
|
|
|
|
transform: scale(0);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
&:before {
|
|
|
|
|
|
|
|
@include crater(-6px, 12px, 7px);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
&:after {
|
|
|
|
|
|
|
|
@include crater(10px, 6px, 2px);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.right_part {
|
|
|
|
.right_part {
|
|
|
|
display: flex;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
flex-direction: row;
|
|
|
@ -37,25 +205,55 @@
|
|
|
|
&--menu {
|
|
|
|
&--menu {
|
|
|
|
display: flex;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
flex-direction: row;
|
|
|
|
|
|
|
|
flex-wrap: wrap;
|
|
|
|
gap: 1rem;
|
|
|
|
gap: 1rem;
|
|
|
|
|
|
|
|
|
|
|
|
a {
|
|
|
|
a {
|
|
|
|
color: $color-black;
|
|
|
|
color: $color-black;
|
|
|
|
text-decoration: none;
|
|
|
|
text-decoration: none;
|
|
|
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
transition: $theme-transition;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
&__connexion {
|
|
|
|
&--menu_mobile {
|
|
|
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
display: none;
|
|
|
|
|
|
|
|
z-index: 100;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
&--bottom {
|
|
|
|
display: flex;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
flex-direction: row;
|
|
|
|
gap: 2rem;
|
|
|
|
gap: 2rem;
|
|
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
&--toggles {
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
flex-direction: row;
|
|
|
|
|
|
|
|
gap: 2rem;
|
|
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
&__lang {
|
|
|
|
|
|
|
|
height: fit-content;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
&__connexion {
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
flex-direction: row;
|
|
|
|
|
|
|
|
gap: 1rem;
|
|
|
|
|
|
|
|
|
|
|
|
&--login {
|
|
|
|
&--login {
|
|
|
|
cursor: pointer;
|
|
|
|
cursor: pointer;
|
|
|
|
display: flex;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
align-items: center;
|
|
|
|
gap: 1rem;
|
|
|
|
gap: .5rem;
|
|
|
|
|
|
|
|
|
|
|
|
color: $color-purple;
|
|
|
|
color: $color-purple;
|
|
|
|
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
&--register {
|
|
|
|
&--register {
|
|
|
@ -63,9 +261,70 @@
|
|
|
|
border: 1px solid $color-black;
|
|
|
|
border: 1px solid $color-black;
|
|
|
|
border-radius: 10px;
|
|
|
|
border-radius: 10px;
|
|
|
|
padding: .75rem 2rem;
|
|
|
|
padding: .75rem 2rem;
|
|
|
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
transition: border .3s ease-in-out;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.mobile_menu {
|
|
|
|
|
|
|
|
position: absolute;
|
|
|
|
|
|
|
|
top: 0;
|
|
|
|
|
|
|
|
right: 0;
|
|
|
|
|
|
|
|
width: 50%;
|
|
|
|
|
|
|
|
height: 100vh;
|
|
|
|
|
|
|
|
background: $color-white;
|
|
|
|
|
|
|
|
transform: translateX(100%);
|
|
|
|
|
|
|
|
z-index: 99;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
transition: transform .3s ease-in-out, box-shadow .3s ease-in-out, background .3s ease-in-out;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
&.opened {
|
|
|
|
|
|
|
|
transform: translateX(0);
|
|
|
|
|
|
|
|
box-shadow: $color-black 0 0 5px 0;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
&--wrapper {
|
|
|
|
|
|
|
|
//padding-top: 6rem;
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
justify-content: center;
|
|
|
|
|
|
|
|
gap: 3rem;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
height: 100%;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
&--toggles {
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
gap: 2rem;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
&--menu {
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
gap: 1rem;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
a {
|
|
|
|
|
|
|
|
color: $color-black;
|
|
|
|
|
|
|
|
text-decoration: none;
|
|
|
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
transition: $theme-transition;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
&__connexion {
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
gap: 1rem;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.dark-theme {
|
|
|
|
.dark-theme {
|
|
|
@ -81,11 +340,58 @@
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.mobile_menu {
|
|
|
|
|
|
|
|
background: $color-light-black;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
&.opened {
|
|
|
|
|
|
|
|
box-shadow: $color-white 0 0 5px 0;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
&--menu {
|
|
|
|
|
|
|
|
a {
|
|
|
|
|
|
|
|
color: $color-white;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
&__connexion {
|
|
|
|
|
|
|
|
&--register {
|
|
|
|
|
|
|
|
border-color: $color-white;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@media (max-width: 1024px) {
|
|
|
|
@media (max-width: 1024px) {
|
|
|
|
|
|
|
|
.header {
|
|
|
|
|
|
|
|
.right_part {
|
|
|
|
|
|
|
|
flex-direction: column-reverse;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
&--menu_mobile {
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
&--menu {
|
|
|
|
|
|
|
|
display: none;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
&__connexion {
|
|
|
|
|
|
|
|
display: none;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
&--toggles {
|
|
|
|
|
|
|
|
display: none;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@media(max-width: 767px) {
|
|
|
|
|
|
|
|
.header {
|
|
|
|
|
|
|
|
.mobile_menu {
|
|
|
|
|
|
|
|
width: 75%;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|