Skip to content

Commit 590065b

Browse files
committed
Update mocha to version 3.1.0.
1 parent 7840037 commit 590065b

File tree

2 files changed

+7783
-4713
lines changed

2 files changed

+7783
-4713
lines changed

test/vendor/mocha.css

Lines changed: 31 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -148,23 +148,28 @@ body {
148148
padding: 15px;
149149
border: 1px solid #eee;
150150
max-width: 85%; /*(1)*/
151+
max-width: -webkit-calc(100% - 42px);
152+
max-width: -moz-calc(100% - 42px);
151153
max-width: calc(100% - 42px); /*(2)*/
152154
max-height: 300px;
153155
word-wrap: break-word;
154156
border-bottom-color: #ddd;
155-
-webkit-border-radius: 3px;
156157
-webkit-box-shadow: 0 1px 3px #eee;
157-
-moz-border-radius: 3px;
158158
-moz-box-shadow: 0 1px 3px #eee;
159+
box-shadow: 0 1px 3px #eee;
160+
-webkit-border-radius: 3px;
161+
-moz-border-radius: 3px;
159162
border-radius: 3px;
160163
}
161164

162165
#mocha .test .html-error pre.error {
163166
border: none;
164-
-webkit-border-radius: none;
165-
-webkit-box-shadow: none;
166-
-moz-border-radius: none;
167-
-moz-box-shadow: none;
167+
-webkit-border-radius: 0;
168+
-moz-border-radius: 0;
169+
border-radius: 0;
170+
-webkit-box-shadow: 0;
171+
-moz-box-shadow: 0;
172+
box-shadow: 0;
168173
padding: 0;
169174
margin: 0;
170175
margin-top: 18px;
@@ -185,13 +190,16 @@ body {
185190
padding: 15px;
186191
border: 1px solid #eee;
187192
max-width: 85%; /*(1)*/
193+
max-width: -webkit-calc(100% - 42px);
194+
max-width: -moz-calc(100% - 42px);
188195
max-width: calc(100% - 42px); /*(2)*/
189196
word-wrap: break-word;
190197
border-bottom-color: #ddd;
191-
-webkit-border-radius: 3px;
192198
-webkit-box-shadow: 0 1px 3px #eee;
193-
-moz-border-radius: 3px;
194199
-moz-box-shadow: 0 1px 3px #eee;
200+
box-shadow: 0 1px 3px #eee;
201+
-webkit-border-radius: 3px;
202+
-moz-border-radius: 3px;
195203
border-radius: 3px;
196204
}
197205

@@ -212,10 +220,12 @@ body {
212220
text-align: center;
213221
background: #eee;
214222
font-size: 15px;
223+
-webkit-border-radius: 15px;
215224
-moz-border-radius: 15px;
216225
border-radius: 15px;
217-
-webkit-transition: opacity 200ms;
218-
-moz-transition: opacity 200ms;
226+
-webkit-transition:opacity 200ms;
227+
-moz-transition:opacity 200ms;
228+
-o-transition:opacity 200ms;
219229
transition: opacity 200ms;
220230
opacity: 0.3;
221231
color: #888;
@@ -261,6 +271,17 @@ body {
261271
#mocha-stats .progress {
262272
float: right;
263273
padding-top: 0;
274+
275+
/**
276+
* Set safe initial values, so mochas .progress does not inherit these
277+
* properties from Bootstrap .progress (which causes .progress height to
278+
* equal line height set in Bootstrap).
279+
*/
280+
height: auto;
281+
-webkit-box-shadow: none;
282+
-moz-box-shadow: none;
283+
box-shadow: none;
284+
background-color: initial;
264285
}
265286

266287
#mocha-stats em {

0 commit comments

Comments
 (0)