diff options
-rw-r--r-- | css/tdd.css | 7 | ||||
-rw-r--r-- | tdd-bootstrap.php | 3 |
2 files changed, 10 insertions, 0 deletions
diff --git a/css/tdd.css b/css/tdd.css new file mode 100644 index 0000000..94ee73b --- /dev/null +++ b/css/tdd.css @@ -0,0 +1,7 @@ +body > table > tbody > tr { + opacity: 0.2 +} +body > table > tbody > tr.hovered, +body > table > tbody > tr.specified { + opacity: 1.0; +} diff --git a/tdd-bootstrap.php b/tdd-bootstrap.php index 2ed216b..342ecd0 100644 --- a/tdd-bootstrap.php +++ b/tdd-bootstrap.php @@ -65,6 +65,9 @@ class Protocol { $dom->find('/html/body/table/tr', 0)->outertext = ''; } + $head = $dom->find('/html/head', 0); + $head->innertext .= '<link rel="stylesheet" type="text/css" href="css/tdd.css" />'; + // replacing meta http-equiv refresh with a javascript refresh to preserve hash in the result page $meta = $head->find('meta'); foreach ($meta as $metaTag) { |