- Posts: 10
- Thank you received: 0
Ask the community, share ideas, and connect with other LimeSurvey users!
div.yes-no .btn-primary { background-color: #FFF; color: #000; line-height: 10px; border-width: 1px; }
.btn-primary { color: #ffffff; background-color: #2c3e50; border-color: #2c3e50; } .btn-primary:focus, .btn-primary.focus { color: #ffffff; background-color: #1a242f; border-color: #000000; } .btn-primary:hover { color: #ffffff; background-color: #1a242f; border-color: #161f29; } .btn-primary:active, .btn-primary.active, .open > .dropdown-toggle.btn-primary { color: #ffffff; background-color: #1a242f; border-color: #161f29; } .btn-primary:active:hover, .btn-primary.active:hover, .open > .dropdown-toggle.btn-primary:hover, .btn-primary:active:focus, .btn-primary.active:focus, .open > .dropdown-toggle.btn-primary:focus, .btn-primary:active.focus, .btn-primary.active.focus, .open > .dropdown-toggle.btn-primary.focus { color: #ffffff; background-color: #0d1318; border-color: #000000; } .btn-primary:active, .btn-primary.active, .open > .dropdown-toggle.btn-primary { background-image: none; } .btn-primary.disabled:hover, .btn-primary[disabled]:hover, fieldset[disabled] .btn-primary:hover, .btn-primary.disabled:focus, .btn-primary[disabled]:focus, fieldset[disabled] .btn-primary:focus, .btn-primary.disabled.focus, .btn-primary[disabled].focus, fieldset[disabled] .btn-primary.focus { background-color: #2c3e50; border-color: #2c3e50; } .btn-primary .badge { color: #2c3e50; background-color: #ffffff; }
Add something like this to the end of template.css:I also wanted to have a space between the 'yes' button and the 'no' button + change the button widths but haven't found how to do this yet.
.btn-group-justified { max-width: 200px; border-spacing: 10px; } div.yes-no .btn-primary { border-radius: 4px !important; }
Add something like this to the end of template.css:We can barely see the difference with the 'unactive' button...
div.yes-no .btn-primary { background-color: #FFF; color: #000000; line-height: 10px; border-width: 1px; } div.yes-no .btn-primary:hover { background-color: #F0F0F0; color: #000000; } div.yes-no .btn-primary:active, div.yes-no .btn-primary.active { background-color: #2C3E50; color: #FFFFFF; box-shadow: none; }