diff --git a/l10n b/l10n index 48e6a3672..6715d6de2 160000 --- a/l10n +++ b/l10n @@ -1 +1 @@ -Subproject commit 48e6a3672a11c6c9f4d7fa5a4f08c7c8157e9e07 +Subproject commit 6715d6de221383cad242f5f1d8a15717ec2ce31f diff --git a/src/browser/base/content/appmenu-viewcache-inc-xhtml.patch b/src/browser/base/content/appmenu-viewcache-inc-xhtml.patch new file mode 100644 index 000000000..d11b7105a --- /dev/null +++ b/src/browser/base/content/appmenu-viewcache-inc-xhtml.patch @@ -0,0 +1,15 @@ +diff --git a/browser/base/content/appmenu-viewcache.inc.xhtml b/browser/base/content/appmenu-viewcache.inc.xhtml +index 3c5c4f29b1de25a4ce17089502f2251a27e5c7f5..dfa3260ed3c2bb6067745696fbf103c7e56c639a 100644 +--- a/browser/base/content/appmenu-viewcache.inc.xhtml ++++ b/browser/base/content/appmenu-viewcache.inc.xhtml +@@ -421,6 +421,10 @@ + class="subviewbutton" + data-l10n-id="appmenu-customizetoolbar" + command="cmd_CustomizeToolbars"/> ++ + + - - - diff --git a/src/browser/base/content/zen-styles/zen-animations.css b/src/browser/base/content/zen-styles/zen-animations.css index 61aa29b73..842d8f167 100644 --- a/src/browser/base/content/zen-styles/zen-animations.css +++ b/src/browser/base/content/zen-styles/zen-animations.css @@ -76,7 +76,7 @@ @keyframes zen-slide-in { from { - transform: translateX(-100%); + transform: translateX(-150%); opacity: 0; } to { @@ -87,7 +87,7 @@ @keyframes zen-slide-in-reverse { from { - transform: translateX(100%); + transform: translateX(150%); opacity: 0; } to { @@ -349,21 +349,3 @@ transform: translateX(-100%) translateY(-50%); } } - -@keyframes zen-jello-animation-with-translate { - 0% { - transform: scale3d(0.8, 0.8, 0.8) translate(-50%, -50%); - transform-origin: 50% 50%; - } - - 60% { - transform: scale3d(1.02, 1.02, 1.02) translate(-50%, -50%); - transform-origin: 50% 50%; - } - - to { - opacity: 1; - transform: scale3d(1, 1, 1) translate(-50%, -50%); - transform-origin: 50% 50%; - } -} diff --git a/src/browser/base/content/zen-styles/zen-rices.css b/src/browser/base/content/zen-styles/zen-rices.css index 618201730..4c89ad9ce 100644 --- a/src/browser/base/content/zen-styles/zen-rices.css +++ b/src/browser/base/content/zen-styles/zen-rices.css @@ -1,18 +1,18 @@ -#zen-rice-share-btn { +#zen-rice-share-dialog-overlay:not([hidden]) { position: absolute; - top: 5px; - right: 5px; - background: var(--zen-dialog-background); + top: 0; + left: 0; + width: 100%; + height: 100%; + background: rgba(0, 0, 0, 0.5); z-index: 1; - cursor: pointer; + display: flex; + justify-content: center; + align-items: center; } #zen-rice-share-dialog { - position: absolute; - top: 50%; - left: 50%; - transform: translate(-50%, -50%); color: var(--panel-color); background: var(--arrowpanel-background); border-radius: var(--zen-panel-radius); @@ -20,7 +20,7 @@ border: var(--zen-appcontent-border); overflow: hidden; - animation: zen-jello-animation-with-translate 0.3s ease; + animation: zen-jello-animation 0.3s ease; max-width: 400px; & .zen-rice-share-content { diff --git a/src/browser/base/content/zen-styles/zen-tabs/vertical-tabs.css b/src/browser/base/content/zen-styles/zen-tabs/vertical-tabs.css index 75b746e17..0a98a0590 100644 --- a/src/browser/base/content/zen-styles/zen-tabs/vertical-tabs.css +++ b/src/browser/base/content/zen-styles/zen-tabs/vertical-tabs.css @@ -239,11 +239,11 @@ transition: scale 0.07s ease; &[fadein='true']:not([zen-essential='true']) { #tabbrowser-tabs[zen-workspace-animation='previous'] & { - animation: zen-slide-in 0.3s ease; + animation: zen-slide-in 0.3s ease-out; } #tabbrowser-tabs[zen-workspace-animation='next'] & { - animation: zen-slide-in-reverse 0.3s ease; + animation: zen-slide-in-reverse 0.3s ease-out; } } diff --git a/src/browser/base/zen-components/ZenGradientGenerator.mjs b/src/browser/base/zen-components/ZenGradientGenerator.mjs index 49270fc87..332b93469 100644 --- a/src/browser/base/zen-components/ZenGradientGenerator.mjs +++ b/src/browser/base/zen-components/ZenGradientGenerator.mjs @@ -593,7 +593,7 @@ let workspaceTheme = theme || workspace.theme; await this.foreachWindowAsActive(async (browser) => { - if (!browser.gZenThemePicker._hasInitialized) { + if (!browser.gZenThemePicker?._hasInitialized) { return; } // Do not rebuild if the workspace is not the same as the current one diff --git a/src/browser/base/zen-components/ZenRices.mjs b/src/browser/base/zen-components/ZenRices.mjs index 74ffd5278..657074257 100644 --- a/src/browser/base/zen-components/ZenRices.mjs +++ b/src/browser/base/zen-components/ZenRices.mjs @@ -122,6 +122,9 @@ this._collector = new ZenRiceCollector(); } + init() { + } + async packRice() { return this._collector.packRice(); } @@ -131,37 +134,39 @@ return this._shareDialog; } this._shareDialog = window.MozXULElement.parseXULToFragment(` -