pulsar/static/jasmine.less

246 lines
3.7 KiB
Plaintext
Raw Permalink Normal View History

2016-06-11 04:46:10 +03:00
@import "ui-variables";
2014-02-11 06:32:15 +04:00
@import "octicon-mixins";
2013-08-09 05:54:13 +04:00
2016-06-11 04:46:10 +03:00
html {
background-color: @base-background-color;
}
2013-02-15 00:31:19 +04:00
body {
padding: 0;
2016-06-11 04:46:10 +03:00
background-color: transparent;
}
.spec-reporter-container {
2016-06-15 04:21:16 +03:00
position: fixed;
2016-06-15 07:02:00 +03:00
display: flex;
flex-direction: column;
justify-content: flex-end;
2016-06-15 04:21:16 +03:00
z-index: 99999;
top: 0;
2016-06-11 04:46:10 +03:00
left: 0;
right: 0;
bottom: 0;
2013-02-15 00:31:19 +04:00
}
2013-02-02 02:13:09 +04:00
2014-02-11 05:06:35 +04:00
.spec-reporter {
flex: 1 1 0;
2016-06-15 07:02:00 +03:00
overflow-y: auto;
2014-02-11 04:44:35 +04:00
font-size: 11px;
line-height: 1.6em;
2014-02-11 06:32:15 +04:00
color: #333;
2016-06-15 07:02:00 +03:00
background-color: hsl(0, 0%, 98%);
2013-02-12 08:11:59 +04:00
// 578px initial window height, resize to see underlying editor
@media (min-height: 578px) {
flex: 0 1 75%;
min-height: 578px;
}
2014-02-11 09:00:12 +04:00
.list-unstyled {
list-style: none;
2014-02-11 05:06:35 +04:00
}
2013-02-12 06:00:42 +04:00
2014-12-06 02:03:06 +03:00
.reload-button {
color: #333;
background-color: #fff;
border: 1px solid #ccc;
&:hover {
background-color: #ddd;
color: #222;
}
}
2014-02-11 05:09:14 +04:00
.symbol-header {
2014-02-11 07:03:55 +04:00
font-size: 18px;
2014-02-11 06:40:37 +04:00
font-weight: bold;
padding-bottom: 10px;
2014-02-11 06:32:15 +04:00
}
.symbol-area {
padding: 10px;
2014-02-11 05:06:35 +04:00
}
2013-02-12 06:00:42 +04:00
2014-02-11 05:09:14 +04:00
.symbol-summary {
2014-02-11 05:06:35 +04:00
overflow: hidden;
margin: 0;
2013-02-12 06:00:42 +04:00
2014-02-11 05:09:14 +04:00
li {
2014-02-11 06:32:15 +04:00
font-family: Monaco, Consolas, monospace;
2014-02-11 05:09:14 +04:00
float: left;
line-height: 10px;
height: 10px;
width: 10px;
font-size: 10px;
2013-02-12 06:00:42 +04:00
2014-02-11 05:09:14 +04:00
&.passed {
2014-02-11 06:32:15 +04:00
color: #5cb85c;
2014-02-11 05:09:14 +04:00
}
2013-02-12 06:00:42 +04:00
2014-02-11 05:09:14 +04:00
&.failed {
2014-02-11 06:32:15 +04:00
color: #d9534f;
2014-02-11 05:09:14 +04:00
}
2013-02-12 06:00:42 +04:00
2014-02-11 05:09:14 +04:00
&.skipped {
2014-02-12 04:19:46 +04:00
color: #f0ad4e;
2014-02-11 05:09:14 +04:00
}
2013-02-12 06:00:42 +04:00
2014-02-11 05:09:14 +04:00
&.pending {
2014-02-11 06:32:15 +04:00
color: #eee;
2014-02-11 05:09:14 +04:00
}
2013-02-12 06:00:42 +04:00
&::before {
2014-02-11 05:09:14 +04:00
content: "\02022";
}
2014-02-11 05:06:35 +04:00
}
}
2013-02-15 00:31:19 +04:00
2014-02-11 05:06:35 +04:00
.status {
font-size: 20px;
line-height: 2em;
2014-02-11 06:32:15 +04:00
padding: 5px;
border-radius: 0;
2014-02-11 05:06:35 +04:00
text-align: center;
.spec-count {
float: left;
}
.time {
float: right;
}
}
2013-02-15 00:31:19 +04:00
2014-02-11 05:06:35 +04:00
.results {
2014-02-11 06:32:15 +04:00
padding: 10px;
2014-02-11 05:06:35 +04:00
2014-02-11 06:32:15 +04:00
.description {
font-size: 16px;
padding: 5px 0 5px 0;
2014-02-11 05:06:35 +04:00
}
2014-02-11 06:32:15 +04:00
> .suite {
> .description {
font-size: 18px;
font-weight: bold;
}
2014-02-11 05:06:35 +04:00
2014-02-11 06:32:15 +04:00
margin-bottom: 20px;
2014-02-11 05:06:35 +04:00
}
.spec {
2014-02-11 06:32:15 +04:00
margin-top: 5px;
padding: 0 10px 10px 10px;
border-left: 3px solid #d9534f;
.spec-toggle {
2014-02-11 07:01:04 +04:00
.octicon(fold);
2014-02-11 06:32:15 +04:00
float: right;
cursor: pointer;
opacity: 0;
color: #999;
2014-02-11 07:01:04 +04:00
&.folded {
.octicon(unfold);
}
2014-02-11 06:32:15 +04:00
}
2014-02-11 05:06:35 +04:00
2014-02-11 06:32:15 +04:00
.spec-toggle:hover {
color: #333;
}
2014-02-11 05:06:35 +04:00
2014-02-11 06:32:15 +04:00
&:hover .spec-toggle {
opacity: 1;
}
2014-02-11 05:06:35 +04:00
}
2014-02-11 06:32:15 +04:00
.suite > .suite,
.suite > .spec {
margin-left: 10px;
2014-02-11 05:06:35 +04:00
}
}
2013-02-15 00:31:19 +04:00
2014-02-11 05:09:14 +04:00
.result-message {
2014-02-11 06:32:15 +04:00
font-size: 16px;
font-weight: bold;
color: #d9534f;
padding: 5px 0 5px 0;
2017-11-01 15:59:02 +03:00
white-space: pre-wrap;
2014-02-11 05:06:35 +04:00
}
2013-02-12 06:00:42 +04:00
2014-06-17 22:28:01 +04:00
.result-message.deprecation-message {
2014-11-20 22:41:53 +03:00
font-weight: normal;
color: darken(#f0ad4e, 20%);
line-height: 1.4;
2014-11-27 01:54:49 +03:00
a {
color: darken(#f0ad4e, 15%);
}
2014-11-20 22:41:53 +03:00
code {
color: darken(#f0ad4e, 20%);
background: lighten(#f0ad4e, 35%);
}
2014-06-17 22:28:01 +04:00
}
2014-02-11 04:48:29 +04:00
.stack-trace {
font-size: 12px;
margin: 5px 0 0 0;
border-radius: 2px;
line-height: 18px;
color: #ccc;
2014-02-11 04:48:29 +04:00
border: 1px solid #ddd;
overflow: auto;
}
2014-02-11 08:59:38 +04:00
.tooltip {
.tooltip-inner {
border: 1px solid #ccc;
background: #fff;
color: #666;
max-width: 400px;
}
&.in {
opacity: 1;
}
.tooltip-arrow {
visibility: hidden;
}
}
.result-message.fail, .stack-trace.padded {
text-overflow: ellipsis;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 10;
overflow: hidden;
2014-09-27 04:31:09 +04:00
&.expanded {
-webkit-line-clamp: inherit;
// overflow: hidden;
}
}
2014-06-17 22:28:01 +04:00
.deprecation-toggle {
.octicon(fold);
float: right;
cursor: pointer;
opacity: 0;
color: #999;
&.folded {
.octicon(unfold);
}
}
.deprecation-toggle:hover {
color: #333;
}
&:hover .deprecation-toggle {
opacity: 1;
}
2013-02-12 06:00:42 +04:00
}