From 32bed442a8a25ab7b7dc359d124abdec8ec291c2 Mon Sep 17 00:00:00 2001 From: SanderTheDragon Date: Thu, 10 Jun 2021 12:58:52 +0200 Subject: [PATCH] Added missing errors --- userContent.css | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/userContent.css b/userContent.css index d8f2d5b..a759b2c 100644 --- a/userContent.css +++ b/userContent.css @@ -50,6 +50,16 @@ } } + @-moz-document url-prefix("about:neterror?e=connectionFailure"), + url-prefix("about:neterror?e=netInterrupt"), + url-prefix("about:neterror?e=netTimeout"), + url-prefix("about:neterror?e=netReset"), + url-prefix("about:neterror?e=netOffline"), + url("about:restartrequired"), url("chrome://browser/content/aboutRestartRequired.xhtml") { + #errorPageContainer { + background-image: url("chrome://browser/skin/illustrations/error-connection-failure.svg"); + } + } @-moz-document url-prefix("about:neterror?e=dnsNotFound") { #errorPageContainer { background-image: url("chrome://browser/skin/illustrations/error-server-not-found.svg"); @@ -60,11 +70,14 @@ background-image: url("chrome://browser/skin/illustrations/error-malformed-url.svg"); } } - @-moz-document url("about:restartrequired"), url("chrome://browser/content/aboutRestartRequired.xhtml") { + @-moz-document url-prefix("about:neterror?e=clockSkewError"), + url-prefix("about:neterror?e=nssFailure") { #errorPageContainer { - background-image: url("chrome://browser/skin/illustrations/error-connection-failure.svg"); + background-image: url("chrome://browser/skin/illustrations/blue-berror.svg"); + background-size: 18.5em; } } + @-moz-document url("about:sessionrestore"), url(chrome://browser/content/aboutSessionRestore.xhtml) { .description-wrapper { background-image: url("chrome://browser/skin/illustrations/error-session-restore.svg");