Commit 859484c6 authored by Lowic Mangin's avatar Lowic Mangin

Style subscribe fields for MailChimp in footer

parent 824a65a7
......@@ -61,6 +61,39 @@ footer {
color: $secondary-blue;
#mc_embed_signup_scroll {
background: $primary-blue;
h3 {
margin: 1rem auto;
color: white;
.indicates-required {
display: none;
.mc-field-group {
display: flex;
justify-content: space-between;
width: 20rem;
margin: 0.5rem auto;
text-align: left;
label {
@extend %text-typo;
color: white;
input {
border: 0;
border-radius: 0.2rem;
#mc-embedded-subscribe {
@extend %cta-button;
margin: 1rem auto;
box-shadow: 0.1rem 0.1rem 0.3rem $dark-grey;
.social-networks a {
color: $primary-blue;
......@@ -55,16 +55,21 @@
<div class="mailing-registration">
<!-- Begin Mailchimp Signup Form -->
<link href="//" rel="stylesheet" type="text/css">
<style type="text/css">
#mc_embed_signup{background:#fff; clear:left; font:14px Helvetica,Arial,sans-serif; }
/* Add your own Mailchimp form style overrides in your site stylesheet or in this style block.
We recommend moving this block and the preceding CSS link to the HEAD of your HTML file. */
<div id="mc_embed_signup">
<form action=";id=6c0167e2a4" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate>
<div id="mc_embed_signup_scroll">
<h2>Recevez les dernières nouvelles à propos du Référendum</h2>
<div class="indicates-required"><span class="asterisk">*</span> indicates required</div>
<h3>Suivez l'actualité du Référendum</h3>
<div class="indicates-required"><span class="asterisk">*</span> indicates required
<div class="mc-field-group">
<label for="mce-EMAIL">Adresse email <span class="asterisk">*</span>
......@@ -76,14 +81,19 @@
<input type="text" value="" name="F_LNAME" class="required" id="mce-F_LNAME">
<div id="mce-responses" class="clear">
<div class="response" id="mce-error-response" style="display:none"></div>
<div class="response" id="mce-success-response" style="display:none"></div>
<div class="response" id="mce-error-response" style="display:none">
<div class="response" id="mce-success-response" style="display:none">
</div> <!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups-->
<div style="position: absolute; left: -5000px;" aria-hidden="true"><input type="text" name="b_67490e833cd2c33ef2164f2ae_6c0167e2a4" tabindex="-1" value=""></div>
<div style="position: absolute; left: -5000px;" aria-hidden="true">
<input type="text" name="b_67490e833cd2c33ef2164f2ae_6c0167e2a4" tabindex="-1" value="">
<div class="clear"><input type="submit" value="Subscribe" name="subscribe" id="mc-embedded-subscribe" class="button"></div>
<script type='text/javascript' src='//'></script><script type='text/javascript'>(function($) {window.fnames = new Array(); window.ftypes = new Array();fnames[0]='EMAIL';ftypes[0]='email';fnames[1]='F_LNAME';ftypes[1]='text'; /*
* Translated default messages for the $ validation plugin.
* Locale: FR
......@@ -106,7 +116,8 @@
range: $.validator.format("Veuillez entrer une valeur entre {0} et {1}."),
max: $.validator.format("Veuillez entrer une valeur inférieure ou égale à {0}."),
min: $.validator.format("Veuillez entrer une valeur supérieure ou égale à {0}.")
});}(jQuery));var $mcj = jQuery.noConflict(true);</script>
});}(jQuery));var $mcj = jQuery.noConflict(true);
<!--End mc_embed_signup-->
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment