2013-11-18 22:09:20 +01:00
|
|
|
/////////////////////////////////////
|
|
|
|
// NAVIGATION
|
|
|
|
/////////////////////////////////////
|
|
|
|
|
2013-12-01 00:47:47 +01:00
|
|
|
.menu-btn,
|
|
|
|
.search-btn {
|
|
|
|
line-height: 1em;
|
|
|
|
text-align: center;
|
|
|
|
vertical-align: middle;
|
|
|
|
display: inline-block;
|
|
|
|
margin: 0;
|
2013-12-01 16:00:12 +01:00
|
|
|
|
2013-12-03 23:39:48 +01:00
|
|
|
position: absolute;
|
|
|
|
right: 0;
|
|
|
|
top: 0;
|
|
|
|
|
2013-12-01 16:00:12 +01:00
|
|
|
// icons
|
2013-12-10 00:32:54 +01:00
|
|
|
&:before {
|
|
|
|
color: @link-color;
|
|
|
|
.transition;
|
|
|
|
}
|
2013-12-01 16:00:12 +01:00
|
|
|
&:hover:before {
|
2013-12-10 00:32:54 +01:00
|
|
|
color: @link-color-hover
|
|
|
|
}
|
|
|
|
&:active:before {
|
|
|
|
.transition(none);
|
|
|
|
color: #fff
|
2013-12-01 16:00:12 +01:00
|
|
|
}
|
2013-11-30 17:13:19 +01:00
|
|
|
}
|
2013-12-03 23:39:48 +01:00
|
|
|
.search-btn { right: 50px }
|
2013-11-18 22:09:20 +01:00
|
|
|
|
2013-11-30 17:13:19 +01:00
|
|
|
//
|
2013-11-18 22:09:20 +01:00
|
|
|
// Main Navigation
|
2013-11-30 17:13:19 +01:00
|
|
|
//
|
2013-11-18 22:09:20 +01:00
|
|
|
|
|
|
|
.nav-main {
|
2013-12-01 16:00:12 +01:00
|
|
|
.menu-btn {
|
|
|
|
margin-right: -.5em;
|
|
|
|
padding: .5em .7em;
|
|
|
|
&:before { font-size: 26px; }
|
|
|
|
}
|
|
|
|
|
2013-11-18 22:09:20 +01:00
|
|
|
li { display: inline-block; }
|
2013-11-30 17:13:19 +01:00
|
|
|
|
|
|
|
.nav-popover {
|
2013-12-03 23:39:48 +01:00
|
|
|
padding: @line-height-computed*1.5 0;
|
2013-12-01 16:00:12 +01:00
|
|
|
width: 100%;
|
2013-12-07 17:52:43 +01:00
|
|
|
background: @body-bg;
|
2013-12-01 16:00:12 +01:00
|
|
|
.clearfix;
|
|
|
|
|
|
|
|
.nav-link {
|
|
|
|
width: 50%;
|
|
|
|
@media @breakpoint2 {
|
2013-12-03 23:39:48 +01:00
|
|
|
width: 33.3%
|
2013-12-01 16:00:12 +01:00
|
|
|
}
|
|
|
|
float: left;
|
|
|
|
text-align: center;
|
|
|
|
padding: 1em;
|
2013-12-10 00:32:54 +01:00
|
|
|
.h6;
|
|
|
|
color: @link-color;
|
|
|
|
line-height: @line-height-computed;
|
2013-12-01 16:00:12 +01:00
|
|
|
text-transform: uppercase;
|
|
|
|
font-size: .8em;
|
|
|
|
|
2013-12-04 20:54:40 +01:00
|
|
|
// the icons
|
2013-12-01 16:00:12 +01:00
|
|
|
&:before {
|
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
text-align: center;
|
|
|
|
font-size: 32px;
|
|
|
|
height: 32px;
|
2013-12-10 00:32:54 +01:00
|
|
|
color: fade(@text-color-dimmed, 70%);
|
2013-12-01 16:00:12 +01:00
|
|
|
.transition;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:hover:before {
|
2013-12-10 00:32:54 +01:00
|
|
|
color: @link-color;
|
|
|
|
border-bottom-color: @link-color
|
2013-12-01 16:00:12 +01:00
|
|
|
}
|
|
|
|
}
|
2013-11-30 17:13:19 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.nav-link {
|
|
|
|
display: block;
|
|
|
|
padding: .5em 1em;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background: rgba(255,255,255,.5);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-11-18 22:09:20 +01:00
|
|
|
|
2013-11-30 17:13:19 +01:00
|
|
|
//
|
|
|
|
// Site Search
|
|
|
|
//
|
2013-11-18 22:09:20 +01:00
|
|
|
|
2013-11-30 17:13:19 +01:00
|
|
|
.site-search {
|
2013-12-01 00:47:47 +01:00
|
|
|
margin-right: 4%;
|
2013-11-30 17:13:19 +01:00
|
|
|
|
2013-12-01 00:47:47 +01:00
|
|
|
.nav-popover {
|
2013-11-30 17:13:19 +01:00
|
|
|
left: 0;
|
2013-12-01 00:47:47 +01:00
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.search-btn {
|
2013-12-01 16:00:12 +01:00
|
|
|
padding: .65em .85em;
|
2013-12-01 00:47:47 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.search-close {
|
|
|
|
position: absolute;
|
|
|
|
right: 1em;
|
2013-12-15 13:30:36 +01:00
|
|
|
|
|
|
|
&,
|
|
|
|
&:active { top: 1em; }
|
2013-12-01 00:47:47 +01:00
|
|
|
}
|
|
|
|
|
2013-12-07 19:43:12 +01:00
|
|
|
.topbar .search-area {
|
2013-12-01 00:47:47 +01:00
|
|
|
position: absolute;
|
|
|
|
width: 100%;
|
|
|
|
left: 0;
|
|
|
|
top: -3px;
|
|
|
|
z-index: 3;
|
|
|
|
background: #f1f4f7;
|
|
|
|
|
|
|
|
// hidden by default
|
|
|
|
.translate(0, -60px);
|
|
|
|
.transition;
|
|
|
|
|
|
|
|
&.ready {
|
|
|
|
.translate(0, 0);
|
2013-11-30 17:13:19 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-12-07 19:43:12 +01:00
|
|
|
.topbar .search-field {
|
2013-12-01 00:47:47 +01:00
|
|
|
width: 97%;
|
2013-11-30 17:13:19 +01:00
|
|
|
border: none;
|
|
|
|
.box-shadow(none);
|
|
|
|
background: transparent;
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
background: rgba(255,255,255,.7) !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.search-results {
|
2013-12-04 20:54:40 +01:00
|
|
|
.clearfix;
|
|
|
|
|
|
|
|
.nav-link {
|
|
|
|
@media @breakpoint2 {
|
|
|
|
width: 50%;
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.popover {
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
top: 71px;
|
|
|
|
z-index: 6;
|
|
|
|
|
|
|
|
background: lighten(@page-bg, 3%);
|
|
|
|
border-bottom: 1px solid rgba(255,255,255,.7);
|
|
|
|
box-shadow: 0 1px 4px fade(@brand-dark, 10%);
|
|
|
|
|
|
|
|
@media @breakpoint2 {
|
|
|
|
top: 0;
|
|
|
|
|
|
|
|
.row {
|
|
|
|
margin-top: @line-height-computed;
|
|
|
|
margin-bottom: @line-height-computed
|
|
|
|
}
|
|
|
|
}
|
2013-11-30 17:13:19 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
//
|
2013-12-03 21:11:38 +01:00
|
|
|
// Paginator
|
2013-11-30 17:13:19 +01:00
|
|
|
//
|
2013-11-18 22:09:20 +01:00
|
|
|
|
2013-12-03 21:11:38 +01:00
|
|
|
.paginator {
|
2013-11-18 22:09:20 +01:00
|
|
|
.clearfix;
|
2013-11-20 23:33:58 +01:00
|
|
|
|
|
|
|
p { position: relative; }
|
2013-11-18 22:09:20 +01:00
|
|
|
a { display: block; }
|
2013-11-20 23:33:58 +01:00
|
|
|
|
|
|
|
i {
|
2013-11-18 22:09:20 +01:00
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
top: 0;
|
|
|
|
}
|
2013-11-20 23:33:58 +01:00
|
|
|
|
2013-12-03 21:11:38 +01:00
|
|
|
.next {
|
|
|
|
text-align: right;
|
|
|
|
float: right;
|
|
|
|
|
|
|
|
a { margin-right: 1.5em; }
|
|
|
|
|
|
|
|
i {
|
|
|
|
margin-left: .5em;
|
|
|
|
left: auto;
|
|
|
|
right: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.previous {
|
|
|
|
float: left;
|
|
|
|
|
|
|
|
a { margin-left: 1.5em; }
|
|
|
|
i { margin-right: .5em; }
|
2013-11-20 23:33:58 +01:00
|
|
|
}
|
2013-11-18 22:09:20 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// Infinite Loader
|
|
|
|
/////////////////////////////////////
|
|
|
|
|
2013-11-23 21:53:52 +01:00
|
|
|
.infiniteLoader .next {
|
|
|
|
width: 100%;
|
|
|
|
float: none;
|
2013-11-24 19:15:34 +01:00
|
|
|
margin-left: 0;
|
2013-12-03 21:11:38 +01:00
|
|
|
|
|
|
|
a {
|
|
|
|
.btn;
|
|
|
|
.aligncenter;
|
|
|
|
padding-top: @line-height-computed/1.5;
|
|
|
|
padding-bottom: @line-height-computed/1.5;
|
|
|
|
}
|
2013-11-18 22:09:20 +01:00
|
|
|
}
|
|
|
|
|
2013-11-23 21:53:52 +01:00
|
|
|
.infiniteLoader .previous,
|
|
|
|
.infiniteLoader .pagenumber,
|
2013-11-18 22:09:20 +01:00
|
|
|
.infiniteLoader i {
|
|
|
|
.hide;
|
|
|
|
}
|