Ned Batchelder avatar Ned Batchelder committed fb2df17

Remove some noise from the HTML reports, and use a 2px stripe to always show line status.

Comments (0)

Files changed (2)

coverage/htmlfiles/pyfile.html

             <span class='pc_cov'>{{pc_cov|format_pct}}%</span>
         </h1>
         <h2 class='stats'>
-            Stats:
             {{n_stm}} statements
             <span class='run hide' onclick='toggle_lines(this, "run")'>{{n_run}} run</span>
             <span class='exc' onclick='toggle_lines(this, "exc")'>{{n_exc}} excluded</span>

coverage/htmlfiles/style.css

 
 /* Header styles */
 .content {
-    padding: 1em 3em;
+    padding: 1em 3em .5em 3em;
     }
 
 h1 {
-    font-size: 1.5em;
+    font-size: 1.25em;
 }
 
 h2.stats {
     margin-top: .5em;
+    font-size: 1em;
 }
 .stats span {
     border: 1px solid;
     padding: .1em .25em;
+    margin: 0 .1em;
     cursor: pointer;
-    border-color: #888 #ccc #ccc #888;
+    border-color: #999 #ccc #ccc #999;
 }
 .stats span.hide {
-    border-color: #ccc #888 #888 #ccc;
+    border-color: #ccc #999 #999 #ccc;
 }
 
 /* Source file styles */
 .text p {
     margin: 0;
     padding: 0 0 0 .5em;
+    border-left: 2px solid #ffffff;
     white-space: nowrap;  
     }
 
 .text p.mis {
     background: #ffdddd;
+    border-left: 2px solid #ff0000;
     }
 .text p.run {
     background: #ddffdd;
+    border-left: 2px solid #00ff00;
     }
 .text p.exc {
     background: #eeeeee;
+    border-left: 2px solid #808080;
     }
 .text p.hide {
     background: inherit;
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.