Left: | ||
Right: |
OLD | NEW |
---|---|
1 <style type="text/css"> | 1 <style type="text/css"> |
2 h2 | 2 h2 |
3 { | 3 { |
4 padding-top: 20px; | 4 padding-top: 20px; |
5 border-top: 1px solid #ccc; | 5 border-top: 1px solid #ccc; |
6 } | 6 } |
7 | 7 |
8 label | 8 label |
9 { | 9 { |
10 display: block; | 10 display: block; |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
81 border-color: #d43f3a; | 81 border-color: #d43f3a; |
82 } | 82 } |
83 | 83 |
84 #form.none button.credit-card:hover, | 84 #form.none button.credit-card:hover, |
85 #form.credit-card button.credit-card:hover | 85 #form.credit-card button.credit-card:hover |
86 { | 86 { |
87 background-color: #d2322d; | 87 background-color: #d2322d; |
88 border-color: #ac2925; | 88 border-color: #ac2925; |
89 } | 89 } |
90 | 90 |
91 #form.credit-card #recurrent-cancellation | |
92 { | |
93 display: none; | |
94 } | |
95 | |
96 /* Paypal */ | 91 /* Paypal */ |
97 | 92 |
98 #form.none button.paypal, | 93 #form.none button.paypal, |
99 #form.paypal button.paypal | 94 #form.paypal button.paypal |
100 { | 95 { |
101 color: #fff; | 96 color: #fff; |
102 background-color: #428bca; | 97 background-color: #428bca; |
103 border-color: #357ebd; | 98 border-color: #357ebd; |
104 } | 99 } |
105 | 100 |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
141 display: block; | 136 display: block; |
142 } | 137 } |
143 | 138 |
144 #form.credit-card #form-recurrence, | 139 #form.credit-card #form-recurrence, |
145 #form.bitcoin #form-currency, | 140 #form.bitcoin #form-currency, |
146 #form.bitcoin #form-price | 141 #form.bitcoin #form-price |
147 { | 142 { |
148 display: none; | 143 display: none; |
149 } | 144 } |
150 | 145 |
146 #form.credit-card #recurrent-cancellation | |
Thomas Greiner
2015/01/07 16:27:19
You can directly merge that selector into the list
saroyanm
2015/01/07 16:30:29
Good point, done.
| |
147 { | |
148 display: none; | |
149 } | |
150 | |
151 /* This cannot be #donate because specificity is too low */ | 151 /* This cannot be #donate because specificity is too low */ |
152 #form #donate | 152 #form #donate |
153 { | 153 { |
154 color: #fff; | 154 color: #fff; |
155 background-color: #5cb85c; | 155 background-color: #5cb85c; |
156 border-color: #4cae4c; | 156 border-color: #4cae4c; |
157 } | 157 } |
158 | 158 |
159 #form #donate:hover | 159 #form #donate:hover |
160 { | 160 { |
(...skipping 322 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
483 { | 483 { |
484 var provider = providers[document.getElementById("form").className]; | 484 var provider = providers[document.getElementById("form").className]; |
485 if (provider) | 485 if (provider) |
486 provider(); | 486 provider(); |
487 }, false); | 487 }, false); |
488 }, false); | 488 }, false); |
489 })(); | 489 })(); |
490 | 490 |
491 // --> | 491 // --> |
492 </script> | 492 </script> |
OLD | NEW |