2012-11-28 12:09:54 +01:00
|
|
|
// ===========================================================================
|
|
|
|
// NAVIGATION
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-02-09 04:10:33 +01:00
|
|
|
$navigation-background-color: $pale-sky !default;
|
|
|
|
$navigation-text-color: $iron !default;
|
|
|
|
$navigation-border-color: $regent-grey !default;
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-11-28 12:09:54 +01:00
|
|
|
.navigation {
|
2013-02-09 04:10:33 +01:00
|
|
|
padding: {
|
|
|
|
top: 1em;
|
|
|
|
bottom: 1em;
|
|
|
|
}
|
2012-11-28 17:23:08 +01:00
|
|
|
background: $navigation-background-color;
|
|
|
|
color: $navigation-text-color;
|
2013-02-09 04:10:33 +01:00
|
|
|
@include text-shadow-dark;
|
|
|
|
|
|
|
|
a {
|
|
|
|
@extend %caps;
|
|
|
|
border: 0;
|
|
|
|
@include link(lighten($navigation-text-color, 5%),
|
|
|
|
lighten($navigation-text-color, 15%),
|
|
|
|
lighten($navigation-text-color, 25%));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2012-11-28 12:09:54 +01:00
|
|
|
|
2013-02-09 04:10:33 +01:00
|
|
|
// ---------------------------------------------------------------------------
|
|
|
|
// iPhone
|
2012-11-28 17:23:08 +01:00
|
|
|
|
2013-02-09 04:10:33 +01:00
|
|
|
@mixin navigation-iPhone {
|
|
|
|
.navigation {
|
2012-11-29 18:33:08 +01:00
|
|
|
display: none;
|
2013-02-09 04:10:33 +01:00
|
|
|
padding: {
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
2012-11-28 17:23:08 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
li {
|
|
|
|
border-bottom: 1px solid $navigation-border-color;
|
|
|
|
|
2013-02-09 04:10:33 +01:00
|
|
|
&:last-child { border: 0; }
|
2012-11-28 17:23:08 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
2013-02-09 04:10:33 +01:00
|
|
|
@include tappable;
|
2012-11-28 17:23:08 +01:00
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
2013-02-09 04:10:33 +01:00
|
|
|
}
|
2012-11-28 17:23:08 +01:00
|
|
|
|
|
|
|
|
2013-02-09 04:10:33 +01:00
|
|
|
|
|
|
|
// ---------------------------------------------------------------------------
|
|
|
|
// SMALL TABLET
|
|
|
|
|
|
|
|
@mixin navigation-small-tablet {
|
|
|
|
.navigation {
|
|
|
|
li { border-bottom: 0; }
|
|
|
|
|
|
|
|
ul {
|
|
|
|
margin: {
|
|
|
|
right: -$gutter-width;
|
|
|
|
left: -$gutter-width;
|
2012-11-28 17:23:08 +01:00
|
|
|
}
|
2013-02-09 04:10:33 +01:00
|
|
|
|
|
|
|
li { display: inline-block; }
|
2012-11-28 17:23:08 +01:00
|
|
|
}
|
|
|
|
|
2012-11-29 18:33:08 +01:00
|
|
|
a {
|
2013-02-09 04:10:33 +01:00
|
|
|
padding: {
|
|
|
|
right: $gutter-width;
|
|
|
|
left: $gutter-width;
|
2012-11-29 18:33:08 +01:00
|
|
|
}
|
2012-11-28 17:23:08 +01:00
|
|
|
}
|
|
|
|
}
|
2012-11-28 12:09:54 +01:00
|
|
|
}
|