reload button in urlbar: remove pointer events from urlbar

This will make the style kinda work with popover urlbar, but it if
urlbar is fully opaque then it will still cover the reload button.
This commit is contained in:
MrOtherGuy
2024-12-01 14:33:28 +02:00
parent 2515f1ab25
commit 93c8b2b4ff

View File

@@ -3,7 +3,9 @@ See the above repository for updates as well as full license text. */
/* Makes stop-reload-button appear as if it's inside urlbar.
* First, move reload button next to urlbar on right side using
* customize-mode
* customize-mode.
* If your theme has opaque background for urlbar then that will cover the reload button.
* Switch to another theme such of one of the built-in dark/light/auto theme.
*/
#urlbar-container + #stop-reload-button{
@@ -20,5 +22,10 @@ See the above repository for updates as well as full license text. */
}
#urlbar{
padding-right: calc(2 * (var(--toolbarbutton-outer-padding) + var(--toolbarbutton-inner-padding)) + 12px);
padding-right: calc(2 * (var(--toolbarbutton-outer-padding) + var(--toolbarbutton-inner-padding)) + 12px) !important;
pointer-events: none;
}
.urlbar-input-container,
.urlbarView{
pointer-events: auto;
}