From 3be12d5cdbc78d7bc88fdb13093e154493b7e6fe Mon Sep 17 00:00:00 2001 From: Daniel Friesen Date: Mon, 12 May 2014 17:57:56 -0700 Subject: [PATCH] Vector: Use .mediawiki instead of .skin-vector in notification styles What was I thinking when I did this in I2b3d9cbc? The extra class is present as mediawiki.notification's css is loaded later thus overriding the skin's css. However using .skin-vector for that purpose breaks Vector derived skins since they don't have it. The .mediawiki class is always present so it should be an acceptable weight. Change-Id: Ica2a3d3a2ef25aabb38fac36e9eaf142c8bbd388 --- skins/Vector/components/notifications.less | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/skins/Vector/components/notifications.less b/skins/Vector/components/notifications.less index 05a1e613b8..5bb6f1a3a1 100644 --- a/skins/Vector/components/notifications.less +++ b/skins/Vector/components/notifications.less @@ -1,5 +1,8 @@ /* mediawiki.notification */ -.skin-vector { + +// This wrapper class is needed to ensure these rules have larger CSS +// selector specificity than default styles +.mediawiki { .mw-notification-area { font-size: 0.8em; } -- 2.20.1