Optimized sidebar cursor effect on touch screens.

This commit is contained in:
Cotes Chung 2019-11-06 18:06:10 +08:00
parent 5204f0c60e
commit 9565429ee0

View file

@ -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%;