mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 02:23:58 +00:00
4fc02cea6a
In the case the node is empty and we need an icon, use a separate icon element that is detached and reattached as needed. Change-Id: I5bcbe531cb1db1a4ac25ed4a2f462dde08513b7b
25 lines
617 B
CSS
25 lines
617 B
CSS
/*!
|
|
* VisualEditor ContentEditable MediaWiki MWTransclusionNode styles.
|
|
*
|
|
* @copyright 2011-2015 VisualEditor Team and others; see AUTHORS.txt
|
|
* @license The MIT License (MIT); see LICENSE.txt
|
|
*/
|
|
|
|
.ve-ce-mwTransclusionNode.oo-ui-iconElement {
|
|
display: inline-block;
|
|
vertical-align: middle;
|
|
padding: 0.2em;
|
|
margin: -0.25em 0.15em 0 0.15em;
|
|
}
|
|
|
|
.ve-ce-mwTransclusionNode.oo-ui-iconElement .oo-ui-iconElement-icon {
|
|
display: inline-block;
|
|
vertical-align: middle;
|
|
width: 1.25em;
|
|
height: 1.25em;
|
|
background-repeat: no-repeat;
|
|
background-position: center center;
|
|
background-size: 24px 24px;
|
|
opacity: 0.5;
|
|
}
|