Rewrite combined_favicon_and_tab_close_button.css

This rewrites the style to achieve compatibility with
inline_tab_audio_icons.css. compatibility only requires few small
non-affecting extra rules in inline_tab_audio_icons. This patch also
makes combined_favicon_and_tab_close_button work with themes where tab
background is not full opaque which is a nice bonus :)
This commit is contained in:
MrOtherGuy
2022-03-29 17:14:40 +03:00
parent 74d5d67e71
commit b9e140dbbd
2 changed files with 19 additions and 32 deletions

View File

@@ -20,4 +20,9 @@ See the above repository for updates as well as full license text. */
.tab-secondary-label{ display: none }
/* show the secondary label when video is in PiP */
.tab-secondary-label[pictureinpicture]{ display: -moz-box }
.tab-secondary-label[pictureinpicture]{ display: -moz-box }
/* These exist for compatibility with combined_favicon_and_tab_close_button.css */
.tab-icon-overlay{ pointer-events: auto }
.tab-content > .tab-icon-stack,
.tab-icon-stack:hover > .tab-icon-image{ visibility: visible }