10000 qunit: Added version 1.13.0 · jquery/codeorigin.jquery.com@5db556b · GitHub
Skip to content

Commit 5db556b

Browse files
committed
qunit: Added version 1.13.0
1 parent d92afb1 commit 5db556b

File tree

2 files changed

+2455
-0
lines changed

2 files changed

+2455
-0
lines changed

cdn/qunit/qunit-1.13.0.css

Lines changed: 245 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,245 @@
1+
/*!
2+
* QUnit 1.13.0
3+
* http://qunitjs.com/
4+
*
5+
* Copyright 2013 jQuery Foundation and other contributors
6+
* Released under the MIT license
7+
* http://jquery.org/license
8+
*
9+
* Date: 2014-01-04T17:09Z
10+
*/
11+
12+
/** Font Family and Sizes */
13+
14+
#qunit-tests, #qunit-header, #qunit-banner, #qunit-testrunner-toolbar, #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-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-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: normal;
41+
42+
border-radius: 5px 5px 0 0;
43+
-moz-border-radius: 5px 5px 0 0;
44+
-webkit-border-top-right-radius: 5px;
45+
-webkit-border-top-left-radius: 5px;
46+
}
47+
48+
#qunit-header a {
49+
text-decoration: none;
50+
color: #c2ccd1;
51+
}
52+
53+
#qunit-header a:hover,
54+
#qunit-header a:focus {
55+
color: #fff;
56+
}
57+
58+
#qunit-testrunner-toolbar label {
59+
display: inline-block;
60+
padding: 0 .5em 0 .1em;
61+
}
62+
63+
#qunit-banner {
64+
height: 5px;
65+
}
66+
67+
#qunit-testrunner-toolbar {
68+
padding: 0.5em 0 0.5em 2em;
69+
color: #5E740B;
70+
background-color: #eee;
71+
overflow: hidden;
72+
}
73+
74+
#qunit-userAgent {
75+
padding: 0.5em 0 0.5em 2.5em;
76+
background-color: #2b81af;
77+
color: #fff;
78+
text-shadow: rgba(0, 0, 0, 0.5) 2px 2px 1px;
79+
}
80+
81+
#qunit-modulefilter-container {
82+
float: right;
83+
}
84+
85+
/** Tests: Pass/Fail */
86+
87+
#qunit-tests {
88+
list-style-position: inside;
89+
}
90+
91+
#qunit-tests li {
92+
padding: 0.4em 0.5em 0.4em 2.5em;
93+
border-bottom: 1px solid #fff;
94+
list-style-position: inside;
95+
}
96+
97+
#qunit-tests.hidepass li.pass, #qunit-tests.hidepass li.running {
98+
display: none;
99+
}
100+
101+
#qunit-tests li strong {
102+
cursor: pointer;
103+
}
104+
105+
#qunit-tests li a {
106+
padding: 0.5em;
107+
color: #c2ccd1;
108+
text-decoration: none;
109+
}
110+
#qunit-tests li a:hover,
111+
#qunit-tests li a:focus {
112+
color: #000;
113+
}
114+
115+
#qunit-tests li .runtime {
116+
float: right;
117+
font-size: smaller;
118+
}
119+
120+
.qunit-assert-list {
121+
margin-top: 0.5em;
122+
padding: 0.5em;
123+
124+
background-color: #fff;
125+
126+
border-radius: 5px;
127+
-moz-border-radius: 5px;
128+
-webkit-border-radius: 5px;
129+
}
130+
131+
.qunit-collapsed {
132+
display: none;
133+
}
134+
135+
#qunit-tests table {
136+
border-collapse: collapse;
137+
margin-top: .2em;
138+
}
139+
140+
#qunit-tests th {
141+
text-align: right;
142+
vertical-align: top;
143+
padding: 0 .5em 0 0;
144+
}
145+
146+
#qunit-tests td {
147+
vertical-align: top;
148+
}
149+
150+
#qunit-tests pre {
151+
margin: 0;
152+
white-space: pre-wrap;
153+
word-wrap: break-word;
154+
}
155+
156+
#qunit-tests del {
157+
background-color: #e0f2be;
158+
color: #374e0c;
159+
text-decoration: none;
160+
}
161+
162+
#qunit-tests ins {
163+
background-color: #ffcaca;
164+
color: #500;
165+
text-decoration: none;
166+
}
167+
168+
/*** Test Counts */
169+
170+
#qunit-tests b.counts { color: black; }
171+
#qunit-tests b.passed { color: #5E740B; }
172+
#qunit-tests b.failed { color: #710909; }
173+
174+
#qunit-tests li li {
175+
padding: 5px;
176+
background-color: #fff;
177+
border-bottom: none;
178+
list-style-position: inside;
179+
}
180+
181+
/*** Passing Styles */
182+
183+
#qunit-tests li li.pass {
184+
color: #3c510c;
185+
background-color: #fff;
186+
border-left: 10px solid #C6E746;
187+
}
188+
189+
#qunit-tests .pass { color: #528CE0; background-color: #D2E0E6; }
190+
#qunit-tests .pass .test-name { color: #366097; }
191+
192+
#qunit-tests .pass .test-actual,
193+
#qunit-tests .pass .test-expected { color: #999999; }
194+
195+
#qunit-banner.qunit-pass { background-color: #C6E746; }
196+
197+
/*** Failing Styles */
198+
199+
#qunit-tests li li.fail {
200+
color: #710909;
201+
background-color: #fff;
202+
border-left: 10px solid #EE5757;
203+
white-space: pre;
204+
}
205+
206+
#qunit-tests > li:last-child {
207+
border-radius: 0 0 5px 5px;
208+
-moz-border-radius: 0 0 5px 5px;
209+
-webkit-border-bottom-right-radius: 5px;
210+
-webkit-border-bottom-left-radius: 5px;
211+
}
212+
213+
#qunit-tests .fail { color: #000000; background-color: #EE5757; }
214+
#qunit-tests .fail .test-name,
215+
#qunit-tests .fail .module-name { color: #000000; }
216+
217+
#qunit-tests .fail .test-actual { color: #EE5757; }
218+
#qunit-tests .fail .test-expected { color: green; }
219+
220+
#qunit-banner.qunit-fail { background-color: #EE5757; }
221+
222+
223+
/** Result */
224+
225+
#qunit-testresult {
226+
padding: 0.5em 0.5em 0.5em 2.5em;
227+
228+
color: #2b81af;
229+
background-color: #D2E0E6;
230+
231+
border-bottom: 1px solid white;
232+
}
233+
#qunit-testresult .module-name {
234+
font-weight: bold;
235+
}
236+
237+
/** Fixture */
238+
239+
#qunit-fixture {
240+
position: absolute;
241+
top: -10000px;
242+
left: -10000px;
243+
width: 1000px;
244+
height: 1000px;
245+
}

0 commit comments

Comments
 (0)