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

@ -5,6 +5,7 @@ See the above repository for updates as well as full license text. */
--uc-bm-height: 22px; /* Might need to adjust if the toolbar has other buttons */
--uc-bm-padding: 2px; /* Vertical padding to be applied to bookmarks */
--uc-navbar-height: -40px; /* navbar is main toolbar. Use negative value */
--uc-autohide-toolbar-delay: 600ms; /* The toolbar is hidden after 0.6s */
}
:root[uidensity=compact] #navigator-toolbox{ --uc-bm-padding: 1px; --uc-navbar-height: -32px }
@ -14,10 +15,14 @@ See the above repository for updates as well as full license text. */
#PersonalToolbar:not([customizing]){
transform: rotateX(90deg);
transform-origin: top;
transition: transform 135ms linear 600ms !important;
transition: transform 135ms linear var(--uc-autohide-toolbar-delay) !important;
z-index: 2;
}
#navigator-toolbox > #PersonalToolbar{ transform-origin: 0px var(--uc-navbar-height); z-index: 1 }
#navigator-toolbox > #PersonalToolbar{
transform-origin: 0px var(--uc-navbar-height);
z-index: 1;
position: relative;
}
:root[sessionrestored] #navigator-toolbox:not([customizing]){ margin-bottom: calc(2px - var(--uc-bm-height) - 2 * var(--uc-bm-padding) + var(--uc-navbar-height)); }

View file

@ -4,16 +4,18 @@ See the above repository for updates as well as full license text. */
#PersonalToolbar{
--uc-bm-height: 20px; /* Might need to adjust if the toolbar has other buttons */
--uc-bm-padding: 2px; /* Vertical padding to be applied to bookmarks */
--uc-autohide-toolbar-delay: 600ms; /* The toolbar is hidden after 0.6s */
}
:root[uidensity="compact"] #PersonalToolbar{ --uc-bm-padding: 1px }
:root[uidensity="touch"] #PersonalToolbar{ --uc-bm-padding: 6px }
#PersonalToolbar:not([customizing]){
position: relative;
margin-bottom: calc(0px - var(--uc-bm-height) - 2 * var(--uc-bm-padding));
transform: rotateX(90deg);
transform-origin: top;
transition: transform 135ms linear 600ms !important;
transition: transform 135ms linear var(--uc-autohide-toolbar-delay) !important;
z-index: 1;
}

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;

View file

@ -6,6 +6,9 @@ See the above repository for updates as well as full license text. */
/* Compatibility options for hide_tabs_toolbar.css and tabs_on_bottom.css at the end of this file */
:root{
--uc-autohide-toolbox-delay: 200ms; /* Wait 0.1s before hiding toolbars */
}
@media (-moz-os-version: windows-win10){
@ -30,13 +33,16 @@ See the above repository for updates as well as full license text. */
position: fixed !important;
display: block;
background-color: var(--lwt-accent-color,black) !important;
transition: transform 82ms 33ms linear, opacity 82ms 33ms linear !important;
transition: transform 82ms linear, opacity 82ms linear !important;
transition-delay: var(--uc-autohide-toolbox-delay) !important;
transform-origin: top;
line-height: 0;
z-index: 1;
pointer-events: none;
}
#navigator-toolbox:hover{ transition-delay: 33ms !important }
#navigator-toolbox > *{ line-height: normal; pointer-events: auto }
#navigator-toolbox,