summaryrefslogtreecommitdiff
path: root/coverage/htmlfiles/style.css
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2011-04-20 22:35:00 -0400
committerNed Batchelder <ned@nedbatchelder.com>2011-04-20 22:35:00 -0400
commit56026f10f6fb8a6cce270cf2b169f724470ce96d (patch)
tree9440ca3dd1135dd5f042487cf117473ec5ecafe6 /coverage/htmlfiles/style.css
parent2fbb89325ace18b787fc5f392cb7659a36b005dc (diff)
downloadpython-coveragepy-git-56026f10f6fb8a6cce270cf2b169f724470ce96d.tar.gz
Keyboard-shorcut help is now available on the file page of the HTML report.
Diffstat (limited to 'coverage/htmlfiles/style.css')
-rw-r--r--coverage/htmlfiles/style.css38
1 files changed, 38 insertions, 0 deletions
diff --git a/coverage/htmlfiles/style.css b/coverage/htmlfiles/style.css
index 9a06a2b4..852994d9 100644
--- a/coverage/htmlfiles/style.css
+++ b/coverage/htmlfiles/style.css
@@ -102,6 +102,44 @@ h2.stats {
border-color: #999 #ccc #ccc #999;
}
+/* Help panel */
+#keyboard_icon {
+ float: right;
+ cursor: pointer;
+}
+
+.help_panel {
+ position: absolute;
+ background: #ffc;
+ padding: .5em;
+ border: 1px solid #883;
+ display: none;
+ width: 16em; height: 8em;
+}
+
+.help_panel .legend {
+ font-style: italic;
+ margin-bottom: 1em;
+}
+
+#panel_icon {
+ float: right;
+ cursor: pointer;
+}
+
+.keyhelp {
+ margin: .75em;
+}
+
+.keyhelp .key {
+ border: 1px solid black;
+ border-color: #888 #333 #333 #888;
+ padding: .1em .35em;
+ font-family: monospace;
+ font-weight: bold;
+ background: #eee;
+}
+
/* Source file styles */
.linenos p {
text-align: right;