Move post-edit font-family rule to Vector-specific selector
authorkaldari <kaldari@gmail.com>
Wed, 5 Jun 2013 22:24:03 +0000 (15:24 -0700)
committerOri.livneh <ori@wikimedia.org>
Sun, 9 Jun 2013 00:09:08 +0000 (00:09 +0000)
The post-edit confirmation message is rendered in the same font-family
across skins due to the font-family rule not being scoped to Vector. This
change moves the font-family rule to a Vector-specific selector, making
the font-family in other skins the inherited one.

Change-Id: I6dd0d0aa5fc6f4773529bec416a7ab35606a1bbc

resources/mediawiki.action/mediawiki.action.view.postEdit.css

index 1e531bf..d693d80 100644 (file)
@@ -12,7 +12,6 @@
        top: 0.6em;
        left: -50%;
        padding: .6em 3.6em .6em 1.1em;
-       font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
        font-size: 0.8em;
        line-height: 1.5625em;
        color: #626465;
        transition: all 0.25s ease-in-out;
 }
 
+.skin-vector .postedit {
+       font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
+}
+
 .skin-monobook .postedit {
        top: 3em !important;
 }