|
1 | 1 | /*! |
2 | | - * QUnit 2.10.0 |
| 2 | + * QUnit 1.23.1 |
3 | 3 | * https://qunitjs.com/ |
4 | 4 | * |
5 | 5 | * Copyright jQuery Foundation and other contributors |
6 | 6 | * Released under the MIT license |
7 | 7 | * https://jquery.org/license |
8 | 8 | * |
9 | | - * Date: 2020-05-02T22:51Z |
| 9 | + * Date: 2016-04-12T17:29Z |
10 | 10 | */ |
11 | 11 |
|
12 | 12 | /** Font Family and Sizes */ |
13 | 13 |
|
14 | | - |
15 | | -[id^=qunit] button { |
16 | | - font-size: initial; |
17 | | - border: initial; |
18 | | - background-color: buttonface; |
19 | | -} |
20 | | - |
21 | 14 | #qunit-tests, #qunit-header, #qunit-banner, #qunit-testrunner-toolbar, #qunit-filteredTest, #qunit-userAgent, #qunit-testresult { |
22 | 15 | font-family: "Helvetica Neue Light", "HelveticaNeue-Light", "Helvetica Neue", Calibri, Helvetica, Arial, sans-serif; |
23 | 16 | } |
|
34 | 27 | } |
35 | 28 |
|
36 | 29 |
|
37 | | -/** Header (excluding toolbar) */ |
| 30 | +/** Header */ |
38 | 31 |
|
39 | 32 | #qunit-header { |
40 | 33 | padding: 0.5em 0 0.5em 1em; |
|
59 | 52 | color: #FFF; |
60 | 53 | } |
61 | 54 |
|
| 55 | +#qunit-testrunner-toolbar label { |
| 56 | + display: inline-block; |
| 57 | + padding: 0 0.5em 0 0.1em; |
| 58 | +} |
| 59 | + |
62 | 60 | #qunit-banner { |
63 | 61 | height: 5px; |
64 | 62 | } |
65 | 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 | + |
66 | 71 | #qunit-filteredTest { |
67 | 72 | padding: 0.5em 1em 0.5em 1em; |
68 | | - color: #366097; |
69 | 73 | background-color: #F4FF77; |
| 74 | + color: #366097; |
70 | 75 | } |
71 | 76 |
|
72 | 77 | #qunit-userAgent { |
73 | 78 | padding: 0.5em 1em 0.5em 1em; |
74 | | - color: #FFF; |
75 | 79 | background-color: #2B81AF; |
| 80 | + color: #FFF; |
76 | 81 | text-shadow: rgba(0, 0, 0, 0.5) 2px 2px 1px; |
77 | 82 | } |
78 | 83 |
|
79 | | - |
80 | | -/** Toolbar */ |
81 | | - |
82 | | -#qunit-testrunner-toolbar { |
83 | | - padding: 0.5em 1em 0.5em 1em; |
84 | | - color: #5E740B; |
85 | | - background-color: #EEE; |
86 | | -} |
87 | | - |
88 | | -#qunit-testrunner-toolbar .clearfix { |
89 | | - height: 0; |
90 | | - clear: both; |
91 | | -} |
92 | | - |
93 | | -#qunit-testrunner-toolbar label { |
94 | | - display: inline-block; |
95 | | -} |
96 | | - |
97 | | -#qunit-testrunner-toolbar input[type=checkbox], |
98 | | -#qunit-testrunner-toolbar input[type=radio] { |
99 | | - margin: 3px; |
100 | | - vertical-align: -2px; |
101 | | -} |
102 | | - |
103 | | -#qunit-testrunner-toolbar input[type=text] { |
104 | | - box-sizing: border-box; |
105 | | - height: 1.6em; |
106 | | -} |
107 | | - |
108 | | -#qunit-toolbar-filters { |
| 84 | +#qunit-modulefilter-container { |
109 | 85 | float: right; |
| 86 | + padding: 0.2em; |
110 | 87 | } |
111 | 88 |
|
112 | | -.qunit-url-config, |
113 | | -.qunit-filter, |
114 | | -#qunit-modulefilter { |
| 89 | +.qunit-url-config { |
115 | 90 | display: inline-block; |
116 | | - line-height: 2.1em; |
117 | | -} |
118 | | - |
119 | | -.qunit-filter, |
120 | | -#qunit-modulefilter { |
121 | | - position: relative; |
122 | | - margin-left: 1em; |
123 | | -} |
124 | | - |
125 | | -.qunit-url-config label { |
126 | | - margin-right: 0.5em; |
127 | | -} |
128 | | - |
129 | | -#qunit-modulefilter-search { |
130 | | - box-sizing: border-box; |
131 | | - min-width: 400px; |
132 | | -} |
133 | | - |
134 | | -#qunit-modulefilter-search-container:after { |
135 | | - position: absolute; |
136 | | - right: 0.3em; |
137 | | - content: "\25bc"; |
138 | | - color: black; |
| 91 | + padding: 0.1em; |
139 | 92 | } |
140 | 93 |
|
141 | | -#qunit-modulefilter-dropdown { |
142 | | - /* align with #qunit-modulefilter-search */ |
143 | | - box-sizing: border-box; |
144 | | - min-width: 400px; |
145 | | - position: absolute; |
146 | | - right: 0; |
147 | | - top: 50%; |
148 | | - margin-top: 0.8em; |
149 | | - |
150 | | - border: 1px solid #D3D3D3; |
151 | | - border-top: none; |
152 | | - border-radius: 0 0 .25em .25em; |
153 | | - color: #000; |
154 | | - background-color: #F5F5F5; |
155 | | - z-index: 99; |
156 | | -} |
157 | | - |
158 | | -#qunit-modulefilter-dropdown a { |
159 | | - color: inherit; |
160 | | - text-decoration: none; |
161 | | -} |
162 | | - |
163 | | -#qunit-modulefilter-dropdown .clickable.checked { |
164 | | - font-weight: bold; |
165 | | - color: #000; |
166 | | - background-color: #D2E0E6; |
167 | | -} |
168 | | - |
169 | | -#qunit-modulefilter-dropdown .clickable:hover { |
170 | | - color: #FFF; |
171 | | - background-color: #0D3349; |
172 | | -} |
173 | | - |
174 | | -#qunit-modulefilter-actions { |
175 | | - display: block; |
176 | | - overflow: auto; |
177 | | - |
178 | | - /* align with #qunit-modulefilter-dropdown-list */ |
179 | | - font: smaller/1.5em sans-serif; |
180 | | -} |
181 | | - |
182 | | -#qunit-modulefilter-dropdown #qunit-modulefilter-actions > * { |
183 | | - box-sizing: border-box; |
184 | | - max-height: 2.8em; |
| 94 | +.qunit-filter { |
185 | 95 | display: block; |
186 | | - padding: 0.4em; |
187 | | -} |
188 | | - |
189 | | -#qunit-modulefilter-dropdown #qunit-modulefilter-actions > button { |
190 | 96 | float: right; |
191 | | - font: inherit; |
192 | | -} |
193 | | - |
194 | | -#qunit-modulefilter-dropdown #qunit-modulefilter-actions > :last-child { |
195 | | - /* insert padding to align with checkbox margins */ |
196 | | - padding-left: 3px; |
197 | | -} |
198 | | - |
199 | | -#qunit-modulefilter-dropdown-list { |
200 | | - max-height: 200px; |
201 | | - overflow-y: auto; |
202 | | - margin: 0; |
203 | | - border-top: 2px groove threedhighlight; |
204 | | - padding: 0.4em 0 0; |
205 | | - font: smaller/1.5em sans-serif; |
206 | | -} |
207 | | - |
208 | | -#qunit-modulefilter-dropdown-list li { |
209 | | - white-space: nowrap; |
210 | | - overflow: hidden; |
211 | | - text-overflow: ellipsis; |
212 | | -} |
213 | | - |
214 | | -#qunit-modulefilter-dropdown-list .clickable { |
215 | | - display: block; |
216 | | - padding-left: 0.15em; |
217 | | - padding-right: 0.5em; |
| 97 | + margin-left: 1em; |
218 | 98 | } |
219 | 99 |
|
220 | | - |
221 | 100 | /** Tests: Pass/Fail */ |
222 | 101 |
|
223 | 102 | #qunit-tests { |
|
237 | 116 | #qunit-tests li.running, |
238 | 117 | #qunit-tests li.pass, |
239 | 118 | #qunit-tests li.fail, |
240 | | -#qunit-tests li.skipped, |
241 | | -#qunit-tests li.aborted { |
| 119 | +#qunit-tests li.skipped { |
242 | 120 | display: list-item; |
243 | 121 | } |
244 | 122 |
|
|
247 | 125 | } |
248 | 126 |
|
249 | 127 | #qunit-tests.hidepass li.running, |
250 | | -#qunit-tests.hidepass li.pass:not(.todo) { |
| 128 | +#qunit-tests.hidepass li.pass { |
251 | 129 | visibility: hidden; |
252 | 130 | position: absolute; |
253 | 131 | width: 0; |
|
324 | 202 | } |
325 | 203 |
|
326 | 204 | #qunit-tests del { |
327 | | - color: #374E0C; |
328 | 205 | background-color: #E0F2BE; |
| 206 | + color: #374E0C; |
329 | 207 | text-decoration: none; |
330 | 208 | } |
331 | 209 |
|
332 | 210 | #qunit-tests ins { |
333 | | - color: #500; |
334 | 211 | background-color: #FFCACA; |
| 212 | + color: #500; |
335 | 213 | text-decoration: none; |
336 | 214 | } |
337 | 215 |
|
|
386 | 264 |
|
387 | 265 | #qunit-banner.qunit-fail { background-color: #EE5757; } |
388 | 266 |
|
389 | | - |
390 | | -/*** Aborted tests */ |
391 | | -#qunit-tests .aborted { color: #000; background-color: orange; } |
392 | 267 | /*** Skipped tests */ |
393 | 268 |
|
394 | 269 | #qunit-tests .skipped { |
395 | 270 | background-color: #EBECE9; |
396 | 271 | } |
397 | 272 |
|
398 | | -#qunit-tests .qunit-todo-label, |
399 | 273 | #qunit-tests .qunit-skipped-label { |
400 | 274 | background-color: #F4FF77; |
401 | 275 | display: inline-block; |
|
406 | 280 | margin: -0.4em 0.4em -0.4em 0; |
407 | 281 | } |
408 | 282 |
|
409 | | -#qunit-tests .qunit-todo-label { |
410 | | - background-color: #EEE; |
411 | | -} |
412 | | - |
413 | 283 | /** Result */ |
414 | 284 |
|
415 | 285 | #qunit-testresult { |
| 286 | + padding: 0.5em 1em 0.5em 1em; |
| 287 | + |
416 | 288 | color: #2B81AF; |
417 | 289 | background-color: #D2E0E6; |
418 | 290 |
|
419 | 291 | border-bottom: 1px solid #FFF; |
420 | 292 | } |
421 | | -#qunit-testresult .clearfix { |
422 | | - height: 0; |
423 | | - clear: both; |
424 | | -} |
425 | 293 | #qunit-testresult .module-name { |
426 | 294 | font-weight: 700; |
427 | 295 | } |
428 | | -#qunit-testresult-display { |
429 | | - padding: 0.5em 1em 0.5em 1em; |
430 | | - width: 85%; |
431 | | - float:left; |
432 | | -} |
433 | | -#qunit-testresult-controls { |
434 | | - padding: 0.5em 1em 0.5em 1em; |
435 | | - width: 10%; |
436 | | - float:left; |
437 | | -} |
438 | 296 |
|
439 | 297 | /** Fixture */ |
440 | 298 |
|
|
0 commit comments