mirror of
https://github.com/konvajs/konva.git
synced 2025-09-18 18:27:58 +08:00
updated test framework CSS
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
@@ -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');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user