mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-16 02:51:50 +00:00
1dc933bead
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
27 lines
920 B
CSS
27 lines
920 B
CSS
/*!
|
|
* VisualEditor MediaWiki Initialization desktop target Monobook 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-global {
|
|
/* Enforce different font-size for all UI elements of VisualEditor. The difference is tiny, but
|
|
enough to make the icon containers 23.813px rather than 24px and thus the icons blurry */
|
|
font-size: 1.00787401575em; /* 0.8em / x-small / 127% */
|
|
}
|
|
|
|
/* Global overlay is outside the #globalWrapper so apply the 127% font size fix */
|
|
.ve-ui-overlay-global {
|
|
font-size: 1.28em; /* 0.8em / x-small */
|
|
}
|
|
|
|
.mw-body a.external.ve-ce-linkAnnotation-active {
|
|
/* Reset -2px from VE-core */
|
|
margin-right: 0;
|
|
/* Monobook sets a background:url(); rule which overrides the colour. TODO: Fix upstream */
|
|
background-color: #e6f1ff;
|
|
}
|