Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Bug #17565: Tor fundraising campaign donation banner
Loading branch information
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -169,7 +169,32 @@ window.addEventListener("pageshow", function() {
</script >
</head >
<body dir =" &locale.dir; " onload =" onLoad();" >
<div id =" torstatus" class =" top" >
<div id =" donation-banner" class =" top" style =" position: relative; width:700px; margin: 0px auto;" >
<a href =" https://www.torproject.org/donate/donate-tbb" >
<div style =" text-align: left; width: 700px; position: relative; margin: 0px auto; z-index: -1;" >
<img width =" 700" src =" chrome://torbutton/content/aboutTor/donation-banner.png" />
<div style =" font-size: 19px; position: absolute; white-space: normal; top: 26px; left: 220px; text-align: left; width: 460px; height: 100px; color: darkgreen;" >
Edward Snowden would not have been able to contact me without Tor and other free software encryption projects.
Journalists need Tor to protect their sources
and do research freely. It is an essential tool, and it needs our support.</div >
<div style =" position: absolute; left: 240px; top: 130px; color: rgb(17, 17, 17);" >
<div style =" font-size:22px;" >— Laura Poitras</div >
<div style =" font-size: 13px; text-transform: uppercase;" >Oscar-Winning Documentary Filmmaker, <i >CitizenFour</i ></div >
</div >
<div style =" padding: 5px; font-family: sans-serif; font-size: 25px; position: absolute; left: 300px; top: 205px; background-color: yellow;" >
Please support Tor!
</div >
</div >
</a >
<a href =" https://www.torproject.org/donate/donate-tbb" >
<div id =" donate-button" style =" position: absolute; left: 500px; font-family: sans-serif; color: white; background-repeat: no-repeat; background-image: url(" chrome://torbutton/content/aboutTor/donate-button.png" ); width: 160px; text-align: center; background-position: center center; background-size: 130px auto; padding: 10px; top: 197px; font-size: 30px; vertical-align: middle;" >
Donate
</div >
</a >
</div >
<div id =" torstatus" class =" top" >
<div id =" torstatus-version" />
<div id =" torstatus-image" />
<div id =" torstatus-on-container" class =" hideIfTorOff torstatus-container" >
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -344,3 +344,26 @@ body .top div.hideIfTorIsUpToDate h1.hideIfTorOff {
font-size : 18px ;
}
# donation-banner {
animation-name : drop-banner;
animation-iteration-count : 1 ;
animation-timing-function : ease-in;
animation-duration : 0.4s ;
}
@keyframes drop-banner {
0% {
transform : translateY (-300px );
}
100% {
transform : translateY (0px );
}
}
# donate-button : hover {
filter : brightness (1.2 );
}
# donate-button : active {
transform : translateX (3px );
}
Toggle all file notes
Toggle all file annotations