2016-11-29 16:39:15 +00:00
|
|
|
@import '../variables';
|
2014-08-07 11:38:34 +00:00
|
|
|
|
|
|
|
/* mediawiki.notification */
|
|
|
|
|
2015-08-04 17:19:56 +00:00
|
|
|
// This wrapper element is needed to ensure these rules have larger CSS
|
2014-08-07 11:38:34 +00:00
|
|
|
// selector specificity than default styles
|
2015-08-04 17:19:56 +00:00
|
|
|
body {
|
2014-08-07 11:38:34 +00:00
|
|
|
.mw-notification-area {
|
|
|
|
font-size: 0.8em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mw-notification-area-layout {
|
|
|
|
top: 7em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mw-notification {
|
|
|
|
background-color: #fff;
|
2016-11-29 16:39:15 +00:00
|
|
|
background-color: rgba( 255, 255, 255, 0.93 );
|
2014-08-07 11:38:34 +00:00
|
|
|
padding: 0.75em 1.5em;
|
|
|
|
border: solid 1px @content-border-color;
|
|
|
|
border-radius: 0.75em;
|
2016-11-29 16:39:15 +00:00
|
|
|
box-shadow: 0 2px 10px 0 rgba( 0, 0, 0, 0.125 );
|
2014-08-07 11:38:34 +00:00
|
|
|
}
|
2015-08-04 16:12:39 +00:00
|
|
|
|
|
|
|
.mw-notification-type-warn {
|
|
|
|
border-color: #f5be00; /* yellow */
|
2016-11-29 16:39:15 +00:00
|
|
|
box-shadow: 0 2px 10px 0 rgba( 0, 0, 0, 0.125 ), 0 0 0.75em rgba( 245, 190, 0, 0.25 ) inset;
|
2015-08-04 16:12:39 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.mw-notification-type-error {
|
2016-11-29 16:39:15 +00:00
|
|
|
border-color: #f00; /* red */
|
|
|
|
box-shadow: 0 2px 10px 0 rgba( 0, 0, 0, 0.125 ), 0 0 0.75em rgba( 255, 0, 0, 0.25 ) inset;
|
2015-08-04 16:12:39 +00:00
|
|
|
}
|
2014-08-07 11:38:34 +00:00
|
|
|
}
|