Use longer delay before autohide
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user