summaryrefslogtreecommitdiff
path: root/skins/Vector/skinStyles/mediawiki.notification.less
diff options
context:
space:
mode:
Diffstat (limited to 'skins/Vector/skinStyles/mediawiki.notification.less')
-rw-r--r--skins/Vector/skinStyles/mediawiki.notification.less14
1 files changed, 12 insertions, 2 deletions
diff --git a/skins/Vector/skinStyles/mediawiki.notification.less b/skins/Vector/skinStyles/mediawiki.notification.less
index 55cfe76c..783d1898 100644
--- a/skins/Vector/skinStyles/mediawiki.notification.less
+++ b/skins/Vector/skinStyles/mediawiki.notification.less
@@ -2,9 +2,9 @@
/* mediawiki.notification */
-// This wrapper class is needed to ensure these rules have larger CSS
+// This wrapper element is needed to ensure these rules have larger CSS
// selector specificity than default styles
-.mediawiki {
+body {
.mw-notification-area {
font-size: 0.8em;
}
@@ -21,4 +21,14 @@
border-radius: 0.75em;
box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.125);
}
+
+ .mw-notification-type-warn {
+ border-color: #f5be00; /* yellow */
+ box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.125), 0 0 0.75em rgba(245, 190, 0, 0.25) inset;
+ }
+
+ .mw-notification-type-error {
+ border-color: red;
+ box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.125), 0 0 0.75em rgba(255, 0, 0, 0.25) inset;
+ }
}