mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-30 00:55:00 +00:00
75ff121b29
I think mostly the incompatible changes were made in commit I5a7d73b20617cb3c6d6379084ac4bea23ec3bc74, but I didn't try to track them down. Also fix an issue where hrefs in section edit links generated by this code were wrong. Bug: T208102 Change-Id: Ibf6564bc0dcb7fcb420739a897b54346a01add02
42 lines
886 B
CSS
42 lines
886 B
CSS
/*!
|
|
* VisualEditor MediaWiki DesktopArticleTarget Minerva skin init styles.
|
|
*
|
|
* @copyright 2011-2019 VisualEditor Team and others; see AUTHORS.txt
|
|
* @license The MIT License (MIT); see LICENSE.txt
|
|
*/
|
|
|
|
/* stylelint-disable selector-max-id */
|
|
|
|
.ve-edit-source .mw-ui-icon,
|
|
.ve-edit-visual .mw-ui-icon {
|
|
position: absolute;
|
|
opacity: 0.65;
|
|
transform: scale( 0.6 );
|
|
right: 0;
|
|
bottom: 0;
|
|
transform-origin: bottom right;
|
|
}
|
|
|
|
.ve-edit-source .mw-ui-icon:before,
|
|
.ve-edit-source.mw-ui-icon:before,
|
|
.ve-edit-visual .mw-ui-icon:before,
|
|
.ve-edit-visual.mw-ui-icon:before {
|
|
/* Override weird styles from MW-UI */
|
|
margin-right: 0;
|
|
background-size: contain;
|
|
}
|
|
|
|
.mw-editsection-divider {
|
|
display: none;
|
|
}
|
|
|
|
.mw-editsection .ve-edit-source,
|
|
.mw-editsection .ve-edit-visual {
|
|
display: inline-block;
|
|
}
|
|
|
|
#page-actions .ve-edit-source,
|
|
#page-actions .ve-edit-visual {
|
|
padding-right: 0.5em;
|
|
}
|