Match mediawiki.notification styles to OOUI dialogs

Reduces border radius and uses grey border.

Bug: T58313
Change-Id: Ia284f1ac99f06c8ec4f7032cd2366687ecb70e19
This commit is contained in:
Ed Sanders 2017-04-10 13:22:04 +01:00 committed by Esanders
parent a1fbc27f60
commit e5eaa3e99d
1 changed files with 5 additions and 8 deletions

View File

@ -1,4 +1,4 @@
@import '../variables';
@import 'mediawiki.ui/variables';
/* mediawiki.notification */
@ -12,19 +12,16 @@
.mw-notification {
background-color: #fff;
background-color: rgba( 255, 255, 255, 0.93 );
padding: 0.75em 1.5em;
border: solid 1px @content-border-color;
border-radius: 0.75em;
box-shadow: 0 2px 10px 0 rgba( 0, 0, 0, 0.125 );
border: 1px solid @colorFieldBorder;
border-radius: 2px;
box-shadow: 0 2px 2px 0 rgba( 0, 0, 0, 0.25 );
}
.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: #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;
border-color: #d33; /* red */
}