jenkins-bot has submitted this change and it was merged. (
https://gerrit.wikimedia.org/r/372135 )
Change subject: Fix the colour of the text in a quiz that has a syntax error
......................................................................
Fix the colour of the text in a quiz that has a syntax error
The quiz is inheriting red color from mediawiki error class.
This patch overrides the class in quiz and fixes the color scheme
for syntax error.
Bug: T173304
Change-Id: I34c15c54192a3edf4ef5285ab9efc3ebcdbc3a45
---
M modules/ext.quiz.css
1 file changed, 5 insertions(+), 0 deletions(-)
Approvals:
jenkins-bot: Verified
Mvolz: Looks good to me, approved
diff --git a/modules/ext.quiz.css b/modules/ext.quiz.css
index 0d1d1bd..b6d5e40 100644
--- a/modules/ext.quiz.css
+++ b/modules/ext.quiz.css
@@ -50,6 +50,11 @@
background-color: #fc3;
}
+.quiz .error {
+ color: #222;
+ font-size: inherit;
+}
+
/* This should be based on content direction, not interface direction */
/* @noflip */
.mw-content-ltr .quiz .question .border {
--
To view, visit https://gerrit.wikimedia.org/r/372135
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I34c15c54192a3edf4ef5285ab9efc3ebcdbc3a45
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/Quiz
Gerrit-Branch: master
Gerrit-Owner: Harjotsingh <[email protected]>
Gerrit-Reviewer: Mvolz <[email protected]>
Gerrit-Reviewer: Reedy <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits