From 6b70785c120ea529311841c20047838cc0f0efcb Mon Sep 17 00:00:00 2001 From: Kyle McCormick Date: Tue, 30 Jun 2015 16:03:43 -0400 Subject: [PATCH] TNL-2623 Fix bug where status icons were hidden in image response problems --- .../lib/xmodule/xmodule/css/capa/display.scss | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/common/lib/xmodule/xmodule/css/capa/display.scss b/common/lib/xmodule/xmodule/css/capa/display.scss index 02e4b45ebf..e29d186286 100644 --- a/common/lib/xmodule/xmodule/css/capa/display.scss +++ b/common/lib/xmodule/xmodule/css/capa/display.scss @@ -16,6 +16,7 @@ // * +Problem - Rubric // * +Problem - Annotation // * +Problem - Choice Text Group +// * +Problem - Image Input Overrides // +Variables - Capa // ==================== @@ -1350,3 +1351,24 @@ div.problem { } } } + +// +Problem - Image Input Overrides +// ==================== + +// NOTE: temporary override until image inputs use same base html structure as other common capa input types. +div.problem .imageinput.capa_inputtype { + + .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; + } +}