accommodating contact form

This commit is contained in:
Adam Piontek 2021-08-03 16:06:07 -04:00
parent b381f0fa43
commit 9f39115762
3 changed files with 23 additions and 2 deletions

View file

@ -219,12 +219,31 @@ figure.wp-caption {
/* forms and search */ /* forms and search */
label { label,
div.wpforms-container-full .wpforms-form .wpforms-field-label {
@extend .form-label; @extend .form-label;
} }
input { div.wpforms-container-full .wpforms-form .wpforms-required-label {
color: $red !important;
}
input, textarea,
div.wpforms-container-full .wpforms-form input[type="text"],
div.wpforms-container-full .wpforms-form input[type="email"],
div.wpforms-container-full .wpforms-form textarea {
@extend .form-control; @extend .form-control;
} }
.wpforms-submit-container {
text-align: right;
}
div.wpforms-container-full .wpforms-form button[type="submit"] {
@extend .btn;
@extend .btn-primary;
font-family: $font-family-handbrush;
}
div.wpforms-container-full div.wpforms-confirmation-container-full {
@extend .alert;
@extend .alert-success;
}
select { select {
@extend .form-select; @extend .form-select;
} }

View file

@ -173,6 +173,7 @@ function getCSSWhitelistPatterns() {
/^tag(-.*)?$/, /^tag(-.*)?$/,
/^menu(-.*)?$/, /^menu(-.*)?$/,
/^more(-.*)?$/, /^more(-.*)?$/,
/^wpforms(-.*)?$/,
/^tags(-.*)?$/, /^tags(-.*)?$/,
/^tax-(.*)?$/, /^tax-(.*)?$/,
/^term-(.*)?$/, /^term-(.*)?$/,
@ -185,6 +186,7 @@ function getCSSWhitelistPatterns() {
/^tsml$/, /^tsml$/,
/^label$/, /^label$/,
/^input$/, /^input$/,
/^textarea$/,
/^select$/, /^select$/,
/^img$/, /^img$/,
/^ul$/, /^ul$/,