Skip to content

Commit 528ea17

Browse files
committed
updated qunit
1 parent c92852b commit 528ea17

File tree

3 files changed

+173
-173
lines changed

3 files changed

+173
-173
lines changed

test/qunit.css

+87-87
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
/**
22
* QUnit - A JavaScript Unit Testing Framework
3-
*
3+
*
44
* http://docs.jquery.com/QUnit
55
*
6-
* Copyright (c) 2011 John Resig, Jörn Zaefferer
6+
* Copyright (c) 2011 John Resig, Jörn Zaefferer
77
* Dual licensed under the MIT (MIT-LICENSE.txt)
88
* or GPL (GPL-LICENSE.txt) licenses.
99
*/
1010

1111
/** Font Family and Sizes */
1212

1313
#qunit-tests, #qunit-header, #qunit-banner, #qunit-testrunner-toolbar, #qunit-userAgent, #qunit-testresult {
14-
font-family: "Helvetica Neue Light", "HelveticaNeue-Light", "Helvetica Neue", Calibri, Helvetica, Arial, sans-serif;
14+
font-family: "Helvetica Neue Light", "HelveticaNeue-Light", "Helvetica Neue", Calibri, Helvetica, Arial, sans-serif;
1515
}
1616

1717
#qunit-testrunner-toolbar, #qunit-userAgent, #qunit-testresult, #qunit-tests li { font-size: small; }
@@ -21,133 +21,133 @@
2121
/** Resets */
2222

2323
#qunit-tests, #qunit-tests ol, #qunit-header, #qunit-banner, #qunit-userAgent, #qunit-testresult {
24-
margin: 0;
25-
padding: 0;
24+
margin: 0;
25+
padding: 0;
2626
}
2727

2828

2929
/** Header */
3030

3131
#qunit-header {
32-
padding: 0.5em 0 0.5em 1em;
32+
padding: 0.5em 0 0.5em 1em;
33+
34+
color: #8699a4;
35+
background-color: #0d3349;
3336

34-
color: #8699a4;
35-
background-color: #0d3349;
37+
font-size: 1.5em;
38+
line-height: 1em;
39+
font-weight: normal;
3640

37-
font-size: 1.5em;
38-
line-height: 1em;
39-
font-weight: normal;
40-
41-
border-radius: 15px 15px 0 0;
42-
-moz-border-radius: 15px 15px 0 0;
43-
-webkit-border-top-right-radius: 15px;
44-
-webkit-border-top-left-radius: 15px;
41+
border-radius: 15px 15px 0 0;
42+
-moz-border-radius: 15px 15px 0 0;
43+
-webkit-border-top-right-radius: 15px;
44+
-webkit-border-top-left-radius: 15px;
4545
}
4646

4747
#qunit-header a {
48-
text-decoration: none;
49-
color: #c2ccd1;
48+
text-decoration: none;
49+
color: #c2ccd1;
5050
}
5151

5252
#qunit-header a:hover,
5353
#qunit-header a:focus {
54-
color: #fff;
54+
color: #fff;
5555
}
5656

5757
#qunit-banner {
58-
height: 5px;
58+
height: 5px;
5959
}
6060

6161
#qunit-testrunner-toolbar {
62-
padding: 0.5em 0 0.5em 2em;
63-
color: #5E740B;
64-
background-color: #eee;
62+
padding: 0.5em 0 0.5em 2em;
63+
color: #5E740B;
64+
background-color: #eee;
6565
}
6666

6767
#qunit-userAgent {
68-
padding: 0.5em 0 0.5em 2.5em;
69-
background-color: #2b81af;
70-
color: #fff;
71-
text-shadow: rgba(0, 0, 0, 0.5) 2px 2px 1px;
68+
padding: 0.5em 0 0.5em 2.5em;
69+
background-color: #2b81af;
70+
color: #fff;
71+
text-shadow: rgba(0, 0, 0, 0.5) 2px 2px 1px;
7272
}
7373

7474

7575
/** Tests: Pass/Fail */
7676

7777
#qunit-tests {
78-
list-style-position: inside;
78+
list-style-position: inside;
7979
}
8080

8181
#qunit-tests li {
82-
padding: 0.4em 0.5em 0.4em 2.5em;
83-
border-bottom: 1px solid #fff;
84-
list-style-position: inside;
82+
padding: 0.4em 0.5em 0.4em 2.5em;
83+
border-bottom: 1px solid #fff;
84+
list-style-position: inside;
8585
}
8686

8787
#qunit-tests.hidepass li.pass, #qunit-tests.hidepass li.running {
88-
display: none;
88+
display: none;
8989
}
9090

9191
#qunit-tests li strong {
92-
cursor: pointer;
92+
cursor: pointer;
9393
}
9494

9595
#qunit-tests li a {
96-
padding: 0.5em;
97-
color: #c2ccd1;
98-
text-decoration: none;
96+
padding: 0.5em;
97+
color: #c2ccd1;
98+
text-decoration: none;
9999
}
100100
#qunit-tests li a:hover,
101101
#qunit-tests li a:focus {
102-
color: #000;
102+
color: #000;
103103
}
104104

105105
#qunit-tests ol {
106-
margin-top: 0.5em;
107-
padding: 0.5em;
108-
109-
background-color: #fff;
110-
111-
border-radius: 15px;
112-
-moz-border-radius: 15px;
113-
-webkit-border-radius: 15px;
114-
115-
box-shadow: inset 0px 2px 13px #999;
116-
-moz-box-shadow: inset 0px 2px 13px #999;
117-
-webkit-box-shadow: inset 0px 2px 13px #999;
106+
margin-top: 0.5em;
107+
padding: 0.5em;
108+
109+
background-color: #fff;
110+
111+
border-radius: 15px;
112+
-moz-border-radius: 15px;
113+
-webkit-border-radius: 15px;
114+
115+
box-shadow: inset 0px 2px 13px #999;
116+
-moz-box-shadow: inset 0px 2px 13px #999;
117+
-webkit-box-shadow: inset 0px 2px 13px #999;
118118
}
119119

120120
#qunit-tests table {
121-
border-collapse: collapse;
122-
margin-top: .2em;
121+
border-collapse: collapse;
122+
margin-top: .2em;
123123
}
124124

125125
#qunit-tests th {
126-
text-align: right;
127-
vertical-align: top;
128-
padding: 0 .5em 0 0;
126+
text-align: right;
127+
vertical-align: top;
128+
padding: 0 .5em 0 0;
129129
}
130130

131131
#qunit-tests td {
132-
vertical-align: top;
132+
vertical-align: top;
133133
}
134134

135135
#qunit-tests pre {
136-
margin: 0;
137-
white-space: pre-wrap;
138-
word-wrap: break-word;
136+
margin: 0;
137+
white-space: pre-wrap;
138+
word-wrap: break-word;
139139
}
140140

141141
#qunit-tests del {
142-
background-color: #e0f2be;
143-
color: #374e0c;
144-
text-decoration: none;
142+
background-color: #e0f2be;
143+
color: #374e0c;
144+
text-decoration: none;
145145
}
146146

147147
#qunit-tests ins {
148-
background-color: #ffcaca;
149-
color: #500;
150-
text-decoration: none;
148+
background-color: #ffcaca;
149+
color: #500;
150+
text-decoration: none;
151151
}
152152

153153
/*** Test Counts */
@@ -157,24 +157,24 @@
157157
#qunit-tests b.failed { color: #710909; }
158158

159159
#qunit-tests li li {
160-
margin: 0.5em;
161-
padding: 0.4em 0.5em 0.4em 0.5em;
162-
background-color: #fff;
163-
border-bottom: none;
164-
list-style-position: inside;
160+
margin: 0.5em;
161+
padding: 0.4em 0.5em 0.4em 0.5em;
162+
background-color: #fff;
163+
border-bottom: none;
164+
list-style-position: inside;
165165
}
166166

167167
/*** Passing Styles */
168168

169169
#qunit-tests li li.pass {
170-
color: #5E740B;
171-
background-color: #fff;
172-
border-left: 26px solid #C6E746;
170+
color: #5E740B;
171+
background-color: #fff;
172+
border-left: 26px solid #C6E746;
173173
}
174174

175175
#qunit-tests .pass { color: #528CE0; background-color: #D2E0E6; }
176176
#qunit-tests .pass .test-name { color: #366097; }
177-
177+
178178
#qunit-tests .pass .test-actual,
179179
#qunit-tests .pass .test-expected { color: #999999; }
180180

@@ -183,16 +183,16 @@
183183
/*** Failing Styles */
184184

185185
#qunit-tests li li.fail {
186-
color: #710909;
187-
background-color: #fff;
188-
border-left: 26px solid #EE5757;
186+
color: #710909;
187+
background-color: #fff;
188+
border-left: 26px solid #EE5757;
189189
}
190190

191191
#qunit-tests > li:last-child {
192-
border-radius: 0 0 15px 15px;
193-
-moz-border-radius: 0 0 15px 15px;
194-
-webkit-border-bottom-right-radius: 15px;
195-
-webkit-border-bottom-left-radius: 15px;
192+
border-radius: 0 0 15px 15px;
193+
-moz-border-radius: 0 0 15px 15px;
194+
-webkit-border-bottom-right-radius: 15px;
195+
-webkit-border-bottom-left-radius: 15px;
196196
}
197197

198198
#qunit-tests .fail { color: #000000; background-color: #EE5757; }
@@ -208,18 +208,18 @@
208208
/** Result */
209209

210210
#qunit-testresult {
211-
padding: 0.5em 0.5em 0.5em 2.5em;
211+
padding: 0.5em 0.5em 0.5em 2.5em;
212212

213-
color: #2b81af;
214-
background-color: #D2E0E6;
213+
color: #2b81af;
214+
background-color: #D2E0E6;
215215

216-
border-bottom: 1px solid white;
216+
border-bottom: 1px solid white;
217217
}
218218

219219
/** Fixture */
220220

221221
#qunit-fixture {
222-
position: absolute;
223-
top: -10000px;
224-
left: -10000px;
222+
position: absolute;
223+
top: -10000px;
224+
left: -10000px;
225225
}

0 commit comments

Comments
 (0)