Hide menu and show it when hitting button.

Closes https://gitlab.com/autonomic-cooperative/autonomic-cooperative.gitlab.io/issues/28.
This commit is contained in:
Luke Murphy 2017-09-29 21:29:29 +02:00
parent 21295c7603
commit 0b3df5c93d
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
2 changed files with 3 additions and 0 deletions

View File

@ -61,6 +61,8 @@
offset: $header.outerHeight()
});
$("#menu").show();
// Menu.
$('#menu')
.append('<a href="#menu" class="close"></a>')

View File

@ -21,6 +21,7 @@
}
#menu {
display:none;
@include vendor('transform', 'translateX(20em)');
@include vendor('transition', 'transform #{_duration(menu)} ease');
-webkit-overflow-scrolling: touch;