|
1 | | -/** |
2 | | - * QUnit - A JavaScript Unit Testing Framework |
| 1 | +/*! |
| 2 | + * QUnit 1.14.0 |
| 3 | + * http://qunitjs.com/ |
3 | 4 | * |
4 | | - * http://docs.jquery.com/QUnit |
| 5 | + * Copyright 2013 jQuery Foundation and other contributors |
| 6 | + * Released under the MIT license |
| 7 | + * http://jquery.org/license |
5 | 8 | * |
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. |
9 | | - * Pulled Live from Git Wed Jun 1 17:25:01 UTC 2011 |
10 | | - * Last Commit: d4f23f8a882d13b71768503e2db9fa33ef169ba0 |
| 9 | + * Date: 2014-01-31T16:40Z |
11 | 10 | */ |
12 | 11 |
|
13 | 12 | /** Font Family and Sizes */ |
|
22 | 21 |
|
23 | 22 | /** Resets */ |
24 | 23 |
|
25 | | -#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 { |
26 | 25 | margin: 0; |
27 | 26 | padding: 0; |
28 | 27 | } |
|
33 | 32 | #qunit-header { |
34 | 33 | padding: 0.5em 0 0.5em 1em; |
35 | 34 |
|
36 | | - color: #8699a4; |
37 | | - background-color: #0d3349; |
| 35 | + color: #8699A4; |
| 36 | + background-color: #0D3349; |
38 | 37 |
|
39 | 38 | font-size: 1.5em; |
40 | 39 | line-height: 1em; |
41 | | - font-weight: normal; |
| 40 | + font-weight: 400; |
42 | 41 |
|
43 | | - border-radius: 15px 15px 0 0; |
44 | | - -moz-border-radius: 15px 15px 0 0; |
45 | | - -webkit-border-top-right-radius: 15px; |
46 | | - -webkit-border-top-left-radius: 15px; |
| 42 | + border-radius: 5px 5px 0 0; |
47 | 43 | } |
48 | 44 |
|
49 | 45 | #qunit-header a { |
50 | 46 | text-decoration: none; |
51 | | - color: #c2ccd1; |
| 47 | + color: #C2CCD1; |
52 | 48 | } |
53 | 49 |
|
54 | 50 | #qunit-header a:hover, |
55 | 51 | #qunit-header a:focus { |
56 | | - color: #fff; |
| 52 | + color: #FFF; |
| 53 | +} |
| 54 | + |
| 55 | +#qunit-testrunner-toolbar label { |
| 56 | + display: inline-block; |
| 57 | + padding: 0 0.5em 0 0.1em; |
57 | 58 | } |
58 | 59 |
|
59 | 60 | #qunit-banner { |
|
63 | 64 | #qunit-testrunner-toolbar { |
64 | 65 | padding: 0.5em 0 0.5em 2em; |
65 | 66 | color: #5E740B; |
66 | | - background-color: #eee; |
| 67 | + background-color: #EEE; |
| 68 | + overflow: hidden; |
67 | 69 | } |
68 | 70 |
|
69 | 71 | #qunit-userAgent { |
70 | 72 | padding: 0.5em 0 0.5em 2.5em; |
71 | | - background-color: #2b81af; |
72 | | - color: #fff; |
| 73 | + background-color: #2B81AF; |
| 74 | + color: #FFF; |
73 | 75 | text-shadow: rgba(0, 0, 0, 0.5) 2px 2px 1px; |
74 | 76 | } |
75 | 77 |
|
| 78 | +#qunit-modulefilter-container { |
| 79 | + float: right; |
| 80 | +} |
76 | 81 |
|
77 | 82 | /** Tests: Pass/Fail */ |
78 | 83 |
|
|
82 | 87 |
|
83 | 88 | #qunit-tests li { |
84 | 89 | padding: 0.4em 0.5em 0.4em 2.5em; |
85 | | - border-bottom: 1px solid #fff; |
| 90 | + border-bottom: 1px solid #FFF; |
86 | 91 | list-style-position: inside; |
87 | 92 | } |
88 | 93 |
|
|
96 | 101 |
|
97 | 102 | #qunit-tests li a { |
98 | 103 | padding: 0.5em; |
99 | | - color: #c2ccd1; |
| 104 | + color: #C2CCD1; |
100 | 105 | text-decoration: none; |
101 | 106 | } |
102 | 107 | #qunit-tests li a:hover, |
103 | 108 | #qunit-tests li a:focus { |
104 | 109 | color: #000; |
105 | 110 | } |
106 | 111 |
|
107 | | -#qunit-tests ol { |
| 112 | +#qunit-tests li .runtime { |
| 113 | + float: right; |
| 114 | + font-size: smaller; |
| 115 | +} |
| 116 | + |
| 117 | +.qunit-assert-list { |
108 | 118 | margin-top: 0.5em; |
109 | 119 | padding: 0.5em; |
110 | 120 |
|
111 | | - background-color: #fff; |
| 121 | + background-color: #FFF; |
112 | 122 |
|
113 | | - border-radius: 15px; |
114 | | - -moz-border-radius: 15px; |
115 | | - -webkit-border-radius: 15px; |
| 123 | + border-radius: 5px; |
| 124 | +} |
116 | 125 |
|
117 | | - box-shadow: inset 0px 2px 13px #999; |
118 | | - -moz-box-shadow: inset 0px 2px 13px #999; |
119 | | - -webkit-box-shadow: inset 0px 2px 13px #999; |
| 126 | +.qunit-collapsed { |
| 127 | + display: none; |
120 | 128 | } |
121 | 129 |
|
122 | 130 | #qunit-tests table { |
123 | 131 | border-collapse: collapse; |
124 | | - margin-top: .2em; |
| 132 | + margin-top: 0.2em; |
125 | 133 | } |
126 | 134 |
|
127 | 135 | #qunit-tests th { |
128 | 136 | text-align: right; |
129 | 137 | vertical-align: top; |
130 | | - padding: 0 .5em 0 0; |
| 138 | + padding: 0 0.5em 0 0; |
131 | 139 | } |
132 | 140 |
|
133 | 141 | #qunit-tests td { |
|
141 | 149 | } |
142 | 150 |
|
143 | 151 | #qunit-tests del { |
144 | | - background-color: #e0f2be; |
145 | | - color: #374e0c; |
| 152 | + background-color: #E0F2BE; |
| 153 | + color: #374E0C; |
146 | 154 | text-decoration: none; |
147 | 155 | } |
148 | 156 |
|
149 | 157 | #qunit-tests ins { |
150 | | - background-color: #ffcaca; |
| 158 | + background-color: #FFCACA; |
151 | 159 | color: #500; |
152 | 160 | text-decoration: none; |
153 | 161 | } |
154 | 162 |
|
155 | 163 | /*** Test Counts */ |
156 | 164 |
|
157 | | -#qunit-tests b.counts { color: black; } |
| 165 | +#qunit-tests b.counts { color: #000; } |
158 | 166 | #qunit-tests b.passed { color: #5E740B; } |
159 | 167 | #qunit-tests b.failed { color: #710909; } |
160 | 168 |
|
161 | 169 | #qunit-tests li li { |
162 | | - margin: 0.5em; |
163 | | - padding: 0.4em 0.5em 0.4em 0.5em; |
164 | | - background-color: #fff; |
| 170 | + padding: 5px; |
| 171 | + background-color: #FFF; |
165 | 172 | border-bottom: none; |
166 | 173 | list-style-position: inside; |
167 | 174 | } |
168 | 175 |
|
169 | 176 | /*** Passing Styles */ |
170 | 177 |
|
171 | 178 | #qunit-tests li li.pass { |
172 | | - color: #5E740B; |
173 | | - background-color: #fff; |
174 | | - border-left: 26px solid #C6E746; |
| 179 | + color: #3C510C; |
| 180 | + background-color: #FFF; |
| 181 | + border-left: 10px solid #C6E746; |
175 | 182 | } |
176 | 183 |
|
177 | 184 | #qunit-tests .pass { color: #528CE0; background-color: #D2E0E6; } |
178 | 185 | #qunit-tests .pass .test-name { color: #366097; } |
179 | 186 |
|
180 | 187 | #qunit-tests .pass .test-actual, |
181 | | -#qunit-tests .pass .test-expected { color: #999999; } |
| 188 | +#qunit-tests .pass .test-expected { color: #999; } |
182 | 189 |
|
183 | 190 | #qunit-banner.qunit-pass { background-color: #C6E746; } |
184 | 191 |
|
185 | 192 | /*** Failing Styles */ |
186 | 193 |
|
187 | 194 | #qunit-tests li li.fail { |
188 | 195 | color: #710909; |
189 | | - background-color: #fff; |
190 | | - border-left: 26px solid #EE5757; |
| 196 | + background-color: #FFF; |
| 197 | + border-left: 10px solid #EE5757; |
| 198 | + white-space: pre; |
191 | 199 | } |
192 | 200 |
|
193 | 201 | #qunit-tests > li:last-child { |
194 | | - border-radius: 0 0 15px 15px; |
195 | | - -moz-border-radius: 0 0 15px 15px; |
196 | | - -webkit-border-bottom-right-radius: 15px; |
197 | | - -webkit-border-bottom-left-radius: 15px; |
| 202 | + border-radius: 0 0 5px 5px; |
198 | 203 | } |
199 | 204 |
|
200 | | -#qunit-tests .fail { color: #000000; background-color: #EE5757; } |
| 205 | +#qunit-tests .fail { color: #000; background-color: #EE5757; } |
201 | 206 | #qunit-tests .fail .test-name, |
202 | | -#qunit-tests .fail .module-name { color: #000000; } |
| 207 | +#qunit-tests .fail .module-name { color: #000; } |
203 | 208 |
|
204 | 209 | #qunit-tests .fail .test-actual { color: #EE5757; } |
205 | | -#qunit-tests .fail .test-expected { color: green; } |
| 210 | +#qunit-tests .fail .test-expected { color: #008000; } |
206 | 211 |
|
207 | 212 | #qunit-banner.qunit-fail { background-color: #EE5757; } |
208 | 213 |
|
|
212 | 217 | #qunit-testresult { |
213 | 218 | padding: 0.5em 0.5em 0.5em 2.5em; |
214 | 219 |
|
215 | | - color: #2b81af; |
| 220 | + color: #2B81AF; |
216 | 221 | background-color: #D2E0E6; |
217 | 222 |
|
218 | | - border-bottom: 1px solid white; |
| 223 | + border-bottom: 1px solid #FFF; |
| 224 | +} |
| 225 | +#qunit-testresult .module-name { |
| 226 | + font-weight: 700; |
219 | 227 | } |
220 | 228 |
|
221 | 229 | /** Fixture */ |
|
224 | 232 | position: absolute; |
225 | 233 | top: -10000px; |
226 | 234 | left: -10000px; |
| 235 | + width: 1000px; |
| 236 | + height: 1000px; |
227 | 237 | } |
0 commit comments