diff options
author | Stephan Richter <stephan.richter@gmail.com> | 2019-01-24 08:09:07 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2019-06-10 17:15:32 -0400 |
commit | 47d6f8a064ee7da6c2a2dd288c197b58b942a75e (patch) | |
tree | f70e0899c91856c91fee9b940203258c3c81ae3d /tests | |
parent | 0f5c9347aa8c72d853f49761d5580a770c4fd39f (diff) | |
download | python-coveragepy-git-47d6f8a064ee7da6c2a2dd288c197b58b942a75e.tar.gz |
Fix styling and tests. (The tests are slightly insane with no obvious way to update the expected output.)
Diffstat (limited to 'tests')
-rw-r--r-- | tests/gold/html/styled/style.css | 43 |
1 files changed, 43 insertions, 0 deletions
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; |