also fade tested entries

This commit is contained in:
Oskar Winkels 2021-10-11 19:39:07 +02:00
parent 062330bcaa
commit 404a995e4f
Signed by: o.winkels
GPG Key ID: E7484A06E99DAEF1
2 changed files with 4 additions and 1 deletions

View File

@ -70,6 +70,9 @@ main > section.times, #timeheader {
.times span.implausible {
background: linear-gradient(to right, #c50e1f, rgba(197,14,31,0.2) 1000px);
}
.times span.implausible.tested {
background: linear-gradient(to right, rgb(0,136,0), rgba(0,136,0,0.2) 1000px);
}
.viewheader.row {
height: 30px;
background: #ddd !important;

View File

@ -163,7 +163,7 @@ function renderData() {
block.style.left = arr + 'px' // 1px/min
block.style.width = Math.max(0,(dur-14)) + 'px' // 1px/min
if (entry.tested)
block.style.background = '#080'
block.classList.add('tested')
if (dur > 60 * 24)
block.classList.add('implausible')