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
This commit is contained in:
Daniel Friesen 2014-05-12 17:57:56 -07:00 committed by Bartosz Dziewoński
parent 8d1eec5020
commit 3be12d5cdb

View file

@ -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;
}