From 60e60f98c0137bd4bc9a3126570400a9b58f8e3b Mon Sep 17 00:00:00 2001 From: alstjr7375 Date: Sat, 25 Feb 2023 22:20:59 +0900 Subject: [PATCH] Add: Error Page - Preferences' no search result #654 --- css/leptonContent.css | 9 +++++++++ icons/no-search-results.svg | 36 +++++++++++++++++++++++++++++++++++ src/contents/_error_page.scss | 10 ++++++++++ 3 files changed, 55 insertions(+) create mode 100644 icons/no-search-results.svg diff --git a/css/leptonContent.css b/css/leptonContent.css index 18222c04..2c51762f 100644 --- a/css/leptonContent.css +++ b/css/leptonContent.css @@ -554,6 +554,15 @@ } } } + @-moz-document url-prefix("about:preferences") { + #no-results-message::after { + content: url("../icons/no-search-results.svg"); + width: 380px; + height: 293px; + margin-top: 64px; + margin-inline: auto; + } + } } /** Fully Dark Mode ***********************************************************/ /*= Fully Dark Mode - Dark Mode Colors =======================================*/ diff --git a/icons/no-search-results.svg b/icons/no-search-results.svg new file mode 100644 index 00000000..fcb214ed --- /dev/null +++ b/icons/no-search-results.svg @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/contents/_error_page.scss b/src/contents/_error_page.scss index 73a1706c..39cf4aa4 100644 --- a/src/contents/_error_page.scss +++ b/src/contents/_error_page.scss @@ -119,3 +119,13 @@ @include moz-document(url "about:welcomeBack", url "chrome://browser/content/aboutWelcomeBack.xhtml") { @include _errorTitleImage("../icons/welcome-back.svg"); } + +@include moz-document(url-prefix "about:preferences") { + #no-results-message::after { + content: url("../icons/no-search-results.svg"); + width: 380px; + height: 293px; + margin-top: 64px; + margin-inline: auto; + } +}