Commit eb76233b by Xavier Antoviaque

Merge pull request #47 from edx-solutions/css-fixes

CSS Fixes - Additional fixes of CSS from QA
parents de15c188 a7d2bacf
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
text-transform: uppercase; text-transform: uppercase;
font-weight: bold; font-weight: bold;
font-style: normal; font-style: normal;
font-size: 0.9em; font-size: 14px;
margin-bottom: 5px; margin-bottom: 5px;
} }
...@@ -86,10 +86,18 @@ ...@@ -86,10 +86,18 @@
height:33.33px; height:33.33px;
} }
.mentoring input[type=button] { .mentoring input[type=button],
.mentoring input[type=button]:focus {
background-color: #3384ca; 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; background-color: #cccccc;
} }
.mentoring input[type="checkbox"],
.mentoring input[type="radio"] {
margin: 0;
}
...@@ -4,17 +4,12 @@ ...@@ -4,17 +4,12 @@
margin-bottom: 10px; margin-bottom: 10px;
} }
.mentoring .choices .choice-checkbox {
display: inline-block;
margin-top: 5px;
margin-bottom: 5px;
}
.mentoring .questionnaire .choice-result { .mentoring .questionnaire .choice-result {
display: inline-block; display: inline-block;
width: 40px; width: 40px;
vertical-align: middle; vertical-align: middle;
cursor: pointer; cursor: pointer;
float: left;
} }
.mentoring .questionnaire .choice { .mentoring .questionnaire .choice {
...@@ -78,5 +73,9 @@ ...@@ -78,5 +73,9 @@
} }
.mentoring .choice-label { .mentoring .choice-label {
margin-top: 5px; margin-top: 8px;
margin-bottom: 5px;
padding-left: 70px;
text-indent: -22px;
line-height: 1.3;
} }
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
{% endfor %} {% endfor %}
{% if self.display_submit %} {% if self.display_submit %}
<div class="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 class="attempts" data-max_attempts="{{ self.max_attempts }}" data-num_attempts="{{ self.num_attempts }}"></div>
</div> </div>
{% endif %} {% endif %}
......
...@@ -8,15 +8,13 @@ ...@@ -8,15 +8,13 @@
{% for choice in custom_choices %} {% for choice in custom_choices %}
<div class="choice"> <div class="choice">
<div class="choice-result icon-2x"></div> <div class="choice-result icon-2x"></div>
<div class="choice-checkbox"> <label class="choice-label">
<label class="choice-label"> <input class="choice-selector" type="checkbox" name="{{ self.name }}"
<input class="choice-selector" type="checkbox" name="{{ self.name }}" value="{{ choice.value }}"
value="{{ choice.value }}" {% if choice.value in self.student_choices %} checked{% endif %}>
{% if choice.value in self.student_choices %} checked{% endif %}> {{ choice.content }}
{{ choice.content }} </input>
</input> </label>
</label>
</div>
<div class="choice-tips"></div> <div class="choice-tips"></div>
</div> </div>
{% endfor %} {% endfor %}
......
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