0
Fork 0
mirror of https://codeberg.org/librewolf/source.git synced 2024-12-21 21:23:08 -05:00

Revert "add v100 about dialog"

This reverts commit 1720a5e79b.
This commit is contained in:
Malte Jürgens 2022-07-13 00:58:16 +02:00
parent 0be5cb09a4
commit 848b1307ad
No known key found for this signature in database
GPG key ID: D29FBD5F93C0CFC3
13 changed files with 6 additions and 131 deletions

View file

@ -1,4 +1,3 @@
patches/aboutLogos.patch
patches/allow-ubo-private-mode.patch
patches/bootstrap-without-vcs.patch
patches/context-menu.patch

View file

@ -1,17 +0,0 @@
--- a/browser/base/jar.mn
+++ b/browser/base/jar.mn
@@ -97,6 +97,14 @@ browser.jar:
#endif
content/browser/webrtcIndicator.xhtml (content/webrtcIndicator.xhtml)
content/browser/webrtcIndicator.js (content/webrtcIndicator.js)
+ content/browser/aboutLogos/0.png (content/aboutLogos/0.png)
+ content/browser/aboutLogos/1.png (content/aboutLogos/1.png)
+ content/browser/aboutLogos/2.png (content/aboutLogos/2.png)
+ content/browser/aboutLogos/3.png (content/aboutLogos/3.png)
+ content/browser/aboutLogos/4.png (content/aboutLogos/4.png)
+ content/browser/aboutLogos/5.png (content/aboutLogos/5.png)
+ content/browser/aboutLogos/6.png (content/aboutLogos/6.png)
+ content/browser/aboutLogos/original.svg (content/aboutLogos/original.svg)
# the following files are browser-specific overrides
* content/browser/license.html (/toolkit/content/license.html)
% override chrome://global/content/license.html chrome://browser/content/license.html

View file

@ -17,38 +17,14 @@
}
#left {
flex-shrink: 0.5;
margin: 25px;
display: flex;
flex-direction: column;
align-items: center;
font-size: 10px;
position: relative;
}
#logoA, #logoB {
width: 150px;
flex-shrink: 0.5;
height: 150px;
margin-bottom: 10px;
margin: 25px;
background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNTYiIGhlaWdodD0iMjU2IiB2aWV3Qm94PSIwIDAgNjcuNzMzIDY3LjczMyI+PGcgdHJhbnNmb3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zNDguMzc1LjUuNDYzIDEuODY2LjE3NSAyLjczMi0uMjguODQyLTEuMTI1IDEuODEzLTEuODkyIDIuMTczLS42ODYuMzIzLTIuMDc1IDEuNjgtMi43MjYgMi42NjJhMzEuNjQgMzEuNjQgMCAwMC0xLjAzNyAxLjc0MmMtLjMyMS41ODItLjg2IDEuNDYxLTEuMTk4IDEuOTU0LS42NjQuOTctMS4yMzMgMi4zMjMtMS43ODIgNC4yMzgtLjMyMyAxLjEyNi0uMzUgMS40MTktLjM2MyAzLjkyOC0uMDE2IDMuMDMyLS4xNzMgMy43NzYtLjk5MyA0LjcxLS45MzEgMS4wNi0xLjg2MiAzLjM5MS0xLjk0IDQuODYtLjA1LjkyOC0uMTkyIDEuODMyLS4zOTUgMi41MDItLjA5LjI5NS4wNzcuMjkxIDEuMDcyLS4wMjJ6IiBmaWxsPSIjZmZmIi8+PHBhdGggZD0iTTc3LjA2MiAxODEuNjU0bDEuMjIyLTEuNTY1IDEuOTY2LS4yNzUtMS4yMjIgMS41NjR6IiBmaWxsPSIjMDBhY2ZmIi8+PC9nPjwvc3ZnPg==");
background-size: contain;
background-repeat: no-repeat;
background-position: center;
transition: opacity 0.5s ease;
}
#logoA {
position: absolute;
margin-bottom: -150px;
}
#logoCreatorA, #logoCreatorB {
height: 10px;
transition: opacity 0.5s ease;
}
#logoCreatorA {
position: absolute;
bottom: 0;
}
#right {

View file

@ -99,58 +99,6 @@ async function init(aEvent) {
})
}
const logos = [
{
creator: "/u/NO8X71",
url: "https://old.reddit.com/r/LibreWolf/comments/u91scw/revised_alternate_icons_with_a_night_version/"
},
{
creator: "/u/Lythrox",
url: "https://old.reddit.com/r/LibreWolf/comments/ub65m6/librewolf_netscape_tribute/"
},
{
creator: "/u/rere_dnaw",
url: "https://old.reddit.com/r/LibreWolf/comments/rh28rq/new_logo_ideas/"
},
{
creator: "/u/chunkyhairball",
url: "https://old.reddit.com/r/LibreWolf/comments/qk5jiv/i_like_cute_icons_so_ima_leave_this_here/"
},
{
creator: "/u/diiscotheque",
url: "https://old.reddit.com/r/LibreWolf/comments/tb4i52/icon_update_2/"
},
{
creator: "/u/Huginstog",
url: "https://old.reddit.com/r/LibreWolf/comments/u5yi3d/fluffier_cuddlier_but_still_free_wild/"
},
{
creator: "/u/diiscotheque",
url: "https://old.reddit.com/r/LibreWolf/comments/t9c84n/icon_update/"
},
]
let i = Math.floor(Math.random() * 6);
function newLogo() {
i += 1;
i = i % logos.length;
const a = i % 2 === 0 ? "A" : "B";
const b = i % 2 === 1 ? "A" : "B";
document.getElementById("logo" + a).style.backgroundImage = `url("chrome://browser/content/aboutLogos/${i}.png")`;
document.getElementById("logo" + a).style.opacity = 1;
document.getElementById("logo" + b).style.opacity = 0;
document.getElementById("logoCreator" + a).innerHTML = logos[i].creator
document.getElementById("logoCreator" + a).href = logos[i].url;
document.getElementById("logoCreator" + a).style.opacity = 1;
document.getElementById("logoCreator" + b).style.opacity = 0;
document.getElementById("logoCreator" + a).style.pointerEvents = "all";
document.getElementById("logoCreator" + b).style.pointerEvents = "none";
}
newLogo();
setInterval(newLogo, 7000);
window.sizeToContent();
if (AppConstants.platform == "macosx") {

View file

@ -34,18 +34,12 @@
<script src="chrome://browser/content/aboutDialog.js"/>
<div id="grid">
<div id="left">
<div id="logoA" />
<div id="logoB" />
<div>Community logo by</div>
<label id="logoCreatorA" is="text-link" />
<label id="logoCreatorB" is="text-link" />
</div>
<div id="left" />
<div id="right">
<label id="wordmark">LibreWolf</label>
<label id="version">
<div id="version">
<label id="versionNumber" />
</label >
</div >
<label id="distribution" />
<label id="distributionId" />
<label id="aboutText">

Binary file not shown.

Before

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 313 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 106 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 96 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 147 KiB

View file

@ -1,25 +0,0 @@
<!-- This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at http://mozilla.org/MPL/2.0/.
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" width="20" height="20" fill="context-fill" fill-opacity="context-fill-opacity">
<path d="M15.5 9 15 9l0-4A5 5 0 0 0 5 5l0 4-.5 0A2.5 2.5 0 0 0 2 11.5l0 6A2.5 2.5 0 0 0 4.5 20l11 0a2.5 2.5 0 0 0 2.5-2.5l0-6A2.5 2.5 0 0 0 15.5 9zm-9-4c0-1.93 1.57-3.5 3.5-3.5 1.93 0 3.5 1.57 3.5 3.5l0 4-7 0 0-4zm10 12.7-.8.8-11.4 0-.8-.8 0-6.4.8-.8 11.4 0 .8.8 0 6.4z"/>
</svg>
-->
<svg xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" width="67.733337mm" height="67.733337mm" viewBox="0 0 67.733337 67.733337" version="1.1" id="svg8" inkscape:version="0.92.4 5da689c313, 2019-01-14" sodipodi:docname="LibreWolf.svg">
<defs id="defs2"/>
<sodipodi:namedview id="base" pagecolor="#ffffff" bordercolor="#666666" borderopacity="1.0" inkscape:pageopacity="0.0" inkscape:pageshadow="2" inkscape:zoom="0.9899495" inkscape:cx="-15.106575" inkscape:cy="110.91343" inkscape:document-units="mm" inkscape:current-layer="layer1" showgrid="false" inkscape:window-width="1366" inkscape:window-height="711" inkscape:window-x="0" inkscape:window-y="30" inkscape:window-maximized="1" inkscape:showpageshadow="false" units="px" fit-margin-top="0" fit-margin-left="0" fit-margin-right="0" fit-margin-bottom="0"/>
<metadata id="metadata5">
<rdf:RDF>
<cc:Work rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"/>
<dc:title/>
</cc:Work>
</rdf:RDF>
</metadata>
<g inkscape:label="Layer 1" inkscape:groupmode="layer" id="layer1" transform="translate(-42.106554,-153.8982)">
<circle style="fill:#00acff;fill-opacity:1;stroke:none;stroke-width:0.53545821;stroke-miterlimit:4;stroke-dasharray:none" id="path875" cx="75.973221" cy="187.76486" r="33.866669"/>
<path style="fill:#ffffff;stroke-width:0.13229167" d="m 72.543594,214.67719 c -4.744093,-0.60875 -9.281981,-2.49991 -13.241953,-5.51858 -1.29157,-0.98455 -3.714943,-3.42363 -4.772834,-4.80375 -2.96241,-3.86476 -4.804479,-8.2508 -5.41218,-12.88661 -0.260164,-1.98464 -0.258719,-5.63349 0.0029,-7.44738 1.308078,-9.0677 7.01463,-16.8454 15.20915,-20.72918 3.811512,-1.80647 7.300266,-2.57114 11.730683,-2.57114 7.165903,0 13.5265,2.56749 18.680882,7.54063 2.483054,2.39575 4.148141,4.66808 5.573968,7.60677 1.92868,3.9751 2.70979,7.43276 2.70979,11.99526 0,6.00619 -1.7345,11.24407 -5.336957,16.11672 -1.070527,1.44797 -3.161747,3.64749 -4.549468,4.78507 -3.806562,3.12041 -8.658642,5.23183 -13.473174,5.86296 -1.663528,0.21807 -5.593318,0.24524 -7.120854,0.0492 z m 10.041381,-4.86547 c 2.898391,-0.91366 5.260364,-2.14146 7.540624,-3.91979 1.212494,-0.9456 3.308223,-3.06144 4.186916,-4.22711 2.38328,-3.16162 4.004927,-7.12196 4.482067,-10.94597 0.229814,-1.84182 0.09634,-5.73827 -0.2545,-7.4296 -0.9294,-4.48046 -2.931647,-8.26499 -6.086007,-11.50342 -1.966575,-2.01898 -3.756882,-3.34972 -6.060203,-4.50458 -3.495001,-1.75236 -6.489835,-2.46043 -10.423481,-2.46442 -4.164073,-0.004 -7.815325,0.95024 -11.429055,2.98766 -3.289753,1.85476 -6.690628,5.25952 -8.553227,8.563 -1.371786,2.43299 -2.37583,5.32029 -2.767595,7.95869 -0.256867,1.72991 -0.261933,5.16508 -0.01006,6.82145 0.504067,3.31489 1.761474,6.59111 3.584314,9.33904 0.995409,1.50058 0.964154,1.48393 1.842248,0.98153 1.570774,-0.8987 1.980396,-1.33342 2.836087,-3.00984 1.000624,-1.96036 2.070459,-3.6735 3.037094,-4.86332 1.115822,-1.37347 1.269228,-1.61793 1.828988,-2.9147 0.281654,-0.65249 0.786977,-1.61074 1.122938,-2.12943 l 0.61084,-0.94309 -0.79023,-0.77671 c -1.049647,-1.03168 -1.922751,-2.2016 -2.087012,-2.79651 -0.167761,-0.60758 0.03021,-0.9466 0.818744,-1.40207 0.797354,-0.46057 1.367585,-0.5929 3.498657,-0.81193 1.037629,-0.10665 2.164153,-0.30199 2.518962,-0.43681 0.353024,-0.13414 1.407825,-0.70824 2.344001,-1.27579 2.702947,-1.63863 2.931619,-1.72344 4.552111,-1.68831 1.368686,0.0297 1.371262,0.0291 2.182813,-0.46143 1.700674,-1.02802 4.14305,-2.88289 7.357044,-5.58733 0.61632,-0.5186 1.21002,-0.92569 1.31934,-0.90464 0.45462,0.0876 1.289567,2.13636 1.416407,3.47562 0.07693,0.81225 -0.08023,1.6155 -0.562014,2.87261 -0.13146,0.34301 -0.19208,0.67043 -0.134706,0.7276 0.13774,0.13726 0.610706,-0.4535 0.610706,-0.76279 0,-0.39435 0.261127,-0.43936 0.616327,-0.10623 0.258235,0.24218 0.480842,0.31151 1.000202,0.31151 0.567073,0 0.707447,0.0526 0.928773,0.3479 0.375574,0.50112 0.463647,1.86688 0.176201,2.73231 -0.279641,0.84191 -1.124801,1.81287 -1.891829,2.17341 -0.686334,0.32262 -2.075841,1.67928 -2.726081,2.66164 -0.248906,0.37604 -0.715586,1.15995 -1.037066,1.74204 -0.321487,0.58208 -0.86074,1.46154 -1.19834,1.95436 -0.664294,0.96972 -1.233147,2.3224 -1.782214,4.23798 -0.322553,1.1253 -0.34962,1.41826 -0.362953,3.92797 -0.01613,3.0317 -0.172894,3.77561 -0.9925,4.7091 -0.931805,1.06126 -1.861937,3.39186 -1.940127,4.8613 -0.04935,0.92751 -0.192246,1.83164 -0.395304,2.50122 -0.08942,0.29484 0.07752,0.2914 1.072102,-0.0221 z" id="path847" inkscape:connector-curvature="0"/>
<path sodipodi:type="star" style="fill:#00acff;fill-opacity:1;stroke:none;stroke-width:1.5;stroke-miterlimit:4;stroke-dasharray:none" id="path814" sodipodi:sides="4" sodipodi:cx="18.854025" sodipodi:cy="172.98837" sodipodi:r1="1.6036172" sodipodi:r2="1.1339285" sodipodi:arg1="1.5707963" sodipodi:arg2="2.3561945" inkscape:flatsided="true" inkscape:rounded="0" inkscape:randomized="0" d="m 18.854025,174.59199 -1.603617,-1.60362 1.603617,-1.60361 1.603617,1.60361 z" transform="matrix(0.23203125,0.40188991,-0.99392962,0.57384553,246.21921,73.888081)"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 5.9 KiB