Use longer delay before autohide

This commit is contained in:
MrOtherGuy
2020-07-06 20:29:51 +03:00
parent 4d0b0ace71
commit fc967120bf
4 changed files with 20 additions and 6 deletions

View File

@@ -7,6 +7,7 @@ See the above repository for updates as well as full license text. */
#sidebar-box{
--uc-sidebar-width: 40px;
--uc-sidebar-hover-width: 210px;
--uc-autohide-sidebar-delay: 600ms; /* Wait 0.6s before hiding sidebar */
position: relative;
min-width: var(--uc-sidebar-width) !important;
width: var(--uc-sidebar-width) !important;
@@ -27,12 +28,12 @@ See the above repository for updates as well as full license text. */
#sidebar-header{ overflow: hidden; color: var(--chrome-color, inherit) !important}
#sidebar{
transition: min-width 115ms linear !important;
transition: min-width 115ms linear var(--uc-autohide-sidebar-delay) !important;
min-width: var(--uc-sidebar-width) !important;
will-change: min-width;
}
#sidebar-box:hover > #sidebar{ min-width: var(--uc-sidebar-hover-width) !important; }
#sidebar-box:hover > #sidebar{ min-width: var(--uc-sidebar-hover-width) !important; transition-delay: 0ms !important }
.sidebar-panel{
background-color: transparent !important;