Fix email updates subscription form elements classes
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Reinhard Müller 2020-04-19 00:59:51 +02:00
parent 260c515275
commit ad1bfed86f
4 changed files with 27 additions and 21 deletions

View File

@ -51,14 +51,16 @@
können.
</p>
<form method="post" action="https://my.fsfe.org/subscribe">
<p>
<input type="hidden" name="language" value="en"/>
<input type="text" name="name" placeholder="Ihr name" required="yes"/>
<input type="email" name="email1" placeholder="Ihre E-Mail-Adresse" required="yes"/>
<input type="hidden" name="wants_info" value="yes"/>
<input type="hidden" name="return_to" value="https://fsfe.org/index.html"/>
</p>
<form class="form-inline" method="post" action="https://my.fsfe.org/subscribe">
<input type="hidden" name="language" value="en"/>
<div class="form-group">
<input type="text" class="form-control" name="name" placeholder="Ihr name" required="yes"/>
</div>
<div class="form-group">
<input type="email" class="form-control" name="email1" placeholder="Ihre E-Mail-Adresse" required="yes"/>
</div>
<input type="hidden" name="wants_info" value="yes"/>
<input type="hidden" name="return_to" value="https://fsfe.org/index.html"/>
<button class="btn btn-default" type="submit">Auf dem Laufenden bleiben</button>
</form>
</div>

View File

@ -49,14 +49,16 @@
news, events, activities, and how you can contribute.
</p>
<form method="post" action="https://my.fsfe.org/subscribe">
<p>
<input type="hidden" name="language" value="en"/>
<input type="text" name="name" placeholder="Your name" required="yes"/>
<input type="email" name="email1" placeholder="Your email address" required="yes"/>
<input type="hidden" name="wants_info" value="yes"/>
<input type="hidden" name="return_to" value="https://fsfe.org/index.html"/>
</p>
<form class="form-inline" method="post" action="https://my.fsfe.org/subscribe">
<input type="hidden" name="language" value="en"/>
<div class="form-group">
<input type="text" class="form-control" name="name" placeholder="Your name" required="yes"/>
</div>
<div class="form-group">
<input type="email" class="form-control" name="email1" placeholder="Your email address" required="yes"/>
</div>
<input type="hidden" name="wants_info" value="yes"/>
<input type="hidden" name="return_to" value="https://fsfe.org/index.html"/>
<button class="btn btn-default" type="submit">Stay informed</button>
</form>
</div>

View File

@ -77,11 +77,6 @@ body.frontpage #main {
p {
.hyphens(manual);
}
.btn {
font-size: inherit;
font-weight: inherit;
}
}
// ------------------------------------------------------------------------

View File

@ -57,6 +57,13 @@ h1, h2, h3, h4, .h1, .h2, .h3, .h4 {
font-weight: 300;
}
// Inherit the non-standard font settings into form controls.
.form-control, .btn {
font-weight: inherit;
font-size: inherit;
height: auto;
}
// ----------------------------------------------------------------------------
// Classes to place a decorative image beside a block element