Support [autohide] as boolean attribute

Firefox 143 uses authide as boolean attribute, so we need to support
both versions, thus selectors looking mildly horrifying
This commit is contained in:
MrOtherGuy
2025-09-18 17:06:31 +03:00
parent 41e003708f
commit 9e39c99f50
16 changed files with 26 additions and 26 deletions

View File

@@ -23,8 +23,8 @@ See the above repository for updates as well as full license text. */
:root:is([sizemode="maximized"],[sizemode="fullscreen"]){
--uc-window-drag-space-width: 0px;
}
#toolbar-menubar[autohide="false"] ~ #nav-bar,
#titlebar:has(> [autohide="false"]) + #nav-bar{
#toolbar-menubar:is([autohide="false"],not([autohide])) ~ #nav-bar,
#titlebar:has(> #toolbar-menubar:is([autohide="false"],not([autohide]))) + #nav-bar{
--uc-window-drag-space-width: 0px;
--uc-menubar-height: 28px;
}