mediawiki-extensions-Visual.../modules/ve-mw/ce/styles/ve.ce.Node.css
Ed Sanders 0d30e1e77d MWMath cleanup
VisualEditor.php
* Add CSS file

ve.ce.MWMathNode.js
* Wrap the image in a span, so GenerateContentNode doesn't
  try to nest an image inside an image
* Remove unnecessary attribute setting
* Only pass unwrapped image to deferred.resolve
* Retrigger MathJax rendering

ve.ce.Node.css
* Use inline-block for image wrapper

ve.dm.MWMathNode.js
* Mixin GeneratedContentNode and implement getHash
* Copy over functionality of MWTransclusionNode:
  + Just store data-mw for attributes
  + Store orignal(DomElement|MW|Index) for selser

ve.init.mw.ViewPageTarget.js
* Add mwMath to the toolbar

ve.ui.MWMathInspector.js
* Remove static.InputWidget, not required in this architecture
* Use multiline TextInputWidget
* Only update mw attribute
* Allow creation of new math nodes

ve.ui.MWInspector.css
* Set height of TextInputWidget

Change-Id: I520f8ccc9f89a2ce70aa1d9e02ed0c6cacbecc2f
2013-07-30 23:47:37 +01:00

56 lines
1.1 KiB
CSS

/*!
* VisualEditor ContentEditable MediaWiki Node styles.
*
* @copyright 2011-2013 VisualEditor Team and others; see AUTHORS.txt
* @license The MIT License (MIT); see LICENSE.txt
*/
/* ve.ce.MWTransclusionNode */
.ve-ce-mwTransclusionInlineNode {
display: inline-block;
}
/* HACK: Hide Ref errors in templates */
.ve-ce-mwTransclusionNode strong.error,
.ve-ce-mwTransclusionNode span.error,
.ve-ce-mwTransclusionNode p.error,
.ve-ce-mwTransclusionNode div.error {
display: none;
}
/* HACK: Fake superscript style for references generated as spans in templates */
.ve-ce-mwTransclusionNode span.reference {
vertical-align: super;
font-size: smaller;
}
/* ve.ce.MWReferenceListNode */
.ve-ce-mwReferenceListNode .ve-ce-generated-wrapper {
display: inline-block;
}
.ve-ce-mwReferenceListNode-muted {
font-style: italic;
color: #777;
}
/* ve-ce-mwReferenceNode */
.ve-ce-mwReferenceNode-missingref {
cursor: not-allowed;
}
/* ve.ce.MWInlineImageNode */
.ve-ce-mwInlineImageNode {
display: inline-block;
}
/* ve.ce.MWMathNode */
.ve-ce-mwMathNode {
display: inline-block;
}