Updated to firefox 125.0.1!

This commit is contained in:
Mauro Balades
2024-04-17 19:30:10 +02:00
parent 5431fde32f
commit 0469a3db6f
12 changed files with 66 additions and 79 deletions

View File

@@ -1,13 +0,0 @@
diff --git a/browser/components/customizableui/PanelMultiView.sys.mjs b/browser/components/customizableui/PanelMultiView.sys.mjs
index a97889f08a61e68ebf5bc5d3749362a40d48bb77..5770b0e86bbe01180c174f5d512133c577c4e0ac 100644
--- a/browser/components/customizableui/PanelMultiView.sys.mjs
+++ b/browser/components/customizableui/PanelMultiView.sys.mjs
@@ -1205,7 +1205,7 @@ export var PanelMultiView = class extends AssociatedToNode {
} else {
let anchorScreenBottom = anchor.screenY + anchorRect.height;
let cssAvailHeight = availHeight.value / screen.defaultCSSScaleFactor;
- maxHeight = cssAvailTop + cssAvailHeight - anchorScreenBottom;
+ maxHeight = cssAvailTop + cssAvailHeight;
}
// To go from the maximum height of the panel to the maximum height of

View File

@@ -1,12 +1,12 @@
diff --git a/browser/components/preferences/preferences.js b/browser/components/preferences/preferences.js
index 31ae84f3820aa12a26e10b27718bdc7da277f31b..427d44698ffe5d8154c5503a415ce9ec98982f3b 100644
index c30a51c67ce636fa889090419a5c2642d74b4f49..b48ab31c564db4a4911c9fca291b4f09ba1025af 100644
--- a/browser/components/preferences/preferences.js
+++ b/browser/components/preferences/preferences.js
@@ -205,6 +205,7 @@ function init_all() {
register_module("panePrivacy", gPrivacyPane);
register_module("paneContainers", gContainersPane);
register_module("paneTranslations", gTranslationsPane);
@@ -198,6 +198,7 @@ function init_all() {
// the entire document.
Preferences.queueUpdateOfAllElements();
Services.telemetry.setEventRecordingEnabled("aboutpreferences", true);
+ register_module("paneZenLooks", gZenLooksAndFeel);
if (Services.prefs.getBoolPref("browser.preferences.experimental")) {
// Set hidden based on previous load's hidden value.
document.getElementById("category-experimental").hidden =
register_module("paneGeneral", gMainPane);
register_module("paneHome", gHomePane);

View File

@@ -1,35 +1,17 @@
diff --git a/browser/components/preferences/preferences.xhtml b/browser/components/preferences/preferences.xhtml
index 38fba9a7265cbcec406fd4145014083286fa798e..c54b900f0329c95ae706eb6df42fd7f7e2dc41c9 100644
index eee227822a772bec128d6adbe4f6aca90ed810f6..54d0f2df0c422a7d8ae0fbe10ef6c072bd7d6453 100644
--- a/browser/components/preferences/preferences.xhtml
+++ b/browser/components/preferences/preferences.xhtml
@@ -42,6 +42,10 @@
href="chrome://browser/skin/preferences/containers.css"
@@ -43,6 +43,8 @@
/>
<link rel="stylesheet" href="chrome://browser/skin/preferences/privacy.css" />
+ <link
+ rel="stylesheet"
+ href="chrome://browser/skin/preferences/zen-preferences.css"
+ />
+#include zen-preferences-links.xhtml
+
<link rel="localization" href="branding/brand.ftl"/>
<link rel="localization" href="browser/browser.ftl"/>
@@ -52,6 +56,7 @@
<link rel="localization" href="toolkit/branding/accounts.ftl"/>
<link rel="localization" href="toolkit/branding/brandings.ftl"/>
<link rel="localization" href="toolkit/featuregates/features.ftl"/>
+ <link rel="localization" href="browser/preferences/zen-preferences.ftl"/>
<!-- Links below are only used for search-l10n-ids into subdialogs -->
<link rel="localization" href="browser/aboutDialog.ftl"/>
@@ -84,6 +89,7 @@
<script src="chrome://browser/content/migration/migration-wizard.mjs" type="module"></script>
<script type="module" src="chrome://global/content/elements/moz-toggle.mjs"/>
<script type="module" src="chrome://global/content/elements/moz-message-bar.mjs" />
+ <script src="chrome://browser/content/zenThemeModifier.js"/>
</head>
<html:body xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
@@ -111,6 +117,17 @@
<!-- Used by fontbuilder.js -->
@@ -112,6 +114,17 @@
<label class="category-name" flex="1" data-l10n-id="pane-general-title"></label>
</richlistitem>
@@ -47,7 +29,7 @@ index 38fba9a7265cbcec406fd4145014083286fa798e..c54b900f0329c95ae706eb6df42fd7f7
<richlistitem id="category-home"
class="category"
value="paneHome"
@@ -247,6 +264,7 @@
@@ -248,6 +261,7 @@
#include sync.inc.xhtml
#include experimental.inc.xhtml
#include moreFromMozilla.inc.xhtml

View File

@@ -0,0 +1,7 @@
<link rel="localization" href="browser/preferences/zen-preferences.ftl"/>
<link
rel="stylesheet"
href="chrome://browser/skin/preferences/zen-preferences.css"
/>
<script src="chrome://browser/content/zenThemeModifier.js"/>
<link rel="localization" href="browser/preferences/zen-preferences.ftl"/>

View File

@@ -1,29 +1,8 @@
diff --git a/browser/components/tabpreview/tabpreview.css b/browser/components/tabpreview/tabpreview.css
index 8b288cb95da0e5fe307437e300d2c03ae19ab397..13a1f652bfd44af6ef317e7c997e101ac84c0ece 100644
index 776f520c7da2cf3e2dcc5f1395a3266f1c009ea0..2605963b023c507ab63c3ac8b761477da8550ce8 100644
--- a/browser/components/tabpreview/tabpreview.css
+++ b/browser/components/tabpreview/tabpreview.css
@@ -3,9 +3,9 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
.tab-preview-container {
- background-color: #ffffff;
+ background-color: #fdfdfd;
color: #15141a;
- border-radius: 9px;
+ border-radius: 7px;
display: inline-block;
width: 280px;
overflow: hidden;
@@ -38,7 +38,7 @@
@media (prefers-color-scheme: dark) {
.tab-preview-container {
- background-color: #42414d;
+ background-color: #333237;
color: #fbfbfe;
}
.tab-preview-uri {
@@ -61,3 +61,24 @@
@@ -57,3 +57,24 @@
display: none;
}
}
@@ -48,3 +27,4 @@ index 8b288cb95da0e5fe307437e300d2c03ae19ab397..13a1f652bfd44af6ef317e7c997e101a
+.tab-preview-thumbnail-container canvas {
+ border-top: 1px solid var(--zen-border-color);
+}
\ No newline at end of file