2016-01-07 20:15:09 +01:00
|
|
|
|
|
|
|
.menu {
|
2016-01-17 17:57:55 +01:00
|
|
|
position: relative;
|
|
|
|
z-index: 10;
|
|
|
|
|
|
|
|
.grid__col {
|
|
|
|
text-align: center;
|
|
|
|
|
|
|
|
@media ($screen-md) {
|
|
|
|
text-align: left;
|
|
|
|
|
|
|
|
&:last-child { text-align: right; }
|
|
|
|
}
|
|
|
|
}
|
2016-01-07 20:15:09 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.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-21 12:08:23 +01:00
|
|
|
padding: $spacer;
|
2016-01-14 16:01:45 +01:00
|
|
|
text-transform: uppercase;
|
2016-01-17 17:57:55 +01:00
|
|
|
|
2016-01-21 12:08:23 +01:00
|
|
|
@media ($screen-md) {
|
|
|
|
padding: ($spacer * 1.5) $spacer;
|
|
|
|
}
|
|
|
|
|
2016-01-17 17:57:55 +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;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus,
|
|
|
|
&.active {
|
|
|
|
// show link line
|
|
|
|
&:after { transform: scale(1); }
|
|
|
|
}
|
2016-01-07 20:15:09 +01:00
|
|
|
}
|
|
|
|
|
2016-01-09 19:07:09 +01:00
|
|
|
.menu__logo {
|
|
|
|
display: block;
|
2016-01-17 17:57:55 +01:00
|
|
|
margin-top: $spacer;
|
|
|
|
|
|
|
|
@media ($screen-md) {
|
|
|
|
display: inline-block;
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
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-17 17:57:55 +01:00
|
|
|
.menu__logo {
|
|
|
|
@media ($screen-md) {
|
|
|
|
padding: ($spacer/1.2) 0 ($spacer * 1.5) 0;
|
|
|
|
}
|
|
|
|
}
|
2016-01-09 19:07:09 +01:00
|
|
|
|
|
|
|
.menu__link {
|
|
|
|
color: #fff;
|
|
|
|
opacity: .8;
|
2016-01-07 20:15:09 +01:00
|
|
|
|
2016-01-09 19:07:09 +01:00
|
|
|
&:hover,
|
2016-01-14 12:28:02 +01:00
|
|
|
&:focus,
|
|
|
|
&.active {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
2016-01-09 19:07:09 +01:00
|
|
|
}
|
2016-01-07 20:15:09 +01:00
|
|
|
}
|
|
|
|
|
2016-01-17 17:57:55 +01:00
|
|
|
|
|
|
|
//
|
|
|
|
// Footer Menu
|
|
|
|
//
|
2016-01-07 20:15:09 +01:00
|
|
|
.menu--footer {
|
2016-01-21 12:08:23 +01:00
|
|
|
|
|
|
|
.menu__logo {
|
|
|
|
margin-bottom: $spacer;
|
|
|
|
|
|
|
|
@media ($screen-md) { margin-bottom: 0 }
|
|
|
|
}
|
|
|
|
|
2016-01-17 17:57:55 +01:00
|
|
|
.logo {
|
|
|
|
fill: $gray;
|
|
|
|
opacity: 1;
|
|
|
|
height: 9px;
|
|
|
|
}
|
2016-01-14 16:01:45 +01:00
|
|
|
|
|
|
|
.menu__link {
|
2016-01-17 17:57:55 +01:00
|
|
|
@extend .mini;
|
2016-01-21 12:08:23 +01:00
|
|
|
padding: ($spacer/2);
|
2016-01-17 17:57:55 +01:00
|
|
|
color: $gray;
|
|
|
|
|
|
|
|
// link line
|
|
|
|
&:after {
|
|
|
|
background: $link-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:first-child { padding-left: 0; }
|
|
|
|
&:last-child { padding-right: 0; }
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus,
|
|
|
|
&.active { color: $link-color; }
|
2016-01-14 16:01:45 +01:00
|
|
|
}
|
2016-01-07 20:15:09 +01:00
|
|
|
}
|