From 4dc0f67884639e53db0389fb69ce60eb28218e0d Mon Sep 17 00:00:00 2001 From: MrOtherGuy Date: Tue, 15 Jun 2021 00:16:07 +0300 Subject: [PATCH] center urlbarview to window and add a shadow to it --- chrome/selected_tab_as_urlbar.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/chrome/selected_tab_as_urlbar.css b/chrome/selected_tab_as_urlbar.css index 49b8151..12ec6fd 100644 --- a/chrome/selected_tab_as_urlbar.css +++ b/chrome/selected_tab_as_urlbar.css @@ -13,6 +13,7 @@ See the above repository for updates as well as full license text. */ #PanelUI-button, #nav-bar-overflow-button{ z-index: 2; position: relative } +:root[sizemode="normal"] #urlbar-container{ margin-inline: 40px !important; } #urlbar-input-container > :not(.urlbar-input-box){ visibility: hidden } @@ -27,6 +28,9 @@ See the above repository for updates as well as full license text. */ z-index: 1; padding: 6px; border-radius: 6px; + box-shadow: 0 0 26px currentColor; + left: 50vw; + margin-left: -50% !important; } .tabbrowser-tab[selected][fadein]{ max-width: 100vw !important; min-width: 200px !important }