mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 10:35:48 +00:00
310601ef47
Remove ProtectedNode mixins for new FocusableNode.
New changes:
e1b0e33
[BREAKING CHANGE] Merge ProtectedNode into FocusableNode
Change-Id: Ie515704163c24317739fd34d35094b9ada6bfa66
23 lines
636 B
CSS
23 lines
636 B
CSS
/*!
|
|
* VisualEditor ContentEditable MediaWiki MWBlockImageNode styles.
|
|
*
|
|
* @copyright 2011-2014 VisualEditor Team and others; see AUTHORS.txt
|
|
* @license The MIT License (MIT); see LICENSE.txt
|
|
*/
|
|
/*csslint regex-selectors:false, overqualified-elements:false */
|
|
|
|
/* Hide outer shield for centered images */
|
|
figure[typeof~='mw:Image'].mw-halign-center + .ve-ce-focusableNode-shield {
|
|
display: none;
|
|
}
|
|
|
|
/* Override border on shields for images */
|
|
.ve-ce-mwBlockImageNode .ve-ce-focusableNode-shield {
|
|
border: none;
|
|
}
|
|
|
|
/* Override paragraph margins inside of captions */
|
|
.ve-ce-mwBlockImageNode figcaption p {
|
|
margin: 0 !important;
|
|
}
|