Skip to content

Commit a71b901

Browse files
committed
Update Qunit to 1.14.
1 parent 2c2192d commit a71b901

File tree

2 files changed

+2104
-1149
lines changed

2 files changed

+2104
-1149
lines changed

test/public/vendor/qunit.css

Lines changed: 95 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,18 @@
1+
/*!
2+
* QUnit 1.14.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-31T16:40Z
10+
*/
11+
112
/** Font Family and Sizes */
213

314
#qunit-tests, #qunit-header, #qunit-banner, #qunit-testrunner-toolbar, #qunit-userAgent, #qunit-testresult {
4-
font-family: "Helvetica Neue Light", "HelveticaNeue-Light", "Helvetica Neue", Calibri, Helvetica, Arial;
15+
font-family: "Helvetica Neue Light", "HelveticaNeue-Light", "Helvetica Neue", Calibri, Helvetica, Arial, sans-serif;
516
}
617

718
#qunit-testrunner-toolbar, #qunit-userAgent, #qunit-testresult, #qunit-tests li { font-size: small; }
@@ -10,7 +21,7 @@
1021

1122
/** Resets */
1223

13-
#qunit-tests, #qunit-tests ol, #qunit-header, #qunit-banner, #qunit-userAgent, #qunit-testresult {
24+
#qunit-tests, #qunit-header, #qunit-banner, #qunit-userAgent, #qunit-testresult, #qunit-modulefilter {
1425
margin: 0;
1526
padding: 0;
1627
}
@@ -21,44 +32,52 @@
2132
#qunit-header {
2233
padding: 0.5em 0 0.5em 1em;
2334

24-
color: #8699a4;
25-
background-color: #0d3349;
35+
color: #8699A4;
36+
background-color: #0D3349;
2637

2738
font-size: 1.5em;
2839
line-height: 1em;
29-
font-weight: normal;
30-
31-
border-radius: 15px 15px 0 0;
32-
-moz-border-radius: 15px 15px 0 0;
33-
-webkit-border-top-right-radius: 15px;
34-
-webkit-border-top-left-radius: 15px;
40+
font-weight: 400;
41+
42+
border-radius: 5px 5px 0 0;
3543
}
3644

3745
#qunit-header a {
3846
text-decoration: none;
39-
color: #c2ccd1;
47+
color: #C2CCD1;
4048
}
4149

4250
#qunit-header a:hover,
4351
#qunit-header a:focus {
44-
color: #fff;
52+
color: #FFF;
53+
}
54+
55+
#qunit-testrunner-toolbar label {
56+
display: inline-block;
57+
padding: 0 0.5em 0 0.1em;
4558
}
4659

4760
#qunit-banner {
4861
height: 5px;
4962
}
5063

5164
#qunit-testrunner-toolbar {
52-
padding: 0em 0 0.5em 2em;
65+
padding: 0.5em 0 0.5em 2em;
66+
color: #5E740B;
67+
background-color: #EEE;
68+
overflow: hidden;
5369
}
5470

5571
#qunit-userAgent {
5672
padding: 0.5em 0 0.5em 2.5em;
57-
background-color: #2b81af;
58-
color: #fff;
73+
background-color: #2B81AF;
74+
color: #FFF;
5975
text-shadow: rgba(0, 0, 0, 0.5) 2px 2px 1px;
6076
}
6177

78+
#qunit-modulefilter-container {
79+
float: right;
80+
}
6281

6382
/** Tests: Pass/Fail */
6483

@@ -68,38 +87,55 @@
6887

6988
#qunit-tests li {
7089
padding: 0.4em 0.5em 0.4em 2.5em;
71-
border-bottom: 1px solid #fff;
90+
border-bottom: 1px solid #FFF;
7291
list-style-position: inside;
7392
}
7493

94+
#qunit-tests.hidepass li.pass, #qunit-tests.hidepass li.running {
95+
display: none;
96+
}
97+
7598
#qunit-tests li strong {
7699
cursor: pointer;
77100
}
78101

79-
#qunit-tests ol {
102+
#qunit-tests li a {
103+
padding: 0.5em;
104+
color: #C2CCD1;
105+
text-decoration: none;
106+
}
107+
#qunit-tests li a:hover,
108+
#qunit-tests li a:focus {
109+
color: #000;
110+
}
111+
112+
#qunit-tests li .runtime {
113+
float: right;
114+
font-size: smaller;
115+
}
116+
117+
.qunit-assert-list {
80118
margin-top: 0.5em;
81119
padding: 0.5em;
82-
83-
background-color: #fff;
84-
85-
border-radius: 15px;
86-
-moz-border-radius: 15px;
87-
-webkit-border-radius: 15px;
88-
89-
box-shadow: inset 0px 2px 13px #999;
90-
-moz-box-shadow: inset 0px 2px 13px #999;
91-
-webkit-box-shadow: inset 0px 2px 13px #999;
120+
121+
background-color: #FFF;
122+
123+
border-radius: 5px;
124+
}
125+
126+
.qunit-collapsed {
127+
display: none;
92128
}
93129

94130
#qunit-tests table {
95131
border-collapse: collapse;
96-
margin-top: .2em;
132+
margin-top: 0.2em;
97133
}
98134

99135
#qunit-tests th {
100136
text-align: right;
101137
vertical-align: top;
102-
padding: 0 .5em 0 0;
138+
padding: 0 0.5em 0 0;
103139
}
104140

105141
#qunit-tests td {
@@ -113,78 +149,81 @@
113149
}
114150

115151
#qunit-tests del {
116-
background-color: #e0f2be;
117-
color: #374e0c;
152+
background-color: #E0F2BE;
153+
color: #374E0C;
118154
text-decoration: none;
119155
}
120156

121157
#qunit-tests ins {
122-
background-color: #ffcaca;
158+
background-color: #FFCACA;
123159
color: #500;
124160
text-decoration: none;
125161
}
126162

127163
/*** Test Counts */
128164

129-
#qunit-tests b.counts { color: black; }
165+
#qunit-tests b.counts { color: #000; }
130166
#qunit-tests b.passed { color: #5E740B; }
131167
#qunit-tests b.failed { color: #710909; }
132168

133169
#qunit-tests li li {
134-
margin: 0.5em;
135-
padding: 0.4em 0.5em 0.4em 0.5em;
136-
background-color: #fff;
170+
padding: 5px;
171+
background-color: #FFF;
137172
border-bottom: none;
138173
list-style-position: inside;
139174
}
140175

141176
/*** Passing Styles */
142177

143178
#qunit-tests li li.pass {
144-
color: #5E740B;
145-
background-color: #fff;
146-
border-left: 26px solid #C6E746;
179+
color: #3C510C;
180+
background-color: #FFF;
181+
border-left: 10px solid #C6E746;
147182
}
148183

149184
#qunit-tests .pass { color: #528CE0; background-color: #D2E0E6; }
150185
#qunit-tests .pass .test-name { color: #366097; }
151-
186+
152187
#qunit-tests .pass .test-actual,
153-
#qunit-tests .pass .test-expected { color: #999999; }
188+
#qunit-tests .pass .test-expected { color: #999; }
154189

155190
#qunit-banner.qunit-pass { background-color: #C6E746; }
156191

157192
/*** Failing Styles */
158193

159194
#qunit-tests li li.fail {
160195
color: #710909;
161-
background-color: #fff;
162-
border-left: 26px solid #EE5757;
196+
background-color: #FFF;
197+
border-left: 10px solid #EE5757;
198+
white-space: pre;
163199
}
164200

165-
#qunit-tests .fail { color: #000000; background-color: #EE5757; }
201+
#qunit-tests > li:last-child {
202+
border-radius: 0 0 5px 5px;
203+
}
204+
205+
#qunit-tests .fail { color: #000; background-color: #EE5757; }
166206
#qunit-tests .fail .test-name,
167-
#qunit-tests .fail .module-name { color: #000000; }
207+
#qunit-tests .fail .module-name { color: #000; }
168208

169209
#qunit-tests .fail .test-actual { color: #EE5757; }
170-
#qunit-tests .fail .test-expected { color: green; }
210+
#qunit-tests .fail .test-expected { color: #008000; }
171211

172-
#qunit-banner.qunit-fail,
173-
#qunit-testrunner-toolbar { background-color: #EE5757; }
212+
#qunit-banner.qunit-fail { background-color: #EE5757; }
174213

175214

176-
/** Footer */
215+
/** Result */
177216

178217
#qunit-testresult {
179218
padding: 0.5em 0.5em 0.5em 2.5em;
180219

181-
color: #2b81af;
220+
color: #2B81AF;
182221
background-color: #D2E0E6;
183222

184-
border-radius: 0 0 15px 15px;
185-
-moz-border-radius: 0 0 15px 15px;
186-
-webkit-border-bottom-right-radius: 15px;
187-
-webkit-border-bottom-left-radius: 15px;
223+
border-bottom: 1px solid #FFF;
224+
}
225+
#qunit-testresult .module-name {
226+
font-weight: 700;
188227
}
189228

190229
/** Fixture */
@@ -193,4 +232,6 @@
193232
position: absolute;
194233
top: -10000px;
195234
left: -10000px;
235+
width: 1000px;
236+
height: 1000px;
196237
}

0 commit comments

Comments
 (0)