Gravity Form Using ET Icons for Radios & Checkboxes

  • Your Details

  • Additional Info

/*** MAIN FORM WRAPPER ***/
.gform_wrapper {
    background: rgba(255, 255, 255, 0.95);
    padding: 5%;
}
/*** FIELD STYLING ***/
.gform_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]),
.gform_wrapper textarea.medium,
.gform_wrapper textarea.large {
    background: rgba(0, 0, 0, 0);
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: 2px solid #000;
    border-radius: 0px !important;
}
.gform_wrapper ul.gform_fields li.gfield {
    margin-bottom: 20px;
}
.gform_wrapper input[type=text]:focus,
.gform_wrapper input.text:focus,
.gform_wrapper input.title:focus,
.gform_wrapper textarea:focus {
    border-bottom: 2px solid #b5b5b5 !important;
}
/*** DROPDOWN SELECT ***/
.gform_wrapper select {
    background: rgba(0, 0, 0, 0);
    border: 2px solid #555;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
}
/*** BUTTON STYLING ***/
.gform_wrapper .gform_footer input.button,
.gform_wrapper .gform_footer input[type=submit] {
    background: #A2D400;
    text-transform: uppercase;
    border: 2px solid #1d1d1d;
    padding: 7px 12px;
    cursor: pointer;
    font-size: 18px;
    -moz-transition: all 0.2s;
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
    border-radius: 0 !important;
}
/*** BUTTON HOVER STYLING ***/
.gform_wrapper .gform_footer input.button:hover,
.gform_wrapper .gform_footer input[type=submit]:hover {
    background: #1d1d1d;
    color: #fff;
}
/*** SECTION STYLING ***/
.gform_wrapper h2.gsection_title {
    font-weight: normal;
    font-size: 2em;
}
.gform_wrapper .gsection {
    padding: 20px !important;
    border-bottom: none;
    background: #A2D400;
}
/*** GRAVITY RADIO AND CHECKBOXES ***/
.gform_wrapper ul.gfield_checkbox li input[type=checkbox],
.gform_wrapper ul.gfield_radio li input[type=radio] {
    visibility: hidden;
    margin: 0;
    width: 0!important;
}
.gform_wrapper input[type=checkbox] + label,
.gform_wrapper input[type=radio] + label {
    font-size: 16px;
}
.gform_wrapper input[type=checkbox] + label:hover,
.gform_wrapper input[type=radio] + label:hover {
    cursor: pointer;
}
.gform_wrapper input[type=checkbox] + label:before,
.gform_wrapper input[type=radio] + label:before {
    font-family: "ETmodules" !important;
    font-size: 30px;
    position: relative;
    top: 0.3em;
    margin-right: 0.2em;
}
.gform_wrapper li.gf_list_inline ul.gfield_checkbox li,
.gform_wrapper li.gf_list_inline ul.gfield_radio li {
    display: -moz-inline;
    display: inline;
}
.gform_wrapper input[type=checkbox] + label:before {
    content: '\056';
}
.gform_wrapper input[type=checkbox] + label:hover:before {
    content: '\05a';
    filter: alpha(opacity=40);
    opacity: 0.4;
}
.gform_wrapper input[type=checkbox]:checked + label:before {
    content: '\05a';
    color: #A2D400;
}
.gform_wrapper input[type=checkbox]:checked + label:hover:before {
    color: #A2D400;
    filter: alpha(opacity=100);
    opacity: 1;
}
.gform_wrapper input[type=radio] + label:before {
    content: '\05b';
}
.gform_wrapper input[type=radio] + label:hover:before {
    content: '\05c';
    filter: alpha(opacity=40);
    opacity: 0.4;
}
.gform_wrapper input[type=radio]:checked + label:before {
    content: '\05c';
    color: #A2D400;
}
.gform_wrapper input[type=radio]:checked + label:hover:before {
    color: #A2D400;
    filter: alpha(opacity=100);
    opacity: 1;
}
.gform_wrapper ul.gfield_checkbox li input[type=checkbox]:checked+label,
.gform_wrapper ul.gfield_radio li input[type=radio]:checked+label {
    font-weight: normal;
}
/*** SUCCESS MESSAGE ***/
.gform_confirmation_wrapper {
    background: #fff;
    padding: 15px;
}

Copyright © A Girl and Her Mac