tests: Fix frontend test CSS selectors

This commit is contained in:
Richard Hansen 2021-06-05 03:11:10 -04:00
parent 76634eb6ff
commit e9f08bdd11

View file

@ -34,10 +34,9 @@ body {
overflow: auto; overflow: auto;
width:20%; width:20%;
font-size:80%; font-size:80%;
} }
#mocha #report { #mocha-report {
margin: 0; margin: 0;
padding: 0; padding: 0;
margin-top: 10px; margin-top: 10px;
@ -170,26 +169,26 @@ body {
-webkit-box-shadow: 0 1px 3px #eee; -webkit-box-shadow: 0 1px 3px #eee;
} }
#report ul { #mocha-report ul {
padding: 0; padding: 0;
} }
#report.pass .test.fail { #mocha-report.pass .test.fail {
display: none; display: none;
} }
#report.fail .test.pass { #mocha-report.fail .test.pass {
display: none; display: none;
} }
#error { #mocha-error {
color: #c00; color: #c00;
font-size: 1.5 em; font-size: 1.5 em;
font-weight: 100; font-weight: 100;
letter-spacing: 1px; letter-spacing: 1px;
} }
#stats { #mocha-stats {
padding: 10px; padding: 10px;
font-size: 12px; font-size: 12px;
margin: 0; margin: 0;
@ -207,20 +206,20 @@ body {
margin-right:5px; margin-right:5px;
} }
#stats em { #mocha-stats em {
color: black; color: black;
} }
#stats a { #mocha-stats a {
text-decoration: none; text-decoration: none;
color: inherit; color: inherit;
} }
#stats a:hover { #mocha-stats a:hover {
border-bottom: 1px solid #eee; border-bottom: 1px solid #eee;
} }
#stats li { #mocha-stats li {
display: inline-block; display: inline-block;
margin: 0 5px; margin: 0 5px;
list-style: none; list-style: none;