summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--coverage/htmlfiles/pyfile.html2
-rw-r--r--coverage/htmlfiles/style.css10
-rw-r--r--tests/gold/html/styled/style.css43
3 files changed, 47 insertions, 8 deletions
diff --git a/coverage/htmlfiles/pyfile.html b/coverage/htmlfiles/pyfile.html
index 025ae797..460c12b5 100644
--- a/coverage/htmlfiles/pyfile.html
+++ b/coverage/htmlfiles/pyfile.html
@@ -104,7 +104,7 @@
</p>{#-#}
{% endfor %}
</td>
- {% endif -%}
+ {% endif %}
</tr>
</table>
</div>
diff --git a/coverage/htmlfiles/style.css b/coverage/htmlfiles/style.css
index c663ed33..27f0e47a 100644
--- a/coverage/htmlfiles/style.css
+++ b/coverage/htmlfiles/style.css
@@ -297,6 +297,7 @@ td.text {
color: #000080;
}
+/* Line contexts */
td.contexts p {
margin: 0;
padding: 0 .5em;
@@ -305,15 +306,12 @@ td.contexts p {
white-space: nowrap;
position: relative;
}
-
td.contexts p:hover {
background: #eee;
}
-
td.contexts p span.context-list {
display: none;
}
-
td.contexts p:hover span.context-list {
display: block;
min-width: 30em;
@@ -332,11 +330,9 @@ td.contexts p:hover span.context-list {
border-radius: .2em;
box-shadow: #cccccc .2em .2em .2em;
}
-
span.context-list span.context-line {
- display: block;
-}
-
+ display: block;
+ }
td.contexts p span.context-button {
display: inline-block;
cursor: pointer;
diff --git a/tests/gold/html/styled/style.css b/tests/gold/html/styled/style.css
index 41bcf2be..27f0e47a 100644
--- a/tests/gold/html/styled/style.css
+++ b/tests/gold/html/styled/style.css
@@ -297,6 +297,49 @@ td.text {
color: #000080;
}
+/* Line contexts */
+td.contexts p {
+ margin: 0;
+ padding: 0 .5em;
+ color: #999999;
+ font-family: verdana, sans-serif;
+ white-space: nowrap;
+ position: relative;
+ }
+td.contexts p:hover {
+ background: #eee;
+ }
+td.contexts p span.context-list {
+ display: none;
+ }
+td.contexts p:hover span.context-list {
+ display: block;
+ min-width: 30em;
+ //max-width: 50%;
+ white-space: normal;
+ float: right;
+ position: absolute;
+ top: 1.75em;
+ right: 1em;
+ height: auto;
+ color: #333;
+ background: #ffffcc;
+ border: 1px solid #888;
+ padding: .25em .5em;
+ z-index: 999;
+ border-radius: .2em;
+ box-shadow: #cccccc .2em .2em .2em;
+ }
+span.context-list span.context-line {
+ display: block;
+ }
+td.contexts p span.context-button {
+ display: inline-block;
+ cursor: pointer;
+ font-size: .8333em; /* 10/12 */
+ line-height: 1em;
+ }
+
/* index styles */
#index td, #index th {
text-align: right;