Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: chrome/content/qunit.css

Issue 5721576209121280: Issue 2047 - Updated QUnit to version 1.17.1 (Closed)
Patch Set: Created Feb. 26, 2015, 12:28 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | chrome/content/qunit.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /** 1 /*!
2 * QUnit v1.12.0 - A JavaScript Unit Testing Framework 2 * QUnit 1.17.1
3 * http://qunitjs.com/
3 * 4 *
4 * http://qunitjs.com 5 * Copyright jQuery Foundation and other contributors
6 * Released under the MIT license
7 * http://jquery.org/license
5 * 8 *
6 * Copyright 2012 jQuery Foundation and other contributors 9 * Date: 2015-01-20T19:39Z
7 * Released under the MIT license.
8 * http://jquery.org/license
9 */ 10 */
10 11
11 /** Font Family and Sizes */ 12 /** Font Family and Sizes */
12 13
13 #qunit-tests, #qunit-header, #qunit-banner, #qunit-testrunner-toolbar, #qunit-us erAgent, #qunit-testresult { 14 #qunit-tests, #qunit-header, #qunit-banner, #qunit-testrunner-toolbar, #qunit-us erAgent, #qunit-testresult {
14 font-family: "Helvetica Neue Light", "HelveticaNeue-Light", "Helvetica N eue", Calibri, Helvetica, Arial, sans-serif; 15 font-family: "Helvetica Neue Light", "HelveticaNeue-Light", "Helvetica N eue", Calibri, Helvetica, Arial, sans-serif;
15 } 16 }
16 17
17 #qunit-testrunner-toolbar, #qunit-userAgent, #qunit-testresult, #qunit-tests li { font-size: small; } 18 #qunit-testrunner-toolbar, #qunit-userAgent, #qunit-testresult, #qunit-tests li { font-size: small; }
18 #qunit-tests { font-size: smaller; } 19 #qunit-tests { font-size: smaller; }
19 20
20 21
21 /** Resets */ 22 /** Resets */
22 23
23 #qunit-tests, #qunit-header, #qunit-banner, #qunit-userAgent, #qunit-testresult, #qunit-modulefilter { 24 #qunit-tests, #qunit-header, #qunit-banner, #qunit-userAgent, #qunit-testresult, #qunit-modulefilter {
24 margin: 0; 25 margin: 0;
25 padding: 0; 26 padding: 0;
26 } 27 }
27 28
28 29
29 /** Header */ 30 /** Header */
30 31
31 #qunit-header { 32 #qunit-header {
32 padding: 0.5em 0 0.5em 1em; 33 padding: 0.5em 0 0.5em 1em;
33 34
34 » color: #8699a4; 35 » color: #8699A4;
35 » background-color: #0d3349; 36 » background-color: #0D3349;
36 37
37 font-size: 1.5em; 38 font-size: 1.5em;
38 line-height: 1em; 39 line-height: 1em;
39 » font-weight: normal; 40 » font-weight: 400;
40 41
41 border-radius: 5px 5px 0 0; 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 #qunit-header a { 45 #qunit-header a {
48 text-decoration: none; 46 text-decoration: none;
49 » color: #c2ccd1; 47 » color: #C2CCD1;
50 } 48 }
51 49
52 #qunit-header a:hover, 50 #qunit-header a:hover,
53 #qunit-header a:focus { 51 #qunit-header a:focus {
54 » color: #fff; 52 » color: #FFF;
55 } 53 }
56 54
57 #qunit-testrunner-toolbar label { 55 #qunit-testrunner-toolbar label {
58 display: inline-block; 56 display: inline-block;
59 » padding: 0 .5em 0 .1em; 57 » padding: 0 0.5em 0 0.1em;
60 } 58 }
61 59
62 #qunit-banner { 60 #qunit-banner {
63 height: 5px; 61 height: 5px;
64 } 62 }
65 63
66 #qunit-testrunner-toolbar { 64 #qunit-testrunner-toolbar {
67 » padding: 0.5em 0 0.5em 2em; 65 » padding: 0.5em 1em 0.5em 1em;
68 color: #5E740B; 66 color: #5E740B;
69 » background-color: #eee; 67 » background-color: #EEE;
70 overflow: hidden; 68 overflow: hidden;
71 } 69 }
72 70
73 #qunit-userAgent { 71 #qunit-userAgent {
74 » padding: 0.5em 0 0.5em 2.5em; 72 » padding: 0.5em 1em 0.5em 1em;
75 » background-color: #2b81af; 73 » background-color: #2B81AF;
76 » color: #fff; 74 » color: #FFF;
77 text-shadow: rgba(0, 0, 0, 0.5) 2px 2px 1px; 75 text-shadow: rgba(0, 0, 0, 0.5) 2px 2px 1px;
78 } 76 }
79 77
80 #qunit-modulefilter-container { 78 #qunit-modulefilter-container {
81 float: right; 79 float: right;
80 padding: 0.2em;
81 }
82
83 .qunit-url-config {
84 display: inline-block;
85 padding: 0.1em;
86 }
87
88 .qunit-filter {
89 display: block;
90 float: right;
91 margin-left: 1em;
82 } 92 }
83 93
84 /** Tests: Pass/Fail */ 94 /** Tests: Pass/Fail */
85 95
86 #qunit-tests { 96 #qunit-tests {
87 list-style-position: inside; 97 list-style-position: inside;
88 } 98 }
89 99
90 #qunit-tests li { 100 #qunit-tests li {
91 » padding: 0.4em 0.5em 0.4em 2.5em; 101 » padding: 0.4em 1em 0.4em 1em;
92 » border-bottom: 1px solid #fff; 102 » border-bottom: 1px solid #FFF;
93 list-style-position: inside; 103 list-style-position: inside;
94 } 104 }
95 105
96 #qunit-tests.hidepass li.pass, #qunit-tests.hidepass li.running { 106 #qunit-tests > li {
97 display: none; 107 display: none;
98 } 108 }
99 109
110 #qunit-tests li.running,
111 #qunit-tests li.pass,
112 #qunit-tests li.fail,
113 #qunit-tests li.skipped {
114 display: list-item;
115 }
116
117 #qunit-tests.hidepass li.running,
118 #qunit-tests.hidepass li.pass {
119 display: none;
120 }
121
100 #qunit-tests li strong { 122 #qunit-tests li strong {
101 cursor: pointer; 123 cursor: pointer;
102 } 124 }
103 125
126 #qunit-tests li.skipped strong {
127 cursor: default;
128 }
129
104 #qunit-tests li a { 130 #qunit-tests li a {
105 padding: 0.5em; 131 padding: 0.5em;
106 » color: #c2ccd1; 132 » color: #C2CCD1;
107 text-decoration: none; 133 text-decoration: none;
108 } 134 }
109 #qunit-tests li a:hover, 135 #qunit-tests li a:hover,
110 #qunit-tests li a:focus { 136 #qunit-tests li a:focus {
111 color: #000; 137 color: #000;
112 } 138 }
113 139
114 #qunit-tests li .runtime { 140 #qunit-tests li .runtime {
115 float: right; 141 float: right;
116 font-size: smaller; 142 font-size: smaller;
117 } 143 }
118 144
119 .qunit-assert-list { 145 .qunit-assert-list {
120 margin-top: 0.5em; 146 margin-top: 0.5em;
121 padding: 0.5em; 147 padding: 0.5em;
122 148
123 » background-color: #fff; 149 » background-color: #FFF;
124 150
125 border-radius: 5px; 151 border-radius: 5px;
126 -moz-border-radius: 5px;
127 -webkit-border-radius: 5px;
128 } 152 }
129 153
130 .qunit-collapsed { 154 .qunit-collapsed {
131 display: none; 155 display: none;
132 } 156 }
133 157
134 #qunit-tests table { 158 #qunit-tests table {
135 border-collapse: collapse; 159 border-collapse: collapse;
136 » margin-top: .2em; 160 » margin-top: 0.2em;
137 } 161 }
138 162
139 #qunit-tests th { 163 #qunit-tests th {
140 text-align: right; 164 text-align: right;
141 vertical-align: top; 165 vertical-align: top;
142 » padding: 0 .5em 0 0; 166 » padding: 0 0.5em 0 0;
143 } 167 }
144 168
145 #qunit-tests td { 169 #qunit-tests td {
146 vertical-align: top; 170 vertical-align: top;
147 } 171 }
148 172
149 #qunit-tests pre { 173 #qunit-tests pre {
150 margin: 0; 174 margin: 0;
151 white-space: pre-wrap; 175 white-space: pre-wrap;
152 word-wrap: break-word; 176 word-wrap: break-word;
153 } 177 }
154 178
155 #qunit-tests del { 179 #qunit-tests del {
156 » background-color: #e0f2be; 180 » background-color: #E0F2BE;
157 » color: #374e0c; 181 » color: #374E0C;
158 text-decoration: none; 182 text-decoration: none;
159 } 183 }
160 184
161 #qunit-tests ins { 185 #qunit-tests ins {
162 » background-color: #ffcaca; 186 » background-color: #FFCACA;
163 color: #500; 187 color: #500;
164 text-decoration: none; 188 text-decoration: none;
165 } 189 }
166 190
167 /*** Test Counts */ 191 /*** Test Counts */
168 192
169 #qunit-tests b.counts { color: black; } 193 #qunit-tests b.counts { color: #000; }
170 #qunit-tests b.passed { color: #5E740B; } 194 #qunit-tests b.passed { color: #5E740B; }
171 #qunit-tests b.failed { color: #710909; } 195 #qunit-tests b.failed { color: #710909; }
172 196
173 #qunit-tests li li { 197 #qunit-tests li li {
174 padding: 5px; 198 padding: 5px;
175 » background-color: #fff; 199 » background-color: #FFF;
176 border-bottom: none; 200 border-bottom: none;
177 list-style-position: inside; 201 list-style-position: inside;
178 } 202 }
179 203
180 /*** Passing Styles */ 204 /*** Passing Styles */
181 205
182 #qunit-tests li li.pass { 206 #qunit-tests li li.pass {
183 » color: #3c510c; 207 » color: #3C510C;
184 » background-color: #fff; 208 » background-color: #FFF;
185 border-left: 10px solid #C6E746; 209 border-left: 10px solid #C6E746;
186 } 210 }
187 211
188 #qunit-tests .pass { color: #528CE0; background-color: #D2E0E6; } 212 #qunit-tests .pass { color: #528CE0; background-color: #D2E0E6; }
189 #qunit-tests .pass .test-name { color: #366097; } 213 #qunit-tests .pass .test-name { color: #366097; }
190 214
191 #qunit-tests .pass .test-actual, 215 #qunit-tests .pass .test-actual,
192 #qunit-tests .pass .test-expected { color: #999999; } 216 #qunit-tests .pass .test-expected { color: #999; }
193 217
194 #qunit-banner.qunit-pass { background-color: #C6E746; } 218 #qunit-banner.qunit-pass { background-color: #C6E746; }
195 219
196 /*** Failing Styles */ 220 /*** Failing Styles */
197 221
198 #qunit-tests li li.fail { 222 #qunit-tests li li.fail {
199 color: #710909; 223 color: #710909;
200 » background-color: #fff; 224 » background-color: #FFF;
201 border-left: 10px solid #EE5757; 225 border-left: 10px solid #EE5757;
202 white-space: pre; 226 white-space: pre;
203 } 227 }
204 228
205 #qunit-tests > li:last-child { 229 #qunit-tests > li:last-child {
206 border-radius: 0 0 5px 5px; 230 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;
210 } 231 }
211 232
212 #qunit-tests .fail { color: #000000; background-color: #EE5757; } 233 #qunit-tests .fail { color: #000; background-color: #EE 5757; }
213 #qunit-tests .fail .test-name, 234 #qunit-tests .fail .test-name,
214 #qunit-tests .fail .module-name { color: #000000; } 235 #qunit-tests .fail .module-name { color: #000; }
215 236
216 #qunit-tests .fail .test-actual { color: #EE5757; } 237 #qunit-tests .fail .test-actual { color: #EE5757; }
217 #qunit-tests .fail .test-expected { color: green; } 238 #qunit-tests .fail .test-expected { color: #008000; }
218 239
219 #qunit-banner.qunit-fail { background-color: #EE5757; } 240 #qunit-banner.qunit-fail { background-color: #EE5757; }
220 241
242 /*** Skipped tests */
243
244 #qunit-tests .skipped {
245 background-color: #EBECE9;
246 }
247
248 #qunit-tests .qunit-skipped-label {
249 background-color: #F4FF77;
250 display: inline-block;
251 font-style: normal;
252 color: #366097;
253 line-height: 1.8em;
254 padding: 0 0.5em;
255 margin: -0.4em 0.4em -0.4em 0;
256 }
221 257
222 /** Result */ 258 /** Result */
223 259
224 #qunit-testresult { 260 #qunit-testresult {
225 » padding: 0.5em 0.5em 0.5em 2.5em; 261 » padding: 0.5em 1em 0.5em 1em;
226 262
227 » color: #2b81af; 263 » color: #2B81AF;
228 background-color: #D2E0E6; 264 background-color: #D2E0E6;
229 265
230 » border-bottom: 1px solid white; 266 » border-bottom: 1px solid #FFF;
231 } 267 }
232 #qunit-testresult .module-name { 268 #qunit-testresult .module-name {
233 » font-weight: bold; 269 » font-weight: 700;
234 } 270 }
235 271
236 /** Fixture */ 272 /** Fixture */
237 273
238 #qunit-fixture { 274 #qunit-fixture {
239 position: absolute; 275 position: absolute;
240 top: -10000px; 276 top: -10000px;
241 left: -10000px; 277 left: -10000px;
242 width: 1000px; 278 width: 1000px;
243 height: 1000px; 279 height: 1000px;
244 } 280 }
OLDNEW
« no previous file with comments | « no previous file | chrome/content/qunit.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld