From ee063a1d9ef076006ac14db56b9e9194355e17eb Mon Sep 17 00:00:00 2001 From: "Mr. M" Date: Sat, 12 Apr 2025 17:22:00 +0200 Subject: [PATCH 1/2] Refactor Zen components: remove zen-rices, add zen-library, and update related styles and scripts --- l10n | 2 +- src/browser/base/content/browser-xhtml.patch | 16 +- .../content/zen-app-wrapper-content.inc.xhtml | 2 + src/browser/base/content/zen-assets.inc.xhtml | 5 +- .../base/content/zen-assets.jar.inc.mn | 3 +- .../base/content/zen-library.inc.xhtml | 6 + .../content/zen-styles/zen-animations.css | 76 ------ .../base/content/zen-styles/zen-rices.css | 226 ------------------ .../base/zen-components/ZenLibrary.mjs | 35 +++ .../base/zen-components/ZenWorkspaces.mjs | 2 +- src/browser/themes/shared/zen-icons/icons.css | 4 - 11 files changed, 54 insertions(+), 323 deletions(-) create mode 100644 src/browser/base/content/zen-app-wrapper-content.inc.xhtml create mode 100644 src/browser/base/content/zen-library.inc.xhtml delete mode 100644 src/browser/base/content/zen-styles/zen-rices.css create mode 100644 src/browser/base/zen-components/ZenLibrary.mjs diff --git a/l10n b/l10n index 950562cd71..2f26cef6c3 160000 --- a/l10n +++ b/l10n @@ -1 +1 @@ -Subproject commit 950562cd71c8a6cbc196234620055dfecbe082d0 +Subproject commit 2f26cef6c3c6e7a822472cf6e1cdb66dc3f20d04 diff --git a/src/browser/base/content/browser-xhtml.patch b/src/browser/base/content/browser-xhtml.patch index 527fb79dc7..6dc4d4d5cf 100644 --- a/src/browser/base/content/browser-xhtml.patch +++ b/src/browser/base/content/browser-xhtml.patch @@ -1,5 +1,5 @@ diff --git a/browser/base/content/browser.xhtml b/browser/base/content/browser.xhtml -index 0d0a559a6473149b50f4bf18d059e86907c4acd3..25ad798eb26f04262d069fdaf1f3fb00adec9807 100644 +index 0d0a559a6473149b50f4bf18d059e86907c4acd3..7f271dacadaabc569cedd437ee4b3dc52900100b 100644 --- a/browser/base/content/browser.xhtml +++ b/browser/base/content/browser.xhtml @@ -26,6 +26,7 @@ @@ -27,18 +27,16 @@ index 0d0a559a6473149b50f4bf18d059e86907c4acd3..25ad798eb26f04262d069fdaf1f3fb00 # All sets except for popupsets (commands, keys, and stringbundles) -@@ -169,9 +173,11 @@ +@@ -169,9 +173,12 @@ --#include navigator-toolbox.inc.xhtml -- --#include browser-box.inc.xhtml + -+ -+ #include navigator-toolbox.inc.xhtml -+ #include browser-box.inc.xhtml -+ ++#include zen-app-wrapper-content.inc.xhtml + #include navigator-toolbox.inc.xhtml + + #include browser-box.inc.xhtml ++