updated test framework CSS

This commit is contained in:
Eric Rowell
2012-11-28 23:04:23 -08:00
parent 424e86bd2b
commit 6ae7a932f8
2 changed files with 9 additions and 3 deletions

View File

@@ -15,6 +15,12 @@ p {
font-size: 12px; font-size: 12px;
} }
.gray {
background-color: #333;
color: #eee;
font-size: 12px;
}
.red { .red {
background-color: red; background-color: red;
color: white; color: white;
@@ -31,9 +37,9 @@ p {
position: fixed; position: fixed;
right: 0px; right: 0px;
top: 0px; top: 0px;
background-color: black; background-color: green;
padding: 10px; padding: 10px;
border-radius: 3px; border-radius: 3px;
color: #aaa; color: white;
font-size: 2em; font-size: 2em;
} }

View File

@@ -105,7 +105,7 @@ Test.prototype = {
console.log(this.counter + ') ' + key); console.log(this.counter + ') ' + key);
tests[key](key); tests[key](key);
obj.testMessage.innerHTML = this.counter + ') ' + key + ': PASSED'; obj.testMessage.innerHTML = this.counter + ') ' + key + ': PASSED';
obj.testMessage.setAttribute('class', 'green'); obj.testMessage.setAttribute('class', 'gray');
} }
} }