diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2020-06-29 19:47:33 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2020-06-29 20:13:07 -0400 |
commit | 2c6c421dbee26b138a4b84738057001d646cb7dc (patch) | |
tree | c85c335f8e5b9eb944702bfb395635c01a2e513a /coverage/htmlfiles/style.scss | |
parent | 87a4e67401217490daa06a597a5b26e7548d4044 (diff) | |
download | python-coveragepy-git-2c6c421dbee26b138a4b84738057001d646cb7dc.tar.gz |
More HTML tweaks
- Let the left and right cells have padding so the hover bar looks good.
- Adjust the table left margin so the contents still line up with the
header.
- Fix the up/down arrows to be correct for the sorting order they
indicate.
Diffstat (limited to 'coverage/htmlfiles/style.scss')
-rw-r--r-- | coverage/htmlfiles/style.scss | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/coverage/htmlfiles/style.scss b/coverage/htmlfiles/style.scss index b3c63e75..1681663d 100644 --- a/coverage/htmlfiles/style.scss +++ b/coverage/htmlfiles/style.scss @@ -576,18 +576,15 @@ $context-panel-color: #aaeeff; font-family: $font-normal; font-size: 0.875em; + table.index { + margin-left: -.5em; + } td, th { text-align: right; width: 5em; padding: .25em .5em; border-bottom: 1px solid $light-gray2; @include border-color-dark($dark-gray2); - &.left { - padding-left: 0; - } - &.right { - padding-right: 0; - } &.name { text-align: left; width: auto; @@ -608,10 +605,10 @@ $context-panel-color: #aaeeff; @include background-dark($dark-gray2); } &.headerSortDown:after { - content: " ↓"; + content: " ↑"; } &.headerSortUp:after { - content: " ↑"; + content: " ↓"; } } td.name a { |