From 2c8c06748ba80debcdfa78e0020049f193d5ffc5 Mon Sep 17 00:00:00 2001 From: Robert Günzler Date: Thu, 24 Nov 2022 21:12:31 +0100 Subject: firefox: prevent flashbang --- .mozilla/firefox/hibiki.default/chrome/userChrome.css | 4 ++++ .mozilla/firefox/hibiki.default/chrome/userContent.css | 7 +++---- 2 files changed, 7 insertions(+), 4 deletions(-) (limited to '.mozilla') diff --git a/.mozilla/firefox/hibiki.default/chrome/userChrome.css b/.mozilla/firefox/hibiki.default/chrome/userChrome.css index ff39340..bdbcf53 100644 --- a/.mozilla/firefox/hibiki.default/chrome/userChrome.css +++ b/.mozilla/firefox/hibiki.default/chrome/userChrome.css @@ -26,6 +26,10 @@ font-family: Iosevka Aile, Sarasa Fixed J, monospace !important; } +/* prevent pre-load flash bang */ +.browserContainer { background-color: var(--toolbar-bgcolor) !important; } +.tabbrowser tabpanels { background-color: var(--toolbar-bgcolor) !important; } + #titlebar { display: none !important; } diff --git a/.mozilla/firefox/hibiki.default/chrome/userContent.css b/.mozilla/firefox/hibiki.default/chrome/userContent.css index f3b4e6a..34d1bb6 100644 --- a/.mozilla/firefox/hibiki.default/chrome/userContent.css +++ b/.mozilla/firefox/hibiki.default/chrome/userContent.css @@ -6,17 +6,16 @@ @see: https://github.com/tridactyl/tridactyl/issues/2510 */ :root { - --tridactyl-bg: #2a2a2e !important; - --tridactyl-fg: #b1b1b3 !important; + --toolbar-bgcolor: #040405 !important; } /* set the background color of the new tab page (without tridactyl or with tridactyl without newtab) */ -@-moz-document url-prefix(about:home), url-prefix(about:newtab), url-prefix(about:blank) { +@-moz-document url("about:home"), url("about:newtab"), url("about:blank") { @media (prefers-color-scheme: dark) { body { - background: #1d1b19; + background: var(--toolbar-bgcolor); } } } -- cgit 1.4.1