From 4bdbe49c9f5af46e65d340b3b6fa3e74566d8728 Mon Sep 17 00:00:00 2001 From: Ed Sanders Date: Wed, 29 Nov 2017 15:53:11 +0000 Subject: [PATCH] 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 --- resources/src/mediawiki/mediawiki.notification.css | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) 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; } -- 2.20.1