2016-03-10 19:06:59 +01:00
|
|
|
/* ==========================================================================
|
|
|
|
NAVIGATION
|
|
|
|
========================================================================== */
|
|
|
|
|
|
|
|
/*
|
|
|
|
Breadcrumb navigation links
|
|
|
|
========================================================================== */
|
|
|
|
|
|
|
|
.breadcrumbs {
|
2016-03-15 17:34:14 +01:00
|
|
|
@include container;
|
|
|
|
@include clearfix;
|
2016-03-11 21:54:16 +01:00
|
|
|
margin-bottom: 1em;
|
2016-03-15 17:34:14 +01:00
|
|
|
padding-left: 2em;
|
|
|
|
padding-right: 2em;
|
2016-03-11 21:54:16 +01:00
|
|
|
font-family: $sans-serif;
|
2016-03-21 21:36:24 +01:00
|
|
|
|
2016-03-10 19:06:59 +01:00
|
|
|
ol {
|
|
|
|
padding: 0;
|
|
|
|
list-style: none;
|
2016-03-15 17:34:14 +01:00
|
|
|
font-size: 14px;
|
2016-03-21 21:36:24 +01:00
|
|
|
|
2016-03-15 17:34:14 +01:00
|
|
|
@include breakpoint($medium) {
|
|
|
|
@include span(10 of 12);
|
|
|
|
@include pre(2);
|
|
|
|
}
|
2016-03-10 19:06:59 +01:00
|
|
|
}
|
2016-03-21 21:36:24 +01:00
|
|
|
|
2016-03-10 19:06:59 +01:00
|
|
|
li {
|
|
|
|
display: inline;
|
|
|
|
}
|
2016-03-21 21:36:24 +01:00
|
|
|
|
2016-03-10 19:06:59 +01:00
|
|
|
.current {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
Post pagination navigation links
|
|
|
|
========================================================================== */
|
|
|
|
|
|
|
|
.pagination {
|
|
|
|
padding-top: 0.5em;
|
|
|
|
border-top: 1px solid $border-color;
|
2016-03-21 21:36:24 +01:00
|
|
|
|
2016-03-10 19:06:59 +01:00
|
|
|
ul {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
list-style-type: none;
|
|
|
|
}
|
2016-03-21 21:36:24 +01:00
|
|
|
|
2016-03-10 19:06:59 +01:00
|
|
|
li {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
2016-03-21 21:36:24 +01:00
|
|
|
|
2016-03-10 19:06:59 +01:00
|
|
|
li + li:before {
|
|
|
|
content: "";
|
|
|
|
padding-right: 10px;
|
|
|
|
}
|
2016-03-21 21:36:24 +01:00
|
|
|
|
2016-03-10 19:06:59 +01:00
|
|
|
.current {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
2016-03-21 21:01:19 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
Priority plus navigation
|
|
|
|
========================================================================== */
|
|
|
|
|
|
|
|
.greedy-nav {
|
|
|
|
position: relative;
|
|
|
|
min-width: 250px;
|
|
|
|
background: #fff;
|
|
|
|
|
|
|
|
a {
|
|
|
|
display: block;
|
|
|
|
padding: 10px 20px;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
button {
|
|
|
|
position: absolute;
|
|
|
|
height: 100%;
|
|
|
|
right: 0;
|
|
|
|
padding: 0 10px;
|
|
|
|
border: 0;
|
|
|
|
outline: none;
|
|
|
|
background-color: #000;
|
|
|
|
color: #fff;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
.visible-links {
|
|
|
|
display: inline-table;
|
|
|
|
|
|
|
|
li {
|
|
|
|
display: table-cell;
|
|
|
|
|
|
|
|
&:first-child {
|
|
|
|
font-weight: bold;
|
|
|
|
a {
|
|
|
|
padding-left: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
a {
|
|
|
|
padding-right: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.hidden-links {
|
|
|
|
position: absolute;
|
|
|
|
top: 100%;
|
|
|
|
right: 0;
|
|
|
|
margin-top: 15px;
|
|
|
|
padding: 5px;
|
|
|
|
border: 1px solid $border-color;
|
|
|
|
border-radius: $border-radius;
|
|
|
|
background: #fff;
|
|
|
|
box-shadow: 0 0 10px rgba(#000, 0.25);
|
|
|
|
|
|
|
|
a {
|
|
|
|
font-size: 0.8em;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:before {
|
|
|
|
content: "";
|
|
|
|
position: absolute;
|
|
|
|
top: -11px;
|
|
|
|
right: 10px;
|
|
|
|
width: 0;
|
|
|
|
border-style: solid;
|
|
|
|
border-width: 0 10px 10px;
|
|
|
|
border-color: $border-color transparent;
|
|
|
|
display: block;
|
|
|
|
z-index: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:after {
|
|
|
|
content: "";
|
|
|
|
position: absolute;
|
|
|
|
top: -10px;
|
|
|
|
right: 10px;
|
|
|
|
width: 0;
|
|
|
|
border-style: solid;
|
|
|
|
border-width: 0 10px 10px;
|
|
|
|
border-color: #fff transparent;
|
|
|
|
display: block;
|
|
|
|
z-index: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
li {
|
|
|
|
display: block;
|
|
|
|
border-bottom: 1px solid $border-color;
|
|
|
|
&:last-child {
|
|
|
|
border-bottom: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2016-03-10 19:06:59 +01:00
|
|
|
}
|