1 @import 'mediawiki.skin.variables.less';
3 .mw-notification-area-overlay {
9 /* Avoid horizontal scrollbar on fade in and on fade out */
14 .mw-notification-area {
17 /* Padding on all sides so drop shadows aren't cut by overflow: hidden */
25 padding: 0.75em 1.5em;
27 border: @border-width-base @border-style-base @border-color-notice;
28 background-color: @background-color-base;
29 color: @color-emphasized;
30 /* Click handler in mediawiki.notification.js */
33 transform: translateX( 35px );
34 transition: opacity 0.35s ease-in-out, transform 0.35s ease-in-out;
36 word-break: break-word;
39 .mw-notification-visible {
41 transform: translateX( 0 );
44 .mw-notification-replaced {
46 transform: translateY( -35px );
50 .mw-notification-title {
54 .mw-notification.mw-notification-type-warn {
55 background-color: @background-color-warning-subtle;
56 border-color: @border-color-warning;
59 .mw-notification.mw-notification-type-error {
60 background-color: @background-color-error-subtle;
61 border-color: @border-color-error;
64 .mw-notification.mw-notification-type-success {
65 background-color: @background-color-success-subtle;
66 border-color: @border-color-success;