mirror of
https://github.com/ivabus/www
synced 2024-11-22 15:35:05 +03:00
Email-form partial
This commit is contained in:
parent
cbd935761b
commit
4403e54d26
2 changed files with 253 additions and 24 deletions
|
@ -18,6 +18,17 @@
|
|||
</div>
|
||||
</section>
|
||||
|
||||
<section>
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
{{- partial "klaviyo-form.html" -}}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<style>
|
||||
|
||||
@media only screen and (min-width: 1200px) {
|
||||
|
|
|
@ -1,34 +1,252 @@
|
|||
<hr>
|
||||
<div class="klaviyo-form-WUxzRc"></div>
|
||||
<form id="email_signup" action="//manage.kmail-lists.com/subscriptions/subscribe" method="POST">
|
||||
<input type="hidden" name="g" value="LIST_ID_HERE">
|
||||
<input class="footer-email" type="email" value="" name="email" id="k_id_email" placeholder="Your email" />
|
||||
<button class="email-btn" type="submit">SEND</button>
|
||||
</form>
|
||||
<hr>
|
||||
<p class="small mt-4" style="color:#949494;"><strong>Privacy Policy:</strong> Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
|
||||
<script type="text/javascript" src="//www.klaviyo.com/media/js/public/klaviyo_subscribe.js"></script>
|
||||
|
||||
<style>
|
||||
|
||||
.needsclick.klaviyo-form.klaviyo-form-version-cid_1.kl-private-reset-css-Xuajs1{
|
||||
max-width: 100% !important;
|
||||
padding: 0px !important;
|
||||
}
|
||||
/* Email Form Styling */
|
||||
|
||||
.needsclick{
|
||||
min-height: none;
|
||||
}
|
||||
@media only screen and (min-width: 1200px) {
|
||||
|
||||
#email_signup{
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.footer-email{
|
||||
font-family: "pp-neue-machina", sans-serif;
|
||||
text-transform: uppercase;
|
||||
font-size: 2.121vw;
|
||||
line-height: 2.121vw;
|
||||
padding: 1.953vw 0vw;
|
||||
background: none;
|
||||
border: none;
|
||||
}
|
||||
|
||||
.footer-email::placeholder {
|
||||
color: #949494;
|
||||
}
|
||||
|
||||
.footer-email:focus{
|
||||
background-color: #1a1a1a;
|
||||
color: #fff;
|
||||
outline: none !important;
|
||||
box-shadow: none !important;
|
||||
}
|
||||
|
||||
.email-btn{
|
||||
width: 16%;
|
||||
border-left: 2px solid #949494;
|
||||
border-right: none !important;
|
||||
border-top: none !important;
|
||||
border-bottom: none !important;
|
||||
border-radius: 0px;
|
||||
font-family: "pp-neue-machina", sans-serif;
|
||||
text-transform: uppercase;
|
||||
font-size: 2.121vw;
|
||||
background-color: #1a1a1a;
|
||||
color: #949494;
|
||||
}
|
||||
|
||||
.email-btn:hover{
|
||||
background-color: #00ffd0;
|
||||
color: #1a1a1a;
|
||||
box-shadow: inset 0vw 0vw 0vw 0.391vw #1a1a1a !important;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 992px) and (max-width: 1200px) {
|
||||
|
||||
#email_signup{
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.footer-email{
|
||||
font-family: "pp-neue-machina", sans-serif;
|
||||
text-transform: uppercase;
|
||||
font-size: 2.121vw;
|
||||
line-height: 2.121vw;
|
||||
padding: 1.953vw 0vw;
|
||||
background: none;
|
||||
border: none;
|
||||
}
|
||||
|
||||
.footer-email:focus{
|
||||
background-color: #1a1a1a;
|
||||
color: #fff;
|
||||
outline: none !important;
|
||||
box-shadow: none !important;
|
||||
}
|
||||
|
||||
.email-btn{
|
||||
width: 16%;
|
||||
border-left: 2px solid #949494;
|
||||
border-right: none !important;
|
||||
border-top: none !important;
|
||||
border-bottom: none !important;
|
||||
border-radius: 0px;
|
||||
font-family: "pp-neue-machina", sans-serif;
|
||||
text-transform: uppercase;
|
||||
font-size: 2.121vw;
|
||||
background-color: #1a1a1a;
|
||||
color: #949494;
|
||||
}
|
||||
|
||||
.email-btn:hover{
|
||||
background-color: #00ffd0;
|
||||
color: #1a1a1a;
|
||||
box-shadow: inset 0vw 0vw 0vw 0.391vw #1a1a1a !important;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 768px) and (max-width: 992px) {
|
||||
|
||||
#email_signup{
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.footer-email{
|
||||
font-family: "pp-neue-machina", sans-serif;
|
||||
text-transform: uppercase;
|
||||
font-size: 2.121vw;
|
||||
line-height: 2.121vw;
|
||||
padding: 1.953vw 0vw;
|
||||
background: none;
|
||||
border: none;
|
||||
}
|
||||
|
||||
.footer-email:focus{
|
||||
background-color: #1a1a1a;
|
||||
color: #fff;
|
||||
outline: none !important;
|
||||
box-shadow: none !important;
|
||||
}
|
||||
|
||||
.email-btn{
|
||||
width: 16%;
|
||||
border-left: 2px solid #949494;
|
||||
border-right: none !important;
|
||||
border-top: none !important;
|
||||
border-bottom: none !important;
|
||||
border-radius: 0px;
|
||||
font-family: "pp-neue-machina", sans-serif;
|
||||
text-transform: uppercase;
|
||||
font-size: 2.121vw;
|
||||
background-color: #1a1a1a;
|
||||
color: #949494;
|
||||
}
|
||||
|
||||
.email-btn:hover{
|
||||
background-color: #00ffd0;
|
||||
color: #1a1a1a;
|
||||
box-shadow: inset 0vw 0vw 0vw 0.391vw #1a1a1a !important;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 576px) and (max-width: 768px){
|
||||
|
||||
#email_signup{
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.footer-email{
|
||||
font-family: "pp-neue-machina", sans-serif;
|
||||
text-transform: uppercase;
|
||||
font-size: 2.121vw;
|
||||
line-height: 2.121vw;
|
||||
padding: 1.953vw 0vw;
|
||||
background: none;
|
||||
border: none;
|
||||
}
|
||||
|
||||
.footer-email:focus{
|
||||
background-color: #1a1a1a;
|
||||
color: #fff;
|
||||
outline: none !important;
|
||||
box-shadow: none !important;
|
||||
}
|
||||
|
||||
.email-btn{
|
||||
width: 16%;
|
||||
border-left: 2px solid #949494;
|
||||
border-right: none !important;
|
||||
border-top: none !important;
|
||||
border-bottom: none !important;
|
||||
border-radius: 0px;
|
||||
font-family: "pp-neue-machina", sans-serif;
|
||||
text-transform: uppercase;
|
||||
font-size: 2.121vw;
|
||||
background-color: #1a1a1a;
|
||||
color: #949494;
|
||||
}
|
||||
|
||||
.email-btn:hover{
|
||||
background-color: #00ffd0;
|
||||
color: #1a1a1a;
|
||||
box-shadow: inset 0vw 0vw 0vw 0.391vw #1a1a1a !important;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 576px) {
|
||||
|
||||
#email_signup{
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.footer-email{
|
||||
font-family: "pp-neue-machina", sans-serif;
|
||||
width: 70%;
|
||||
text-transform: uppercase;
|
||||
font-size: 4vw;
|
||||
line-height: 2.121vw;
|
||||
padding: 6vw 0vw;
|
||||
background: none;
|
||||
border: none;
|
||||
}
|
||||
|
||||
.footer-email:focus{
|
||||
background-color: #1a1a1a;
|
||||
color: #fff;
|
||||
outline: none !important;
|
||||
box-shadow: none !important;
|
||||
}
|
||||
|
||||
.email-btn{
|
||||
width: 25%;
|
||||
border-left: 2px solid #949494;
|
||||
border-right: none !important;
|
||||
border-top: none !important;
|
||||
border-bottom: none !important;
|
||||
border-radius: 0px;
|
||||
font-family: "pp-neue-machina", sans-serif;
|
||||
text-transform: uppercase;
|
||||
font-size: 4vw;
|
||||
background-color: #1a1a1a;
|
||||
color: #949494;
|
||||
}
|
||||
|
||||
.email-btn:hover{
|
||||
background-color: #00ffd0;
|
||||
color: #1a1a1a;
|
||||
box-shadow: inset 0vw 0vw 0vw 1vw #1a1a1a !important;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
input#email_48240998.needsclick.go2381409361.kl-private-reset-css-Xuajs1{
|
||||
border: none !important;
|
||||
background-color: #1a1a1a !important;
|
||||
border-radius: 0px !important;
|
||||
padding: 0px !important;
|
||||
min-height: 4.185vw !important;
|
||||
font-family: "pp-neue-machina", sans-serif !important;
|
||||
text-transform: uppercase !important;
|
||||
}
|
||||
|
||||
input#email_48240998.needsclick.go2381409361.kl-private-reset-css-Xuajs1:focus{
|
||||
outline:none !important;
|
||||
box-shadow: none !important;
|
||||
}
|
||||
|
||||
#email_48240998{
|
||||
min-height: 4.185vw !important;
|
||||
}
|
||||
</style>
|
||||
|
|
Loading…
Reference in a new issue