2015-04-22 07:50:11 +09:00
|
|
|
// 1. Neutral
|
|
|
|
// 2. Mobile (+see Base theme for mobile nav)
|
|
|
|
// 3. Desktop
|
|
|
|
// a. Top Nav
|
|
|
|
// b. Side nav
|
|
|
|
|
|
|
|
.header{
|
|
|
|
background-color:$highlight-color;
|
|
|
|
position:relative;
|
|
|
|
z-index: 100;
|
|
|
|
}
|
|
|
|
.logo{
|
|
|
|
line-height: 1;
|
|
|
|
text-align: center;
|
|
|
|
a, a:visited{
|
|
|
|
color:white;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.sign-in{
|
|
|
|
margin-right: 10px;
|
|
|
|
}
|
|
|
|
.nav{
|
|
|
|
.top-nav &{
|
2015-07-15 10:06:44 +09:00
|
|
|
// @extend %vcenter;
|
2015-04-22 07:50:11 +09:00
|
|
|
}
|
|
|
|
@include cf;
|
|
|
|
>li{
|
|
|
|
line-height: 2;
|
|
|
|
&:last-child{
|
|
|
|
margin-right: 0px;
|
|
|
|
}
|
|
|
|
>a, >div >a{
|
|
|
|
color:white;
|
|
|
|
font-size:15px;
|
|
|
|
font-weight:normal;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.has-dropdown .user-menu .dropdown-menu{
|
|
|
|
left: auto;
|
|
|
|
right: 10px;
|
|
|
|
}
|
|
|
|
.has-dropdown .notifications-menu .dropdown-menu{
|
|
|
|
left: auto;
|
|
|
|
right: 10px;
|
|
|
|
}
|
|
|
|
.newsletter-dismiss{
|
|
|
|
line-height: 30px !important;
|
|
|
|
}
|
2015-08-15 11:42:45 +09:00
|
|
|
|
|
|
|
.user-menu{
|
|
|
|
.avatar{
|
|
|
|
height: 20px;
|
|
|
|
width: 20px;
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: middle;
|
|
|
|
margin-top: -3px;
|
|
|
|
margin-right: 3px;
|
|
|
|
}
|
|
|
|
.user-menu-username{
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
}
|
2015-04-22 07:50:11 +09:00
|
|
|
// ------------------------------------ Top Nav Layout ------------------------------------ //
|
|
|
|
|
|
|
|
.top-nav{
|
|
|
|
.header{
|
|
|
|
height: 60px;
|
|
|
|
padding: 0 20px;
|
|
|
|
margin-bottom:$grid-margin;
|
2015-07-15 10:06:44 +09:00
|
|
|
position: relative;
|
2015-07-15 15:26:25 +09:00
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
|
|
|
|
2015-04-22 07:50:11 +09:00
|
|
|
@include small{
|
|
|
|
padding: 0 10px;
|
|
|
|
}
|
2015-07-22 15:06:53 +09:00
|
|
|
.header-submodule{
|
|
|
|
flex-shrink: 0;
|
|
|
|
margin-right: 20px;
|
|
|
|
&:last-of-type{
|
|
|
|
margin-right: 0px;
|
|
|
|
}
|
|
|
|
}
|
2015-07-15 15:26:25 +09:00
|
|
|
.primary-nav, .secondary-nav, .logo{
|
|
|
|
flex-basis: 0;
|
|
|
|
flex-grow: 1;
|
2015-07-15 10:06:44 +09:00
|
|
|
}
|
2015-04-22 07:50:11 +09:00
|
|
|
.primary-nav{
|
2015-07-15 15:26:25 +09:00
|
|
|
order: 1;
|
2015-07-22 15:06:53 +09:00
|
|
|
display: flex;
|
|
|
|
justify-content: flex-start;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
.secondary-nav{
|
|
|
|
// background: rebeccapurple;
|
|
|
|
order: 3;
|
|
|
|
display: flex;
|
|
|
|
justify-content: flex-end;
|
|
|
|
align-items: center;
|
2015-04-22 07:50:11 +09:00
|
|
|
}
|
|
|
|
.logo{
|
2015-07-15 15:26:25 +09:00
|
|
|
// background: pink;
|
2015-04-22 07:50:11 +09:00
|
|
|
text-align:center;
|
|
|
|
color:white;
|
2015-07-15 15:26:25 +09:00
|
|
|
order: 2;
|
2015-07-15 10:06:44 +09:00
|
|
|
.logo-text{
|
|
|
|
@include small{
|
|
|
|
font-size: 18px;
|
|
|
|
a{
|
|
|
|
position: static;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@include medium-large{
|
|
|
|
font-size:24px;
|
2015-04-22 07:50:11 +09:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.logo-image{
|
|
|
|
line-height: 1;
|
|
|
|
a{
|
|
|
|
display:inline-block;
|
|
|
|
background: no-repeat center center;
|
|
|
|
font: 0/0 a;
|
|
|
|
text-shadow: none;
|
|
|
|
color: transparent;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// ------------------------------------ Side Nav Layout ------------------------------------ //
|
|
|
|
|
|
|
|
$nav-width: 250px;
|
|
|
|
|
|
|
|
.side-nav{
|
|
|
|
.inner-wrapper{
|
|
|
|
@include medium-large{
|
|
|
|
margin-left: $nav-width;
|
|
|
|
padding-top: 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.header{
|
|
|
|
@include medium-large{
|
|
|
|
width: $nav-width;
|
|
|
|
position: fixed;
|
|
|
|
top: 0px;
|
|
|
|
bottom: 0px;
|
|
|
|
left: 0px;
|
|
|
|
height: 100%;
|
|
|
|
overflow-y: auto;
|
|
|
|
padding-bottom: 30px;
|
|
|
|
}
|
|
|
|
.logo{
|
|
|
|
text-align: left;
|
|
|
|
&.logo-image{
|
|
|
|
text-align: center;
|
|
|
|
a{
|
|
|
|
margin: 0 auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@include medium-large{
|
|
|
|
margin-bottom: 30px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.header-submodule{
|
|
|
|
margin-bottom: 30px;
|
2015-07-14 21:45:18 +09:00
|
|
|
// &:last-of-type{
|
|
|
|
// margin-bottom: 0px;
|
|
|
|
// }
|
2015-04-22 07:50:11 +09:00
|
|
|
}
|
|
|
|
.primary-nav{
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
.search{
|
|
|
|
order: 1;
|
|
|
|
}
|
|
|
|
.categories-menu{
|
|
|
|
order: 2;
|
|
|
|
}
|
|
|
|
.menu-label{
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
.menu-description{
|
|
|
|
// display: block;
|
|
|
|
display: none;
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
.account-link{
|
|
|
|
display: block;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
.account-link{
|
|
|
|
margin: 10px 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.tagline{
|
|
|
|
margin-top: 10px;
|
|
|
|
}
|
2015-07-20 10:11:55 +09:00
|
|
|
}
|
|
|
|
|
|
|
|
// ---------------------------------------- Mobile ---------------------------------------- //
|
|
|
|
|
|
|
|
@include small{
|
|
|
|
.header{
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
2015-04-22 07:50:11 +09:00
|
|
|
}
|
2015-07-20 10:11:55 +09:00
|
|
|
}
|