Revert "Merge pull request #8724 from Colin-Fredericks/ColinF-partial-credit"
This reverts commitcea274dc52, reversing changes made to02cf9caca6.
This commit is contained in:
committed by
Renzo Lucioni
parent
674b92f0b9
commit
25a117613d
@@ -24,7 +24,6 @@
|
||||
$annotation-yellow: rgba(255,255,10,0.3);
|
||||
$color-copy-tip: rgb(100,100,100);
|
||||
$correct: $green-d1;
|
||||
$partiallycorrect: $green-d1;
|
||||
$incorrect: $red;
|
||||
|
||||
// +Extends - Capa
|
||||
@@ -76,11 +75,6 @@ h2 {
|
||||
color: $correct;
|
||||
}
|
||||
|
||||
.feedback-hint-partially-correct {
|
||||
margin-top: ($baseline/2);
|
||||
color: $partiallycorrect;
|
||||
}
|
||||
|
||||
.feedback-hint-incorrect {
|
||||
margin-top: ($baseline/2);
|
||||
color: $incorrect;
|
||||
@@ -180,16 +174,6 @@ div.problem {
|
||||
}
|
||||
}
|
||||
|
||||
&.choicegroup_partially-correct {
|
||||
@include status-icon($partiallycorrect, "\f00c");
|
||||
border: 2px solid $partiallycorrect;
|
||||
|
||||
// keep green for correct answers on hover.
|
||||
&:hover {
|
||||
border-color: $partiallycorrect;
|
||||
}
|
||||
}
|
||||
|
||||
&.choicegroup_incorrect {
|
||||
@include status-icon($incorrect, "\f00d");
|
||||
border: 2px solid $incorrect;
|
||||
@@ -243,11 +227,6 @@ div.problem {
|
||||
@include status-icon($correct, "\f00c");
|
||||
}
|
||||
|
||||
// CASE: partially correct answer
|
||||
&.partially-correct {
|
||||
@include status-icon($partiallycorrect, "\f00c");
|
||||
}
|
||||
|
||||
// CASE: incorrect answer
|
||||
&.incorrect {
|
||||
@include status-icon($incorrect, "\f00d");
|
||||
@@ -359,19 +338,6 @@ div.problem {
|
||||
}
|
||||
}
|
||||
|
||||
&.partially-correct, &.ui-icon-check {
|
||||
p.status {
|
||||
display: inline-block;
|
||||
width: 25px;
|
||||
height: 20px;
|
||||
background: url('../images/partially-correct-icon.png') center center no-repeat;
|
||||
}
|
||||
|
||||
input {
|
||||
border-color: $partiallycorrect;
|
||||
}
|
||||
}
|
||||
|
||||
&.processing {
|
||||
p.status {
|
||||
display: inline-block;
|
||||
@@ -747,7 +713,7 @@ div.problem {
|
||||
height: 46px;
|
||||
}
|
||||
|
||||
> .incorrect, .partially-correct, .correct, .unanswered {
|
||||
> .incorrect, .correct, .unanswered {
|
||||
|
||||
.status {
|
||||
display: inline-block;
|
||||
@@ -768,18 +734,6 @@ div.problem {
|
||||
}
|
||||
}
|
||||
|
||||
// CASE: partially correct answer
|
||||
> .partially-correct {
|
||||
|
||||
input {
|
||||
border: 2px solid $partiallycorrect;
|
||||
}
|
||||
|
||||
.status {
|
||||
@include status-icon($partiallycorrect, "\f00c");
|
||||
}
|
||||
}
|
||||
|
||||
// CASE: correct answer
|
||||
> .correct {
|
||||
|
||||
@@ -821,7 +775,7 @@ div.problem {
|
||||
.indicator-container {
|
||||
display: inline-block;
|
||||
|
||||
.status.correct:after, .status.partially-correct:after, .status.incorrect:after, .status.unanswered:after {
|
||||
.status.correct:after, .status.incorrect:after, .status.unanswered:after {
|
||||
@include margin-left(0);
|
||||
}
|
||||
}
|
||||
@@ -987,20 +941,6 @@ div.problem {
|
||||
}
|
||||
}
|
||||
|
||||
.detailed-targeted-feedback-partially-correct {
|
||||
> p:first-child {
|
||||
@extend %t-strong;
|
||||
color: $partiallycorrect;
|
||||
text-transform: uppercase;
|
||||
font-style: normal;
|
||||
font-size: 0.9em;
|
||||
}
|
||||
|
||||
p:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.detailed-targeted-feedback-correct {
|
||||
> p:first-child {
|
||||
@extend %t-strong;
|
||||
@@ -1195,14 +1135,6 @@ div.problem {
|
||||
}
|
||||
}
|
||||
|
||||
.result-partially-correct {
|
||||
background: url('../images/partially-correct-icon.png') left 20px no-repeat;
|
||||
|
||||
.result-actual-output {
|
||||
color: #090;
|
||||
}
|
||||
}
|
||||
|
||||
.result-incorrect {
|
||||
background: url('../images/incorrect-icon.png') left 20px no-repeat;
|
||||
|
||||
@@ -1408,14 +1340,6 @@ div.problem {
|
||||
}
|
||||
}
|
||||
|
||||
label.choicetextgroup_partially-correct, section.choicetextgroup_partially-correct {
|
||||
@extend label.choicegroup_partially-correct;
|
||||
|
||||
input[type="text"] {
|
||||
border-color: $partiallycorrect;
|
||||
}
|
||||
}
|
||||
|
||||
label.choicetextgroup_incorrect, section.choicetextgroup_incorrect {
|
||||
@extend label.choicegroup_incorrect;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user