Commit 25ff5353 by Marco Morales

Merge pull request #9168 from edx/marco/TNL-2946/capa/styling-fixes

Capa Styling Fixes for Annotation Problems
parents d3986c88 90fcf464
...@@ -17,6 +17,7 @@ ...@@ -17,6 +17,7 @@
// * +Problem - Annotation // * +Problem - Annotation
// * +Problem - Choice Text Group // * +Problem - Choice Text Group
// * +Problem - Image Input Overrides // * +Problem - Image Input Overrides
// * +Problem - Annotation Problem Overrides
// +Variables - Capa // +Variables - Capa
// ==================== // ====================
...@@ -464,15 +465,6 @@ div.problem { ...@@ -464,15 +465,6 @@ div.problem {
background: url('../images/correct-icon.png') center center no-repeat; background: url('../images/correct-icon.png') center center no-repeat;
} }
&.partially-correct {
display: inline-block;
position: relative;
top: 6px;
width: 25px;
height: 20px;
background: url('../images/partially-correct-icon.png') center center no-repeat;
}
&.incomplete, &.ui-icon-close { &.incomplete, &.ui-icon-close {
display: inline-block; display: inline-block;
position: relative; position: relative;
...@@ -1378,10 +1370,44 @@ div.problem .imageinput.capa_inputtype { ...@@ -1378,10 +1370,44 @@ div.problem .imageinput.capa_inputtype {
width: 25px; width: 25px;
height: 20px; height: 20px;
} }
.correct { .correct {
background: url('../images/correct-icon.png') center center no-repeat; background: url('../images/correct-icon.png') center center no-repeat;
} }
.incorrect { .incorrect {
background: url('../images/incorrect-icon.png') center center no-repeat; background: url('../images/incorrect-icon.png') center center no-repeat;
} }
.partially-correct {
background: url('../images/partially-correct-icon.png') center center no-repeat;
}
} }
// +Problem - Annotation Problem Overrides
// ====================
// NOTE: temporary override until annotation problem inputs use same base html structure as other common capa input types.
div.problem .annotation-input {
.tag-status {
display: inline-block;
position: relative;
top: 3px;
width: 25px;
height: 20px;
}
.correct {
background: url('../images/correct-icon.png') center center no-repeat;
}
.incorrect {
background: url('../images/incorrect-icon.png') center center no-repeat;
}
.partially-correct {
background: url('../images/partially-correct-icon.png') center center no-repeat;
}
}
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