-
-
Save kennyeliason/a8a1a33a084de57260c6032749e12847 to your computer and use it in GitHub Desktop.
Gravity Forms Styling for Bootstrap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.gform_fields { | |
@extend .list-unstyled; | |
@extend .row; | |
input, | |
select, | |
textarea { | |
@extend .form-control; | |
} | |
textarea { | |
height: auto; | |
} | |
} | |
.gfield_description { | |
@extend .alert; | |
} | |
.validation_error { | |
@extend .alert; | |
@extend .alert-danger; | |
} | |
.validation_message { | |
@extend .alert; | |
@extend .alert-success; | |
} | |
.gform_button { | |
@extend .btn; | |
} | |
.gfield_required { | |
color: $danger; | |
} | |
.gform_wrapper ul.gfield_radio li, | |
.gform_wrapper ul.gfield_checkbox li { | |
@extend .form-check; | |
} | |
.gform_validation_container { | |
display: none; | |
} | |
.gfield_error .ginput_container { | |
margin-bottom: 10px; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment