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
}
.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;
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;
}