mediawiki-extensions-Visual.../modules/ve-mw/init/styles/ve.init.mw.DiffPage.less
Ed Sanders 0e6d8d5fff Show visual diffs on DiffPage
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
2017-06-16 19:29:19 +01:00

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;
}
}