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
commit136798ef488c926f10c02d3b5aa0190ac27b69f2 (patch)
tree8f79bce415a07a5608222045066480af172bdf7b /coverage/htmlfiles/style.css
parent21cf03f2a863f56716d3c864de6f0baa29338a88 (diff)
downloadpython-coveragepy-git-136798ef488c926f10c02d3b5aa0190ac27b69f2.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 7aa6d697..012cfac0 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;
+ }