summaryrefslogtreecommitdiff
path: root/coverage/htmlfiles/style.css
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2009-04-24 23:28:27 -0400
committerNed Batchelder <ned@nedbatchelder.com>2009-04-24 23:28:27 -0400
commitf4da6c7e81e07716f7bbf38b6669ef411b0ded04 (patch)
treef0bfe0ed2da0f17558d6cf34ac98a47aa03f10d1 /coverage/htmlfiles/style.css
parent4870bc77e97d0d4f3e4740b9d1d95975e01ffe67 (diff)
downloadpython-coveragepy-f4da6c7e81e07716f7bbf38b6669ef411b0ded04.tar.gz
Use jquery to enable hiding and showing highlighting of source lines in HTML reports.
Diffstat (limited to 'coverage/htmlfiles/style.css')
-rw-r--r--coverage/htmlfiles/style.css11
1 files changed, 9 insertions, 2 deletions
diff --git a/coverage/htmlfiles/style.css b/coverage/htmlfiles/style.css
index 7aa6d69..012cfac 100644
--- a/coverage/htmlfiles/style.css
+++ b/coverage/htmlfiles/style.css
@@ -68,10 +68,14 @@ h1 {
h2.stats {
margin-top: .5em;
}
-.stats span {
- border: 1px solid black;
+.stats span {
+ border: 1px solid;
padding: .1em .25em;
cursor: pointer;
+ border-color: #888 #ccc #ccc #888;
+}
+.stats span.hide {
+ border-color: #ccc #888 #888 #ccc;
}
/* Source file styles */
@@ -102,3 +106,6 @@ td.text {
.text p.exc {
background: #eeeeee;
}
+.text p.hide {
+ background: inherit;
+ }