[tor-commits] [webwml/staging] make donate button green

arma at torproject.org arma at torproject.org
Tue Dec 15 02:03:30 UTC 2015


commit f43d73fc5ecf7751d19e11b11b235a63ccee8d0e
Author: Nima Fatemi <nima at torproject.org>
Date:   Tue Dec 8 22:42:10 2015 +0000

    make donate button green
---
 css/donate-style.css |   20 ++++++++++++++++++++
 donate/en/donate.wml |    2 +-
 2 files changed, 21 insertions(+), 1 deletion(-)

diff --git a/css/donate-style.css b/css/donate-style.css
index 8a42d31..bc17e98 100644
--- a/css/donate-style.css
+++ b/css/donate-style.css
@@ -229,6 +229,26 @@ footer.footer{
     padding-bottom: 10px;
     background-color: #f5f5f5;
 }
+.donate-button {
+	background-color: #5CA462;
+	border-color: #47A24E;
+}
+.donate-button:hover{
+	background-color: #2F8E38;
+	border-color: #47A24E; 
+}
+.donate-button:focus{
+	background-color: #2F8E38;
+	border-color: #47A24E; 
+}
+.donate-button:active{
+	background-color: #2F8E38;
+	border-color: #47A24E; 
+}
+.donate-button:active:hover{
+	background-color: #2F8E38;
+	border-color: #47A24E; 
+}
 @media (max-width: 991px) {
 	blockquote {
 		margin: 30px 0 0 0;
diff --git a/donate/en/donate.wml b/donate/en/donate.wml
index f950111..88aa8e5 100644
--- a/donate/en/donate.wml
+++ b/donate/en/donate.wml
@@ -90,7 +90,7 @@
             </div>
             <div style="padding: 0 15px;">
               <h5 class="error-msg">The minimum donation amount is $5</h5>
-              <button id="donate-btn" class="btn btn-primary btn-lg btn-block" style="padding:10px;">Donate</button>
+              <button id="donate-btn" class="btn btn-primary btn-lg btn-block donate-button" style="padding:10px;">Donate</button>
               <h5>via PayPal (doesn't require an account)</h5>
               <h4><a href="<page donate/donate-options>">Other Ways to Donate</a></h4>
             </div>





More information about the tor-commits mailing list