2016-01-07 20:15:09 +01:00
|
|
|
|
|
|
|
.menu {
|
|
|
|
}
|
|
|
|
|
|
|
|
.menu__link {
|
2016-01-14 16:01:45 +01:00
|
|
|
@extend .small;
|
2016-01-07 20:15:09 +01:00
|
|
|
display: inline-block;
|
2016-01-14 16:01:45 +01:00
|
|
|
padding: $spacer;
|
|
|
|
text-transform: uppercase;
|
2016-01-07 20:15:09 +01:00
|
|
|
}
|
|
|
|
|
2016-01-09 19:07:09 +01:00
|
|
|
.menu__logo {
|
|
|
|
display: block;
|
2016-01-10 02:11:27 +01:00
|
|
|
svg {
|
|
|
|
@extend .transition;
|
|
|
|
fill: #fff;
|
|
|
|
opacity: .8;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover svg,
|
|
|
|
&:focus svg {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
2016-01-09 19:07:09 +01:00
|
|
|
}
|
|
|
|
|
2016-01-07 20:15:09 +01:00
|
|
|
|
2016-01-09 19:07:09 +01:00
|
|
|
//
|
|
|
|
// Main menu overlaying a dark background image
|
|
|
|
// in front page hero or page headers
|
|
|
|
//
|
2016-01-07 20:15:09 +01:00
|
|
|
.menu--main {
|
2016-01-09 19:07:09 +01:00
|
|
|
position: absolute;;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
top: 0;
|
|
|
|
width: 100%;
|
|
|
|
z-index: 2;
|
|
|
|
height: 60px;
|
|
|
|
|
|
|
|
.menu__link {
|
|
|
|
color: #fff;
|
|
|
|
opacity: .8;
|
2016-01-07 20:15:09 +01:00
|
|
|
|
2016-01-14 12:28:02 +01:00
|
|
|
// link line
|
|
|
|
&:after {
|
|
|
|
content: "";
|
|
|
|
height: 2px;
|
|
|
|
width: 30px;
|
|
|
|
background: #fff;
|
|
|
|
display: block;
|
|
|
|
margin: ($spacer / 3) auto 0 auto;
|
|
|
|
// hidden by default
|
|
|
|
transform: scale(0);
|
|
|
|
transform-origin: center;
|
|
|
|
transition: transform .2s ease-out;
|
|
|
|
}
|
|
|
|
|
2016-01-09 19:07:09 +01:00
|
|
|
&:hover,
|
2016-01-14 12:28:02 +01:00
|
|
|
&:focus,
|
|
|
|
&.active {
|
|
|
|
opacity: 1;
|
|
|
|
|
|
|
|
// show link line
|
|
|
|
&:after { transform: scale(1); }
|
|
|
|
}
|
2016-01-09 19:07:09 +01:00
|
|
|
}
|
2016-01-07 20:15:09 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.menu--footer {
|
|
|
|
@extend .text-center;
|
2016-01-14 16:01:45 +01:00
|
|
|
|
|
|
|
.menu__link {
|
|
|
|
padding: $spacer ($spacer/1.5);
|
|
|
|
}
|
2016-01-07 20:15:09 +01:00
|
|
|
}
|