source/asset/core/testrunner/index.css
*{
margin: 0;
padding: 0;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
ul{
list-style: none;
}
body{
font-size: 14px;
line-height: 1.2;
font-family: "Helvetica Neue", sans-serif;
padding: 20px;
text-shadow: 0 1px 0 rgba(255,255,255,0.8);
color: #222;
}
#reporter{
max-width: 500px;
}
ul.suites > li{
background: #fafafa;
margin-bottom: 18px;
border-top-left-radius: 7px;
border-top-right-radius: 7px;
-webkit-background-clip: padding-box;
overflow: hidden;
border: 1px solid #777;
-webkit-box-shadow: 0 1px 5px rgba(0,0,0,0.3);
-moz-box-shadow: 0 1px 5px rgba(0,0,0,0.3);
-ms-box-shadow: 0 1px 5px rgba(0,0,0,0.3);
box-shadow: 0 1px 5px rgba(0,0,0,0.3);
-webkit-transition: background 300ms;
-moz-transition: background 300ms;
-ms-transition: background 300ms;
transition: background 300ms;
}
ul.suites > li > h3{
font-size: 18px;
padding: 6px 0px 6px 10px;
background: #ccc;
color: #555;
border-bottom: 1px solid #777;
}
ul.suites > li > h3:before,
ul.suites > li > h3:after {
content: " ";
display: table;
}
ul.suites > li > h3:after {
clear: both;
}
ul.suites > li > h3 > span.result{
float: right;
}
ul.tests > li span.running,
ul.suites > li > h3 > span.running{
opacity: 0;
font-size: 12px;
padding: 2px 4px;
font-weight: normal;
border-radius: 4px;
background: #aaa;
color: white;
text-shadow: 0 1px 0 rgba(0,0,0,0.4);
margin-left: 8px;
vertical-align: middle;
-webkit-transition: opacity 150ms ease-out;
-moz-transition: opacity 150ms ease-out;
-ms-transition: opacity 150ms ease-out;
transition: opacity 150ms ease-out;
}
ul.tests > li.running span.running,
ul.suites > li.running > h3 > span.running{
opacity: 1;
}
ul.suites > li.successful{
background: rgba(20,240,20,0.1);
}
ul.suites > li.failed{
background: rgba(240,20,20,0.1);
}
ul.tests > li{
line-height: 2;
padding-left: 10px;
position: relative;
}
ul.tests > li:before,
ul.tests > li:after {
content: " "; /* 1 */
display: table; /* 2 */
}
ul.tests > li:after {
clear: both;
}
ul.tests > li.failed{
background: rgba(240,20,20,0.6) !important;
color: white;
text-shadow: 0 1px 0 rgba(0,0,0,0.4);
font-weight: bold;
}
ul.suites > li span.result:after,
ul.tests > li span.result:after{
content: "";
width: 30px;
text-align: center;
display: inline-block;
}
ul.suites > li.failed span.result:after,
ul.tests > li.failed span.result:after{
content: "\2716";
}
ul.suites > li.successful span.result:after,
ul.tests > li.successful span.result:after{
content: "\2714";
}
ul.tests > li:nth-child(even){
background-color: rgba(0,0,0,0.06);
}
ul.tests > li > h4{
font-weight: inherit;
font-size: 14px;
}
ul.tests > li span.result{
float: right;
}