From ea0b7bb0f54ef59f7913ab660e4c37b26b3d9052 Mon Sep 17 00:00:00 2001 From: Chris Handley <61214105+cshandley-uk@users.noreply.github.com> Date: Sat, 21 Jan 2023 17:28:47 +0000 Subject: [PATCH] Update for compatibility with FF109 --- chrome/userChrome.css | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/chrome/userChrome.css b/chrome/userChrome.css index 1f3bf95..de8b0f7 100755 --- a/chrome/userChrome.css +++ b/chrome/userChrome.css @@ -1,3 +1,9 @@ +:root:not([inFullscreen]) #a11y-announcement { + /* Kludge to make "a11y-announcement" a replacement for the "browser-bottombox" element removed by FF 109 */ + display: block !important; + background-color: var(--toolbar-bgcolor) !important; +} +#a11y-announcement, #browser-bottombox { height: 20px; border-top: solid 1px #505050; @@ -14,13 +20,26 @@ transition-property: none !important; } #statuspanel-label { + color: var(--toolbar-color) !important; background: transparent !important; border: none !important; } +html[inFullscreen="true"] #a11y-announcement, html[inFullscreen="true"] #browser-bottombox { display:none !important; } + +/* Make status bar invisible when fullscreen */ html[inFullscreen="true"] #statuspanel { display:none !important; } +/* Make status bar visible (as a pop-up box) when fullscreen */ +/* +html[inFullscreen="true"] #statuspanel-label { + border: 1px solid #505050 !important; + padding-left: 2px !important; + padding-bottom: 6px !important; + background: var(--toolbar-bgcolor) !important; +} +*/