Commit 9c217aaa by Xavier Antoviaque

Merge pull request #40 from edx-solutions/design-refresh-fixes2

Design refresh fixes2
parents 0e86cd83 df62c2bc
.mentoring .title { .mentoring .title * {
display: inline-block; display: inline-block;
} }
.mentoring .messages { .mentoring .messages {
display: none; display: none;
margin-top: 10px; margin-top: 10px;
border: 1px solid rgb(221, 221, 221); border-top: 2px solid #eaeaea;
padding: 12px 15px 20px; padding: 12px 0px 20px;
} }
.mentoring .messages .title1 { .mentoring .messages .title1 {
...@@ -57,6 +57,8 @@ ...@@ -57,6 +57,8 @@
margin-left: 10px; margin-left: 10px;
display: inline-block; display: inline-block;
vertical-align: middle; vertical-align: middle;
font-size: 13px;
font-weight: bold;
} }
.mentoring .attempts > span { .mentoring .attempts > span {
......
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
position: absolute; position: absolute;
top: 0; top: 0;
right: 0; right: 0;
background: none repeat scroll 0 0 #5C9DD5; background: none repeat scroll 0 0 #66A5B5;
font-family: arial; font-family: arial;
font-size: 14px; font-size: 14px;
height: 100%; height: 100%;
...@@ -55,9 +55,12 @@ ...@@ -55,9 +55,12 @@
cursor: pointer; cursor: pointer;
position: absolute; position: absolute;
top: 5px; top: 5px;
right: 0px; right: 3px;
width: 18px; width: 18px;
height: 21px; height: 21px;
font-family: FontAwesome;
font-style: normal;
text-align: center;
} }
.mentoring .questionnaire .choice-tips p, .mentoring .questionnaire .choice-tips p,
......
...@@ -96,7 +96,7 @@ function MCQBlock(runtime, element) { ...@@ -96,7 +96,7 @@ function MCQBlock(runtime, element) {
if (_.isNull(result.submission)) { if (_.isNull(result.submission)) {
messageView.showMessage('<div class="message-content">You have not provided an answer.</div>' + messageView.showMessage('<div class="message-content">You have not provided an answer.</div>' +
'<i class="close icon-remove-sign fa-times-circle"></i>'); '<div class="close icon-remove-sign fa-times-circle"></div>');
} }
else if (result.tips) { else if (result.tips) {
var tips = _.find(result.tips, function(obj) { var tips = _.find(result.tips, function(obj) {
...@@ -141,7 +141,7 @@ function MRQBlock(runtime, element) { ...@@ -141,7 +141,7 @@ function MRQBlock(runtime, element) {
if (result.message) { if (result.message) {
messageView.showMessage('<div class="message-content">' + result.message + '</div>'+ messageView.showMessage('<div class="message-content">' + result.message + '</div>'+
'<i class="close icon-remove-sign fa-times-circle"></i>'); '<div class="close icon-remove-sign fa-times-circle"></div>');
} }
var questionnaireDOM = $('fieldset.questionnaire', element), var questionnaireDOM = $('fieldset.questionnaire', element),
......
...@@ -5,8 +5,8 @@ ...@@ -5,8 +5,8 @@
</div> </div>
{% if self.title %} {% if self.title %}
<div class="title"> <div class="title">
<h2 class="title main">{{ self.title.content }}</h2> <h2 class="main">{{ self.title.content }}</h2>
<span class="title weight">{% if self.weight %} ({{ self.weight }} Points Possible) {% endif %}</span> <span class="weight">{% if self.weight %} ({{ self.weight }} Points Possible) {% endif %}</span>
</div> </div>
{% endif %} {% endif %}
{% for name, c in named_children %} {% for name, c in named_children %}
......
<div class="tip-choice-group"> <div class="tip-choice-group">
<div class="close"></div>
{% for tip_fragment in tips_fragments %} {% for tip_fragment in tips_fragments %}
{{ tip_fragment.body_html|safe }} {{ tip_fragment.body_html|safe }}
{% endfor %} {% endfor %}
</div> </div>
<div class="close icon-remove-sign fa-times-circle"></div>
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