- Posts: 120
- Thank you received: 1
Ask the community, share ideas, and connect with other LimeSurvey users!
<style type="text/css">/* Add box around answer option */ input[type=checkbox] + label+div::before { font-family: FontAwesome; content: "\f06a";} input[type=checkbox]:checked +label+div::before { font-family: FontAwesome; content: "\f07a";} input[type=checkbox] + label+div { color: #ccc; font-style: italic; padding: 10px; border: 1px solid #f1f1f1; margin-left: -20px !important; } input[type=checkbox]:checked + label+div { color: #f00; font-style: normal; padding: 10px; border: 1px solid green; margin-left: -20px !important; } .checkbox label::before { visibility: hidden !important; } .checkbox label::after { visibility: hidden !important; } </style>
.array-flexible-row .radio input[type="radio"] + label::before { top: -0.2em; left: 0.1em; height: auto; width: auto; font-family: FontAwesome; font-size: 21px; content: "\f06a"; color: #CCCCCC; background-color: transparent; border: 0 none; } .array-flexible-row .radio input[type="radio"]:checked + label::before { content: "\f07a"; color: green; } .array-flexible-row .radio input[type="radio"]:focus + label::before { outline: none; } .array-flexible-row .radio label::after { display: none !important; }