mediawiki-extensions-Visual.../modules/ve-mw/preinit/styles/ve.init.mw.DesktopArticleTarget.init-minerva.css
Bartosz Dziewoński a0c603a137 ve.init.mw.DesktopArticleTarget.init: Update for Minerva changes yet again
This continues to take more effort than all other skins combined, but
still every time our overrides get less crazy. Maybe, and stay with me
here, maybe a year and five patches from now I'll remove the last one.
See 91f99ce78d for the last time.

Change-Id: Id880d1cd1ecef59635b347102dc2107204382fb2
2020-02-15 16:40:57 +01:00

29 lines
687 B
CSS

/*!
* VisualEditor MediaWiki DesktopArticleTarget Minerva skin init styles.
*
* @copyright 2011-2020 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;
/* Align with pencil icon in the parent element */
left: 0;
top: 0;
/* Position relative to the center, easier this way because dimensions differ */
transform: scale( 0.6 ) translate( 12px, 12px );
}
.mw-editsection-divider {
display: none;
}
.mw-editsection .ve-edit-source,
.mw-editsection .ve-edit-visual {
display: inline-block;
}