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) {
|
|
|
|
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) {
|
|
|
|
ul li {
|
|
|
|
border: 0;
|
2012-11-29 06:00:50 +01:00
|
|
|
@include span-columns(3.25, $break-iPad);
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@include at-breakpoint($break-iPad-wide) {
|
|
|
|
ul li {
|
|
|
|
border: 0;
|
|
|
|
@include span-columns(4, $break-iPad-wide);
|
|
|
|
margin-right: 0;
|
2012-11-28 17:23:08 +01:00
|
|
|
}
|
|
|
|
}
|
2012-11-28 12:09:54 +01:00
|
|
|
}
|