2020-09-16 15:06:26 +00:00
|
|
|
.site-header{
|
2020-09-19 10:13:36 +00:00
|
|
|
position: fixed;
|
2020-09-16 15:06:26 +00:00
|
|
|
width: 100%;
|
|
|
|
z-index: 2;
|
|
|
|
transition: background-color .3s ease-out;
|
2020-09-18 20:01:59 +00:00
|
|
|
|
|
|
|
&--is-expanded {
|
|
|
|
background-color: orange;
|
|
|
|
padding-bottom: 18px;
|
|
|
|
}
|
2020-09-16 15:06:26 +00:00
|
|
|
|
|
|
|
@include atMedium(){
|
2020-09-19 10:13:36 +00:00
|
|
|
position: absolute;
|
2020-09-16 15:06:26 +00:00
|
|
|
position: fixed;
|
2020-09-17 15:21:49 +00:00
|
|
|
background-color: rgba(#000, 0.4);
|
2020-09-16 15:06:26 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&__btn-container{
|
|
|
|
@include atMedium(){
|
2020-09-17 15:48:05 +00:00
|
|
|
padding: 32px 0px 32px 0px;
|
2020-09-16 15:06:26 +00:00
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-09-19 10:13:36 +00:00
|
|
|
&__language{
|
2020-10-15 20:35:24 +00:00
|
|
|
position: absolute;
|
|
|
|
top: 10px;
|
|
|
|
left: -5px;
|
2020-09-19 10:13:36 +00:00
|
|
|
border-radius: 15px;
|
|
|
|
overflow: hidden;
|
|
|
|
width: 25px;
|
|
|
|
height: 25px;
|
|
|
|
|
|
|
|
@include atMedium(){
|
2020-10-15 20:35:24 +00:00
|
|
|
position: unset;
|
2020-09-19 10:13:36 +00:00
|
|
|
margin: 40px 20px 0px 0px;
|
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-09-18 20:01:59 +00:00
|
|
|
&__menu-icon{
|
|
|
|
width: 20px;
|
|
|
|
height: 19px;
|
|
|
|
position: absolute;
|
|
|
|
z-index: 10;
|
|
|
|
top: 10px;
|
|
|
|
right: 10px;
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
content: "";
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 20px;
|
|
|
|
height: 3px;
|
|
|
|
background: #FFF;
|
|
|
|
transform-origin: 0 0;
|
|
|
|
transition: transform .3s ease-out;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__middle {
|
|
|
|
position: absolute;
|
|
|
|
top: 8px;
|
|
|
|
left: 0;
|
|
|
|
width: 20px;
|
|
|
|
height: 3px;
|
|
|
|
background: #FFF;
|
|
|
|
transition: all .3s ease-out;
|
|
|
|
transform-origin: 0 50%;
|
|
|
|
}
|
|
|
|
|
|
|
|
&::after {
|
|
|
|
content: "";
|
|
|
|
position: absolute;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 20px;
|
|
|
|
height: 3px;
|
|
|
|
background: #FFF;
|
|
|
|
transform-origin: 0 100%;
|
|
|
|
transition: transform .3s ease-out;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include atMedium {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__menu-icon--close-x {
|
|
|
|
&::before {
|
|
|
|
transform: rotate(45deg) scaleX(1.25);
|
|
|
|
}
|
|
|
|
|
|
|
|
.site-header__menu-icon__middle{
|
|
|
|
transform: scaleX(0);
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&::after {
|
|
|
|
transform: rotate(-45deg) scaleX(1.25) translateY(1px);
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-09-16 15:06:26 +00:00
|
|
|
&__menu-content{
|
|
|
|
opacity: 0;
|
|
|
|
transform: scale(1.2);
|
|
|
|
transtion: all .3s ease-out;
|
|
|
|
position: relative;
|
|
|
|
z-index: -10;
|
|
|
|
padding-top: 90px;
|
|
|
|
text-align: center;
|
2020-10-15 20:35:24 +00:00
|
|
|
display: none;
|
2020-09-16 15:06:26 +00:00
|
|
|
|
2020-09-18 20:01:59 +00:00
|
|
|
&--is-visible{
|
2020-10-15 20:35:24 +00:00
|
|
|
display: block;
|
2020-09-18 20:01:59 +00:00
|
|
|
transform: scale(1);
|
|
|
|
opacity: 1;
|
|
|
|
z-index: 1;
|
|
|
|
}
|
|
|
|
|
2020-09-16 15:06:26 +00:00
|
|
|
@include atMedium(){
|
2020-10-15 20:35:24 +00:00
|
|
|
display: inline;
|
2020-09-16 15:06:26 +00:00
|
|
|
opacity: 1;
|
|
|
|
z-index: 1;
|
|
|
|
padding-top: 0;
|
|
|
|
transform: scale(1);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__logo{
|
|
|
|
position: absolute;
|
2020-10-15 20:35:24 +00:00
|
|
|
top: -1px;
|
2020-09-18 20:01:59 +00:00
|
|
|
padding: 5px 15px;
|
2020-09-16 15:06:26 +00:00
|
|
|
left: 50%;
|
|
|
|
transform-origin: 50% 0%;
|
|
|
|
transform: translateX(-50%) scale(.8);
|
|
|
|
transition: transform .3s ease-out;
|
2020-09-18 20:01:59 +00:00
|
|
|
background-color: rgba(black, 0.5);
|
|
|
|
|
|
|
|
&--orange-bg {
|
2020-09-19 10:13:36 +00:00
|
|
|
transition: background-color .3s ease-out;
|
2020-09-18 20:01:59 +00:00
|
|
|
background-color: orange;
|
|
|
|
}
|
2020-09-16 15:06:26 +00:00
|
|
|
|
|
|
|
@include atMedium(){
|
2020-09-18 20:01:59 +00:00
|
|
|
padding: 0;
|
|
|
|
top: 3px;
|
2020-09-17 15:21:49 +00:00
|
|
|
position: relative;
|
|
|
|
float: left;
|
2020-09-16 15:06:26 +00:00
|
|
|
left: auto;
|
|
|
|
transform: translateX(0);
|
2020-09-18 20:01:59 +00:00
|
|
|
background-color: rgba(black, 0);
|
2020-09-16 15:06:26 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|