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
@@ -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. * density settings and whether or not menubar is enabled.
*/ */
@media (min-resolution: 120dpi){ @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; --uc-toolbox-browser-area-overlap: -0.5px;
} }
} }
@@ -23,7 +23,7 @@ See the above repository for updates as well as full license text. */
:root:is([sizemode="maximized"],[sizemode="fullscreen"]){ :root:is([sizemode="maximized"],[sizemode="fullscreen"]){
--uc-window-drag-space-width: 0px; --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-window-drag-space-width: 0px;
--uc-menubar-height: 28px; --uc-menubar-height: 28px;
} }
+1 -1
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{ :root[sizemode="fullscreen"] #nav-bar > .titlebar-buttonbox-container{
display: flex !important; 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{ > .titlebar-buttonbox-container{
display: flex !important; display: flex !important;
} }
+4 -4
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{ :root[sizemode="fullscreen"] #nav-bar > .titlebar-buttonbox-container{
display: flex !important; display: flex !important;
} }
:root[customtitlebar] :where(#toolbar-menubar:is([autohide=""],not([autohide="false"]))){ :root[customtitlebar] :where(#toolbar-menubar:is([autohide=""],:not([autohide="false"]))){
+ #TabsToolbar{ + #TabsToolbar{
:root[sizemode="normal"] & { :root[sizemode="normal"] & {
> .titlebar-spacer[type="post-tabs"]{ > .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{ :root[sizemode="fullscreen"] #TabsToolbar > .titlebar-buttonbox-container{
display: flex !important; 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"]){ + #TabsToolbar > :is(.titlebar-buttonbox-container,.titlebar-spacer[type="post-tabs"]){
display: flex !important; 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{ :root[sizemode="fullscreen"] #TabsToolbar > .titlebar-buttonbox-container{
display: flex !important; 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"]){ + #TabsToolbar > :is(.titlebar-buttonbox-container,.titlebar-spacer[type="pre-tabs"]){
display: flex !important; 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{ :root[sizemode="fullscreen"] #nav-bar > .titlebar-buttonbox-container{
display: flex !important; 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"] & { :root[sizemode="normal"] & {
+ #TabsToolbar > .titlebar-spacer[type="pre-tabs"]{ + #TabsToolbar > .titlebar-spacer[type="pre-tabs"]{
display: flex !important; display: flex !important;
+1 -1
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{ :root[sizemode="fullscreen"] #nav-bar > .titlebar-buttonbox-container{
display: flex !important; 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{ > .titlebar-buttonbox-container{
display: flex !important; display: flex !important;
} }
+1 -1
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{ :root[sizemode="fullscreen"] #nav-bar > .titlebar-buttonbox-container{
display: flex !important; 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{ > .titlebar-buttonbox-container{
display: flex !important; display: flex !important;
} }
+1 -1
View File
@@ -57,7 +57,7 @@ See the above repository for updates as well as full license text. */
right: 0; 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 */ height: calc(100vh - 28px); /* 28px is however tall your menubar is */
} }
:root:not([customizing]) #TabsToolbar #new-tab-button, :root:not([customizing]) #TabsToolbar #new-tab-button,