From f8c766f4f61bc398b5ccd857fbe0b13f28e60190 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Sat, 28 Apr 2012 17:55:37 -0400 Subject: Color the buttons on the pyfile page, so they have a visual connection to the lines they affect. --- coverage/htmlfiles/pyfile.html | 2 +- coverage/htmlfiles/style.css | 25 +++++++++++++++++++++++++ 2 files changed, 26 insertions(+), 1 deletion(-) (limited to 'coverage') diff --git a/coverage/htmlfiles/pyfile.html b/coverage/htmlfiles/pyfile.html index 2d3d8a3b..490fad86 100644 --- a/coverage/htmlfiles/pyfile.html +++ b/coverage/htmlfiles/pyfile.html @@ -27,7 +27,7 @@

- {{nums.n_statements}} statements + {{nums.n_statements}} statements   {{nums.n_executed}} run {{nums.n_missing}} missing {{nums.n_excluded}} excluded diff --git a/coverage/htmlfiles/style.css b/coverage/htmlfiles/style.css index c40357b8..70715ac1 100644 --- a/coverage/htmlfiles/style.css +++ b/coverage/htmlfiles/style.css @@ -102,6 +102,31 @@ h2.stats { border-color: #999 #ccc #ccc #999; } +.stats span.run { + background: #ddffdd; +} +.stats span.exc { + background: #eeeeee; +} +.stats span.mis { + background: #ffdddd; +} +.stats span.hide_run { + background: #eeffee; +} +.stats span.hide_exc { + background: #f5f5f5; +} +.stats span.hide_mis { + background: #ffeeee; +} +.stats span.par { + background: #ffffaa; +} +.stats span.hide_par { + background: #ffffcc; +} + /* Help panel */ #keyboard_icon { float: right; -- cgit v1.2.1