Improvements to the contact form

This commit is contained in:
Godwin 2016-07-09 23:48:53 -07:00
parent 22b7dc2129
commit 46c8443bc6
3 changed files with 42 additions and 28 deletions

View File

@ -2193,6 +2193,20 @@ body {
font-size: 2em; font-size: 2em;
margin-bottom: 1em; margin-bottom: 1em;
} }
#contact-dlg {
.title {
background-color: $colour-4;
}
.email-field {
margin-top: 2em;
}
textarea {
min-height: 7.5em;
}
}
} }
@include keyframes(fade-out) { @include keyframes(fade-out) {

View File

@ -1,4 +1,4 @@
= form_tag contact_send_path do = form_tag contact_send_path, class: 'contact-form' do
= emailfield :email, nil, big: true, required: true unless logged_in? = emailfield :email, nil, big: true, required: true unless logged_in?
= contact_reason_select = contact_reason_select
= textfield :subject, nil, required: true, big: true = textfield :subject, nil, required: true, big: true