pulsar/static/jasmine.less
2014-02-11 09:06:13 -08:00

156 lines
2.2 KiB
Plaintext

@import "octicon-mixins";
body {
background-color: #fff;
padding: 0;
}
.spec-popup {
position: absolute;
font-size: 13px;
display: none;
}
.list-unstyled {
list-style: none;
}
.spec-reporter {
font-size: 11px;
line-height: 1.6em;
color: #333;
#jasmine_content {
position: fixed;
right: 100%;
}
.symbol-header {
font-size: 16px;
font-weight: bold;
margin: 0;
padding-bottom: 10px;
}
.symbol-area {
padding: 10px;
}
.symbol-summary {
overflow: hidden;
margin: 0;
li {
font-family: Monaco, Consolas, monospace;
float: left;
line-height: 10px;
height: 10px;
width: 10px;
font-size: 10px;
&.passed {
color: #5cb85c;
}
&.failed {
color: #d9534f;
}
&.skipped {
color: #ddd;
}
&.pending {
color: #eee;
}
&:before {
content: "\02022";
}
}
}
.status {
font-size: 20px;
line-height: 2em;
padding: 5px;
border-radius: 0;
margin: 0;
text-align: center;
.spec-count {
float: left;
}
.time {
float: right;
}
}
.results {
padding: 10px;
.description {
font-size: 16px;
padding: 5px 0 5px 0;
}
> .suite {
> .description {
font-size: 18px;
font-weight: bold;
}
margin-bottom: 20px;
}
.spec {
margin-top: 5px;
padding: 0 10px 10px 10px;
border-left: 3px solid #d9534f;
.spec-toggle {
.octicon(fold);
float: right;
cursor: pointer;
opacity: 0;
color: #999;
&.folded {
.octicon(unfold);
}
}
.spec-toggle:hover {
color: #333;
}
&:hover .spec-toggle {
opacity: 1;
}
}
.suite > .suite,
.suite > .spec {
margin-left: 10px;
}
}
.result-message {
font-size: 16px;
font-weight: bold;
color: #d9534f;
padding: 5px 0 5px 0;
}
.stack-trace {
font-size: 12px;
margin: 5px 0 0 0;
border-radius: 2px;
line-height: 18px;
color: #666;
border: 1px solid #ddd;
overflow: auto;
}
}