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,10 +117,15 @@ 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 {
|
||||||
|
@ -897,7 +902,7 @@ table tbody td {
|
||||||
padding-inline-start: 1.5rem;
|
padding-inline-start: 1.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
#related-posts ul > li::before {
|
#related-posts ul>li::before {
|
||||||
background: #c2c9d4;
|
background: #c2c9d4;
|
||||||
width: 5px;
|
width: 5px;
|
||||||
height: 5px;
|
height: 5px;
|
||||||
|
@ -1136,8 +1141,8 @@ a.tag:hover {
|
||||||
padding: .6rem 0;
|
padding: .6rem 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#page-category ul > li::before,
|
#page-category ul>li::before,
|
||||||
#page-tag ul > li::before {
|
#page-tag ul>li::before {
|
||||||
background: #999;
|
background: #999;
|
||||||
width: 5px;
|
width: 5px;
|
||||||
height: 5px;
|
height: 5px;
|
||||||
|
|
Loading…
Reference in a new issue