Last active
August 20, 2019 12:49
-
-
Save juanmalunatic/dd52eab1199da4270ff3a316f03c57eb to your computer and use it in GitHub Desktop.
Show edX answers as if they haven't been submitted (useful for studying)
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
:root { | |
--border-unans: 1px solid #c8c8c8; | |
} | |
/* Inputs */ | |
.correct input, | |
.incorrect input | |
{ | |
border: var(--border-unans) !important; | |
} | |
.wrapper-problem-response input { | |
color:#fff; | |
} | |
/* Checkmarks */ | |
.status.correct, | |
.status.incorrect{ | |
display:none !important; | |
} | |
/* Multiple choice */ | |
.choicegroup .field label, | |
.choicegroup .field label:hover{ | |
border: var(--border-unans) !important; | |
} | |
.choicegroup .input-radio { | |
display:none; | |
} | |
.choicegroup label::before { | |
position:absolute; | |
top:2px; | |
left:10px; | |
display:inline-block; | |
content: "○"; | |
font-size:25px; | |
font-weight:bold; | |
padding:0; | |
} | |
/* Numeric answers that appear after submitting */ | |
.incorrect [id^=answer_] + [id^=input_], | |
.correct [id^=answer_] + [id^=input_]{ | |
display:none; | |
} | |
/* Checkboxes */ | |
.input-checkbox { | |
outline: #fff solid 5px; | |
outline-offset: -6px; | |
position: absolute !important; | |
left: 7px !important; | |
top: 11px !important; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment