Add general messagebox (neutral) styling to shared.css
authorVolker E <volker.e@wikimedia.org>
Tue, 10 Sep 2019 23:38:46 +0000 (16:38 -0700)
committerVolker E <volker.e@wikimedia.org>
Tue, 10 Sep 2019 23:50:27 +0000 (16:50 -0700)
Bug: T232553
Change-Id: I83105bb5e30d4440284ac42d6ca6a2dc32b21704

resources/src/mediawiki.legacy/shared.css

index 3b99696..2c88bdc 100644 (file)
@@ -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;
 }