summaryrefslogtreecommitdiff
path: root/coverage/htmlfiles
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2009-04-25 07:22:24 -0400
committerNed Batchelder <ned@nedbatchelder.com>2009-04-25 07:22:24 -0400
commit8dd7458290f99dc035a78b75e03f15b1e076b692 (patch)
tree50a2e716bf4ecb16dc74063b9138cfad745d3d8a /coverage/htmlfiles
parentf4da6c7e81e07716f7bbf38b6669ef411b0ded04 (diff)
downloadpython-coveragepy-8dd7458290f99dc035a78b75e03f15b1e076b692.tar.gz
Remove some noise from the HTML reports, and use a 2px stripe to always show line status.
Diffstat (limited to 'coverage/htmlfiles')
-rw-r--r--coverage/htmlfiles/pyfile.html1
-rw-r--r--coverage/htmlfiles/style.css14
2 files changed, 10 insertions, 5 deletions
diff --git a/coverage/htmlfiles/pyfile.html b/coverage/htmlfiles/pyfile.html
index 192cc58..c39937b 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 012cfac..1a08b78 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;