Add selectors for urlbar-background as class

This commit is contained in:
MrOtherGuy
2025-08-02 09:51:40 +03:00
parent 14d2fa0d03
commit 8ae2da6590
5 changed files with 6 additions and 3 deletions

View File

@@ -17,6 +17,7 @@ See the above repository for updates as well as full license text. */
.urlbarView-row-inner{
padding-inline-start: 4px !important;
}
:where(#urlbar) > .urlbar-background,
#urlbar-background{
animation: none !important;
}

View File

@@ -16,6 +16,7 @@ menupopup,
/* The rounding is also applied to searchbar and urlbar to look consistent */
searchbar#searchbar,
:where(#urlbar) > .urlbar-background,
#urlbar-background{
border-radius: var(--uc-menupopup-border-radius) !important
}

View File

@@ -28,6 +28,7 @@ See the above repository for updates as well as full license text. */
}
.urlbar-input-container > :not(.urlbar-input-box){ opacity: 0 }
:where(#urlbar) > .urlbar-background,
#urlbar-background{
background: transparent !important;
border: none !important;

View File

@@ -21,11 +21,11 @@ See the above repository for updates as well as full license text. */
z-index: 1;
inset-inline: 15vw !important;
}
:root:not([customizing]) #urlbar:not(:focus-within) > #urlbar-background{
:root:not([customizing]) #urlbar:not(:focus-within) > :is(#urlbar-background,.urlbar-background){
background: transparent !important;
border-color: transparent !important;
}
:root:not([customizing]) #urlbar:not(:focus-within):hover > #urlbar-background{
:root:not([customizing]) #urlbar:not(:focus-within):hover > :is(#urlbar-background,.urlbar-background){
background: var(--toolbarbutton-hover-background) !important;
}
#urlbar:not(:focus-within) #page-action-buttons,

View File

@@ -33,7 +33,7 @@ See the above repository for updates as well as full license text. */
position: static !important;
padding: calc(2px + var(--urlbar-margin-inline,5px)) !important;
}
#urlbar[open] > #urlbar-background{ z-index: -1 !important; }
#urlbar[open] > :is(#urlbar-background,.urlbar-background){ z-index: -1 !important; }
/* OPTIONAL FEATURES */