No chrome tap higlighting; Smooth swipe
This commit is contained in:
@ -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) {
|
||||
|
||||
@ -4,4 +4,7 @@
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
outline: 0;
|
||||
|
||||
-webkit-tap-highlight-color: rgba(0,0,0,0);
|
||||
-webkit-tap-highlight-color: transparent;
|
||||
}
|
||||
Reference in New Issue
Block a user