Problem with background color of feedback text for quiz inside table.
Closed, ResolvedPublic

Description

This has been reported over here.The problem doesn't seem to be clearly reported.

According to the statement the background color of feedback of question isn't defined as grey but when having a quiz within a table with defined background color the feedback has grey background.

The following code produces a table with defined background color having feedback.

{| class="wikitable" style="color:green; background-color:#ffffcc;" cellpadding="10"
|Quiz
|<quiz display="simple">
{Question
|type="()"}
+ The correct answer.
|| Feedback for correct answer.
- Distractor.
|| Feedback for distractor.
- Distractor.
|| Feedback for distractor.
- Distractor.
|| Feedback for distractor. 
</quiz>
|}

Screenshot of feedback inside table with defined background -

I noticed that the CSS for making background of correction inside table transparent is present in modules/ext.quiz.css but gets overridden

.quiz table.correction {
        background-color: transparent;
}
Harjotsingh updated the task description. (Show Details)May 15 2017, 8:32 PM

(Removing GSoC / Outreach-Programs-Projects project tags as this is not a project proposal)

Change 356110 had a related patch set uploaded (by Harjotsingh; owner: Harjotsingh):
[mediawiki/extensions/Quiz@master] Transparent Background for feedback of quiz inside table

https://gerrit.wikimedia.org/r/356110

Change 356110 merged by jenkins-bot:
[mediawiki/extensions/Quiz@master] Transparent Background for feedback of quiz inside table

https://gerrit.wikimedia.org/r/356110