add country dropdown list, small CSS fixes

lektura
max.mehl 2017-03-26 23:45:26 +02:00
parent b5a2fc9941
commit 4cb9b5c4aa
2 changed files with 43 additions and 3 deletions

View File

@ -15,7 +15,38 @@
<input name="email" placeholder="{{ .Site.Params.sign.formEmail }}" type="email" required /> <input name="email" placeholder="{{ .Site.Params.sign.formEmail }}" type="email" required />
</label> </label>
<label class="sign-input form-cn"> <label class="sign-input form-cn">
<input name="country" placeholder="{{ .Site.Params.sign.formCountry }}" type="text" /> <select name="country">
<option value="">{{ .Site.Params.sign.formCountry }}</option>
<option value="Austria">Austria</option>
<option value="Belgium">Belgium</option>
<option value="Bulgaria">Bulgaria</option>
<option value="Croatia">Croatia</option>
<option value="Cyprus">Cyprus</option>
<option value="Czech Republic">Czech Republic</option>
<option value="Denmark">Denmark</option>
<option value="Estonia">Estonia</option>
<option value="Finland">Finland</option>
<option value="France">France</option>
<option value="Germany">Germany</option>
<option value="Greece">Greece</option>
<option value="Hungary">Hungary</option>
<option value="Ireland">Ireland</option>
<option value="Italy">Italy</option>
<option value="Latvia">Latvia</option>
<option value="Lithuania">Lithuania</option>
<option value="Luxembourg">Luxembourg</option>
<option value="Malta">Malta</option>
<option value="Netherlands">Netherlands</option>
<option value="Poland">Poland</option>
<option value="Portugal">Portugal</option>
<option value="Romania">Romania</option>
<option value="Slovakia">Slovakia</option>
<option value="Slovenia">Slovenia</option>
<option value="Spain">Spain</option>
<option value="Sweden">Sweden</option>
<option value="United Kingdom">United Kingdom</option>
<option value="Outside the EU">Outside the EU</option>
</select>
</label> </label>
<label class="sign-input form-zp"> <label class="sign-input form-zp">
<input name="zip" placeholder="{{ .Site.Params.sign.formZip }}" type="text" /> <input name="zip" placeholder="{{ .Site.Params.sign.formZip }}" type="text" />

View File

@ -50,9 +50,18 @@
top: 2px; top: 2px;
} }
.sign-input input { .sign-input input {
background-color: rgb(255, 255, 255, 0.5); background: rgba(255, 255, 255, 0.5) none repeat scroll 0 0;
border-radius: 7px; border-radius: 7px;
text-indent: 30px; padding: 0 0 0 30px;
width: 270px;
height: 31px;
}
.sign-input select {
background: rgba(255, 255, 255, 0.5) none repeat scroll 0 0;
border-radius: 7px;
padding: 0 0 0 30px;
width: 270px;
height: 31px;
} }
.form-na:before { .form-na:before {
content: "\f2c3"; content: "\f2c3";