urlbar container color border: make outline follow urlbar size
This commit is contained in:
@@ -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. */
|
/* 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;
|
border-width: 0 !important;
|
||||||
padding: 2px !important;
|
padding: 2px !important;
|
||||||
}
|
}
|
||||||
@@ -28,8 +28,11 @@ See the above repository for updates as well as full license text. */
|
|||||||
outline-offset: -2px
|
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 */
|
/* 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; }
|
#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; }
|
#urlbar[open] > #urlbar-background{ z-index: -1 !important; }
|
||||||
|
|
||||||
/* OPTIONAL FEATURES */
|
/* OPTIONAL FEATURES */
|
||||||
|
|||||||
Reference in New Issue
Block a user