another in-content form

This commit is contained in:
Matthias Kretschmann 2016-03-17 17:15:06 +01:00
parent 229d842b85
commit 679a77c1de
3 changed files with 30 additions and 10 deletions

View File

@ -129,10 +129,12 @@
//
// Art Radar MailChimp Signup
//
#mc-embedded-subscribe-form {
#mc-embedded-subscribe-form,
#subForm {
position: relative;
.button {
.button,
button {
&:extend(.button.small all);
font-size: @font-size-base;
height: 46px;
@ -140,20 +142,38 @@
}
// try to deal with the existing messy markup
#mce-EMAIL {
#mce-EMAI,
#fieldEmail {
margin-bottom: 0;
}
.button { width: 100%; }
.button,
button {
&:extend(.button all, .button.blue);
width: 100%;
}
@media (@screen-sm) {
#mce-EMAIL {
width: 70%;
#mce-EMAIL,
#fieldEmail {
width: 60%;
}
.button {
.button,
button {
position: absolute;
top: 0;
right: 0;
width: 31%;
width: 41%;
}
}
}
#subForm {
button {
margin-top: (@spacer/2);
@media (@screen-sm) {
top: 24px;
margin-top: 0;
}
}
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long