|
1 | 1 | /**
|
2 |
| - * QUnit - A JavaScript Unit Testing Framework |
| 2 | + * QUnit v1.12.0 - A JavaScript Unit Testing Framework |
3 | 3 | *
|
4 |
| - * http://docs.jquery.com/QUnit |
| 4 | + * http://qunitjs.com |
5 | 5 | *
|
6 |
| - * Copyright (c) 2011 John Resig, Jörn Zaefferer |
7 |
| - * Dual licensed under the MIT (MIT-LICENSE.txt) |
8 |
| - * or GPL (GPL-LICENSE.txt) licenses. |
| 6 | + * Copyright 2012 jQuery Foundation and other contributors |
| 7 | + * Released under the MIT license. |
| 8 | + * http://jquery.org/license |
9 | 9 | */
|
10 | 10 |
|
11 | 11 | /** Font Family and Sizes */
|
|
20 | 20 |
|
21 | 21 | /** Resets */
|
22 | 22 |
|
23 |
| -#qunit-tests, #qunit-tests ol, #qunit-header, #qunit-banner, #qunit-userAgent, #qunit-testresult { |
| 23 | +#qunit-tests, #qunit-header, #qunit-banner, #qunit-userAgent, #qunit-testresult, #qunit-modulefilter { |
24 | 24 | margin: 0;
|
25 | 25 | padding: 0;
|
26 | 26 | }
|
|
38 | 38 | line-height: 1em;
|
39 | 39 | font-weight: normal;
|
40 | 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: 5px 5px 0 0; |
| 42 | + -moz-border-radius: 5px 5px 0 0; |
| 43 | + -webkit-border-top-right-radius: 5px; |
| 44 | + -webkit-border-top-left-radius: 5px; |
45 | 45 | }
|
46 | 46 |
|
47 | 47 | #qunit-header a {
|
|
54 | 54 | color: #fff;
|
55 | 55 | }
|
56 | 56 |
|
| 57 | +#qunit-testrunner-toolbar label { |
| 58 | + display: inline-block; |
| 59 | + padding: 0 .5em 0 .1em; |
| 60 | +} |
| 61 | + |
57 | 62 | #qunit-banner {
|
58 | 63 | height: 5px;
|
59 | 64 | }
|
|
62 | 67 | padding: 0.5em 0 0.5em 2em;
|
63 | 68 | color: #5E740B;
|
64 | 69 | background-color: #eee;
|
| 70 | + overflow: hidden; |
65 | 71 | }
|
66 | 72 |
|
67 | 73 | #qunit-userAgent {
|
|
71 | 77 | text-shadow: rgba(0, 0, 0, 0.5) 2px 2px 1px;
|
72 | 78 | }
|
73 | 79 |
|
| 80 | +#qunit-modulefilter-container { |
| 81 | + float: right; |
| 82 | +} |
74 | 83 |
|
75 | 84 | /** Tests: Pass/Fail */
|
76 | 85 |
|
|
102 | 111 | color: #000;
|
103 | 112 | }
|
104 | 113 |
|
105 |
| -#qunit-tests ol { |
| 114 | +#qunit-tests li .runtime { |
| 115 | + float: right; |
| 116 | + font-size: smaller; |
| 117 | +} |
| 118 | + |
| 119 | +.qunit-assert-list { |
106 | 120 | margin-top: 0.5em;
|
107 | 121 | padding: 0.5em;
|
108 | 122 |
|
109 | 123 | background-color: #fff;
|
110 | 124 |
|
111 |
| - border-radius: 15px; |
112 |
| - -moz-border-radius: 15px; |
113 |
| - -webkit-border-radius: 15px; |
| 125 | + border-radius: 5px; |
| 126 | + -moz-border-radius: 5px; |
| 127 | + -webkit-border-radius: 5px; |
| 128 | +} |
114 | 129 |
|
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; |
| 130 | +.qunit-collapsed { |
| 131 | + display: none; |
118 | 132 | }
|
119 | 133 |
|
120 | 134 | #qunit-tests table {
|
|
157 | 171 | #qunit-tests b.failed { color: #710909; }
|
158 | 172 |
|
159 | 173 | #qunit-tests li li {
|
160 |
| - margin: 0.5em; |
161 |
| - padding: 0.4em 0.5em 0.4em 0.5em; |
| 174 | + padding: 5px; |
162 | 175 | background-color: #fff;
|
163 | 176 | border-bottom: none;
|
164 | 177 | list-style-position: inside;
|
|
167 | 180 | /*** Passing Styles */
|
168 | 181 |
|
169 | 182 | #qunit-tests li li.pass {
|
170 |
| - color: #5E740B; |
| 183 | + color: #3c510c; |
171 | 184 | background-color: #fff;
|
172 |
| - border-left: 26px solid #C6E746; |
| 185 | + border-left: 10px solid #C6E746; |
173 | 186 | }
|
174 | 187 |
|
175 | 188 | #qunit-tests .pass { color: #528CE0; background-color: #D2E0E6; }
|
|
185 | 198 | #qunit-tests li li.fail {
|
186 | 199 | color: #710909;
|
187 | 200 | background-color: #fff;
|
188 |
| - border-left: 26px solid #EE5757; |
| 201 | + border-left: 10px solid #EE5757; |
| 202 | + white-space: pre; |
189 | 203 | }
|
190 | 204 |
|
191 | 205 | #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; |
| 206 | + border-radius: 0 0 5px 5px; |
| 207 | + -moz-border-radius: 0 0 5px 5px; |
| 208 | + -webkit-border-bottom-right-radius: 5px; |
| 209 | + -webkit-border-bottom-left-radius: 5px; |
196 | 210 | }
|
197 | 211 |
|
198 | 212 | #qunit-tests .fail { color: #000000; background-color: #EE5757; }
|
|
215 | 229 |
|
216 | 230 | border-bottom: 1px solid white;
|
217 | 231 | }
|
| 232 | +#qunit-testresult .module-name { |
| 233 | + font-weight: bold; |
| 234 | +} |
218 | 235 |
|
219 | 236 | /** Fixture */
|
220 | 237 |
|
221 | 238 | #qunit-fixture {
|
222 | 239 | position: absolute;
|
223 | 240 | top: -10000px;
|
224 | 241 | left: -10000px;
|
| 242 | + width: 1000px; |
| 243 | + height: 1000px; |
225 | 244 | }
|
0 commit comments