From 22a42117d04d0f09407479d6493d8ece168f8830 Mon Sep 17 00:00:00 2001 From: MrOtherGuy Date: Sat, 15 Oct 2022 18:36:04 +0300 Subject: [PATCH] status-inside-urlbar: add background-color to .browserStack This opaque background allows us to draw statuspanel behind it. Without this patch, the statupanel could be shown on tabs that don't yet have associated such as when restoring a tab after startup. --- chrome/status_inside_urlbar.css | 5 +++++ chrome/status_inside_urlbar_v2.css | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/chrome/status_inside_urlbar.css b/chrome/status_inside_urlbar.css index 8511d76..17d19f0 100644 --- a/chrome/status_inside_urlbar.css +++ b/chrome/status_inside_urlbar.css @@ -84,6 +84,11 @@ As a workaround, the -moz-element background image is removed somewhat often whi margin-top: 0px !important; } +/* This creates opaque layer to be shown in front of "hidden" real statuspanel */ +.browserStack{ + background-color: var(--tabpanel-background-color); +} + /* OPTIONAL FEATURES */ /* Uncomment to enable */ diff --git a/chrome/status_inside_urlbar_v2.css b/chrome/status_inside_urlbar_v2.css index 0176722..72c0a74 100644 --- a/chrome/status_inside_urlbar_v2.css +++ b/chrome/status_inside_urlbar_v2.css @@ -60,6 +60,11 @@ As a workaround, the -moz-element background image is removed somewhat often whi } #statuspanel[type="status"] { color: Highlight } +/* This creates opaque layer to be shown in front of "hidden" real statuspanel */ +.browserStack{ + background-color: var(--tabpanel-background-color); +} + /* OPTIONAL FEATURES */ /* Uncomment to enable */