2014-04-06 14:14:03 +00:00
|
|
|
/*
|
|
|
|
Navigation
|
|
|
|
*/
|
|
|
|
|
|
|
|
#menu {
|
2014-04-17 07:55:19 +00:00
|
|
|
@include span-columns(12);
|
2014-04-13 11:16:51 +00:00
|
|
|
font-family: $montserrat;
|
2014-04-08 23:28:46 +00:00
|
|
|
height: em(60);
|
2014-04-18 00:07:07 +00:00
|
|
|
margin-top: - em(60);
|
2014-04-12 01:35:42 +00:00
|
|
|
|
2014-04-06 14:14:03 +00:00
|
|
|
nav {
|
|
|
|
@include outer-container;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
ul.navigation {
|
|
|
|
position: relative;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
list-style: none;
|
|
|
|
float: left;
|
2014-04-18 00:07:07 +00:00
|
|
|
width: 100%;
|
|
|
|
background: transparent;
|
2014-04-19 01:12:02 +00:00
|
|
|
max-width: $max-width;
|
|
|
|
max-height: em(60);
|
2014-04-06 14:14:03 +00:00
|
|
|
|
|
|
|
> li {
|
|
|
|
float: left;
|
2014-04-21 18:19:03 +00:00
|
|
|
width: (100%/7);
|
2014-04-25 22:15:15 +00:00
|
|
|
border-right: 0.1em solid transparent;
|
2014-04-06 14:14:03 +00:00
|
|
|
|
2014-04-19 01:12:02 +00:00
|
|
|
.count {
|
|
|
|
float: right;
|
|
|
|
font-size: em(14);
|
|
|
|
border-radius: em(25);
|
|
|
|
background-color: $light-blue;
|
|
|
|
display: inline-block;
|
|
|
|
color: white;
|
|
|
|
line-height: em(14);
|
|
|
|
padding: em(5) em(8);
|
|
|
|
margin-top: - em(2);
|
|
|
|
}
|
|
|
|
|
2014-04-06 14:14:03 +00:00
|
|
|
> a {
|
2014-04-18 00:07:07 +00:00
|
|
|
width: 100%;
|
2014-04-06 14:14:03 +00:00
|
|
|
color: white;
|
2014-04-08 23:28:46 +00:00
|
|
|
height: em(60);
|
|
|
|
line-height: em(16);
|
|
|
|
padding: em(22);
|
2014-04-06 14:14:03 +00:00
|
|
|
float: left;
|
2014-04-19 01:12:02 +00:00
|
|
|
position: relative;
|
2014-04-18 00:07:07 +00:00
|
|
|
background-color: $navbar-primary;
|
2014-04-12 01:35:42 +00:00
|
|
|
|
2014-04-06 14:14:03 +00:00
|
|
|
&:hover,
|
|
|
|
&.active {
|
|
|
|
background-color: $navbar-secondary;
|
2014-04-19 01:12:02 +00:00
|
|
|
|
|
|
|
.count {
|
|
|
|
background-color: lighten($light-blue, 20);
|
|
|
|
}
|
2014-04-06 14:14:03 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-04-18 00:07:07 +00:00
|
|
|
&:last-child {
|
|
|
|
border-right: 0;
|
|
|
|
}
|
|
|
|
|
2014-04-06 14:14:03 +00:00
|
|
|
&.icon {
|
|
|
|
|
2014-04-19 01:12:02 +00:00
|
|
|
i {
|
|
|
|
color: lighten($light-blue, 30);
|
|
|
|
max-height: 60px;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
2014-04-08 23:28:46 +00:00
|
|
|
font-size: em(24);
|
2014-04-19 01:12:02 +00:00
|
|
|
line-height: 1em;
|
|
|
|
padding: em(12);
|
|
|
|
padding-right: em(14);
|
2014-04-06 14:14:03 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.dropdown {
|
|
|
|
|
|
|
|
ul {
|
|
|
|
display: none;
|
|
|
|
z-index: 10;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
2014-04-08 23:28:46 +00:00
|
|
|
position: relative;
|
2014-04-06 14:14:03 +00:00
|
|
|
|
|
|
|
ul {
|
2014-04-19 01:12:02 +00:00
|
|
|
box-shadow: $content-shadow;
|
2014-04-06 14:14:03 +00:00
|
|
|
display: block;
|
|
|
|
position: absolute;
|
2014-04-08 23:28:46 +00:00
|
|
|
top: em(60);
|
2014-04-06 14:14:03 +00:00
|
|
|
left: 0;
|
2014-04-08 23:28:46 +00:00
|
|
|
min-width: 100%;
|
2014-04-18 00:07:07 +00:00
|
|
|
background-color: $navbar-primary;
|
2014-04-06 14:14:03 +00:00
|
|
|
list-style: none;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
|
|
|
|
li {
|
2014-04-18 00:07:07 +00:00
|
|
|
border-bottom: em(1) solid $navbar-secondary;
|
2014-04-06 14:14:03 +00:00
|
|
|
|
2014-04-12 01:35:42 +00:00
|
|
|
&:first-child {
|
2014-04-18 00:07:07 +00:00
|
|
|
border-top: em(1) solid $navbar-secondary;
|
2014-04-12 01:35:42 +00:00
|
|
|
}
|
|
|
|
|
2014-04-06 14:14:03 +00:00
|
|
|
&:last-child {
|
|
|
|
border-bottom: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
2014-04-08 23:28:46 +00:00
|
|
|
white-space: nowrap;
|
2014-04-06 14:14:03 +00:00
|
|
|
display: block;
|
2014-04-08 23:28:46 +00:00
|
|
|
height: em(60);
|
|
|
|
line-height: em(16);
|
|
|
|
padding: em(22);
|
2014-04-06 14:14:03 +00:00
|
|
|
color: $navbar-text;
|
|
|
|
}
|
2014-04-18 00:07:07 +00:00
|
|
|
|
|
|
|
&:hover a {
|
|
|
|
background: $light-blue;
|
|
|
|
}
|
2014-04-06 14:14:03 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2014-04-19 01:12:02 +00:00
|
|
|
}
|