Color lines background relative to their total times

Closes gh-6