mediawiki.action.history.diff: Rework print styles
authorBartosz Dziewoński <matma.rex@gmail.com>
Tue, 18 Nov 2014 12:32:11 +0000 (13:32 +0100)
committerBartosz Dziewoński <matma.rex@gmail.com>
Tue, 18 Nov 2014 17:48:15 +0000 (18:48 +0100)
commitb35ebdb1f568c2dea5dd504d7748116a68849e11
tree67e35995724b0f6097c2326cada0396ea6ed0be7
parent3bd3a3c044410cdfeb0f9b5e5576238df3ecff29
mediawiki.action.history.diff: Rework print styles

* Remove extremely old print styles for diffs from commonPrint.css,
  added back in r6970. These were created for the old yellow-green-red
  diff styles and look terrible now.
* Add new, minimal print styles, that replace background colors with
  text decoration (underline for inserted text, line-through for
  deleted). Motivation is the same as in r6970: light colored backgrounds
  work great on displays, but not very well in black-and-white print.
* Fixed diff styles demo (mediawiki.action.history.diff.html), updated
  with print styles and better example.

Bug: 73544
Change-Id: Ibf08fa11f84ac0cf8c7ed4da8af2b8804de6ab6f
docs/uidesign/mediawiki.action.history.diff.html
resources/Resources.php
resources/src/mediawiki.action/mediawiki.action.history.diff.css
resources/src/mediawiki.action/mediawiki.action.history.diff.print.css [new file with mode: 0644]
resources/src/mediawiki.legacy/commonPrint.css