make it possible to extend fake border around urlbar popup
This makes the input-container use static positioning which could potentially be problematic in some scenarios.
This commit is contained in:
@@ -7,7 +7,8 @@ See the above repository for updates as well as full license text. */
|
||||
border-width: 0 !important;
|
||||
padding: 2px !important;
|
||||
}
|
||||
#urlbar:not([open]) #userContext-icons::before{
|
||||
|
||||
#userContext-icons::before{
|
||||
box-sizing: border-box;
|
||||
display: block;
|
||||
position: absolute;
|
||||
@@ -21,11 +22,16 @@ See the above repository for updates as well as full license text. */
|
||||
outline-offset: -1px;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
#urlbar[focused] #userContext-icons::before{
|
||||
outline-width: 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 */
|
||||
#urlbar[open] > #urlbar-input-container{ position: static !important; }
|
||||
#urlbar[open] > #urlbar-background{ z-index: -1 !important; }
|
||||
|
||||
/* OPTIONAL FEATURES */
|
||||
|
||||
/* Hide container label in urlbar */
|
||||
|
||||
Reference in New Issue
Block a user