Commit f3dd9d4c authored by Arthur Edelstein's avatar Arthur Edelstein
Browse files

Bug 24702: Remove Mozilla text from banner

parent 0603de63
...@@ -37,7 +37,6 @@ window.addEventListener("pageshow", function() { ...@@ -37,7 +37,6 @@ window.addEventListener("pageshow", function() {
<div id="banner-contents-container"> <div id="banner-contents-container">
<div id="banner-tagline"><span></span></div> <div id="banner-tagline"><span></span></div>
<div id="banner-slogan"><span></span></div> <div id="banner-slogan"><span></span></div>
<div id="banner-mozilla"><span></span></div>
<a id="banner-donate-button-link" <a id="banner-donate-button-link"
href="https://www.torproject.org/donate/donate-pdr-tbb"> href="https://www.torproject.org/donate/donate-pdr-tbb">
<div id="banner-donate-button"> <div id="banner-donate-button">
......
...@@ -46,7 +46,6 @@ let avoidWidows = function (element) { ...@@ -46,7 +46,6 @@ let avoidWidows = function (element) {
let updateTextSizes = function () { let updateTextSizes = function () {
fitTextInElement(sel("#banner-tagline")); fitTextInElement(sel("#banner-tagline"));
fitTextInElement(sel("#banner-slogan")); fitTextInElement(sel("#banner-slogan"));
fitTextInElement(sel("#banner-mozilla"));
fitTextInElement(sel("#banner-donate-button-inner")); fitTextInElement(sel("#banner-donate-button-inner"));
avoidWidows(sel("#banner-tagline span")); avoidWidows(sel("#banner-tagline span"));
}; };
...@@ -59,7 +58,6 @@ let runDonationBanner = function ({ taglines, slogan, mozilla, donate, shortLoca ...@@ -59,7 +58,6 @@ let runDonationBanner = function ({ taglines, slogan, mozilla, donate, shortLoca
try { try {
sel("#banner-tagline span").innerText = taglines[randomInteger(taglines.length)]; sel("#banner-tagline span").innerText = taglines[randomInteger(taglines.length)];
sel("#banner-slogan span").innerText = slogan; sel("#banner-slogan span").innerText = slogan;
sel("#banner-mozilla span").innerText = mozilla;
let donateButtonText = sel("#banner-donate-button-inner span"); let donateButtonText = sel("#banner-donate-button-inner span");
let rtl = window.getComputedStyle(donateButtonText).direction === "rtl"; let rtl = window.getComputedStyle(donateButtonText).direction === "rtl";
donateButtonText.innerHTML = donate + "&#160;" + (rtl ? "&#9664;" : "&#9654;"); donateButtonText.innerHTML = donate + "&#160;" + (rtl ? "&#9664;" : "&#9654;");
......
...@@ -75,23 +75,6 @@ ...@@ -75,23 +75,6 @@
left: 285px; left: 285px;
right: 85px; right: 85px;
} }
#banner-mozilla {
align-items: center;
bottom: 5px;
color: white;
display: flex;
font-family: sans-serif;
left: 85px;
position: absolute;
right: 285px;
text-align: start;
top: 120px;
white-space: nowrap;
}
#banner-mozilla:-moz-dir(rtl) {
left: 285px;
right: 85px;
}
#banner-donate-button { #banner-donate-button {
background-color: #13a513; background-color: #13a513;
border: 0px; border: 0px;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment