Permalink
Browse files

Make text suck less.

  • Loading branch information...
1 parent 0058a06 commit 0a7c33f9fd739084f1561c7f71d785f9c57665ed @kangax committed Nov 9, 2009
Showing with 12 additions and 8 deletions.
  1. +5 −2 master.css
  2. +7 −6 runner.js
View
@@ -1,7 +1,10 @@
-p { margin: 0; padding: 0; }
+body { font-family: "Palatino", "Palatino Linotype", Georgia, Times, "Times New Roman", serif; }
+p { margin: 0 0 0.25em 0; padding: 0; }
+ul li { list-style: none; line-height: 1.5em; }
+ul { padding-left: 1em; }
#log { font-family: Courier, monospace; background: #fee; border: 1px solid #faa; padding: 0.5em; margin-top: 1em; font-size: 85%; height: 40em; overflow: scroll; }
.description { margin-bottom: 1em; }
#start-trigger { display: block; margin-bottom: 0.5em; }
-.label { display: inline-block; width: 8em; }
+.label { display: inline-block; width: 10em; }
#options { position: absolute; top: 1.5em; right: 1em; }
.testname { color: #999; }
View
@@ -108,12 +108,13 @@ function shouldIgnoreTest(testName) {
}
function updateStatus(test) {
setStatus([
- '<span class="label">Current test:</span> ', test.name,
- '<br><span class="label">Tests completed:</span> ', testCount,
- '<br><span class="label">Total errors:</span> ', errorCount,
- '<br><span class="label">Total failures:</span> ', failCount,
- '<br><span class="label">Elapsed time:</span> ', prettyTime((new Date() - startTime) / 1000),
- '<br><span class="label">Status:</span> <span id="status-value">Running tests with <strong>', TEST_DELAY , 'ms</strong> delay</span>',
+ '<ul>',
+ '<li><span class="label">Current test:</span> ', test.name,
+ '</li><li><span class="label">Tests completed:</span> ', testCount,
+ '</li><li><span class="label">Total errors:</span> ', errorCount,
+ '</li><li><span class="label">Total failures:</span> ', failCount,
+ '</li><li><span class="label">Elapsed time:</span> ', prettyTime((new Date() - startTime) / 1000),
+ '</li><li><span class="label">Status:</span> <span id="status-value">Running tests with <strong>', TEST_DELAY , 'ms</strong> delay</span></li></ul>',
].join(''));
}

0 comments on commit 0a7c33f

Please sign in to comment.