Esanders has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/190461

Change subject: Add vector specific rules for slug animation
......................................................................

Add vector specific rules for slug animation

Depends on I3683d0f70 in core.

Change-Id: I812f6f8afc8733aae245f3606302f032e5e54675
---
M VisualEditor.php
M modules/ve-mw/init/styles/ve.init.mw.ViewPageTarget-vector.css
2 files changed, 10 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/VisualEditor 
refs/changes/61/190461/1

diff --git a/VisualEditor.php b/VisualEditor.php
index 186ad60..5269d9c 100644
--- a/VisualEditor.php
+++ b/VisualEditor.php
@@ -731,6 +731,7 @@
                        'visualeditor-shortcuts-history',
                        'visualeditor-shortcuts-other',
                        'visualeditor-shortcuts-text-style',
+                       'visualeditor-slug-insert',
                        'visualeditor-specialcharacter-button-tooltip',
                        'visualeditor-specialcharacterinspector-title',
                        
'visualeditor-specialcharinspector-characterlist-insert',
diff --git a/modules/ve-mw/init/styles/ve.init.mw.ViewPageTarget-vector.css 
b/modules/ve-mw/init/styles/ve.init.mw.ViewPageTarget-vector.css
index 1cdc569..338de16 100644
--- a/modules/ve-mw/init/styles/ve.init.mw.ViewPageTarget-vector.css
+++ b/modules/ve-mw/init/styles/ve.init.mw.ViewPageTarget-vector.css
@@ -66,6 +66,15 @@
 }
 /*csslint ids:true */
 
+/* Slug animation needs more specific rules and skin-specific target margins */
+.mw-body p.ve-ce-branchNode-newSlug {
+       margin: -0.3em 0 -0.1em 0;
+}
+
+.mw-body p.ve-ce-branchNode-newSlug-open {
+       margin: 0.5em 0;
+}
+
 /* High-definition-specific styles (because Vector adds 1em to the leftNav if 
width is 982px+ */
 @media screen and (min-width: 982px) {
        .ve-init-mw-viewPageTarget-surface {

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I812f6f8afc8733aae245f3606302f032e5e54675
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/VisualEditor
Gerrit-Branch: master
Gerrit-Owner: Esanders <esand...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to