jasmine/lib/jasmine.css

362 lines
5.7 KiB
CSS

body {
font-family: "Helvetica Neue Light", "Lucida Grande", "Calibri", "Arial", sans-serif;
margin: 0;
background-color: #f0f0f0;
}
a {
text-decoration: none;
color: #777;
}
a:hover {
text-decoration: underline;
}
.description {
display: block;
padding: .4em 0 .4em 1.5em;
font-size: .8em;
min-height: 1.2em;
line-height: 1.2em;
}
.run_spec {
float:right;
padding-right: 5px;
font-size: .8em;
text-decoration: none;
display: none;
}
.jasmine_reporter {
margin: 0;
}
.banner {
color: #303;
padding: 0 1.5em;
height: 1.2em;
line-height: 1.2em;
}
.logo {
float: left;
font-size: .8em;
padding-left: 5px;
font-weight: 700;
}
.logo .version {
font-size: .8em;
padding-left: .5em;
color: gray;
font-weight: 400;
}
.options {
text-align: right;
font-size: .6em;
}
.suite {
position: relative;
margin: 10px 1.5em;
padding-bottom: 3px;
-moz-border-radius: 6px;
border-radius: 6px;
-moz-box-shadow: 0px 1px 4px #200;
-webkit-box-shadow: 0px 1px 4px #200;
box-shadow: 0px 1px 4px #200;
background-color: #ddd;
}
.suite .suite {
-moz-border-radius: 3px;
border-radius: 3px;
}
.suite > .description {
padding-left: 1.2em;
border-bottom: 1px solid gray;
-moz-border-radius-topleft: 6px;
-moz-border-radius-topright: 6px;
border-top-left-radius: 6px;
border-top-right-radius: 6px;
background-image: -webkit-gradient(
linear,
left bottom,
left top,
color-stop(0.1, rgb(186,186,186)),
color-stop(0.9, rgb(240,240,240))
);
background-image: -moz-linear-gradient(
center bottom,
rgb(186,186,186) 10%,
rgb(240,240,240) 90%
);
}
.suite .suite>.description {
-moz-border-radius-topleft: 3px;
-moz-border-radius-topright: 3px;
border-top-left-radius: 3px;
border-top-right-radius: 3px;
}
.suite.passed {
border-color: #bbb;
}
.suite.failed {
border-color: #fcc;
}
.suite > .description {
font-weight: 700;
font-size: 1em;
text-shadow: 0px 1px 0px #eee;
color: #777;
}
.suite.passed > .description {
color: rgb(94,125,0);
text-shadow: 0px 1px 0px #ddd;
}
.suite.failed > .description {
color: rgb(176,57,17);
}
.spec {
margin: 0;
clear: both;
position: relative;
padding-bottom: 0;
border-bottom: 1px solid gray;
}
.spec.failed, .spec.passed, .spec.skipped {
}
.spec.failed:first-child, .spec.passed:first-child, .spec.skipped:first-child {
}
.spec.failed {
background-color: white;
}
.spec > .description {
color: #666;
font-weight: 700;
}
.spec.failed > .description {
color: white;
background-image: -webkit-gradient(
linear,
left bottom,
left top,
color-stop(0.1, rgb(176,57,17)),
color-stop(0.94, rgb(237,87,0))
);
background-image: -moz-linear-gradient(
center bottom,
rgb(176,57,17) 10%,
rgb(237,87,0) 94%
);
}
.spec.failed > .description:before {
display: block;
position: absolute;
left: 5px;
top: 8px;
width: 8px;
height: 8px;
content: ".";
color: transparent;
border: 1px solid #ffffff;
-moz-border-radius: 5px;
background-image: -webkit-gradient(
linear,
left bottom,
left top,
color-stop(0.1, rgb(176,57,17)),
color-stop(0.94, rgb(237,87,0))
);
background-image: -moz-linear-gradient(
center bottom,
rgb(176,57,17) 10%,
rgb(237,87,0) 94%
);
}
.spec.passed {
background-color: white;
border-color: #bbb;
}
.spec.passed>.description {
background-color: #ddd;
}
.spec.passed>.description:before {
display: block;
position: absolute;
left: 6px;
top: 9px;
width: 8px;
height: 8px;
content: ".";
color: transparent;
-moz-border-radius: 4px;
background-image: -webkit-gradient(
linear,
left bottom,
left top,
color-stop(0.1, rgb(94,125,0)),
color-stop(0.9, rgb(167,212,21))
);
background-image: -moz-linear-gradient(
center bottom,
rgb(94,125,0) 10%,
rgb(167,212,21) 90%
);
}
.spec.skipped {
background-color: #bbb;
}
.messages {
font-size: .8em;
padding: 5px 1.5em 0 1.5em;
line-height: 1.2em;
}
.passed {
display: none;
}
.failed {
}
.skipped {
display: none;
}
.resultMessage span.result {
display: block;
line-height: 2em;
color: black;
}
.resultMessage .mismatch {
color: black;
}
.stackTrace {
padding: 5px 1em;
margin: 5px 0;
max-height: 5em;
overflow: hidden;
border: 1px solid #baa;
background: #eef;
white-space: pre;
font-size: 1.2em;
line-height: 1.5em;
font-family: monospace;
}
.stackTrace:hover {
overflow: auto;
}
.finished-at {
padding-left: 1em;
font-size: .6em;
}
.show-passed .passed,
.show-skipped .skipped {
display: block;
}
#jasmine_content {
position: fixed;
right: 100%;
}
.runner {
display: block;
margin: 5px 0 10px 0;
padding: 2px 0 2px 1.5em;
border-top: 1px solid gray;
-moz-box-shadow: 0px 1px 4px #000;
-webkit-box-shadow: 0px 1px 4px #000;
box-shadow: 0px 1px 4px #000;
font-size: .8em;
}
.runner.failed {
background-image: -webkit-gradient(
linear,
left bottom,
left top,
color-stop(0.1, rgb(176,57,17)),
color-stop(0.94, rgb(237,87,0))
);
background-image: -moz-linear-gradient(
center bottom,
rgb(176,57,17) 10%,
rgb(237,87,0) 94%
);
}
.runner.passed {
background-image: -webkit-gradient(
linear,
left bottom,
left top,
color-stop(0.1, rgb(94,125,0)),
color-stop(0.9, rgb(167,212,21))
);
background-image: -moz-linear-gradient(
center bottom,
rgb(94,125,0) 10%,
rgb(167,212,21) 90%
);
}
.runner .description {
padding-left: .8em;
color: white;
}
.runner.running {
background-color: yellow;
}
.runner>.description {
height: 1em;
}