Commit ed614448 by cahrens

Cleanup of status.

Also remove unused empty jsinput_css.css.
parent 77be91ba
......@@ -11,7 +11,7 @@
% endif
/>
<p class="status">
<p class="indicator-container">
${value|h}
<%include file="status_span.html" args="status=status, status_id=id"/>
</p>
......
......@@ -18,7 +18,7 @@
style="display:none;"/>
<p class="status drag-and-drop--status" aria-describedby="input_${id}">
<p class="indicator-container drag-and-drop--status" aria-describedby="input_${id}">
<%include file="status_span.html" args="status=status, status_id=id"/>
</p>
......
......@@ -11,7 +11,7 @@
<input type="hidden" name="genex_problem_number" id="genex_problem_number" value ="${genex_problem_number}"></input>
<input type="hidden" name="input_${id}" aria-describedby="answer_${id}" id="input_${id}" value="${value|h}"/>
<p class="status" aria-describedby="input_${id}">
<p class="indicator-container" aria-describedby="input_${id}">
<%include file="status_span.html" args="status=status, status_id=id"/>
</p>
......
......@@ -16,7 +16,7 @@
<p id="answer_${id}" class="answer"></p>
<p class="status" aria-describedby="input_${id}">
<p class="indicator-container" aria-describedby="input_${id}">
<%include file="status_span.html" args="status=status, status_id=id"/>
</p>
......
......@@ -43,9 +43,9 @@
<br/>
<p id="answer_${id}" class="answer"></p>
<p class="status">
<%include file="status_span.html" args="status=status, status_id=id"/>
</p>
<div class="indicator-container">
<%include file="status_span.html" args="status=status, status_id=id"/>
</div>
<div class="error_message" style="padding: 5px 5px 5px 5px; background-color:#FA6666; height:60px;width:400px; display: none"></div>
......
......@@ -389,64 +389,31 @@ div.problem {
}
}
.unanswered {
p.status.drag-and-drop--status {
@include margin(8px, 0, 0, ($baseline/2));
text-indent: 100%;
white-space: nowrap;
overflow: hidden;
}
}
&.correct, &.ui-icon-check {
p.status {
@include status-icon($correct, $checkmark-icon);
}
input {
border-color: $correct;
}
}
&.partially-correct, &.ui-icon-check {
p.status {
@include status-icon($partially-correct, $asterisk-icon);
}
input {
border-color: $partially-correct;
}
}
&.processing {
p.status {
display: inline-block;
width: 20px;
height: 20px;
background: url('#{$static-path}/images/spinner.gif') center center no-repeat;
}
input {
border-color: #aaa;
}
}
&.ui-icon-close {
p.status {
@include status-icon($incorrect, $cross-icon);
}
input {
border-color: $incorrect;
}
}
&.incorrect, &.incomplete {
p.status {
@include status-icon($incorrect, $cross-icon);
}
input {
border-color: $incorrect;
}
......
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