tests: test runner output HTML and CSS improvements to show duration (#4775)

This commit is contained in:
John McLear 2021-02-14 08:04:50 +00:00 committed by GitHub
parent e674d9789e
commit f59e0993a6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 13 deletions

View file

@ -102,11 +102,11 @@ body {
}
#mocha .test.pass.medium .duration {
background: #C09853;
background: #ffd285;
}
#mocha .test.pass.slow .duration {
background: #B94A48;
background: #ffc2c0;
}
#mocha .test.pass::before {
@ -122,19 +122,11 @@ body {
font-size: 9px;
margin-left: 5px;
padding: 2px 5px;
color: white;
-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.2);
-moz-box-shadow: inset 0 1px 1px rgba(0,0,0,.2);
box-shadow: inset 0 1px 1px rgba(0,0,0,.2);
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
-ms-border-radius: 5px;
-o-border-radius: 5px;
border-radius: 5px;
}
#mocha .test.pass.fast .duration {
display: none;
background: #d3ffe9;
}
#mocha .test.pending {