mediawiki-extensions-Cite/modules/ve-cite/ve.ce.MWReferenceNode.css
Ed Sanders 2f3fc5594d Render placeholder citation as […] to show it isn't finished
Bug: T220502
Change-Id: I11f2aea22d9b9c83d7a642e86e0c2f4c2fb3a430
2019-04-23 14:34:43 +00:00

29 lines
759 B
CSS

/*!
* VisualEditor ContentEditable MediaWiki MWReferenceNode styles.
*
* @copyright 2011-2018 VisualEditor Team's Cite sub-team and others; see AUTHORS.txt
* @license MIT
*/
/* HACK: Hide Ref errors in templates */
.mw-ext-cite-error {
display: none;
}
/* In IE, force hasLayout so the <sup>'s box gets measured correctly */
.ve-init-target-ie .ve-ce-mwReferenceNode {
display: inline-block;
}
/* Use zero font size to hide the default rendering, rather than display:none, to
* work around T123608 (cursoring bug in Chromium). See that bug for a discussion
* of the effect this has on bidi text. */
.ve-ce-mwReferenceNode span.mw-reflink-text {
font-size: 0;
display: inline;
}
.ve-ce-mwReferenceNode-placeholder a:after {
content: '[…]';
}