Ori.livneh has submitted this change and it was merged.

Change subject: Move post-edit font-family rule to Vector-specific selector
......................................................................


Move post-edit font-family rule to Vector-specific selector

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
---
M resources/mediawiki.action/mediawiki.action.view.postEdit.css
1 file changed, 4 insertions(+), 1 deletion(-)

Approvals:
  Krinkle: Looks good to me, approved
  Ori.livneh: Verified; Looks good to me, approved
  Mattflaschen: Looks good to me, approved



diff --git a/resources/mediawiki.action/mediawiki.action.view.postEdit.css 
b/resources/mediawiki.action/mediawiki.action.view.postEdit.css
index 1e531bf..d693d80 100644
--- a/resources/mediawiki.action/mediawiki.action.view.postEdit.css
+++ b/resources/mediawiki.action/mediawiki.action.view.postEdit.css
@@ -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;
@@ -34,6 +33,10 @@
        transition: all 0.25s ease-in-out;
 }
 
+.skin-vector .postedit {
+       font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
+}
+
 .skin-monobook .postedit {
        top: 3em !important;
 }

-- 
To view, visit https://gerrit.wikimedia.org/r/67168
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I6dd0d0aa5fc6f4773529bec416a7ab35606a1bbc
Gerrit-PatchSet: 3
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Kaldari <[email protected]>
Gerrit-Reviewer: Krinkle <[email protected]>
Gerrit-Reviewer: MZMcBride <[email protected]>
Gerrit-Reviewer: Matmarex <[email protected]>
Gerrit-Reviewer: Mattflaschen <[email protected]>
Gerrit-Reviewer: Ori.livneh <[email protected]>
Gerrit-Reviewer: Spage <[email protected]>
Gerrit-Reviewer: Swalling <[email protected]>
Gerrit-Reviewer: jenkins-bot

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to