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