urlbar container color border: make outline follow urlbar size

This commit is contained in:
MrOtherGuy
2024-06-16 11:39:18 +03:00
parent f1480c80e3
commit 36e6c11242

View File

@@ -3,7 +3,7 @@ See the above repository for updates as well as full license text. */
/* Draws a border around urlbar using the color of the current container. */
#urlbar:not([open]) > #urlbar-input-container{
.urlbar-input-container{
border-width: 0 !important;
padding: 2px !important;
}
@@ -28,8 +28,11 @@ See the above repository for updates as well as full license text. */
outline-offset: -2px
}
/* These might potentially cause some issues, but are needed to make the border extend the border to the full popup when urlabar popup is open */
#urlbar[open] > #urlbar-input-container{ position: static !important; }
/* These might potentially cause some issues, but are needed to make the border extend the border to the full popup when urlbar popup is open */
#urlbar[open] > .urlbar-input-container{
position: static !important;
padding: calc(2px + var(--urlbar-margin-inline,5px)) !important;
}
#urlbar[open] > #urlbar-background{ z-index: -1 !important; }
/* OPTIONAL FEATURES */