X-Git-Url: https://git.cyclocoop.org/%242?a=blobdiff_plain;f=resources%2Fsrc%2Fmediawiki%2Fmediawiki.notification.css;h=a56be760861476abac69094159c213d649c7514e;hb=4bdbe49c9f5af46e65d340b3b6fa3e74566d8728;hp=147de92f7ec297a9a34941e9c1e4f7db668f8dbf;hpb=4bd688c4427988a110ed617c84f22ca000377a2d;p=lhc%2Fweb%2Fwiklou.git diff --git a/resources/src/mediawiki/mediawiki.notification.css b/resources/src/mediawiki/mediawiki.notification.css index 147de92f7e..a56be76086 100644 --- a/resources/src/mediawiki/mediawiki.notification.css +++ b/resources/src/mediawiki/mediawiki.notification.css @@ -1,7 +1,8 @@ .mw-notification-area { top: 0; right: 0; - padding: 1em 1em 0 0; + /* Padding on all sides so drop shadows aren't cut by overflow: hidden */ + padding: 1em; width: 20em; line-height: 1.35; z-index: 10000; @@ -10,10 +11,10 @@ } .mw-notification { - padding: 0.25em 1em; + padding: 0.75em 1.5em; margin-bottom: 0.5em; border: solid 1px #ddd; - background-color: #fcfcfc; + background-color: #fff; /* Click handler in mediawiki.notification.js */ cursor: pointer; @@ -41,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; }