2019-01-08 11:52:31 +01:00
|
|
|
/**
|
|
|
|
* Hamburger menu
|
|
|
|
*/
|
|
|
|
|
2017-08-25 18:11:48 +02:00
|
|
|
.nav-burger {
|
2023-08-03 13:57:13 +02:00
|
|
|
float: right;
|
2019-01-08 11:52:31 +01:00
|
|
|
transition: all $animation-speed $animation;
|
2017-08-25 18:11:48 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.nav-burger__line {
|
2019-01-08 11:52:31 +01:00
|
|
|
width: 35px;
|
|
|
|
height: 3px;
|
2023-08-03 13:57:13 +02:00
|
|
|
background-color: map-get($colors, 'brand');
|
2019-01-08 11:52:31 +01:00
|
|
|
display: none;
|
|
|
|
margin: 8px auto;
|
|
|
|
transition: all $animation-speed $animation;
|
2017-08-25 18:11:48 +02:00
|
|
|
|
2019-01-08 11:52:31 +01:00
|
|
|
@include resp-max($breakpoint-md) {
|
|
|
|
display: block;
|
2017-08-25 18:11:48 +02:00
|
|
|
}
|
|
|
|
|
2019-01-08 11:52:31 +01:00
|
|
|
.nav-burger.open & {
|
|
|
|
&:nth-child(2) {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:nth-child(1) {
|
|
|
|
transform: translateY(11px) rotate(45deg);
|
|
|
|
}
|
|
|
|
|
|
|
|
&:nth-child(3) {
|
|
|
|
transform: translateY(-11px) rotate(-45deg);
|
|
|
|
}
|
2017-08-25 18:11:48 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2019-01-08 11:52:31 +01:00
|
|
|
/**
|
|
|
|
* Navs
|
|
|
|
*/
|
|
|
|
|
2014-01-30 12:20:51 +01:00
|
|
|
.nav {
|
2017-12-15 13:51:21 +01:00
|
|
|
list-style: none;
|
|
|
|
margin: 0;
|
2017-08-25 18:11:48 +02:00
|
|
|
|
2017-12-15 13:51:21 +01:00
|
|
|
> li {
|
2019-01-08 11:52:31 +01:00
|
|
|
display: inline-block;
|
|
|
|
margin-right: $base-spacing-unit;
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
> a {
|
|
|
|
display: block;
|
|
|
|
}
|
2017-08-25 18:11:48 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.nav--header {
|
2019-01-08 11:52:31 +01:00
|
|
|
@include resp-max($breakpoint-md) {
|
2023-08-03 13:57:13 +02:00
|
|
|
ul {
|
|
|
|
list-style: none;
|
2015-10-15 18:24:32 +02:00
|
|
|
}
|
2014-02-03 16:33:44 +01:00
|
|
|
}
|
2017-08-25 18:11:48 +02:00
|
|
|
}
|