mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-17 19:31:51 +00:00
91f99ce78d
The good thing is that every time our CSS overrides get less crazy.
See 75ff121b29
for the last time.
Change-Id: I9d81aff6a24ec28850563e00206e21c4a6593d2e
31 lines
734 B
CSS
31 lines
734 B
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;
|
|
/* 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;
|
|
}
|