/
0024-Remove-Lockwise-branding-in-about-logins.patch
78 lines (70 loc) · 3.16 KB
/
0024-Remove-Lockwise-branding-in-about-logins.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
From: Sam Macbeth <sam@cliqz.com>
Date: Wed, 14 Oct 2020 17:54:25 +0200
Subject: Remove Lockwise branding in about:logins
---
.../components/aboutlogins/content/aboutLogins.html | 4 ++++
.../aboutlogins/content/components/login-intro.js | 10 +++++-----
browser/themes/shared/preferences/privacy.css | 4 ++++
3 files changed, 13 insertions(+), 5 deletions(-)
diff --git a/browser/components/aboutlogins/content/aboutLogins.html b/browser/components/aboutlogins/content/aboutLogins.html
index 11ac64a062..4ed7984064 100644
--- a/browser/components/aboutlogins/content/aboutLogins.html
+++ b/browser/components/aboutlogins/content/aboutLogins.html
@@ -229,6 +229,7 @@
<img class="illustration" src="chrome://browser/content/aboutlogins/icons/intro-illustration.svg"/>
<h1 class="heading" data-l10n-id="about-logins-login-intro-heading-logged-out2"></h1>
<section>
+ <!--
<p class="description" data-l10n-id="login-intro-description"></p>
<ul>
<li data-l10n-id="login-intro-instructions-fxa"></li>
@@ -237,13 +238,16 @@
<a data-l10n-name="help-link" class="intro-help-link" target="_blank" rel="noreferrer"></a>
</li>
</ul>
+ -->
<p class="description intro-import-text no-file-import" hidden data-l10n-id="about-logins-intro-import">
<a data-l10n-name="import-link" href="#"></a>
</p>
+ <!--
<p class="description intro-import-text file-import" hidden data-l10n-id="about-logins-intro-import2">
<a data-l10n-name="import-browser-link" href="#"></a>
<a data-l10n-name="import-file-link" href="#"></a>
</p>
+ -->
</section>
</template>
diff --git a/browser/components/aboutlogins/content/components/login-intro.js b/browser/components/aboutlogins/content/components/login-intro.js
index f9a82fa5dc..a76b6e5ec6 100644
--- a/browser/components/aboutlogins/content/components/login-intro.js
+++ b/browser/components/aboutlogins/content/components/login-intro.js
@@ -50,11 +50,11 @@ export default class LoginIntro extends HTMLElement {
.querySelector(".illustration")
.classList.toggle("logged-in", syncState.loggedIn);
- let supportURL =
- window.AboutLoginsUtils.supportBaseURL + "firefox-lockwise";
- this.shadowRoot
- .querySelector(".intro-help-link")
- .setAttribute("href", supportURL);
+ // let supportURL =
+ // window.AboutLoginsUtils.supportBaseURL + "firefox-lockwise";
+ // this.shadowRoot
+ // .querySelector(".intro-help-link")
+ // .setAttribute("href", supportURL);
let importClass = window.AboutLoginsUtils.fileImportEnabled
? ".intro-import-text.file-import"
diff --git a/browser/themes/shared/preferences/privacy.css b/browser/themes/shared/preferences/privacy.css
index 73f9af32a3..1a3629a835 100644
--- a/browser/themes/shared/preferences/privacy.css
+++ b/browser/themes/shared/preferences/privacy.css
@@ -4,6 +4,10 @@
/* Permissions */
+#breachAlertsBox {
+ display: none;
+}
+
#trackingGroup {
--section-highlight-background-color: color-mix(in srgb, var(--in-content-accent-color) 20%, transparent);
}
--
2.32.0