[DEPOT] ~gitignore : exclusion d'IMG
[ptitvelo/web/www.git] / www / plugins-dist / compresseur / lib / csstidy / testing / unit-tests / class.csstidy_reporter.php
1 <?php
2
3 /**
4 * Custom test reporter for CSSTidy, adds appropriate CSS declarations
5 * for diffs.
6 */
7 class csstidy_reporter extends HTMLReporter
8 {
9
10 function _getCss() {
11 $css = parent::_getCss();
12 $css .= '
13 .diff {margin-bottom: 1em;}
14 .diff th {width:50%;}
15 .diff pre {margin:0; padding:0; background:none;}
16 .diff .changed, .diff .deleted, .diff .added {background: #FF5;}
17 ';
18 return $css;
19 }
20
21 }