mediawiki-extensions-Visual.../modules/ve-mw/init/styles/ve.init.mw.DesktopArticleTarget.init-minerva.css
James D. Forrester 3c293ea00c doc: Bump copyright year for 2019
Change-Id: I8991b97c980d4149f53eb5601036220ef3c0c440
2019-01-01 13:24:23 +00:00

49 lines
1.1 KiB
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.5em;
bottom: 0;
transform-origin: bottom right;
}
.ve-edit-source .mw-ui-icon:before,
.ve-edit-visual .mw-ui-icon:before {
/* Override weird styles from MW-UI */
margin-right: 0;
}
/* Silly selector for high specificity to override Minerva styles */
#page-actions li#ca-edit {
margin-right: 0;
}
#page-actions li#ca-edit:first-child,
#page-actions li#ca-ve-edit:first-child {
margin-right: -0.5em;
}
.mw-editsection-divider {
display: none;
}
/* Swap the order to visually match the order in the actions menu */
/* Silly selector for high specificity to override Minerva styles */
.content .mw-parser-output > * > span.mw-editsection {
display: flex;
}
.content .mw-parser-output > * > span.mw-editsection .ve-edit-visual {
order: 2;
}