2014-08-12 17:11:36 +09:00
|
|
|
$mobile-nav-width: 200px;
|
2014-08-12 16:16:44 +09:00
|
|
|
|
2014-08-20 15:59:11 +09:00
|
|
|
.mobile-only{
|
|
|
|
@include medium-large{
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.desktop-only{
|
|
|
|
@include small{
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-08-12 16:16:44 +09:00
|
|
|
.mobile-nav{
|
|
|
|
position:fixed;
|
|
|
|
overflow:auto;
|
2014-08-12 17:11:36 +09:00
|
|
|
height: 100%;
|
|
|
|
top: 0px;
|
|
|
|
bottom: 0px;
|
2014-08-12 16:16:44 +09:00
|
|
|
background:#444;
|
|
|
|
color:white;
|
2014-11-23 21:11:15 -08:00
|
|
|
box-shadow: inset -3px 0px 7px black(0.5);
|
2014-08-12 17:11:36 +09:00
|
|
|
z-index: 100;
|
2015-03-12 18:07:23 +09:00
|
|
|
|
|
|
|
left: -$mobile-nav-width;
|
|
|
|
left: calc((100% - 60px) * -1);
|
|
|
|
width: $mobile-nav-width;
|
|
|
|
width: calc(100% - 60px);
|
2014-08-12 16:16:44 +09:00
|
|
|
}
|
2014-08-12 17:11:36 +09:00
|
|
|
|
|
|
|
.mobile-nav, .inner-wrapper{
|
2014-11-23 21:11:15 -08:00
|
|
|
transition: all, 300ms, ease-out, 0ms;
|
2014-08-12 16:16:44 +09:00
|
|
|
}
|
|
|
|
|
2014-08-12 17:11:36 +09:00
|
|
|
.inner-wrapper{
|
|
|
|
position: relative;
|
|
|
|
left: 0px;
|
2014-08-12 16:16:44 +09:00
|
|
|
}
|
2014-08-12 17:11:36 +09:00
|
|
|
|
2014-08-12 16:16:44 +09:00
|
|
|
.mobile-nav-open{
|
2014-08-12 17:11:36 +09:00
|
|
|
overflow: hidden;
|
2014-08-12 16:16:44 +09:00
|
|
|
.mobile-nav{
|
|
|
|
left:0px;
|
|
|
|
}
|
|
|
|
.outer-wrapper{
|
|
|
|
overflow:hidden;
|
2014-08-12 17:11:36 +09:00
|
|
|
.inner-wrapper{
|
|
|
|
left:$mobile-nav-width;
|
|
|
|
left: calc(100% - 60px);
|
2014-08-12 16:16:44 +09:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2014-08-12 17:11:36 +09:00
|
|
|
|
|
|
|
|
2014-08-12 16:16:44 +09:00
|
|
|
|
2014-08-12 17:11:36 +09:00
|
|
|
|
|
|
|
.desktop-nav{
|
|
|
|
@include small{
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.mobile-menu{
|
2014-08-20 18:02:27 +09:00
|
|
|
.header-module, .header-submodule{
|
|
|
|
display: block;
|
|
|
|
margin-right: 0px;
|
|
|
|
}
|
2014-08-20 17:03:54 +09:00
|
|
|
>li{
|
2014-08-12 17:11:36 +09:00
|
|
|
margin-bottom: 0;
|
2014-08-20 17:03:54 +09:00
|
|
|
border-bottom:1px white(0.2) solid;
|
2014-08-12 17:11:36 +09:00
|
|
|
&:last-child{
|
|
|
|
border:none;
|
2014-08-12 16:16:44 +09:00
|
|
|
}
|
2014-08-12 17:11:36 +09:00
|
|
|
}
|
2015-01-03 10:14:07 +09:00
|
|
|
.menu-description{
|
|
|
|
display: none;
|
|
|
|
}
|
2014-08-15 11:51:30 +09:00
|
|
|
.sign-in{
|
2014-08-20 17:03:54 +09:00
|
|
|
border-bottom:1px white(0.2) solid;
|
2014-08-15 11:51:30 +09:00
|
|
|
margin-right: 0px;
|
|
|
|
}
|
2014-08-12 17:11:36 +09:00
|
|
|
a{
|
|
|
|
display: block;
|
|
|
|
height: auto;
|
|
|
|
line-height: inherit;
|
|
|
|
font-size: 15px;
|
|
|
|
&, &:link, &:visited{
|
|
|
|
color: white;
|
2014-08-12 16:16:44 +09:00
|
|
|
}
|
2014-08-12 17:11:36 +09:00
|
|
|
}
|
|
|
|
.dropdown{
|
|
|
|
>a{
|
|
|
|
&:after{
|
|
|
|
display:inline-block;
|
|
|
|
position:relative;
|
|
|
|
top:-1px;
|
|
|
|
margin-left:4px;
|
|
|
|
content:"▼";
|
|
|
|
font-size:8px;
|
2014-08-12 16:16:44 +09:00
|
|
|
}
|
2014-08-12 17:11:36 +09:00
|
|
|
}
|
|
|
|
}
|
2015-01-14 09:45:18 +09:00
|
|
|
.header-submodule>a, .dropdown-top-level, .sign-in, .sign-up{
|
2014-08-20 17:03:54 +09:00
|
|
|
padding: 10px;
|
|
|
|
}
|
2014-08-12 17:11:36 +09:00
|
|
|
.dropdown-menu{
|
2014-11-28 22:57:30 -08:00
|
|
|
display: none;
|
2014-08-20 17:03:54 +09:00
|
|
|
background: #333;
|
2014-08-12 17:11:36 +09:00
|
|
|
li{
|
2014-08-20 17:03:54 +09:00
|
|
|
padding: 10px;
|
2014-08-12 17:11:36 +09:00
|
|
|
margin-bottom: 0;
|
2014-08-20 17:03:54 +09:00
|
|
|
border-top:1px white(0.2) solid;
|
2014-08-12 16:16:44 +09:00
|
|
|
}
|
2014-08-20 17:03:54 +09:00
|
|
|
}
|
|
|
|
.submit{
|
|
|
|
margin: 10px;
|
|
|
|
}
|
2014-08-12 17:11:36 +09:00
|
|
|
}
|
|
|
|
|
|
|
|
.mobile-submit{
|
|
|
|
padding: 10px;
|
2014-08-20 17:03:54 +09:00
|
|
|
border-bottom:1px white(0.2) solid;
|
2014-08-12 17:11:36 +09:00
|
|
|
.button{
|
|
|
|
max-width: none;
|
2014-08-12 16:16:44 +09:00
|
|
|
}
|
|
|
|
}
|