/
mocha-matrix.css
60 lines (51 loc) · 1.04 KB
/
mocha-matrix.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
#mocha {
font: 12px "Helvetica Neue", Helvetica, Arial, sans-serif;
margin: 80px;
}
#mocha .test {
display: block;
margin: 1px;
float: left;
width: 25px;
height: 25px;
background: #f8f8f8;
border-radius: 2px;
-webkit-transform: scale(.2);
-moz-transform: scale(.2);
transform: scale(.2);
-webkit-transition: -webkit-transform 200ms, background-color 150ms;
-moz-transition: -moz-transform 200ms, background-color 150ms;
transition: transform 200ms, background-color 150ms;
}
#mocha .fail.show:hover {
background: #f00;
}
#mocha .test.show {
background: #eee;
-webkit-transform: scale(1);
-moz-transform: scale(1);
transform: scale(1);
}
#mocha .fail.show {
background: #c00;
}
#mocha .test:hover {
background: #ddd;
}
#mocha .errors {
margin: 0;
padding: 0;
opacity: 0;
float: left;
width: 100%;
-webkit-transition: opacity 500ms;
-moz-transition: opacity 500ms;
transition: opacity 500ms;
}
#mocha .errors.show {
opacity: 1;
}
#mocha .errors li {
margin: 50px 15px;
list-style: none;
}