From e15e45b38670952f63c309eccd89703e917e9761 Mon Sep 17 00:00:00 2001 From: Volker E Date: Tue, 10 Sep 2019 16:38:46 -0700 Subject: [PATCH] Add general messagebox (neutral) styling to shared.css Bug: T232553 Change-Id: I83105bb5e30d4440284ac42d6ca6a2dc32b21704 --- resources/src/mediawiki.legacy/shared.css | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/resources/src/mediawiki.legacy/shared.css b/resources/src/mediawiki.legacy/shared.css index 3b99696e9f..2c88bdc7cd 100644 --- a/resources/src/mediawiki.legacy/shared.css +++ b/resources/src/mediawiki.legacy/shared.css @@ -354,7 +354,7 @@ a.new { font-weight: bold; } -/* Error, warning and success messages */ +/* Error, warning, success and neutral messages */ .error, .warning, .success { @@ -373,41 +373,46 @@ a.new { color: #14866d; } +.messagebox, .errorbox, .warningbox, .successbox { + color: #000; + display: inline-block; + margin-bottom: 1em; border: 1px solid; padding: 0.5em 1em; - margin-bottom: 1em; - display: inline-block; } +.messagebox h2, .errorbox h2, .warningbox h2, .successbox h2 { color: inherit; - font-size: 1em; - font-weight: bold; display: inline; margin: 0 0.5em 0 0; border: 0; + font-size: 1em; + font-weight: bold; +} + +.messagebox { + background-color: #eaecf0; + border-color: #a2a9b1; } .errorbox { background-color: #fee7e6; - color: #000; border-color: #d33; } .warningbox { background-color: #fef6e7; - color: #000; border-color: #fc3; } .successbox { background-color: #d5fdf4; - color: #000; border-color: #14866d; } -- 2.20.1