Left: | ||
Right: |
LEFT | RIGHT |
---|---|
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 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
130 } | 130 } |
131 | 131 |
132 #form.credit-card #form-fields, | 132 #form.credit-card #form-fields, |
133 #form.paypal #form-fields, | 133 #form.paypal #form-fields, |
134 #form.bitcoin #form-fields | 134 #form.bitcoin #form-fields |
135 { | 135 { |
136 display: block; | 136 display: block; |
137 } | 137 } |
138 | 138 |
139 #form.credit-card #form-recurrence, | 139 #form.credit-card #form-recurrence, |
140 #form.credit-card #recurrent-cancellation, | |
140 #form.bitcoin #form-currency, | 141 #form.bitcoin #form-currency, |
141 #form.bitcoin #form-price | 142 #form.bitcoin #form-price |
142 { | |
143 display: none; | |
144 } | |
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 { | 143 { |
148 display: none; | 144 display: none; |
149 } | 145 } |
150 | 146 |
151 /* This cannot be #donate because specificity is too low */ | 147 /* This cannot be #donate because specificity is too low */ |
152 #form #donate | 148 #form #donate |
153 { | 149 { |
154 color: #fff; | 150 color: #fff; |
155 background-color: #5cb85c; | 151 background-color: #5cb85c; |
156 border-color: #4cae4c; | 152 border-color: #4cae4c; |
(...skipping 326 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
483 { | 479 { |
484 var provider = providers[document.getElementById("form").className]; | 480 var provider = providers[document.getElementById("form").className]; |
485 if (provider) | 481 if (provider) |
486 provider(); | 482 provider(); |
487 }, false); | 483 }, false); |
488 }, false); | 484 }, false); |
489 })(); | 485 })(); |
490 | 486 |
491 // --> | 487 // --> |
492 </script> | 488 </script> |
LEFT | RIGHT |