Make staging branch match master state
Sebastian Hahn

Sebastian Hahn commited on 2016-11-22 23:54:44
Zeige 8 geänderte Dateien mit 50 Einfügungen und 343 Löschungen.

... ...
@@ -11,10 +11,6 @@ input[type="radio"]:focus,
11 11
 input[type="checkbox"]:focus {
12 12
       outline: none;
13 13
 }
14
-.form-control {
15
-	-webkit-box-shadow: none;
16
-        	box-shadow: none;
17
-}
18 14
 .form-control:focus {
19 15
 	border-color: #875ca4;
20 16
 	outline: 0;
... ...
@@ -44,7 +40,7 @@ a {
44 40
     color: #875ca4;
45 41
 }
46 42
 a:hover, a:focus {
47
-    color: #67467D;
43
+    color: #663987;
48 44
     text-decoration: none;
49 45
 }
50 46
 .btn-primary:hover {
... ...
@@ -69,8 +65,8 @@ a:hover, a:focus {
69 65
 .btn-primary:active.focus,
70 66
 .btn-primary.active.focus,
71 67
 .open > .dropdown-toggle.btn-primary.focus{
72
-    background-color: #67467D;
73
-    border-color: #67467D;
68
+    background-color: #663987;
69
+    border-color: #663987;
74 70
 }
75 71
 .navbar-brand {
76 72
     height: auto;
... ...
@@ -111,10 +107,10 @@ float: left;
111 107
 .navbar-nav{
112 108
 	margin: 0;
113 109
 }
114
-.img-thumbnail.champion {
110
+.img-thumbnail {
115 111
   padding: 1px;
116
-  background-color: #785291;
117
-  border: 1px solid #785291;
112
+  background-color: #794d9a;
113
+  border: 1px solid #794d9a;
118 114
   -webkit-transition: none;
119 115
        -o-transition: none;
120 116
           transition: none;
... ...
@@ -128,18 +124,18 @@ html {
128 124
     margin-top: 28px;
129 125
 }
130 126
 .logo{
131
-    height: 81px;
132
-    width: auto;
127
+    width: 120px;
133 128
 }
134 129
 .donation{
135 130
 	text-align: center;
131
+	margin-bottom: 125px;
136 132
 }
137 133
 .main-text{
138 134
 	margin-top: 50px;
139 135
 }
140 136
 .nav > li > a:hover, .nav > li > a:focus {
141 137
 	text-decoration: none;
142
-	border-bottom: 3px solid #785291;
138
+	border-bottom: 3px solid #794d9a;
143 139
 }
144 140
 .donate-section{
145 141
 	margin-top: 50px;
... ...
@@ -147,7 +143,6 @@ html {
147 143
 }
148 144
 .no-padding{
149 145
 	padding: 0;
150
-	margin-bottom: 20px;
151 146
 }
152 147
 .half-opacity{
153 148
 	opacity: 0.5;
... ...
@@ -166,9 +161,6 @@ html {
166 161
 .right{
167 162
     border-left-width: 0px !important;
168 163
 }
169
-.left{
170
-    border-right-width: 0px !important;
171
-}
172 164
 .choiceLabel{
173 165
     cursor: pointer !important;
174 166
     margin: 0px !important;
... ...
@@ -195,11 +187,8 @@ input[type=number] {
195 187
 	color: red;
196 188
 	display: none;
197 189
 }
198
-#donate > .btn-group {
199
-    margin-bottom: 30px;
200
-}
201 190
 .quote-section{
202
-	background-color:#67467D;
191
+	background-color:#663987;
203 192
 	padding: 20px 0;
204 193
 }
205 194
 .champion{
... ...
@@ -216,7 +205,7 @@ blockquote {
216 205
 	margin: 20px 0 0 0;
217 206
 	position: relative;
218 207
 	font-size: 20px;
219
-	border-left: 5px solid #785291;
208
+	border-left: 5px solid #794d9a;
220 209
     color: #ffffff;
221 210
 }
222 211
 blockquote::before {
... ...
@@ -229,99 +218,6 @@ blockquote::before {
229 218
 blockquote footer{
230 219
 	color: rgb(240,240,240);
231 220
 }
232
-.donate-button {
233
-	background-color: #4FAB76;
234
-	border-color: #47996A;
235
-}
236
-.donate-button:hover,
237
-.donate-button:focus,
238
-.donate-button:active,
239
-.donate-button:active:hover,
240
-.donate-button:active:focus{
241
-	background-color: #47996A;
242
-	border-color: #47996A; 
243
-}
244
-#other-ways-section{
245
-	display: none;
246
-}
247
-#other-ways-section > .container-fluid{
248
-	padding: 0;
249
-}
250
-.hundred.toptwenty{
251
-	text-align: justify;
252
-	margin-top: 0;
253
-}
254
-.row-eqheight{
255
-    overflow: hidden; 
256
-    padding-bottom: 20px
257
-}
258
-.row-eqheight > [class*="col-"]{
259
-    margin-bottom: -99999px;
260
-    padding-bottom: 99999px;
261
-}
262
-.other-ways-title{
263
-	margin: 10px 0;
264
-}
265
-.other-ways-title > h3{
266
-	display: inline;
267
-}
268
-.other-ways-icon{
269
-	background: transparent;
270
-	margin-top: -10px;
271
-	margin-right: 5px;
272
-	border:0;
273
-}
274
-.bitcoin{
275
-	padding-top: 10px;
276
-	padding-left: 30px;
277
-	padding-right: 30px;
278
-}
279
-#bitpayDonation > .well > .form-group {
280
-    margin-right: 0;
281
-    margin-left: 0;
282
-}
283
-#bitpayDonation > .well {
284
-	box-shadow: none;
285
-	border-radius: 7px;
286
-	margin-bottom: 0;
287
-}
288
-.check-eutransfer{
289
-	padding-top: 10px;
290
-	padding-left: 30px;
291
-	padding-right: 30px;
292
-	border-left: 1px dashed #e3e3e3;
293
-}
294
-.minor-other-ways{
295
-	background-color: #FAFAFA;
296
-}
297
-.even-more{
298
-	padding: 25px 0;
299
-	background-color: #FAFAFA;
300
-}
301
-.other-ways-img{
302
-	width: 100%;
303
-	max-width: 160px;
304
-}
305
-.img-thumbnail.other-ways-img {
306
-	padding: 1px;
307
-	transition: none 0s ease 0s;
308
-	border: 2px solid rgb(221, 221, 221);
309
-}
310
-.get-in-touch{
311
-	background-color: #35734F;
312
-	color: #fff;
313
-}
314
-.title {
315
-    min-height: 80px;
316
-    margin-top: 20px;
317
-    margin-bottom: 20px;
318
-    border-right: 3px solid #3D855B;
319
-    padding-top: 25px;
320
-}
321
-.detail {
322
-    margin-bottom: 0px;
323
-    margin-top: 50px;
324
-}
325 221
 footer.footer{
326 222
 	margin-top: 20px;
327 223
     bottom: 0;
... ...
@@ -332,11 +228,34 @@ footer.footer{
332 228
     padding-bottom: 10px;
333 229
     background-color: #f5f5f5;
334 230
 }
231
+.donate-button {
232
+	background-color: #5CA462;
233
+	border-color: #47A24E;
234
+}
235
+.donate-button:hover{
236
+	background-color: #2F8E38;
237
+	border-color: #47A24E; 
238
+}
239
+.donate-button:focus{
240
+	background-color: #2F8E38;
241
+	border-color: #47A24E; 
242
+}
243
+.donate-button:active{
244
+	background-color: #2F8E38;
245
+	border-color: #47A24E; 
246
+}
247
+.donate-button:active:hover{
248
+	background-color: #2F8E38;
249
+	border-color: #47A24E; 
250
+}
335 251
 @media (max-width: 991px) {
336 252
 	blockquote {
337
-		margin: 5px 0 0 0;
253
+		margin: 30px 0 0 0;
338 254
 		font-size: 18px;
339 255
 	}
256
+	.champion{
257
+		width: 140px;
258
+	}
340 259
 	.source-quote{
341 260
 		margin-top: 20px;
342 261
 	}
... ...
@@ -346,7 +265,7 @@ footer.footer{
346 265
 		font-size: 28px;
347 266
 	}
348 267
 	blockquote {
349
-		margin: 0;
268
+		margin: 2% 0 0 0;
350 269
 		font-size: 16px;
351 270
 		border: none;
352 271
 	}
... ...
@@ -357,32 +276,6 @@ footer.footer{
357 276
 	blockquote::before {
358 277
 		display: none;
359 278
 	}
360
-	.combined-input {
361
-	    margin: 0 15px 15px 15px;
362
-	}
363
-	#donate > .btn-group {
364
-	    margin-bottom: 15px;
365
-	}
366
-	.check-eutransfer{
367
-		border-left: none;
368
-		border-top: 1px dashed #e3e3e3;
369
-	}
370
-	#bitpayDonation > .well {
371
-	    margin-bottom: 30px;
372
-	}
373
-	.dsmall{
374
-		padding: 0 5%;
375
-	}
376
-	.title {
377
-	    min-height: auto;
378
-	    margin: 20px 8% 0;
379
-	    border-right: none;
380
-	    border-bottom: 2px solid #3D855B;
381
-	    padding: 0 0 10px;
382
-	}
383
-	.detail {
384
-	    margin: 10px 0 20px;
385
-	}
386 279
 
387 280
 }
388 281
 @media (max-width: 659px)  {
... ...
@@ -422,7 +315,7 @@ footer.footer{
422 315
 @media (max-width: 399px)  {
423 316
 	.logo {
424 317
 	    text-align: center;
425
-	    height: 60px;
318
+	    width: 25%;
426 319
 	    float: none;
427 320
 	}
428 321
 	.navbar-header{
... ...
@@ -467,10 +360,8 @@ footer.footer{
467 360
 	.img-section{
468 361
 		width: 35%;
469 362
 	}
470
-	.dsmall{
471
-		padding: 0 3%;
472
-	}
473 363
 	footer.footer {
364
+	    margin-top: 10px;
474 365
 	    margin-bottom: 0px;
475 366
 	}
476 367
 	footer.footer > p {
... ...
@@ -21,12 +20,13 @@
21 20
                   </blockquote>
22 21
                 </div>
23 22
 
24
-        </div><!-- container -->
25
-      </div><!-- row -->
26
-    </div><!-- quote-section -->
23
+          </div>
24
+        </div>
25
+      </div>
26
+
27 27
 
28
-    <div class="paypal-donate">
29 28
     <div class="container">
29
+
30 30
       <div class="row">
31 31
         <div class="col-sm-7">
32 32
           <h2 class="main-text">Your support is critical to our success</h2>
... ...
@@ -41,11 +41,11 @@
41 41
           </noscript>
42 42
 
43 43
           <h4 style="text-align:left; padding-top:10px;"><b>Perks</b></h4>
44
-            <div class="col-xs-4 no-padding"><img id="stickers" class="img-responsive half-opacity" src="$(IMGROOT)/swag-stickers-lg.png" alt="stickers"></div>
45
-            <div class="col-xs-4 no-padding"><img id="tshirt" class="img-responsive half-opacity" src="$(IMGROOT)/swag-tees-lg.png" alt="tshirt"></div>
46
-            <div class="col-xs-4 no-padding"><img id="hoody" class="img-responsive half-opacity" src="$(IMGROOT)/swag-hoody-lg.png" alt="hoody"></div>
47
-          </div>
44
+          <div class="col-sm-4 no-padding"><img id="stickers" class="img-responsive half-opacity" src="$(IMGROOT)/swag-stickers-lg.png" alt="stickers"></div>
45
+          <div class="col-sm-4 no-padding"><img id="tshirt" class="img-responsive half-opacity" src="$(IMGROOT)/swag-tees-lg.png" alt="tshirt"></div>
46
+          <div class="col-sm-4 no-padding"><img id="hoody" class="img-responsive half-opacity" src="$(IMGROOT)/swag-hoody-lg.png" alt="hoody"></div>
48 47
 
48
+        </div>
49 49
         <div class="donate-section col-sm-5">
50 50
           <form id="donate" action="https://www.paypal.com/cgi-bin/webscr" method="post">
51 51
             <div class="row col-md-offset-0 combined-input">
... ...
@@ -63,7 +63,7 @@
63 63
                 </div>
64 64
             </div>
65 65
 
66
-              <div class="btn-group btn-group-lg" role="group">
66
+            <div class="btn-group btn-group-lg" role="group" style="margin-bottom: 30px;">
67 67
               <div style="padding-bottom:5px;" class="col-xs-6">
68 68
                 <button value="10" id="amount10" name="amnt" type="button" class="btn btn-default btn-lg btn-block amnt-btn">$10</button>
69 69
               </div>
... ...
@@ -91,10 +91,8 @@
91 91
               <h5 class="error-msg">The minimum donation amount is $5</h5>
92 92
               <button id="donate-btn" class="btn btn-primary btn-lg btn-block donate-button" style="padding:10px;">Donate</button>
93 93
               <h5>via PayPal (doesn't require an account)</h5>
94
-                <h4><a id="link" href="#other-ways-section">Other Ways to Donate</a></h4>
94
+              <h4><a href="<page donate/donate-options>">Other Ways to Donate</a></h4>
95 95
             </div>
96
-              
97
-              <!-- PAYPAL ESSENTIAL INPUTS -->
98 96
             <input type="hidden" id="amount" name="amount" value="">
99 97
             <input type="hidden" id="a3" name="a3" value="0">
100 98
             <input type="hidden" id="p3" name="p3" value="1">
... ...
@@ -108,184 +106,18 @@
108 106
             <input type="hidden" name="return" value="https://www.torproject.org/donate/thankyou">
109 107
             <input type="hidden" name="cancel_return" value="https://www.torproject.org/getinvolved/volunteer">
110 108
 
111
-            </form>
112
-          </div><!-- donate-section -->
113
-        </div><!-- row -->
114
-      </div><!-- container -->
115
-    </div><!-- paypal-donate -->
116
-
117
-    <div id="other-ways-section">
118
-      <div class="main-other-ways">
119
-        <div class="container">
120
-          <div id="maincol">
121
-          <div class="hundred toptwenty">
122
-          
123
-            <div class="row-eqheight">
124
-              
125
-              <!-- BEGIN BITCOIN -->
126
-              <div class="col-sm-6 bitcoin">
127
-                <a id="bitcoin"></a>
128
-                <div class="other-ways-title">
129
-                  <img class="img-thumbnail other-ways-icon" src="../images/bitcoin.png" width="40" height="40">
130
-                  <h3><strong>Bitcoins</strong></h3>
131
-                </div>
132
-                <p>In order to comply with US 501(c)(3) non-profit regulations, our Bitcoin transaction limit is currently $10,000 USD per day.
133
-                  If you wish to avoid transaction limits, please consider a direct Bitcoin donation to
134
-                  <a href="https://www.torservers.net/donate.html#cryptocurrencies">Torservers.net</a>,
135
-                  <a href="http://noisetor.net/#bitcoin">NoiseTor</a>,
136
-                  <a href="https://www.oniontip.com/">OnionTip</a>,
137
-                  or <a href="https://tails.boum.org/contribute/how/donate/#bitcoin">Tails</a>.
138
-                </p>
139
-                <p>If this transaction limit is not an issue for you, please complete the form below:</p>
140
-                <form id="bitpayDonation" class="form" action="https://bitpay.com/checkout" method="post" onsubmit="return bp.validateMobileCheckoutForm($('#bitpayDonation'));">
141
-                  <input name="action" type="hidden" value="checkout">
142
-                  <fieldset class="phone-form well form-horizontal" style="margin-top: 5px;">
143
-                    <div class="form-group">
144
-                      <label for="bitcoinEmail" class="input-group control-label" style="padding:0;">Email address</label>
145
-                      <input id="bitcoinEmail" name="orderID" type="email" class="form-control" placeholder="Email address (optional)" maxlength="50" autocapitalize="off" autocorrect="off">
146
-                    </div>
147
-                        
148
-                    <div class="form-group row">
149
-                      <label for="bitcoinAmount" class="input-group control-label">Amount</label>
150
-                      <div class="col-sm-8" style="padding:0;">
151
-                        <input name="price" type="number" class="form-control" id="bitcoinAmount" value="43.00" placeholder="Amount" maxlength="10" min="5">
152
-                      </div>
153
-                      
154
-                      <div class="col-sm-4" style="padding:0;">
155
-                        <select name="currency" value="" class="form-control">
156
-                          <option value="USD" selected="selected">USD</option>
157
-                          <option value="BTC">BTC</option>
158
-                          <option value="EUR">EUR</option>
159
-                          <option value="GBP">GBP</option>
160
-                          <option value="AUD">AUD</option>
161
-                          <option value="BGN">BGN</option>
162
-                          <option value="BRL">BRL</option>
163
-                          <option value="CAD">CAD</option>
164
-                          <option value="CHF">CHF</option>
165
-                          <option value="CNY">CNY</option>
166
-                          <option value="CZK">CZK</option>
167
-                          <option value="DKK">DKK</option>
168
-                          <option value="HKD">HKD</option>
169
-                          <option value="HRK">HRK</option>
170
-                          <option value="HUF">HUF</option>
171
-                          <option value="IDR">IDR</option>
172
-                          <option value="ILS">ILS</option>
173
-                          <option value="INR">INR</option>
174
-                          <option value="JPY">JPY</option>
175
-                          <option value="KRW">KRW</option>
176
-                          <option value="LTL">LTL</option>
177
-                          <option value="LVL">LVL</option>
178
-                          <option value="MXN">MXN</option>
179
-                          <option value="MYR">MYR</option>
180
-                          <option value="NOK">NOK</option>
181
-                          <option value="NZD">NZD</option>
182
-                          <option value="PHP">PHP</option>
183
-                          <option value="PLN">PLN</option>
184
-                          <option value="RON">RON</option>
185
-                          <option value="RUB">RUB</option>
186
-                          <option value="SEK">SEK</option>
187
-                          <option value="SGD">SGD</option>
188
-                          <option value="THB">THB</option>
189
-                          <option value="TRY">TRY</option>
190
-                          <option value="ZAR">ZAR</option>
191
-                        </select>
192
-                      </div>
193 109
 
194
-                    </div>
195
-                    <br>
196
-                    <input type="hidden" name="data" value="iH+sCoKQo5J52hkEzWcMi8+PRt78/89lcSU9GnapWfWL6thyubtDCahTUqa2JTlj6RQrQySkZAoFvK05yifMwfx5V87JJuoaDlHUsZR9ppzkklmzHpKJ4TG5M0zNVcKfNBfyopdfTFbzpOXM2FDppqmU7njsRUF1EZPa0K7SIxpv4lNKSPn1PyjVKVxjnpFE0AZ1Qa75VwZnS+rBNNfwxPsgSz+Oa2Twe226FmJJrLtPuBteFfHAIWh6QS5JnpOn4ScMFph0zjixutmunMAjKw==">
197
-                    <div style="margin: auto; width: 100%; text-align: center">
198
-                      <input name="submit" src="https://www.torproject.org/images/bitpay-donate-md.png" type="image" style="width: auto" alt="BitPay" border="0">
199
-                    </div>
200
-                  </fieldset>
201 110
           </form>
202 111
         </div>
203
-              <!-- END BITCOIN -->
204
-
205
-
206
-
207
-
208
-
209
-              <div class="col-sm-6 check-eutransfer">
210
-
211
-                <!-- BEGIN CHECK -->
212
-                <a id="cash"></a>
213
-                <div class="other-ways-title">
214
-                  <img class="img-thumbnail other-ways-icon" src="../images/bank48.png" width="40" height="40">
215
-                  <h3><strong>Check or Money Order</strong></h3>
216 112
       </div>
217
-                <p>You can send checks or money orders to:</p>
218
-                <p>The Tor Project, Inc<br>
219
-                  7 Temple Street, Suite A<br>
220
-                  Cambridge, MA 02139-2403 USA
221
-                </p>
222
-                <!-- END CHECK -->
223
-
224
-                <!-- BEGIN TRANSFER -->
225
-                <a id="eubanks"></a>
226
-                <div style="margin-top:30px;" class="other-ways-title">
227
-                  <img class="img-thumbnail other-ways-icon" src="../images/pantheon1.png" width="40" height="40">
228
-                  <h3><strong>European Bank Transfer</strong></h3>
229 113
     </div>
230
-                <p>For European bank transfers, we have an arrangement with
231
-                  the Renewable Freedom Foundation to provide
232
-                  <a href="http://www.solicitorsjournal.com/news/private-client/charities/gifts-foreign-charities-are-tax-deductible-ecj-rules">tax-deductible</a>
233
-                  donations for Europeans. (They don't actually pass the money
234
-                  through to us, but rather we trust them to spend it in Tor's
235
-                  interest.) They will issue a donation receipt <a
236
-                  href="https://renewablefreedom.org/contact/">upon request</a>. The
237
-                  account information is as follows:
238
-                </p>
239
-                <p>Renewable Freedom Foundation<br>
240
-                  IBAN: DE17721500000053693701<br>
241
-                  BIC: BYLADEM1ING<br>
242
-                  Sparkasse Ingolstadt<br>
243
-                  Rathausplatz 6<br>
244
-                  85049 Ingolstadt<br>
245
-                </p>
246
-                <!-- END TRANSFER -->
247
-
248
-              </div><!-- check-eutransfer -->
249 114
   
250
-            </div><!-- row-eqheight -->
251
-            </div> <!-- hundred toptwenty -->
252
-          </div> <!-- maincol row -->
253
-        </div> <!-- container -->
254
-      </div> <!-- main-other-ways -->
255 115
 
256
-      <div class="minor-other-ways">
257
-        <div class="container">              
258
-            <div class="col-xs-12 even-more">
259
-
260
-              <div class="dsmall col-xs-4">
261
-                <a href="../donate/donate-amazon.html.en">
262
-                  <img class="img-responsive img-thumbnail other-ways-img" src="$(IMGROOT)/amazon.jpg">
263
-                </a>
264
-              </div>
265 116
 
266
-              <div class="dsmall col-xs-4">
267
-                <a href="https://smile.amazon.com/ch/20-8096820">
268
-                  <img class="img-responsive img-thumbnail other-ways-img" src="$(IMGROOT)/amazon-smile.jpg">
269
-                </a>
270
-              </div>
271
-
272
-              <div class="dsmall col-xs-4">
273
-                <a id="dwolla"></a>
274
-                <a href="https://www.dwolla.com/hub/thetorproject">
275
-                  <img class="img-responsive img-thumbnail other-ways-img" src="$(IMGROOT)/dwolla.jpg">
276
-                </a>
277
-              </div>
278 117
   </div>
279 118
 
280
-        </div> <!-- container -->
281
-      </div> <!-- minor-other-ways -->
282
-      
283
-    </div><!-- other-ways-section -->
284
-    
285
-  </div><!-- donation -->
286
-
287
-
288 119
 
120
+  <!-- PAYPAL -->
289 121
   <script type="text/javascript" src="$(DOCROOT)/js/jquery.min.js"></script>
290 122
   <script type="text/javascript">
291 123
   function displayVals() {
... ...
@@ -312,8 +144,6 @@
312 144
       $(".error-msg").css("display","none");
313 145
     });
314 146
 
315
-
316
-    // Perks functionality
317 147
     if (23 <= parseInt($("#amount").val()) && parseInt($("#amount").val()) < 100) {
318 148
       $("#stickers").css("opacity","1");
319 149
       $("#tshirt").css("opacity","0.5");
... ...
@@ -339,8 +169,6 @@
339 169
     $("#exampleInputAmount").change(displayVals);
340 170
     displayVals();
341 171
 
342
-
343
-    // Paypal donate validation when changing other amount input 
344 172
     $("#exampleInputAmount").change(function(){
345 173
       if ($("#amount").val() == "" || parseInt($("#amount").val()) < 5) {
346 174
         $(".error-msg").css("display","block");
... ...
@@ -349,7 +177,6 @@
349 177
       }
350 178
     });
351 179
 
352
-    // Paypal donate validation when clicking on donate button 
353 180
     $("#donate-btn").click(function(event){
354 181
       if ($("#amount").val() == "" || parseInt($("#amount").val()) < 5) {
355 182
         event.preventDefault();
... ...
@@ -359,8 +186,6 @@
359 186
       }
360 187
     });
361 188
 
362
-
363
-    // monthly or one-time donate functionality
364 189
     $(".left").click(function(){
365 190
       $(".left").addClass('active');
366 191
       $(".right").removeClass('active');
... ...
@@ -370,16 +195,6 @@
370 195
       $(".left").removeClass('active');
371 196
     });
372 197
     
373
-
374
-    $("#link").on('click',function(event){
375
-      event.preventDefault();
376
-      $("#other-ways-section").show();
377
-      $('html, body').animate({
378
-        scrollTop: $("#other-ways-section").offset().top
379
-      }, 200);
380
-    });
381
-
382
-
383 198
   });
384 199
 
385 200