Fix the colour of the text in a quiz that has a syntax error
Closed, ResolvedPublic

Description

In quizzes that have a syntax error, the text of the quiz question and answers is larger and red. The red used is the same colour as red links, which is visually confusing.

We should either:

Make this text black; it is already highlighted in the syntax error colour, so I don't think there's that much added utility to also making the text red.

Or, we could make it another colour, maybe yellow30, i.e. https://wikimedia.github.io/WikimediaUI-Style-Guide/visual-style_colors.html

Mvolz created this task.Aug 14 2017, 12:33 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptAug 14 2017, 12:33 PM
Restricted Application added a subscriber: TerraCodes. · View Herald TranscriptAug 14 2017, 12:33 PM
Mvolz triaged this task as Normal priority.Aug 14 2017, 12:34 PM
Harjotsingh added a subscriber: Harjotsingh.

This issue arises due to naming of the class in change https://gerrit.wikimedia.org/r/#/c/362793/ for bug T146370.

error is already a predefined class that is used by mediawiki and has the color property.

We can either change the class name or we can override the error class for quiz using .quiz .error

Change 372135 had a related patch set uploaded (by Harjotsingh; owner: Harjotsingh):
[mediawiki/extensions/Quiz@master] Fix the colour of the text in a quiz that has a syntax error

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

Change 372135 merged by jenkins-bot:
[mediawiki/extensions/Quiz@master] Fix the colour of the text in a quiz that has a syntax error

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

Mvolz closed this task as Resolved.Aug 24 2017, 9:09 AM
Mvolz removed a project: Patch-For-Review.