Skip to content
This repository was archived by the owner on Jan 11, 2022. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 11 additions & 3 deletions mentoring/public/css/mentoring.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
text-transform: uppercase;
font-weight: bold;
font-style: normal;
font-size: 0.9em;
font-size: 14px;
margin-bottom: 5px;
}

Expand Down Expand Up @@ -86,10 +86,18 @@
height:33.33px;
}

.mentoring input[type=button] {
.mentoring input[type=button],
.mentoring input[type=button]:focus {
background-color: #3384ca;
}

.mentoring input[type=button][disabled], .mentoring input[type=button][disabled]:hover {
.mentoring input[type=button][disabled],
.mentoring input[type=button][disabled]:hover,
.mentoring input[type=button][disabled]:focus {
background-color: #cccccc;
}

.mentoring input[type="checkbox"],
.mentoring input[type="radio"] {
margin: 0;
}
13 changes: 6 additions & 7 deletions mentoring/public/css/questionnaire.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,12 @@
margin-bottom: 10px;
}

.mentoring .choices .choice-checkbox {
display: inline-block;
margin-top: 5px;
margin-bottom: 5px;
}

.mentoring .questionnaire .choice-result {
display: inline-block;
width: 40px;
vertical-align: middle;
cursor: pointer;
float: left;
}

.mentoring .questionnaire .choice {
Expand Down Expand Up @@ -78,5 +73,9 @@
}

.mentoring .choice-label {
margin-top: 5px;
margin-top: 8px;
margin-bottom: 5px;
padding-left: 70px;
text-indent: -22px;
line-height: 1.3;
}
2 changes: 1 addition & 1 deletion mentoring/templates/html/mentoring.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ <h2 class="main">{{ self.title.content }}</h2>
{% endfor %}
{% if self.display_submit %}
<div class="submit">
<input type="button" class="input-main" value="Submit"></input>
<input type="button" class="input-main" value="Submit" disabled="disabled"></input>
<div class="attempts" data-max_attempts="{{ self.max_attempts }}" data-num_attempts="{{ self.num_attempts }}"></div>
</div>
{% endif %}
Expand Down
16 changes: 7 additions & 9 deletions mentoring/templates/html/mrqblock_choices.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,13 @@ <h3>QUESTION</h3>
{% for choice in custom_choices %}
<div class="choice">
<div class="choice-result icon-2x"></div>
<div class="choice-checkbox">
<label class="choice-label">
<input class="choice-selector" type="checkbox" name="{{ self.name }}"
value="{{ choice.value }}"
{% if choice.value in self.student_choices %} checked{% endif %}>
{{ choice.content }}
</input>
</label>
</div>
<label class="choice-label">
<input class="choice-selector" type="checkbox" name="{{ self.name }}"
value="{{ choice.value }}"
{% if choice.value in self.student_choices %} checked{% endif %}>
{{ choice.content }}
</input>
</label>
<div class="choice-tips"></div>
</div>
{% endfor %}
Expand Down