Skip to content

Instantly share code, notes, and snippets.

@pragmatic-web
Forked from DevinWalker/gravity-forms_bootstrap
Last active August 29, 2015 13:57
Show Gist options
  • Save pragmatic-web/9831419 to your computer and use it in GitHub Desktop.
Save pragmatic-web/9831419 to your computer and use it in GitHub Desktop.
.gform_wrapper ul {
.list-unstyled();
}
.gform_wrapper li {
.form-group();
}
.gform_wrapper form {
margin-bottom: 0;
}
.gform_wrapper .gfield_required {
padding-left: 1px;
color: @state-danger-text;
}
.ginput_container input,
.ginput_container select,
.ginput_container textarea {
.form-control();
}
.ginput_container textarea {
height: auto;
}
.gform_button {
.btn();
.btn-primary();
}
.gform_wrapper .gfield_error {
.gfield_label {
color: @state-danger-text;
}
input,
select,
textarea {
border-color: @alert-danger-border;
background-color: @alert-danger-bg;
color: @alert-danger-text;
.form-control-focus(@alert-danger-text);
}
}
.validation_error {
.alert();
.alert-danger();
}
#gforms_confirmation_message {
.alert();
.alert-success();
}
/* hide the honeypot field ------------------------------------------------------*/
.gform_validation_container,
.gform_wrapper .gform_validation_container,
body .gform_wrapper li.gform_validation_container,
body .gform_wrapper .gform_body ul.gform_fields li.gfield.gform_validation_container,
body .gform_wrapper ul.gform_fields li.gfield.gform_validation_container {
display: none !important;
position: absolute !important;
left: -9000px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment