Optimized sidebar cursor effect on touch screens.
This commit is contained in:
parent
5204f0c60e
commit
9565429ee0
1 changed files with 12 additions and 7 deletions
|
@ -117,11 +117,16 @@ body {
|
||||||
height: 26px;
|
height: 26px;
|
||||||
background: #fcfcfc;;
|
background: #fcfcfc;;
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (hover: hover) {
|
||||||
|
#sidebar ul>li:last-child::after {
|
||||||
-webkit-transition: top .5s ease;
|
-webkit-transition: top .5s ease;
|
||||||
-moz-transition: top .5s ease;
|
-moz-transition: top .5s ease;
|
||||||
-o-transition: top .5s ease;
|
-o-transition: top .5s ease;
|
||||||
transition: top .5s ease;
|
transition: top .5s ease;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
#nav-wrap {
|
#nav-wrap {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
Loading…
Reference in a new issue