mediawiki-extensions-Visual.../modules/ve-mw/init/styles/ve.init.mw.DesktopTarget-vector.css
Ed Sanders 1dc933bead Genericise target initialisation across namespaces
Define $editableContent on target construction, and mark
all non-ancestor nodes between that at the target container
as uneditable (50% opacity, no pointer events).

Bug: T58289
Change-Id: I7fe51104bd5aa1bd53ffc604e5f02752c7553578
2016-05-25 12:50:36 +01:00

34 lines
848 B
CSS

/*!
* VisualEditor MediaWiki Initialization desktop target Vector skin styles.
*
* @copyright 2011-2016 VisualEditor Team and others; see AUTHORS.txt
* @license The MIT License (MIT); see LICENSE.txt
*/
.ve-init-mw-desktopArticleTarget-toolbar,
.ve-ui-debugBar,
.ve-ui-overlay {
/* Enforce different font-size for all UI elements of VisualEditor */
font-size: 0.8em;
}
/* Fix font styles for overlays inside mw-body-content */
.mw-body-content .ve-ui-overlay {
font-size: 0.914286em; /* 0.8/0.875 */
line-height: normal;
}
/* 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;
}
.mw-body .external.ve-ce-linkAnnotation-active {
/* Reset -2px from VE-core */
margin-right: 0;
}