2019-11-15 23:26:29 +01:00
|
|
|
.contact-form .clear-form {
|
|
|
|
|
clear: both;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.contact-form input::placeholder {
|
2021-07-23 11:58:50 +02:00
|
|
|
transition: opacity 0.3s ease-out;
|
2019-11-15 23:26:29 +01:00
|
|
|
}
|
|
|
|
|
.contact-form input:hover::placeholder {
|
|
|
|
|
opacity: 0.5;
|
|
|
|
|
}
|
|
|
|
|
.contact-form input:focus::placeholder {
|
|
|
|
|
opacity: 0.3;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.contact-form input[type='text'],
|
|
|
|
|
.contact-form input[type='email'],
|
|
|
|
|
.contact-form input[type='tel'],
|
|
|
|
|
.contact-form input[type='url'] {
|
|
|
|
|
box-sizing: border-box;
|
2020-06-23 13:49:54 +02:00
|
|
|
margin-bottom: 1.5em;
|
2019-11-15 23:26:29 +01:00
|
|
|
width: 100%;
|
2021-07-23 11:58:50 +02:00
|
|
|
padding: 14px 7px;
|
2019-11-15 23:26:29 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.contact-form select {
|
2020-06-23 13:49:54 +02:00
|
|
|
margin-bottom: 1.5em;
|
2021-07-23 11:58:50 +02:00
|
|
|
padding: 14px 7px;
|
|
|
|
|
min-width: 150px;
|
2019-11-15 23:26:29 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.contact-form textarea {
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
float: none;
|
|
|
|
|
height: 200px;
|
2020-06-23 13:49:54 +02:00
|
|
|
margin-bottom: 1.5em;
|
2019-11-15 23:26:29 +01:00
|
|
|
width: 100%;
|
2021-07-23 11:58:50 +02:00
|
|
|
padding: 7px;
|
|
|
|
|
font: inherit;
|
2019-11-15 23:26:29 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.contact-form input[type='radio'],
|
|
|
|
|
.contact-form input[type='checkbox'] {
|
|
|
|
|
float: none;
|
2020-09-15 14:30:05 +02:00
|
|
|
margin: 0 0.75rem 0 5px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.contact-form input[type='checkbox'] {
|
|
|
|
|
top: 0;
|
|
|
|
|
margin-left: 0;
|
2019-11-15 23:26:29 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.contact-form label {
|
|
|
|
|
margin-bottom: 0.25em;
|
|
|
|
|
float: none;
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
display: block;
|
|
|
|
|
}
|
|
|
|
|
|
2020-09-15 14:30:05 +02:00
|
|
|
.contact-form label.consent-implicit input {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
|
2019-11-15 23:26:29 +01:00
|
|
|
.contact-form label.checkbox,
|
|
|
|
|
.contact-form label.checkbox-multiple,
|
|
|
|
|
.contact-form label.radio {
|
|
|
|
|
margin-bottom: 0.25em;
|
|
|
|
|
float: none;
|
|
|
|
|
font-weight: normal;
|
2020-09-15 14:30:05 +02:00
|
|
|
display: inline-flex;
|
|
|
|
|
align-items: center;
|
2019-11-15 23:26:29 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.contact-form .grunion-field-checkbox-wrap,
|
2020-09-15 14:30:05 +02:00
|
|
|
.contact-form .grunion-field-consent-wrap,
|
2019-11-15 23:26:29 +01:00
|
|
|
.contact-form .grunion-field-checkbox-multiple-wrap,
|
|
|
|
|
.contact-form .grunion-field-radio-wrap {
|
2020-06-23 13:49:54 +02:00
|
|
|
margin-bottom: 1em;
|
2019-11-15 23:26:29 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.contact-form label span {
|
2020-09-15 14:30:05 +02:00
|
|
|
font-size: 85%;
|
2019-11-15 23:26:29 +01:00
|
|
|
margin-left: 0.25em;
|
|
|
|
|
font-weight: normal;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.contact-form-submission {
|
|
|
|
|
margin-bottom: 4em;
|
|
|
|
|
padding: 1.5em 1em;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.contact-form-submission p {
|
|
|
|
|
margin: 0 auto;
|
|
|
|
|
word-wrap: break-word;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.form-errors .form-error-message {
|
|
|
|
|
color: red;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.textwidget .contact-form input[type='text'],
|
|
|
|
|
.textwidget .contact-form input[type='email'],
|
|
|
|
|
.textwidget .contact-form input[type='tel'],
|
|
|
|
|
.textwidget .contact-form input[type='url'],
|
|
|
|
|
.textwidget .contact-form textarea,
|
|
|
|
|
.wp-block-column .contact-form input[type='text'],
|
|
|
|
|
.wp-block-column .contact-form input[type='email'],
|
|
|
|
|
.wp-block-column .contact-form input[type='tel'],
|
|
|
|
|
.wp-block-column .contact-form input[type='url'],
|
|
|
|
|
.wp-block-column .contact-form textarea {
|
|
|
|
|
width: 100%;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#jetpack-check-feedback-spam {
|
|
|
|
|
margin: 1px 8px 0px 0px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.jetpack-check-feedback-spam-spinner {
|
|
|
|
|
display: inline-block;
|
|
|
|
|
margin-top: 7px;
|
|
|
|
|
}
|
|
|
|
|
|
2020-06-23 13:49:54 +02:00
|
|
|
.wp-block-jetpack-contact-form {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
justify-content: flex-start;
|
|
|
|
|
flex-direction: row;
|
|
|
|
|
}
|
|
|
|
|
|
2021-07-23 11:58:50 +02:00
|
|
|
.wp-block-jetpack-contact-form .grunion-field-wrap,
|
|
|
|
|
.wp-block-jetpack-button {
|
2020-06-23 13:49:54 +02:00
|
|
|
flex: 0 0 100%;
|
|
|
|
|
}
|
|
|
|
|
|
2021-07-23 11:58:50 +02:00
|
|
|
.wp-block-jetpack-button button {
|
|
|
|
|
padding: 20px 30px;
|
|
|
|
|
border: inherit;
|
|
|
|
|
font: inherit;
|
|
|
|
|
}
|
|
|
|
|
|
2020-06-23 13:49:54 +02:00
|
|
|
.wp-block-jetpack-button.alignright button {
|
|
|
|
|
float: right;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.wp-block-jetpack-contact-form .grunion-field-wrap {
|
|
|
|
|
/* Use transparent border to maintain consistent
|
|
|
|
|
* space between elements with flexbox */
|
|
|
|
|
border-right: 15px solid transparent;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.wp-block-jetpack-contact-form .grunion-field-width-25-wrap {
|
|
|
|
|
flex: 0 0 25%;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.wp-block-jetpack-contact-form .grunion-field-width-50-wrap {
|
|
|
|
|
flex: 0 0 50%;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.wp-block-jetpack-contact-form .grunion-field-width-75-wrap {
|
|
|
|
|
flex: 0 0 75%;
|
|
|
|
|
}
|
|
|
|
|
|
2021-07-23 11:58:50 +02:00
|
|
|
.grunion-field-checkbox-wrap,
|
|
|
|
|
.grunion-field-consent-wrap {
|
2020-06-23 13:49:54 +02:00
|
|
|
align-self: center;
|
|
|
|
|
}
|
|
|
|
|
|
2021-07-23 11:58:50 +02:00
|
|
|
@media only screen and ( min-width: 600px ) {
|
2019-11-15 23:26:29 +01:00
|
|
|
.contact-form input[type='text'],
|
|
|
|
|
.contact-form input[type='email'],
|
|
|
|
|
.contact-form input[type='tel'],
|
|
|
|
|
.contact-form input[type='url'] {
|
|
|
|
|
width: 50%;
|
|
|
|
|
}
|
2020-06-23 13:49:54 +02:00
|
|
|
|
|
|
|
|
/****
|
|
|
|
|
* Older users keep the 50% width to avoid breaking
|
|
|
|
|
* designs, but newer users using the contact
|
|
|
|
|
* form block get 100% width.
|
|
|
|
|
*/
|
|
|
|
|
.wp-block-jetpack-contact-form input[type='text'],
|
|
|
|
|
.wp-block-jetpack-contact-form input[type='email'],
|
|
|
|
|
.wp-block-jetpack-contact-form input[type='tel'],
|
|
|
|
|
.wp-block-jetpack-contact-form input[type='url'] {
|
|
|
|
|
width: 100%;
|
|
|
|
|
}
|
2019-11-15 23:26:29 +01:00
|
|
|
}
|
2020-09-15 14:30:05 +02:00
|
|
|
|
|
|
|
|
/** For the "Empty Spam" button on /wp-admin/edit.php?post_status=spam&post_type=feedback **/
|
|
|
|
|
.jetpack-empty-spam-container {
|
|
|
|
|
display: inline-block;
|
|
|
|
|
}
|
|
|
|
|
.jetpack-empty-spam {
|
|
|
|
|
display: inline-block;
|
|
|
|
|
}
|
|
|
|
|
.jetpack-empty-spam-spinner {
|
|
|
|
|
display: inline-block;
|
|
|
|
|
margin-top: 7px;
|
|
|
|
|
}
|
2022-04-02 10:26:41 +02:00
|
|
|
|
|
|
|
|
/* Make sure the set height of the Spacer block nested inside the Contact Form block is respected */
|
|
|
|
|
.wp-block-jetpack-contact-form .wp-block-spacer {
|
|
|
|
|
width: 100%;
|
|
|
|
|
}
|