Last active
September 12, 2022 00:10
-
-
Save hmbashar/7d5a2a896376b2c05282dccaf6da6232 to your computer and use it in GitHub Desktop.
Start sign for gravity from radio button
This file contains hidden or 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
/* | |
You must need to call Font awesome CSS for load icon | |
*/ | |
.ginput_container.ginput_container_radio .gfield_radio {display: flex;} | |
.ginput_container.ginput_container_radio .gfield_radio .gchoice label{cursor:pointer;} | |
.ginput_container.ginput_container_radio .legend_selected_stars.gchoice label:before{color:#316A85 !important;} | |
.ginput_container.ginput_container_radio .gchoice input { | |
display:none; | |
cursor: pointer; | |
} | |
.ginput_container.ginput_container_radio .gchoice input[type='radio'] + label:before { | |
font-family: "Font Awesome 5 free"; | |
font-size: 25px !important; | |
margin-right: 6px; | |
} | |
.ginput_container.ginput_container_radio .gchoice input[type=radio] + label:before { | |
content: "\f005"; | |
font-weight:300 ; | |
color:#ccd6df; | |
/* Radio Unchecked */ | |
} | |
.ginput_container.ginput_container_radio .gchoice input[type=radio]:checked + label:before { | |
content: "\f005"; | |
font-weight:400 ; | |
color:#316A85 ; | |
/* Radio Checked */ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment