diff options
author | Ned Batchelder <nedbat@gmail.com> | 2016-06-02 15:40:46 -0400 |
---|---|---|
committer | Ned Batchelder <nedbat@gmail.com> | 2016-06-02 15:40:46 -0400 |
commit | 1f428f4218f8bc3e7f0151a47c3c52396ed85bd9 (patch) | |
tree | 80e2a11973170c4c902c986f864d104dc949666c /coverage/htmlfiles | |
parent | 396c8102e9389ed10497908be8a98ac4b2bc0e71 (diff) | |
parent | 279cafd91cb45272229531e3e07cdcd624457108 (diff) | |
download | python-coveragepy-git-1f428f4218f8bc3e7f0151a47c3c52396ed85bd9.tar.gz |
Merged in karlw00t/coverage.py/issues-298 (pull request #84)
Adding visual indicators to column sorting in HTML output
Diffstat (limited to 'coverage/htmlfiles')
-rw-r--r-- | coverage/htmlfiles/style.css | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/coverage/htmlfiles/style.css b/coverage/htmlfiles/style.css index 136cbb82..88a780a6 100644 --- a/coverage/htmlfiles/style.css +++ b/coverage/htmlfiles/style.css @@ -3,6 +3,7 @@ /* CSS styles for coverage.py. */ /* Page-wide styles */ + html, body, h1, h2, h3, p, table, td, th { margin: 0; padding: 0; @@ -321,7 +322,20 @@ td.text { } #index th.headerSortDown, #index th.headerSortUp { border-bottom: 1px solid #000; + white-space:nowrap } +#index th.headerSortDown:after { + content: " ↓"; +} +#index th.headerSortDown { + background: #eee; +} +#index th.headerSortUp:after { + content: " ↑"; +} +#index th.headerSortUp { + background: #eee; +} #index td.name, #index th.name { text-align: left; width: auto; |