mediawiki-extensions-Visual.../modules/ve-mw/ce/styles/nodes/ve.ce.MWTransclusionNode.css
Moriel Schottlender 4fc02cea6a Use a detached icon in transclusion node
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
2015-03-09 12:05:32 -07:00

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;
}