UNPKG

1.6 kBCSSView Raw
1html, body {
2 margin: 0;
3 padding: 0;
4 font-family: sans-serif;
5}
6body {
7 height: 100%;
8 overflow-y: hidden;
9}
10section {
11 /* padding-top: 120px; */
12 margin-top: 120px;
13 overflow-y: scroll;
14}
15nav {
16 padding: 20px;
17 background-color: #333;
18 color: #fff;
19 cursor: pointer;
20 position: fixed;
21 z-index: 1000000;
22 top: 0;
23 left: 0;
24 right: 0;
25}
26#hide-tests {
27 display: none;
28}
29
30/****************/
31/* Mocha styles */
32/****************/
33
34#mocha {
35 font: 20px/1.5 "Helvetica Neue", Helvetica, Arial, sans-serif;
36 margin: 10px 50px 60px 50px;
37 display: flex;
38 flex-direction: column;
39}
40#mocha p:first-child {
41 display: none;
42}
43#mocha-stats {
44 position: relative;
45 font-size: 12px;
46 margin: 0;
47 color: #666;
48 z-index: 1;
49}
50#mocha-stats > li {
51 margin-top: -20px;
52}
53#mocha-stats .progress {
54 position: relative !important;
55 top: -10px;
56 /**
57 * Set safe initial values, so mochas .progress does not inherit these
58 * properties from Bootstrap .progress (which causes .progress height to
59 * equal line height set in Bootstrap).
60 */
61 height: auto;
62 -webkit-box-shadow: none;
63 -moz-box-shadow: none;
64 box-shadow: none;
65 background-color: initial;
66}
67#mocha-stats em {
68 color: #666;
69}
70
71#mocha-stats a {
72 text-decoration: none;
73 color: inherit;
74}
75
76#mocha-stats a:hover {
77 border-bottom: 1px solid #eee;
78}
79
80#mocha-stats li {
81 display: inline-block;
82 margin: 0px 5px;
83 list-style: none;
84 padding-top: 11px;
85 position: relative;
86 top: -20px;
87}
88#mocha-stats li:first-of-type {
89 top: -5px;
90 float: none !important;
91}
92
93#mocha-stats canvas {
94 width: 40px;
95 height: 40px;
96}
\No newline at end of file