Skip to content

Instantly share code, notes, and snippets.

@lukecav
Forked from theJasonJones/gravity-form-reset.less
Created August 16, 2016 20:14
Show Gist options
  • Save lukecav/ce4e7571ddff5484064e35c2bff2a829 to your computer and use it in GitHub Desktop.
Save lukecav/ce4e7571ddff5484064e35c2bff2a829 to your computer and use it in GitHub Desktop.
Base Gravity Form Reset
#gform_wrapper_1{
li { .clearfix(); position: relative; }
label { float: left; width: 25%;
@media( max-width: @screen-xs-max ){ float: none; width: 100%; }
}
input, select, textarea { width: 75%; float: left; color: @black; .fs(18px);
@media( max-width: @screen-xs-max ){ float: none; width: 100%; }
}
.gfield_checkbox{
li { width: auto; float: left; }
label { display: inline-block; padding-top: 8px; padding-left: 15px; }
input { box-shadow: none; width: auto; display: inline-block; padding-right: 10px; }
}
.gfield_radio{
li { width: auto; float: left; }
label { display: inline-block; padding-top: 8px; margin-right: 20px; padding-left: 15px; }
input { box-shadow: none; width: auto; display: inline-block; padding-right: 10px; }
}
.btn-primary { .button; }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment