From: Volker E Date: Tue, 10 Sep 2019 23:38:46 +0000 (-0700) Subject: Add general messagebox (neutral) styling to shared.css X-Git-Tag: 1.34.0-rc.0~187^2~1 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/modifier.php?a=commitdiff_plain;h=e15e45b38670952f63c309eccd89703e917e9761;p=lhc%2Fweb%2Fwiklou.git Add general messagebox (neutral) styling to shared.css Bug: T232553 Change-Id: I83105bb5e30d4440284ac42d6ca6a2dc32b21704 --- 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; }