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 <browser> such as when restoring
a tab after startup.
This commit is contained in:
MrOtherGuy 2022-10-15 18:36:04 +03:00
parent 8de1ddc044
commit 22a42117d0
2 changed files with 10 additions and 0 deletions

View file

@ -84,6 +84,11 @@ As a workaround, the -moz-element background image is removed somewhat often whi
margin-top: 0px !important; 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 */ /* OPTIONAL FEATURES */
/* Uncomment to enable */ /* Uncomment to enable */

View file

@ -60,6 +60,11 @@ As a workaround, the -moz-element background image is removed somewhat often whi
} }
#statuspanel[type="status"] { color: Highlight } #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 */ /* OPTIONAL FEATURES */
/* Uncomment to enable */ /* Uncomment to enable */