hide preloader (by classname), separate into new file - firefox-fix-web - Firef… | |
git clone git://git.codemadness.org/firefox-fix-web | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit f0549950ceb52a2e435fb476d3288932feee9e76 | |
parent 69e862f11890afda727c5925ef22705842a8b773 | |
Author: Hiltjo Posthuma <[email protected]> | |
Date: Sun, 16 Feb 2020 13:25:11 +0100 | |
hide preloader (by classname), separate into new file | |
Diffstat: | |
M extension/global/anim.css | 6 ++---- | |
A extension/global/preloaders.css | 7 +++++++ | |
M extension/manifest.json | 2 +- | |
3 files changed, 10 insertions(+), 5 deletions(-) | |
--- | |
diff --git a/extension/global/anim.css b/extension/global/anim.css | |
@@ -6,6 +6,8 @@ | |
html { | |
display: block !important; | |
} | |
+ | |
+/* remove things like fade-in animations */ | |
body, | |
body > * { | |
transition: 0s !important; | |
@@ -17,7 +19,3 @@ body { | |
display: block !important; | |
visibility: visible !important; | |
} | |
- | |
-#PageFirstLoadOverlay { | |
- background: initial !important; | |
-} | |
diff --git a/extension/global/preloaders.css b/extension/global/preloaders.css | |
@@ -0,0 +1,7 @@ | |
+#PageFirstLoadOverlay { | |
+ background: initial !important; | |
+} | |
+ | |
+.preloader { | |
+ display: none; | |
+} | |
diff --git a/extension/manifest.json b/extension/manifest.json | |
@@ -14,7 +14,7 @@ | |
{ | |
"matches": [ "*://*/*" ], | |
"js": [ "global/focus.js", "global/fiximg.js" ], | |
- "css": [ "global/anim.css" ], | |
+ "css": [ "global/anim.css", "global/preloaders.css" ], | |
"all_frames": true | |
}, | |
{ |