2012-11-28 12:09:54 +01:00
|
|
|
// ===========================================================================
|
|
|
|
// NAVIGATION
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.navigation {
|
2012-11-28 17:23:08 +01:00
|
|
|
background: $navigation-background-color;
|
|
|
|
color: $navigation-text-color;
|
|
|
|
@include text-shadow;
|
2012-11-28 12:09:54 +01:00
|
|
|
|
2012-11-28 17:23:08 +01:00
|
|
|
a { @include link(lighten($navigation-text-color, 5%), lighten($navigation-text-color, 15%), lighten($navigation-text-color, 25%)); }
|
|
|
|
|
|
|
|
@include at-breakpoint($break-iPhone) {
|
2012-11-29 18:33:08 +01:00
|
|
|
display: none;
|
|
|
|
|
2012-11-28 17:23:08 +01:00
|
|
|
ul {
|
|
|
|
padding: 0;
|
|
|
|
list-style: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
li {
|
|
|
|
border-bottom: 1px solid $navigation-border-color;
|
|
|
|
|
|
|
|
&:last-child { border-bottom: 0; }
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
@include tappable-link;
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@include at-breakpoint($break-iPhone-wide) {
|
|
|
|
ul {
|
2012-11-29 06:00:50 +01:00
|
|
|
@extend %clearfix-iPhone-wide;
|
|
|
|
list-style: none;
|
2012-11-28 17:23:08 +01:00
|
|
|
|
2012-11-29 06:00:50 +01:00
|
|
|
li {
|
|
|
|
@include span-columns(2.5, $break-iPhone);
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
padding: {
|
|
|
|
right: 0;
|
|
|
|
left: 0;
|
|
|
|
}
|
2012-11-28 17:23:08 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@include at-breakpoint($break-iPad) {
|
2012-11-29 18:33:08 +01:00
|
|
|
position: relative;
|
|
|
|
top: -7em;
|
|
|
|
display: block;
|
|
|
|
margin-bottom: -3em;
|
|
|
|
background: none;
|
|
|
|
|
|
|
|
a {
|
|
|
|
@include link;
|
|
|
|
text-shadow: 0 1px 1px $highlight-color;
|
2012-11-29 06:00:50 +01:00
|
|
|
}
|
2012-11-29 18:33:08 +01:00
|
|
|
|
|
|
|
ul {
|
|
|
|
float: right;
|
|
|
|
|
|
|
|
li {
|
|
|
|
margin-right: 2em;
|
|
|
|
border: 0;
|
|
|
|
width: auto;
|
|
|
|
|
|
|
|
&:last-child { margin-right: 0; }
|
|
|
|
}
|
2012-11-28 17:23:08 +01:00
|
|
|
}
|
|
|
|
}
|
2012-11-28 12:09:54 +01:00
|
|
|
}
|