2018-10-26 21:45:42 +00:00
|
|
|
/*!
|
|
|
|
* VisualEditor MediaWiki DesktopArticleTarget Minerva skin init styles.
|
|
|
|
*
|
2019-01-01 13:24:23 +00:00
|
|
|
* @copyright 2011-2019 VisualEditor Team and others; see AUTHORS.txt
|
2018-10-26 21:45:42 +00:00
|
|
|
* @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 */
|
2019-01-13 00:21:33 +00:00
|
|
|
|
|
|
|
/* stylelint-disable-next-line selector-class-pattern */
|
2018-10-26 21:45:42 +00:00
|
|
|
.content .mw-parser-output > * > span.mw-editsection {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
2019-01-13 00:21:33 +00:00
|
|
|
/* stylelint-disable-next-line selector-class-pattern */
|
2018-10-26 21:45:42 +00:00
|
|
|
.content .mw-parser-output > * > span.mw-editsection .ve-edit-visual {
|
|
|
|
order: 2;
|
|
|
|
}
|