Commit 81bd0baf by Arjun Singh

Fix multiple choice style and multiple choice show answer style

parent 3533497b
<form class="choicegroup capa_inputtype" id="inputtype_${id}"> <form class="choicegroup capa_inputtype" id="inputtype_${id}">
% if state == 'unsubmitted': <div class="indicator_container">
<span class="unanswered" style="display:inline-block;" id="status_${id}"></span> % if state == 'unsubmitted':
% elif state == 'correct': <span class="unanswered" style="display:inline-block;" id="status_${id}"></span>
<span class="correct" id="status_${id}"></span> % elif state == 'correct':
% elif state == 'incorrect': <span class="correct" id="status_${id}"></span>
<span class="incorrect" id="status_${id}"></span> % elif state == 'incorrect':
% elif state == 'incomplete': <span class="incorrect" id="status_${id}"></span>
<span class="incorrect" id="status_${id}"></span> % elif state == 'incomplete':
% endif <span class="incorrect" id="status_${id}"></span>
% endif
</div>
<fieldset> <fieldset>
% for choice_id, choice_description in choices: % for choice_id, choice_description in choices:
......
...@@ -42,18 +42,21 @@ section.problem { ...@@ -42,18 +42,21 @@ section.problem {
content: url('../images/correct-icon.png'); content: url('../images/correct-icon.png');
} }
> span { min-width:100px;
padding-right: 20px; width: auto !important;
width: 100px;
.indicator_container {
float: left; float: left;
background-position: 0 0 !important; width: 25px;
margin-right: 15px;
} }
fieldset { fieldset {
@include box-sizing(border-box); @include box-sizing(border-box);
float: left;
border-left: 1px solid #ddd; border-left: 1px solid #ddd;
padding-left: 20px; padding-left: 20px;
margin: 20px 0; margin: 0px 0px 20px;
} }
input[type="radio"], input[type="radio"],
...@@ -63,8 +66,7 @@ section.problem { ...@@ -63,8 +66,7 @@ section.problem {
} }
text { text {
display: block; margin-left: 5px;
margin-left: 25px;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment