mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-16 19:09:29 +00:00
a0c603a137
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
29 lines
687 B
CSS
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;
|
|
}
|