-
-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace PayPal buttons with Flipcause buttons
As requested by NumFocus. Closes gh-108
- Loading branch information
Showing
5 changed files
with
160 additions
and
18 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,20 @@ | ||
<form action="https://www.paypal.com/cgi-bin/webscr" method="post"> | ||
<input type="hidden" name="cmd" value="_s-xclick"> | ||
<input type="hidden" name="hosted_button_id" value="SMCAHLP2ST42G"> | ||
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!"> | ||
<img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1"> | ||
</form> | ||
|
||
<!--This relies on some CSS & JS which is added in the _templates folder--> | ||
<div style="background: #34677c; | ||
border-radius:0px 0px 0px 0px; | ||
font-weight:normal; | ||
font-family:Arial, Helvetica, sans-serif; | ||
border:none; | ||
box-shadow:none; | ||
left: 50%; | ||
margin-left:-72.5px; margin-top: 1em; margin-bottom: 1em; | ||
clear: both; display: block; | ||
width:145px; height:45px; | ||
line-height:2.8; | ||
position:relative; | ||
font-size:16px; | ||
text-align:center; | ||
cursor:pointer; | ||
color:#fff; | ||
text-decoration: none; | ||
z-index:1" | ||
onclick="open_window('MjI1Ng==')">Donate Now</div> |
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
.fc-black_overlay{ | ||
display:none; position: fixed; z-index:1000001; top: 0%;left: 0%;width: 100%;height: 100%; | ||
background-color: black; filter: alpha(opacity=50); cursor:pointer; opacity:0.5; | ||
} | ||
.fc-white_content { | ||
opacity:1; display:none; margin-top: -320px; margin-left: -485px; width:970px; height:640px; | ||
position:fixed; top:50%; left:50%; border: none;z-index:1000002;overflow: auto; | ||
} | ||
.fc-main-box{ | ||
opacity:1; display:none; margin:15px auto 0 auto; width:930px; position:relative; z-index:1000003; | ||
} | ||
.fc-widget_close{ | ||
opacity:1; content:url(http://i1338.photobucket.com/albums/o691/WeCause/X_zpse4a7e538.png); | ||
position:absolute; z-index=1000004; right:-16px; top:-16px; display:block; cursor:pointer; | ||
} | ||
.floating_button{ | ||
display: block; margin-top: 0px; margin-left: 0px; width:auto ; height: auto; | ||
position:fixed; z-index:999999; overflow: auto; | ||
} | ||
@keyframes backfadesin { | ||
from { opacity:0; } | ||
to {opacity:.5;} | ||
} | ||
@-moz-keyframes backfadesin { | ||
from { opacity:0; } | ||
to {opacity:.5;} | ||
} | ||
@-webkit-keyframes backfadesin { | ||
from { opacity:0; } | ||
to {opacity:.5;} | ||
} | ||
@-o-keyframes backfadesin { | ||
from { opacity:0; } | ||
to {opacity:.5;} | ||
} | ||
@-ms-keyframes backfadesin { | ||
from { opacity:0; } | ||
to {opacity:.5;} | ||
} | ||
@keyframes fadesin { | ||
0%{ opacity:0; } | ||
50%{ opacity:0; } | ||
75% {opacity: 0; transform: translateY(20px);} | ||
100% {opacity: 1; transform: translateY(0);} | ||
} | ||
@-moz-keyframes fadesin { | ||
0%{ opacity:0; } | ||
50%{ opacity:0; } | ||
75% {opacity: 0; -moz-transform: translateY(20px);} | ||
100% {opacity: 1; -moz-transform: translateY(0);} | ||
} | ||
@-webkit-keyframes fadesin { | ||
0%{ opacity:0; } | ||
50%{ opacity:0; } | ||
75% {opacity: 0; -webkit-transform: translateY(20px);} | ||
100% {opacity: 1; -webkit-transform: translateY(0);} | ||
@-o-keyframes fadesin { | ||
0%{ opacity:0; } | ||
50%{ opacity:0; } | ||
75% {opacity: 0; -o-transform: translateY(20px);} | ||
100% {opacity: 1; -o-transform: translateY(0);} | ||
} | ||
@-ms-keyframes fadesin { | ||
0%{ opacity:0; } | ||
50%{ opacity:0; } | ||
75% {opacity: 0; -ms-transform: translateY(20px);} | ||
100% {opacity: 1; -ms-transform: translateY(0);} | ||
} |