mirror of
https://codeberg.org/claui/mobile-config-firefox.git
synced 2024-11-09 19:30:15 +00:00
autohide-sidebar: Apply width transitions to sidebar-header
This commit is contained in:
parent
9cce78da35
commit
53526aa76e
1 changed files with 21 additions and 5 deletions
|
@ -25,15 +25,26 @@ See the above repository for updates as well as full license text. */
|
||||||
|
|
||||||
#sidebar-splitter{ display: none }
|
#sidebar-splitter{ display: none }
|
||||||
|
|
||||||
#sidebar-header{ overflow: hidden; color: var(--chrome-color, inherit) !important}
|
#sidebar-header{
|
||||||
|
overflow: hidden;
|
||||||
|
color: var(--chrome-color, inherit) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
#sidebar-switcher-target{
|
||||||
|
-moz-box-pack: start !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
#sidebar-header,
|
||||||
#sidebar{
|
#sidebar{
|
||||||
transition: min-width 115ms linear var(--uc-autohide-sidebar-delay) !important;
|
transition: min-width 115ms linear var(--uc-autohide-sidebar-delay) !important;
|
||||||
min-width: var(--uc-sidebar-width) !important;
|
min-width: var(--uc-sidebar-width) !important;
|
||||||
will-change: min-width;
|
will-change: min-width;
|
||||||
}
|
}
|
||||||
|
#sidebar-box:hover > #sidebar-header,
|
||||||
#sidebar-box:hover > #sidebar{ min-width: var(--uc-sidebar-hover-width) !important; transition-delay: 0ms !important }
|
#sidebar-box:hover > #sidebar{
|
||||||
|
min-width: var(--uc-sidebar-hover-width) !important;
|
||||||
|
transition-delay: 0ms !important;
|
||||||
|
}
|
||||||
|
|
||||||
.sidebar-panel{
|
.sidebar-panel{
|
||||||
background-color: transparent !important;
|
background-color: transparent !important;
|
||||||
|
@ -62,5 +73,10 @@ See the above repository for updates as well as full license text. */
|
||||||
|
|
||||||
/* Move statuspanel to the other side when sidebar is hovered so it doesn't get covered by sidebar */
|
/* Move statuspanel to the other side when sidebar is hovered so it doesn't get covered by sidebar */
|
||||||
|
|
||||||
#sidebar-box:not([positionend]):hover ~ #appcontent #statuspanel{ inset-inline: auto 0px !important; }
|
#sidebar-box:not([positionend]):hover ~ #appcontent #statuspanel{
|
||||||
#sidebar-box:not([positionend]):hover ~ #appcontent #statuspanel-label{ margin-inline: 0px !important; border-left-style: solid !important; }
|
inset-inline: auto 0px !important;
|
||||||
|
}
|
||||||
|
#sidebar-box:not([positionend]):hover ~ #appcontent #statuspanel-label{
|
||||||
|
margin-inline: 0px !important;
|
||||||
|
border-left-style: solid !important;
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue