mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 10:35:48 +00:00
0e6d8d5fff
Only shown if VisualEditorEnableDiffPage is set, or query string param 'visualdiff' is present. Currently: * All VE javascript is loaded (could be cut down to just DM code) * The entire Parsoid HTML of both revisions being compared is loaded * Both Parsoid HTML docs are parsed into VE DM trees and diffed Bug: T167508 Change-Id: I151fc9bab3d3032f50c8d11be6b54e45a06fcc34
34 lines
715 B
Plaintext
34 lines
715 B
Plaintext
/*!
|
|
* VisualEditor MediaWiki Initialization DiffPage styles.
|
|
*
|
|
* @copyright 2011-2017 VisualEditor Team and others; see AUTHORS.txt
|
|
* @license The MIT License (MIT); see LICENSE.txt
|
|
*/
|
|
|
|
.ve-init-mw-diffPage-diffMode {
|
|
font-size: 12.8/14em;
|
|
text-align: right;
|
|
margin: 1em 0;
|
|
}
|
|
|
|
.ve-init-mw-diffPage-loading {
|
|
clear: both;
|
|
margin: 4em auto;
|
|
}
|
|
|
|
.ve-init-mw-diffPage-revSlider-visual {
|
|
.mw-revslider-pointer-line {
|
|
display: none !important; /* stylelint-disable-line declaration-no-important */
|
|
}
|
|
|
|
.mw-revslider-revision-old {
|
|
border-color: darken( #e88e89, 20% );
|
|
background-color: #e88e89;
|
|
}
|
|
|
|
.mw-revslider-revision-new {
|
|
border-color: darken( #7fd7c4, 20% );
|
|
background-color: #7fd7c4;
|
|
}
|
|
}
|