summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2016-06-02 17:34:48 -0400
committerNed Batchelder <ned@nedbatchelder.com>2016-06-02 17:34:48 -0400
commiteb1b135c6bfd85a8917e32d8feb25622c7d73899 (patch)
treea692aaf63b3e83b0f28973ab3d6dfbea166b9d94
parent706def4045c0b06146ed954457a3d5b0a593f357 (diff)
downloadpython-coveragepy-eb1b135c6bfd85a8917e32d8feb25622c7d73899.tar.gz
Finish up the fix for #298
-rw-r--r--AUTHORS.txt1
-rw-r--r--CHANGES.rst8
-rw-r--r--coverage/htmlfiles/style.css11
3 files changed, 12 insertions, 8 deletions
diff --git a/AUTHORS.txt b/AUTHORS.txt
index 19401a5..561b146 100644
--- a/AUTHORS.txt
+++ b/AUTHORS.txt
@@ -44,6 +44,7 @@ Jessamyn Smith
Jon Chappell
Joseph Tate
Julian Berman
+karlw00t
Krystian Kichewko
Leonardo Pistone
Lex Berezhny
diff --git a/CHANGES.rst b/CHANGES.rst
index a1dec7f..5392500 100644
--- a/CHANGES.rst
+++ b/CHANGES.rst
@@ -5,6 +5,14 @@
Change history for Coverage.py
==============================
+Unreleased
+----------
+
+- The HTML report has a more-visible indicator for which column is being
+ sorted. Closes `issue 298`_, thanks karlw00t.
+
+.. _issue 298: https://bitbucket.org/ned/coveragepy/issues/298/show-in-html-report-that-the-columns-are
+
Version 4.1 --- 2016-05-21
--------------------------
diff --git a/coverage/htmlfiles/style.css b/coverage/htmlfiles/style.css
index 88a780a..1e4d530 100644
--- a/coverage/htmlfiles/style.css
+++ b/coverage/htmlfiles/style.css
@@ -2,8 +2,8 @@
/* For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt */
/* CSS styles for coverage.py. */
-/* Page-wide styles */
+/* Page-wide styles */
html, body, h1, h2, h3, p, table, td, th {
margin: 0;
padding: 0;
@@ -322,20 +322,15 @@ td.text {
}
#index th.headerSortDown, #index th.headerSortUp {
border-bottom: 1px solid #000;
- white-space:nowrap
+ white-space: nowrap;
+ background: #eee;
}
#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;