Skip to content

Commit 40039ee

Browse files
committed
qunitjs: Added version 2.0.0-rc1
1 parent 707e513 commit 40039ee

File tree

2 files changed

+4689
-0
lines changed

2 files changed

+4689
-0
lines changed

cdn/qunit/qunit-2.0.0-rc1.css

Lines changed: 363 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,363 @@
1+
/*!
2+
* QUnit 2.0.0-rc1
3+
* https://qunitjs.com/
4+
*
5+
* Copyright jQuery Foundation and other contributors
6+
* Released under the MIT license
7+
* https://jquery.org/license
8+
*
9+
* Date: 2016-04-19T16:15Z
10+
*/
11+
12+
/** Font Family and Sizes */
13+
14+
#qunit-tests, #qunit-header, #qunit-banner, #qunit-testrunner-toolbar, #qunit-filteredTest, #qunit-userAgent, #qunit-testresult {
15+
font-family: "Helvetica Neue Light", "HelveticaNeue-Light", "Helvetica Neue", Calibri, Helvetica, Arial, sans-serif;
16+
}
17+
18+
#qunit-testrunner-toolbar, #qunit-filteredTest, #qunit-userAgent, #qunit-testresult, #qunit-tests li { font-size: small; }
19+
#qunit-tests { font-size: smaller; }
20+
21+
22+
/** Resets */
23+
24+
#qunit-tests, #qunit-header, #qunit-banner, #qunit-filteredTest, #qunit-userAgent, #qunit-testresult, #qunit-modulefilter {
25+
margin: 0;
26+
padding: 0;
27+
}
28+
29+
30+
/** Header */
31+
32+
#qunit-header {
33+
padding: 0.5em 0 0.5em 1em;
34+
35+
color: #8699A4;
36+
background-color: #0D3349;
37+
38+
font-size: 1.5em;
39+
line-height: 1em;
40+
font-weight: 400;
41+
42+
border-radius: 5px 5px 0 0;
43+
}
44+
45+
#qunit-header a {
46+
text-decoration: none;
47+
color: #C2CCD1;
48+
}
49+
50+
#qunit-header a:hover,
51+
#qunit-header a:focus {
52+
color: #FFF;
53+
}
54+
55+
#qunit-testrunner-toolbar label {
56+
display: inline-block;
57+
padding: 0 0.5em 0 0.1em;
58+
}
59+
60+
#qunit-banner {
61+
height: 5px;
62+
}
63+
64+
#qunit-testrunner-toolbar {
65+
padding: 0.5em 1em 0.5em 1em;
66+
color: #5E740B;
67+
background-color: #EEE;
68+
overflow: hidden;
69+
}
70+
71+
#qunit-filteredTest {
72+
padding: 0.5em 1em 0.5em 1em;
73+
background-color: #F4FF77;
74+
color: #366097;
75+
}
76+
77+
#qunit-userAgent {
78+
padding: 0.5em 1em 0.5em 1em;
79+
background-color: #2B81AF;
80+
color: #FFF;
81+
text-shadow: rgba(0, 0, 0, 0.5) 2px 2px 1px;
82+
}
83+
84+
#qunit-modulefilter-container {
85+
float: right;
86+
padding: 0.2em;
87+
}
88+
89+
#qunit-modulefilter-component {
90+
width: 400px;
91+
display: inline-block;
92+
}
93+
94+
#qunit-modulefilter-search {
95+
width: inherit;
96+
box-sizing: border-box;
97+
}
98+
99+
#qunit-modulefilter-dropdown-container {
100+
color: #000000;
101+
position: absolute;
102+
width: inherit;
103+
border: 1px solid #D3D3D3;
104+
border-top: none;
105+
box-sizing: border-box;
106+
background-color: #F5F5F5;
107+
border-radius: 0 0 .25em .25em;
108+
font-family: sans-serif;
109+
font-size: smaller;
110+
}
111+
112+
#qunit-modulefilter-dropdown-list {
113+
max-height: 200px;
114+
overflow-y: auto;
115+
padding: 0;
116+
margin: 0 .15em .15em .15em;
117+
}
118+
119+
#qunit-modulefilter-dropdown-list li {
120+
white-space: nowrap;
121+
overflow: hidden;
122+
text-overflow: ellipsis;
123+
}
124+
125+
126+
#qunit-modulefilter-dropdown-list label {
127+
display: inline;
128+
}
129+
130+
#qunit-modulefilter-dropdown-list input[type="checkbox"] {
131+
position: relative;
132+
top: 0;
133+
margin-right: .5em;
134+
}
135+
136+
#clear-module-filter {
137+
cursor: pointer;
138+
display: inline-block;
139+
width: 100%;
140+
margin-top: .5em;
141+
}
142+
143+
#clear-module-filter-text {
144+
margin-left: .8em;
145+
}
146+
147+
.qunit-url-config {
148+
display: inline-block;
149+
padding: 0.1em;
150+
}
151+
152+
.qunit-filter {
153+
display: block;
154+
float: right;
155+
margin-left: 1em;
156+
}
157+
158+
/** Tests: Pass/Fail */
159+
160+
#qunit-tests {
161+
list-style-position: inside;
162+
}
163+
164+
#qunit-tests li {
165+
padding: 0.4em 1em 0.4em 1em;
166+
border-bottom: 1px solid #FFF;
167+
list-style-position: inside;
168+
}
169+
170+
#qunit-tests > li {
171+
display: none;
172+
}
173+
174+
#qunit-tests li.running,
175+
#qunit-tests li.pass,
176+
#qunit-tests li.fail,
177+
#qunit-tests li.skipped {
178+
display: list-item;
179+
}
180+
181+
#qunit-tests.hidepass {
182+
position: relative;
183+
}
184+
185+
#qunit-tests.hidepass li.running,
186+
#qunit-tests.hidepass li.pass {
187+
visibility: hidden;
188+
position: absolute;
189+
width: 0;
190+
height: 0;
191+
padding: 0;
192+
border: 0;
193+
margin: 0;
194+
}
195+
196+
#qunit-tests li strong {
197+
cursor: pointer;
198+
}
199+
200+
#qunit-tests li.skipped strong {
201+
cursor: default;
202+
}
203+
204+
#qunit-tests li a {
205+
padding: 0.5em;
206+
color: #C2CCD1;
207+
text-decoration: none;
208+
}
209+
210+
#qunit-tests li p a {
211+
padding: 0.25em;
212+
color: #6B6464;
213+
}
214+
#qunit-tests li a:hover,
215+
#qunit-tests li a:focus {
216+
color: #000;
217+
}
218+
219+
#qunit-tests li .runtime {
220+
float: right;
221+
font-size: smaller;
222+
}
223+
224+
.qunit-assert-list {
225+
margin-top: 0.5em;
226+
padding: 0.5em;
227+
228+
background-color: #FFF;
229+
230+
border-radius: 5px;
231+
}
232+
233+
.qunit-source {
234+
margin: 0.6em 0 0.3em;
235+
}
236+
237+
.qunit-collapsed {
238+
display: none;
239+
}
240+
241+
#qunit-tests table {
242+
border-collapse: collapse;
243+
margin-top: 0.2em;
244+
}
245+
246+
#qunit-tests th {
247+
text-align: right;
248+
vertical-align: top;
249+
padding: 0 0.5em 0 0;
250+
}
251+
252+
#qunit-tests td {
253+
vertical-align: top;
254+
}
255+
256+
#qunit-tests pre {
257+
margin: 0;
258+
white-space: pre-wrap;
259+
word-wrap: break-word;
260+
}
261+
262+
#qunit-tests del {
263+
background-color: #E0F2BE;
264+
color: #374E0C;
265+
text-decoration: none;
266+
}
267+
268+
#qunit-tests ins {
269+
background-color: #FFCACA;
270+
color: #500;
271+
text-decoration: none;
272+
}
273+
274+
/*** Test Counts */
275+
276+
#qunit-tests b.counts { color: #000; }
277+
#qunit-tests b.passed { color: #5E740B; }
278+
#qunit-tests b.failed { color: #710909; }
279+
280+
#qunit-tests li li {
281+
padding: 5px;
282+
background-color: #FFF;
283+
border-bottom: none;
284+
list-style-position: inside;
285+
}
286+
287+
/*** Passing Styles */
288+
289+
#qunit-tests li li.pass {
290+
color: #3C510C;
291+
background-color: #FFF;
292+
border-left: 10px solid #C6E746;
293+
}
294+
295+
#qunit-tests .pass { color: #528CE0; background-color: #D2E0E6; }
296+
#qunit-tests .pass .test-name { color: #366097; }
297+
298+
#qunit-tests .pass .test-actual,
299+
#qunit-tests .pass .test-expected { color: #999; }
300+
301+
#qunit-banner.qunit-pass { background-color: #C6E746; }
302+
303+
/*** Failing Styles */
304+
305+
#qunit-tests li li.fail {
306+
color: #710909;
307+
background-color: #FFF;
308+
border-left: 10px solid #EE5757;
309+
white-space: pre;
310+
}
311+
312+
#qunit-tests > li:last-child {
313+
border-radius: 0 0 5px 5px;
314+
}
315+
316+
#qunit-tests .fail { color: #000; background-color: #EE5757; }
317+
#qunit-tests .fail .test-name,
318+
#qunit-tests .fail .module-name { color: #000; }
319+
320+
#qunit-tests .fail .test-actual { color: #EE5757; }
321+
#qunit-tests .fail .test-expected { color: #008000; }
322+
323+
#qunit-banner.qunit-fail { background-color: #EE5757; }
324+
325+
/*** Skipped tests */
326+
327+
#qunit-tests .skipped {
328+
background-color: #EBECE9;
329+
}
330+
331+
#qunit-tests .qunit-skipped-label {
332+
background-color: #F4FF77;
333+
display: inline-block;
334+
font-style: normal;
335+
color: #366097;
336+
line-height: 1.8em;
337+
padding: 0 0.5em;
338+
margin: -0.4em 0.4em -0.4em 0;
339+
}
340+
341+
/** Result */
342+
343+
#qunit-testresult {
344+
padding: 0.5em 1em 0.5em 1em;
345+
346+
color: #2B81AF;
347+
background-color: #D2E0E6;
348+
349+
border-bottom: 1px solid #FFF;
350+
}
351+
#qunit-testresult .module-name {
352+
font-weight: 700;
353+
}
354+
355+
/** Fixture */
356+
357+
#qunit-fixture {
358+
position: absolute;
359+
top: -10000px;
360+
left: -10000px;
361+
width: 1000px;
362+
height: 1000px;
363+
}

0 commit comments

Comments
 (0)