[MediaWiki-commits] [Gerrit] mediawiki...Quiz[master]: Fix the colour of the text in a quiz that has a syntax error
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 Gerrit-Reviewer: Mvolz Gerrit-Reviewer: Reedy Gerrit-Reviewer: jenkins-bot <> ___ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
[MediaWiki-commits] [Gerrit] mediawiki...Quiz[master]: Fix the colour of the text in a quiz that has a syntax error
Harjotsingh has uploaded a new change for review. ( 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(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Quiz refs/changes/35/372135/1 diff --git a/modules/ext.quiz.css b/modules/ext.quiz.css index 0d1d1bd..7b35f3b 100644 --- a/modules/ext.quiz.css +++ b/modules/ext.quiz.css @@ -50,6 +50,11 @@ background-color: #fc3; } +.quiz .error { + color: #22; + 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: newchange Gerrit-Change-Id: I34c15c54192a3edf4ef5285ab9efc3ebcdbc3a45 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/Quiz Gerrit-Branch: master Gerrit-Owner: Harjotsingh ___ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits