From f025d40dc01e1987958d353cd98bc62a4115d63f Mon Sep 17 00:00:00 2001 From: Ed Sanders Date: Mon, 10 Apr 2017 16:22:37 +0100 Subject: [PATCH] Match mediawiki.notification styles to OOUI dialogs Bug: T58313 Change-Id: I12f22a50046de4a4ce0a0c06d8a245eeb6d71005 --- main.css | 5 ----- skin.json | 3 ++- skinStyles/mediawiki.notification.less | 7 +++++++ 3 files changed, 9 insertions(+), 6 deletions(-) create mode 100644 skinStyles/mediawiki.notification.less diff --git a/main.css b/main.css index 2c6fd60..0b68bc1 100644 --- a/main.css +++ b/main.css @@ -706,8 +706,3 @@ div.mw-lag-warn-high { .tipsy { font-size: 127%; } - -/* mediawiki.notification */ -.skin-monobook .mw-notification { - box-shadow: 0 2px 5px 0 rgba( 0, 0, 0, 0.125 ); -} diff --git a/skin.json b/skin.json index 7b39627..878d0ee 100644 --- a/skin.json +++ b/skin.json @@ -39,7 +39,8 @@ }, "ResourceModuleSkinStyles": { "monobook": { - "+mediawiki.special.preferences.styles": "skinStyles/mediawiki.special.preferences.styles.less" + "+mediawiki.special.preferences.styles": "skinStyles/mediawiki.special.preferences.styles.less", + "+mediawiki.notification": "skinStyles/mediawiki.notification.less" } }, "AutoloadClasses": { diff --git a/skinStyles/mediawiki.notification.less b/skinStyles/mediawiki.notification.less new file mode 100644 index 0000000..f548de0 --- /dev/null +++ b/skinStyles/mediawiki.notification.less @@ -0,0 +1,7 @@ +/* mediawiki.notification */ + +.mw-notification { + border: 1px solid #ccc; + border-radius: 0.5em; + box-shadow: 0 0.2em 1em rgba( 0, 0, 0, 0.3 ); +}