mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-12-05 03:08:37 +00:00
2c77e88d2c
Change-Id: I30539877543dc2a57bd1428a00d10ac46d8fc294
31 lines
734 B
CSS
31 lines
734 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;
|
|
/* Center within the parent element (pencil icon) */
|
|
left: 50%;
|
|
top: 50%;
|
|
margin-left: -12px;
|
|
margin-top: -12px;
|
|
/* 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;
|
|
}
|