Mobile nav transition added

This commit is contained in:
Dmytro Barylo
2017-03-04 22:03:08 +02:00
parent 9c4df0a645
commit 350fcdab05
3 changed files with 8 additions and 5 deletions

2
dist/build.js vendored

File diff suppressed because one or more lines are too long

2
dist/build.js.map vendored

File diff suppressed because one or more lines are too long

View File

@@ -182,15 +182,18 @@ export default {
position: fixed;
left: 0;
top: 50px;
background: $c-white;
background: rgba($c-white, 0.98);
border-top: 1px solid $c-light;
@include mobile-only{
font-size: 0;
display: none;
opacity: 0;
visibility: hidden;
height: calc(100vh - 50px);
transition: all 0.5s ease;
text-align: left;
&--active{
display: block;
opacity: 1;
visibility: visible;
}
}
@include tablet-min{