mirror of
https://github.com/konvajs/konva.git
synced 2025-04-05 20:48:28 +08:00
updated test framework CSS
This commit is contained in:
parent
424e86bd2b
commit
6ae7a932f8
@ -15,6 +15,12 @@ p {
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.gray {
|
||||
background-color: #333;
|
||||
color: #eee;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.red {
|
||||
background-color: red;
|
||||
color: white;
|
||||
@ -31,9 +37,9 @@ p {
|
||||
position: fixed;
|
||||
right: 0px;
|
||||
top: 0px;
|
||||
background-color: black;
|
||||
background-color: green;
|
||||
padding: 10px;
|
||||
border-radius: 3px;
|
||||
color: #aaa;
|
||||
color: white;
|
||||
font-size: 2em;
|
||||
}
|
||||
|
@ -105,7 +105,7 @@ Test.prototype = {
|
||||
console.log(this.counter + ') ' + key);
|
||||
tests[key](key);
|
||||
obj.testMessage.innerHTML = this.counter + ') ' + key + ': PASSED';
|
||||
obj.testMessage.setAttribute('class', 'green');
|
||||
obj.testMessage.setAttribute('class', 'gray');
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user