summaryrefslogtreecommitdiff
path: root/coverage
diff options
context:
space:
mode:
authorkarlw00t <devnull@localhost>2016-06-02 18:01:35 +0000
committerkarlw00t <devnull@localhost>2016-06-02 18:01:35 +0000
commit10520b8a870588ea60e38ed599104ea9edc70dcf (patch)
tree14230743b2df3efc96a9879e80f76a4dc8087aa1 /coverage
parentc904c13921cff61aea7832df693a03b4fe546bf3 (diff)
downloadpython-coveragepy-10520b8a870588ea60e38ed599104ea9edc70dcf.tar.gz
Adding visual indicators to column sorting in HTML outputissues-298
- Unicode arrows added to the end of text on a sorted column - Sorted column header always have grey background https://bitbucket.org/ned/coveragepy/issues/298
Diffstat (limited to 'coverage')
-rw-r--r--coverage/htmlfiles/style.css14
1 files changed, 14 insertions, 0 deletions
diff --git a/coverage/htmlfiles/style.css b/coverage/htmlfiles/style.css
index 136cbb8..88a780a 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;