Fix broken negation pseudo-class selectors from 9e39c99

This commit is contained in:
MrOtherGuy
2025-11-02 19:03:13 +02:00
parent bcff6cce21
commit f54dcd8b99
7 changed files with 10 additions and 10 deletions

View File

@@ -23,7 +23,7 @@ See the above repository for updates as well as full license text. */
* density settings and whether or not menubar is enabled.
*/
@media (min-resolution: 120dpi){
:root[uidensity="compact"] #navigator-toolbox:has(> #toolbar-menubar:is([autohide="false"],not([autohide]))){
:root[uidensity="compact"] #navigator-toolbox:has(> #toolbar-menubar:is([autohide="false"],:not([autohide]))){
--uc-toolbox-browser-area-overlap: -0.5px;
}
}

View File

@@ -23,7 +23,7 @@ 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:is([autohide="false"],not([autohide])) ~ #nav-bar{
#toolbar-menubar:is([autohide="false"],:not([autohide])) ~ #nav-bar{
--uc-window-drag-space-width: 0px;
--uc-menubar-height: 28px;
}

View File

@@ -27,7 +27,7 @@ See the above repository for updates as well as full license text. */
:root[sizemode="fullscreen"] #nav-bar > .titlebar-buttonbox-container{
display: flex !important;
}
:root:is([tabsintitlebar],[customtitlebar]) #toolbar-menubar:is([autohide=""],not([autohide="false"])) ~ #nav-bar{
:root:is([tabsintitlebar],[customtitlebar]) #toolbar-menubar:is([autohide=""],:not([autohide="false"])) ~ #nav-bar{
> .titlebar-buttonbox-container{
display: flex !important;
}

View File

@@ -59,7 +59,7 @@ See the above repository for updates as well as full license text. */
:root[sizemode="fullscreen"] #nav-bar > .titlebar-buttonbox-container{
display: flex !important;
}
:root[customtitlebar] :where(#toolbar-menubar:is([autohide=""],not([autohide="false"]))){
:root[customtitlebar] :where(#toolbar-menubar:is([autohide=""],:not([autohide="false"]))){
+ #TabsToolbar{
:root[sizemode="normal"] & {
> .titlebar-spacer[type="post-tabs"]{
@@ -79,7 +79,7 @@ See the above repository for updates as well as full license text. */
:root[sizemode="fullscreen"] #TabsToolbar > .titlebar-buttonbox-container{
display: flex !important;
}
:root[customtitlebar] :where(#toolbar-menubar:is([autohide=""],not([autohide="false"]))){
:root[customtitlebar] :where(#toolbar-menubar:is([autohide=""],:not([autohide="false"]))){
+ #TabsToolbar > :is(.titlebar-buttonbox-container,.titlebar-spacer[type="post-tabs"]){
display: flex !important;
}
@@ -100,7 +100,7 @@ See the above repository for updates as well as full license text. */
:root[sizemode="fullscreen"] #TabsToolbar > .titlebar-buttonbox-container{
display: flex !important;
}
:root[customtitlebar] :where(#toolbar-menubar:is([autohide=""],not([autohide="false"]))){
:root[customtitlebar] :where(#toolbar-menubar:is([autohide=""],:not([autohide="false"]))){
+ #TabsToolbar > :is(.titlebar-buttonbox-container,.titlebar-spacer[type="pre-tabs"]){
display: flex !important;
}
@@ -118,7 +118,7 @@ See the above repository for updates as well as full license text. */
:root[sizemode="fullscreen"] #nav-bar > .titlebar-buttonbox-container{
display: flex !important;
}
:root[customtitlebar] :where(#toolbar-menubar:is([autohide=""],not([autohide="false"]))){
:root[customtitlebar] :where(#toolbar-menubar:is([autohide=""],:not([autohide="false"]))){
:root[sizemode="normal"] & {
+ #TabsToolbar > .titlebar-spacer[type="pre-tabs"]{
display: flex !important;

View File

@@ -39,7 +39,7 @@ See the above repository for updates as well as full license text. */
:root[sizemode="fullscreen"] #nav-bar > .titlebar-buttonbox-container{
display: flex !important;
}
:root[customtitlebar] #toolbar-menubar:is([autohide=""],not([autohide="false"])) ~ #nav-bar{
:root[customtitlebar] #toolbar-menubar:is([autohide=""],:not([autohide="false"])) ~ #nav-bar{
> .titlebar-buttonbox-container{
display: flex !important;
}

View File

@@ -24,7 +24,7 @@ See the above repository for updates as well as full license text. */
:root[sizemode="fullscreen"] #nav-bar > .titlebar-buttonbox-container{
display: flex !important;
}
:root[customtitlebar] #toolbar-menubar:is([autohide=""],not([autohide="false"])) ~ #nav-bar{
:root[customtitlebar] #toolbar-menubar:is([autohide=""],:not([autohide="false"])) ~ #nav-bar{
> .titlebar-buttonbox-container{
display: flex !important;
}

View File

@@ -57,7 +57,7 @@ See the above repository for updates as well as full license text. */
right: 0;
}
}
:root:not([customizing]) #toolbar-menubar:is([autohide="false"],not([autohide])) + #TabsToolbar #tabbrowser-tabs{
:root:not([customizing]) #toolbar-menubar:is([autohide="false"],:not([autohide])) + #TabsToolbar #tabbrowser-tabs{
height: calc(100vh - 28px); /* 28px is however tall your menubar is */
}
:root:not([customizing]) #TabsToolbar #new-tab-button,