use class instead of id selector for urlbar-input elements

See bug 1610530
This commit is contained in:
MrOtherGuy
2024-06-16 12:00:20 +03:00
parent 36e6c11242
commit 467a53ee72
11 changed files with 23 additions and 23 deletions

View File

@@ -38,7 +38,7 @@ See the above repository for updates as well as full license text. */
pointer-events: auto
}
/* Invisible capture box behind tabs*/
:root:not([customizing]) #urlbar-input-container::before{
:root:not([customizing]) .urlbar-input-container::before{
position: fixed;
display: block;
left: 0;
@@ -48,11 +48,11 @@ See the above repository for updates as well as full license text. */
content: "";
pointer-events: auto;
}
:root[tabsintitlebar]:not([customizing]) #urlbar-input-container::before{
:root[tabsintitlebar]:not([customizing]) .urlbar-input-container::before{
left: var(--uc-window-drag-space-width);
width: calc(100vw - var(--uc-window-control-width) - var(--uc-buttons-width) - 2 * var(--uc-window-drag-space-width));
}
#urlbar-input-container:focus-within::before{ display: none !important; }
.urlbar-input-container:focus-within::before{ display: none !important; }
/* Make tabs appear over the invisible box */
:root:not([customizing]) #TabsToolbar-customization-target{