mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-12-21 02:52:42 +00:00
ec88bde672
IE is no longer supported Change-Id: I27901e87301a4ce0993f789913c83d151f264562
28 lines
831 B
Plaintext
28 lines
831 B
Plaintext
/*!
|
|
* VisualEditor ContentEditable MediaWiki MWReferenceNode styles.
|
|
*
|
|
* @copyright 2011-2018 VisualEditor Team's Cite sub-team and others; see AUTHORS.txt
|
|
* @license MIT
|
|
*/
|
|
|
|
.ve-ce-mwReferenceNode {
|
|
/* Use transparency to hide the default rendering, rather than display:none.
|
|
* This allows the browser to paint the native selection background over it.
|
|
*
|
|
* The real content is displayed using the :after pseudo-element, but browsers
|
|
* do not allow them to be selected, which makes for a poor editing experience.
|
|
*
|
|
* Previously this was also required to work around a cursoring bug in Chromium
|
|
* (T123608), but as of 2020 that bug seems to be fixed in the browser.
|
|
*/
|
|
span.mw-reflink-text {
|
|
color: transparent;
|
|
position: absolute;
|
|
display: inline;
|
|
}
|
|
|
|
&-placeholder a::after {
|
|
content: '[…]';
|
|
}
|
|
}
|