From: Ed Sanders Date: Wed, 29 Nov 2017 15:53:11 +0000 (+0000) Subject: mw.notifiction: Bring in some rules from Vector X-Git-Tag: 1.31.0-rc.0~1365^2 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/pie.php?a=commitdiff_plain;h=4bdbe49c9f5af46e65d340b3b6fa3e74566d8728;p=lhc%2Fweb%2Fwiklou.git mw.notifiction: Bring in some rules from Vector The larger padding makes sense as a default. Also increase the specificity of the error/warn rules so they are overridden by changes to the default state. Change-Id: I157e41631c4a09842b869215b0d6dbb99c1a4d36 --- diff --git a/resources/src/mediawiki/mediawiki.notification.css b/resources/src/mediawiki/mediawiki.notification.css index 481980fc7b..a56be76086 100644 --- a/resources/src/mediawiki/mediawiki.notification.css +++ b/resources/src/mediawiki/mediawiki.notification.css @@ -11,11 +11,10 @@ } .mw-notification { - padding: 0.25em 1em; + padding: 0.75em 1.5em; margin-bottom: 0.5em; border: solid 1px #ddd; - background-color: #fcfcfc; - color: #252525; + background-color: #fff; /* Click handler in mediawiki.notification.js */ cursor: pointer; @@ -43,12 +42,12 @@ font-weight: bold; } -.mw-notification-type-warn { +.mw-notification.mw-notification-type-warn { border-color: #f5be00; /* yellow */ background-color: #ffffe8; } -.mw-notification-type-error { +.mw-notification.mw-notification-type-error { border-color: #eb3941; /* red */ background-color: #fff8f8; }