Merge branch 'hotfix/21.56.9' into master
[gitter.git] / public / repo / mocha / mocha.css
blob883d44bbf293ccd53678d355ab0d35f08305f568
1 @charset "utf-8";
3 body {
4 font: 20px/1.5 "Helvetica Neue", Helvetica, Arial, sans-serif;
5 padding: 60px 50px;
8 #mocha ul, #mocha li {
9 margin: 0;
10 padding: 0;
13 #mocha ul {
14 list-style: none;
17 #mocha h1, #mocha h2 {
18 margin: 0;
21 #mocha h1 {
22 margin-top: 15px;
23 font-size: 1em;
24 font-weight: 200;
27 #mocha h1 a {
28 text-decoration: none;
29 color: inherit;
32 #mocha h1 a:hover {
33 text-decoration: underline;
36 #mocha .suite .suite h1 {
37 margin-top: 0;
38 font-size: .8em;
41 .hidden {
42 display: none;
45 #mocha h2 {
46 font-size: 12px;
47 font-weight: normal;
48 cursor: pointer;
51 #mocha .suite {
52 margin-left: 15px;
55 #mocha .test {
56 margin-left: 15px;
57 overflow: hidden;
60 #mocha .test.pending:hover h2::after {
61 content: '(pending)';
62 font-family: arial;
65 #mocha .test.pass.medium .duration {
66 background: #C09853;
69 #mocha .test.pass.slow .duration {
70 background: #B94A48;
73 #mocha .test.pass::before {
74 content: '✓';
75 font-size: 12px;
76 display: block;
77 float: left;
78 margin-right: 5px;
79 color: #00d6b2;
82 #mocha .test.pass .duration {
83 font-size: 9px;
84 margin-left: 5px;
85 padding: 2px 5px;
86 color: white;
87 -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.2);
88 -moz-box-shadow: inset 0 1px 1px rgba(0,0,0,.2);
89 box-shadow: inset 0 1px 1px rgba(0,0,0,.2);
90 -webkit-border-radius: 5px;
91 -moz-border-radius: 5px;
92 -ms-border-radius: 5px;
93 -o-border-radius: 5px;
94 border-radius: 5px;
97 #mocha .test.pass.fast .duration {
98 display: none;
101 #mocha .test.pending {
102 color: #0b97c4;
105 #mocha .test.pending::before {
106 content: '◦';
107 color: #0b97c4;
110 #mocha .test.fail {
111 color: #c00;
114 #mocha .test.fail pre {
115 color: black;
118 #mocha .test.fail::before {
119 content: '✖';
120 font-size: 12px;
121 display: block;
122 float: left;
123 margin-right: 5px;
124 color: #c00;
127 #mocha .test pre.error {
128 color: #c00;
129 max-height: 300px;
130 overflow: auto;
133 #mocha .test pre {
134 display: block;
135 float: left;
136 clear: left;
137 font: 12px/1.5 monaco, monospace;
138 margin: 5px;
139 padding: 15px;
140 border: 1px solid #eee;
141 border-bottom-color: #ddd;
142 -webkit-border-radius: 3px;
143 -webkit-box-shadow: 0 1px 3px #eee;
144 -moz-border-radius: 3px;
145 -moz-box-shadow: 0 1px 3px #eee;
148 #mocha .test h2 {
149 position: relative;
152 #mocha .test a.replay {
153 position: absolute;
154 top: 3px;
155 right: 0;
156 text-decoration: none;
157 vertical-align: middle;
158 display: block;
159 width: 15px;
160 height: 15px;
161 line-height: 15px;
162 text-align: center;
163 background: #eee;
164 font-size: 15px;
165 -moz-border-radius: 15px;
166 border-radius: 15px;
167 -webkit-transition: opacity 200ms;
168 -moz-transition: opacity 200ms;
169 transition: opacity 200ms;
170 opacity: 0.3;
171 color: #888;
174 #mocha .test:hover a.replay {
175 opacity: 1;
178 #mocha-report.pass .test.fail {
179 display: none;
182 #mocha-report.fail .test.pass {
183 display: none;
186 #mocha-error {
187 color: #c00;
188 font-size: 1.5 em;
189 font-weight: 100;
190 letter-spacing: 1px;
193 #mocha-stats {
194 position: fixed;
195 top: 15px;
196 right: 10px;
197 font-size: 12px;
198 margin: 0;
199 color: #888;
202 #mocha-stats .progress {
203 float: right;
204 padding-top: 0;
207 #mocha-stats em {
208 color: black;
211 #mocha-stats a {
212 text-decoration: none;
213 color: inherit;
216 #mocha-stats a:hover {
217 border-bottom: 1px solid #eee;
220 #mocha-stats li {
221 display: inline-block;
222 margin: 0 5px;
223 list-style: none;
224 padding-top: 11px;
227 #mocha-stats canvas {
228 width: 40px;
229 height: 40px;
232 code .comment { color: #ddd }
233 code .init { color: #2F6FAD }
234 code .string { color: #5890AD }
235 code .keyword { color: #8A6343 }
236 code .number { color: #2F6FAD }
238 @media screen and (max-device-width: 480px) {
239 body {
240 padding: 60px 0px;
243 #stats {
244 position: absolute;