Commit 49eee8b1 by Xavier Antoviaque

Tweak spacing and text boldness on assessments results

parent d9f20975
...@@ -5,9 +5,6 @@ ...@@ -5,9 +5,6 @@
.mentoring .messages, .mentoring .messages,
.mentoring .assessment-messages { .mentoring .assessment-messages {
display: none; display: none;
margin-top: 10px;
border-top: 2px solid #eaeaea;
padding: 12px 0px 20px;
} }
.mentoring .messages .title1, .mentoring .messages .title1,
...@@ -74,7 +71,7 @@ ...@@ -74,7 +71,7 @@
display: inline-block; display: inline-block;
vertical-align: middle; vertical-align: middle;
font-size: 13px; font-size: 13px;
font-weight: bold; font-weight: 600;
} }
.mentoring .attempts > span { .mentoring .attempts > span {
...@@ -121,6 +118,10 @@ ...@@ -121,6 +118,10 @@
margin-right: 10px; margin-right: 10px;
} }
.mentoring .grade .grade-result {
margin: 20px;
}
.mentoring .grade .checkmark-incorrect { .mentoring .grade .checkmark-incorrect {
margin-left: 10px; margin-left: 10px;
margin-right: 20px; margin-right: 20px;
...@@ -158,6 +159,11 @@ ...@@ -158,6 +159,11 @@
.mentoring .results-section { .mentoring .results-section {
float: left; float: left;
} }
.mentoring .results-section p {
margin: 4px;
}
.mentoring .clear { .mentoring .clear {
display: block; display: block;
clear: both; clear: both;
......
...@@ -4,6 +4,8 @@ ...@@ -4,6 +4,8 @@
<% }} else {{ %> <% }} else {{ %>
<p><%= gettext("Note: if you retake this assessment, only your final score counts.") %></p> <p><%= gettext("Note: if you retake this assessment, only your final score counts.") %></p>
<% }} %> <% }} %>
<div class="grade-result">
<h2> <h2>
<%= _.template(gettext("You scored {percent}% on this assessment."), {percent: score}, {interpolate: /\{(.+?)\}/g}) %> <%= _.template(gettext("You scored {percent}% on this assessment."), {percent: score}, {interpolate: /\{(.+?)\}/g}) %>
</h2> </h2>
...@@ -51,4 +53,6 @@ ...@@ -51,4 +53,6 @@
<%= runDetails('incorrect') %> <%= runDetails('incorrect') %>
</div> </div>
<div class="clear"></div> <div class="clear"></div>
<hr/>
</div>
</script> </script>
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