diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2009-04-25 07:22:24 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2009-04-25 07:22:24 -0400 |
commit | 9ca34fcc539dd218fddbba7d371bb0ee1c24e1d7 (patch) | |
tree | 457e400bfe9ef03fb7d524613d2437f31a04e0d2 | |
parent | 136798ef488c926f10c02d3b5aa0190ac27b69f2 (diff) | |
download | python-coveragepy-git-9ca34fcc539dd218fddbba7d371bb0ee1c24e1d7.tar.gz |
Remove some noise from the HTML reports, and use a 2px stripe to always show line status.
-rw-r--r-- | coverage/htmlfiles/pyfile.html | 1 | ||||
-rw-r--r-- | coverage/htmlfiles/style.css | 14 |
2 files changed, 10 insertions, 5 deletions
diff --git a/coverage/htmlfiles/pyfile.html b/coverage/htmlfiles/pyfile.html index 192cc58a..c39937bd 100644 --- a/coverage/htmlfiles/pyfile.html +++ b/coverage/htmlfiles/pyfile.html @@ -25,7 +25,6 @@ function toggle_lines(btn, cls) { <span class='pc_cov'>{{pc_cov|format_pct}}%</span>
</h1>
<h2 class='stats'>
- Stats:
{{n_stm}} statements
<span class='run hide' onclick='toggle_lines(this, "run")'>{{n_run}} run</span>
<span class='exc' onclick='toggle_lines(this, "exc")'>{{n_exc}} excluded</span>
diff --git a/coverage/htmlfiles/style.css b/coverage/htmlfiles/style.css index 012cfac0..1a08b78e 100644 --- a/coverage/htmlfiles/style.css +++ b/coverage/htmlfiles/style.css @@ -58,24 +58,26 @@ a.nav:hover { /* Header styles */ .content { - padding: 1em 3em; + padding: 1em 3em .5em 3em; } h1 { - font-size: 1.5em; + font-size: 1.25em; } h2.stats { margin-top: .5em; + font-size: 1em; } .stats span { border: 1px solid; padding: .1em .25em; + margin: 0 .1em; cursor: pointer; - border-color: #888 #ccc #ccc #888; + border-color: #999 #ccc #ccc #999; } .stats span.hide { - border-color: #ccc #888 #888 #ccc; + border-color: #ccc #999 #999 #ccc; } /* Source file styles */ @@ -94,17 +96,21 @@ td.text { .text p { margin: 0; padding: 0 0 0 .5em; + border-left: 2px solid #ffffff; white-space: nowrap; } .text p.mis { background: #ffdddd; + border-left: 2px solid #ff0000; } .text p.run { background: #ddffdd; + border-left: 2px solid #00ff00; } .text p.exc { background: #eeeeee; + border-left: 2px solid #808080; } .text p.hide { background: inherit; |