Update VE core submodule to master (a4a5afa)

New changes:
4a5aa37 Clean up debug bar buttons
15f016c Undo sequence input stripping if window is dismissed
e874734 Localisation updates from https://translatewiki.net.
8db33b4 Follow-up e874734: Fix build for added languages 'gom-latn' and 'gor'
79c5d51 build: Update stylelint config version and make it pass
3804f5e build: Remove grunt-cli
cea7b63 Update OOjs UI to v0.17.3
9f648f4 [BREAKING CHANGE] Always get registries/factories via surface
1252814 Add cloneWithData() utility
5ccdef3 [BREAKING CHANGE] Fix debug bar encapsulation

Local changes:
* Fix debug bar encapsulation

Change-Id: I2c5d722278c5f71b59ee2f8849d9babb5aff6af2
This commit is contained in:
Ed Sanders 2016-05-29 21:54:35 +01:00 committed by James D. Forrester
parent 73a1127981
commit 5581394ea3
5 changed files with 19 additions and 17 deletions

2
lib/ve

@ -1 +1 @@
Subproject commit a8d9a9eb150040f2bb955eb13c848f589290f62e
Subproject commit a4a5afa5c50a216a9d2641101d92b9ddcb7e2788

View file

@ -22,12 +22,17 @@
padding-top: 0.9921875em;
}
/* Main document debug bar */
.ve-init-mw-desktopArticleTarget > .ve-ui-debugBar {
.ve-ui-debugBar {
border-top: 1px solid #ccc;
}
/* Main document debug bar */
.ve-init-mw-target-surface > .ve-ui-debugBar {
/* 0.8/0.8 */
padding: 1em;
margin: 1em -1em -1em -1em;
padding-bottom: 0;
margin: 1em -1em 0 -1em;
font-size: 1.007874em;
}
.ve-init-mw-target-surface {

View file

@ -20,8 +20,7 @@
of content editable.
*/
/* 1/0.875 */
margin: 0 -1.14286em -1.14286em -1.14286em;
padding-bottom: 1.14286em;
margin: 0 -1.14286em;
}
.ve-deactivating .ve-init-mw-desktopArticleTarget-originalContent,
@ -67,10 +66,11 @@
}
/* Main document debug bar */
.ve-init-mw-desktopArticleTarget > .ve-ui-debugBar {
.ve-init-mw-target-surface > .ve-ui-debugBar {
/* 1/0.8 */
padding: 1.25em;
margin: 1.25em -1.25em -1.25em -1.25em;
padding-bottom: 0;
margin-top: 1.25em;
}
/* ve.ce.TableCellnode.css's margin replaced by more specific rule in Vector (div#content p) */
@ -82,8 +82,7 @@
@media screen and ( min-width: 982px ) {
.ve-init-mw-target-surface {
/* 1.5/0.875 */
margin: 0 -1.71429em -1.71429em -1.71429em;
padding-bottom: 1.71429em;
margin: 0 -1.71429em;
}
.ve-deactivating .ve-init-mw-desktopArticleTarget-originalContent,
@ -102,10 +101,11 @@
}
/* Main document debug bar */
.ve-init-mw-desktopArticleTarget > .ve-ui-debugBar {
.ve-init-mw-target-surface > .ve-ui-debugBar {
/* 1/0.8, 1.5/0.8 */
padding: 1.875em;
margin: 1.875em -1.875em -1.875em -1.875em;
padding-bottom: 0;
margin-top: 1.875em;
}
}

View file

@ -13,7 +13,8 @@
}
/* Fix font styles for overlays inside mw-body-content */
.mw-body-content .ve-ui-overlay {
.mw-body-content .ve-ui-overlay,
.mw-body-content .ve-ui-debugBar {
font-size: 0.914286em; /* 0.8/0.875 */
line-height: normal;
}

View file

@ -315,10 +315,6 @@ ve.init.mw.Target.prototype.setupSurface = function ( doc, callback ) {
// Now that the surface is attached to the document and ready,
// let it initialize itself
surface.initialize();
if ( surface.debugBar ) {
// Move debug bar to end of target if the surface is nested
target.$element.append( surface.debugBar.$element );
}
target.track( 'trace.initializeSurface.exit' );
setTimeout( callback );