[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor-browser/tor-browser-91.6.0esr-11.0-1] fixup! Bug 26961: New user onboarding.



commit 9d3c316e8f1217b6fee85ab081618a987893d310
Author: Richard Pospesel <richard@xxxxxxxxxxxxxx>
Date:   Tue Dec 7 14:55:31 2021 +0100

    fixup! Bug 26961: New user onboarding.
    
    fixes tor-browser#40684
---
 browser/extensions/onboarding/content/Onboarding.jsm |  6 ------
 browser/extensions/onboarding/content/onboarding.css | 15 ---------------
 2 files changed, 21 deletions(-)

diff --git a/browser/extensions/onboarding/content/Onboarding.jsm b/browser/extensions/onboarding/content/Onboarding.jsm
index 558a94cc35ba..38c78f724b3b 100644
--- a/browser/extensions/onboarding/content/Onboarding.jsm
+++ b/browser/extensions/onboarding/content/Onboarding.jsm
@@ -1770,12 +1770,6 @@ class Onboarding {
     defaultImg.src = Services.prefs.getStringPref("browser.onboarding.default-icon-src",
       "chrome://branding/content/icon64.png");
     button.appendChild(defaultImg);
-    let watermarkImg = this._window.document.createElement("img");
-    watermarkImg.id = "onboarding-overlay-button-watermark-icon";
-    watermarkImg.setAttribute("role", "presentation");
-    watermarkImg.src = Services.prefs.getStringPref("browser.onboarding.watermark-icon-src",
-      "resource://onboarding/img/tor-watermark.png");
-    button.appendChild(watermarkImg);
     return button;
   }
 
diff --git a/browser/extensions/onboarding/content/onboarding.css b/browser/extensions/onboarding/content/onboarding.css
index 431b73bd148e..e801790bf5a8 100644
--- a/browser/extensions/onboarding/content/onboarding.css
+++ b/browser/extensions/onboarding/content/onboarding.css
@@ -127,21 +127,6 @@
   box-shadow: 2px 0 5px 0 rgba(74, 74, 79, 0.25);
 }
 
-#onboarding-overlay-button-watermark-icon {
-  -moz-context-properties: fill;
-  fill: var(--newtab-icon-tertiary-color, #d7d7db);
-}
-
-#onboarding-overlay-button-watermark-icon,
-#onboarding-overlay-button.onboarding-watermark::after,
-#onboarding-overlay-button.onboarding-watermark:not(:hover) > #onboarding-overlay-button-icon {
-  display: none;
-}
-
-#onboarding-overlay-button.onboarding-watermark:not(:hover) > #onboarding-overlay-button-watermark-icon {
-  display: block;
-}
-
 #onboarding-overlay-dialog,
 .onboarding-hidden,
 #onboarding-tour-sync-page[data-login-state=logged-in] .show-on-logged-out,



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits