No chrome tap higlighting; Smooth swipe

This commit is contained in:
James Barnsley
2017-08-24 08:22:10 +12:00
parent 5ac5c854b3
commit c9cf32177a
2 changed files with 8 additions and 8 deletions

View File

@ -1,6 +1,7 @@
.sidebar-toggle {
@include animate(0.15s);
position: absolute;
top: 0;
left: 0;
@ -16,7 +17,6 @@
}
&.open {
@include animate(0.15s);
position: fixed;
top: 0;
right: 0;
@ -26,16 +26,13 @@
color: $white;
z-index: 99;
-ms-transform: translate(220px, 0);
-webkit-transform: translate(220px, 0);
transform: translate(220px, 0);
.open {
display: none;
}
.open,
.close {
position: absolute;
top: 20px;
left: 235px;
}
}
&:not(.open) {

View File

@ -4,4 +4,7 @@
margin: 0;
padding: 0;
outline: 0;
-webkit-tap-highlight-color: rgba(0,0,0,0);
-webkit-tap-highlight-color: transparent;
}