aboutsummaryrefslogtreecommitdiffstats
path: root/lib/tools/priv
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2018-12-06 13:17:25 +0100
committerLoïc Hoguin <[email protected]>2019-01-11 16:12:31 +0100
commit2eaf5f8014ced0ea5cff65782646fe209bf8dc2f (patch)
treed041f8b1e4f3b099120a8969af21a4623898df6f /lib/tools/priv
parent73e4f5f21bbf492ab61c01dee48fa09fd7309a50 (diff)
downloadotp-2eaf5f8014ced0ea5cff65782646fe209bf8dc2f.tar.gz
otp-2eaf5f8014ced0ea5cff65782646fe209bf8dc2f.tar.bz2
otp-2eaf5f8014ced0ea5cff65782646fe209bf8dc2f.zip
Add a link on the line number in cover output
This will make it easier to send links to other people.
Diffstat (limited to 'lib/tools/priv')
-rw-r--r--lib/tools/priv/styles.css4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/tools/priv/styles.css b/lib/tools/priv/styles.css
index e10e94e3ad..d4e3d79596 100644
--- a/lib/tools/priv/styles.css
+++ b/lib/tools/priv/styles.css
@@ -53,10 +53,12 @@ table thead {
display: none;
}
table td.line,
+table td.line a,
table td.hits {
width: 20px;
background: #eaeaea;
text-align: center;
+ text-decoration: none;
font-size: 11px;
padding: 0 10px;
color: #949494;
@@ -68,6 +70,7 @@ table td.hits {
background-color: #f0f0f0;
}
tr.miss td.line,
+tr.miss td.line a,
tr.miss td.hits {
background-color: #ffdce0;
border-color: #fdaeb7;
@@ -76,6 +79,7 @@ tr.miss td {
background-color: #ffeef0;
}
tr.hit td.line,
+tr.hit td.line a,
tr.hit td.hits {
background-color: #cdffd8;
border-color: #bef5cb;