1
0
mirror of https://github.com/ascribe/wp-theme synced 2024-12-22 09:13:38 +01:00

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