This commit is contained in:
Lars Jung 2015-04-28 01:04:51 +02:00
parent cb5c197994
commit 594653a753
2 changed files with 61 additions and 55 deletions

View file

@ -18,26 +18,29 @@
@col-slow: @col-red-800;
@col-progress: rgba(255,255,255,0.2);
#mocha-custom {
#mocha {
position: fixed;
z-index: 10000;
left: 0;
top: 0;
right: 0;
bottom: 0;
z-index: 10000;
font-family: Roboto, Helvetica, Arial, sans-serif;
background: @col-white;
#mocha-custom {
position: absolute;
left: 0;
top: 0;
right: 0;
height: 32px;
color: @col-white;
background: @col-pending;
font-family: Roboto, Helvetica, Arial, sans-serif;
font-size: 14px;
font-weight: bold;
line-height: 32px;
height: 32px;
padding: 0 8px;
a, a:active, a:visited, a:hover {
display: block;
color: inherit;
text-decoration: none;
}
&.pass {
background: @col-pass;
}
@ -61,32 +64,32 @@
}
}
#mocha {
position: fixed;
z-index: 10000;
left: 0;
top: 32px;
right: 0;
bottom: 0;
background: @col-white;
overflow-x: auto;
overflow-y: scroll;
font-family: Roboto, Helvetica, Arial, sans-serif;
#mocha-stats {
display: none;
}
#mocha-report {
max-width: 900px;
margin: 0 auto;
padding: 32px;
position: absolute;
left: 0;
top: 32px;
right: 0;
bottom: 0;
overflow-x: auto;
overflow-y: scroll;
> .suite {
margin: 0;
margin: 0 auto;
padding: 32px;
max-width: 900px;
}
}
a, a:active, a:visited, a:hover {
display: block;
color: inherit;
text-decoration: none;
}
ul, li, h1, h2 {
margin: 0;
padding: 0;
@ -107,10 +110,7 @@
background: @col-back-hover;
}
a, a:active, a:visited, a:hover {
display: block;
padding: 0 8px;
color: inherit;
text-decoration: none;
}
.count {
font-size: 0.85em;

View file

@ -9,6 +9,12 @@ describe('premisses', function () {
assert.strictEqual(window, window.window);
});
it('document is global object', function () {
assert.isObject(document);
assert.strictEqual(document, window.document);
});
it('jQuery and $ are global objects', function () {
assert.isFunction(jQuery);