1 |
|
/*!
|
2 |
|
* QUnit 1.17.1
|
3 |
|
* http://qunitjs.com/
|
4 |
|
*
|
5 |
|
* Copyright jQuery Foundation and other contributors
|
6 |
|
* Released under the MIT license
|
7 |
|
* http://jquery.org/license
|
8 |
|
*
|
9 |
|
* Date: 2015-01-20T19:39Z
|
10 |
|
*/
|
11 |
|
|
12 |
|
/** Font Family and Sizes */
|
13 |
|
|
14 |
|
#qunit-tests, #qunit-header, #qunit-banner, #qunit-testrunner-toolbar, #qunit-userAgent, #qunit-testresult {
|
15 |
|
font-family: "Helvetica Neue Light", "HelveticaNeue-Light", "Helvetica Neue", Calibri, Helvetica, Arial, sans-serif;
|
16 |
|
}
|
17 |
|
|
18 |
|
#qunit-testrunner-toolbar, #qunit-userAgent, #qunit-testresult, #qunit-tests li { font-size: small; }
|
19 |
|
#qunit-tests { font-size: smaller; }
|
20 |
|
|
21 |
|
|
22 |
|
/** Resets */
|
23 |
|
|
24 |
|
#qunit-tests, #qunit-header, #qunit-banner, #qunit-userAgent, #qunit-testresult, #qunit-modulefilter {
|
25 |
|
margin: 0;
|
26 |
|
padding: 0;
|
27 |
|
}
|
28 |
|
|
29 |
|
|
30 |
|
/** Header */
|
31 |
|
|
32 |
|
#qunit-header {
|
33 |
|
padding: 0.5em 0 0.5em 1em;
|
34 |
|
|
35 |
|
color: #8699A4;
|
36 |
|
background-color: #0D3349;
|
37 |
|
|
38 |
|
font-size: 1.5em;
|
39 |
|
line-height: 1em;
|
40 |
|
font-weight: 400;
|
41 |
|
|
42 |
|
border-radius: 5px 5px 0 0;
|
43 |
|
}
|
44 |
|
|
45 |
|
#qunit-header a {
|
46 |
|
text-decoration: none;
|
47 |
|
color: #C2CCD1;
|
48 |
|
}
|
49 |
|
|
50 |
|
#qunit-header a:hover,
|
51 |
|
#qunit-header a:focus {
|
52 |
|
color: #FFF;
|
53 |
|
}
|
54 |
|
|
55 |
|
#qunit-testrunner-toolbar label {
|
56 |
|
display: inline-block;
|
57 |
|
padding: 0 0.5em 0 0.1em;
|
58 |
|
}
|
59 |
|
|
60 |
|
#qunit-banner {
|
61 |
|
height: 5px;
|
62 |
|
}
|
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 |
|
|
71 |
|
#qunit-userAgent {
|
72 |
|
padding: 0.5em 1em 0.5em 1em;
|
73 |
|
background-color: #2B81AF;
|
74 |
|
color: #FFF;
|
75 |
|
text-shadow: rgba(0, 0, 0, 0.5) 2px 2px 1px;
|
76 |
|
}
|
77 |
|
|
78 |
|
#qunit-modulefilter-container {
|
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;
|
92 |
|
}
|
93 |
|
|
94 |
|
/** Tests: Pass/Fail */
|
95 |
|
|
96 |
|
#qunit-tests {
|
97 |
|
list-style-position: inside;
|
98 |
|
}
|
99 |
|
|
100 |
|
#qunit-tests li {
|
101 |
|
padding: 0.4em 1em 0.4em 1em;
|
102 |
|
border-bottom: 1px solid #FFF;
|
103 |
|
list-style-position: inside;
|
104 |
|
}
|
105 |
|
|
106 |
|
#qunit-tests > li {
|
107 |
|
display: none;
|
108 |
|
}
|
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 |
|
|
122 |
|
#qunit-tests li strong {
|
123 |
|
cursor: pointer;
|
124 |
|
}
|
125 |
|
|
126 |
|
#qunit-tests li.skipped strong {
|
127 |
|
cursor: default;
|
128 |
|
}
|
129 |
|
|
130 |
|
#qunit-tests li a {
|
131 |
|
padding: 0.5em;
|
132 |
|
color: #C2CCD1;
|
133 |
|
text-decoration: none;
|
134 |
|
}
|
135 |
|
#qunit-tests li a:hover,
|
136 |
|
#qunit-tests li a:focus {
|
137 |
|
color: #000;
|
138 |
|
}
|
139 |
|
|
140 |
|
#qunit-tests li .runtime {
|
141 |
|
float: right;
|
142 |
|
font-size: smaller;
|
143 |
|
}
|
144 |
|
|
145 |
|
.qunit-assert-list {
|
146 |
|
margin-top: 0.5em;
|
147 |
|
padding: 0.5em;
|
148 |
|
|
149 |
|
background-color: #FFF;
|
150 |
|
|
151 |
|
border-radius: 5px;
|
152 |
|
}
|
153 |
|
|
154 |
|
.qunit-collapsed {
|
155 |
|
display: none;
|
156 |
|
}
|
157 |
|
|
158 |
|
#qunit-tests table {
|
159 |
|
border-collapse: collapse;
|
160 |
|
margin-top: 0.2em;
|
161 |
|
}
|
162 |
|
|
163 |
|
#qunit-tests th {
|
164 |
|
text-align: right;
|
165 |
|
vertical-align: top;
|
166 |
|
padding: 0 0.5em 0 0;
|
167 |
|
}
|
168 |
|
|
169 |
|
#qunit-tests td {
|
170 |
|
vertical-align: top;
|
171 |
|
}
|
172 |
|
|
173 |
|
#qunit-tests pre {
|
174 |
|
margin: 0;
|
175 |
|
white-space: pre-wrap;
|
176 |
|
word-wrap: break-word;
|
177 |
|
}
|
178 |
|
|
179 |
|
#qunit-tests del {
|
180 |
|
background-color: #E0F2BE;
|
181 |
|
color: #374E0C;
|
182 |
|
text-decoration: none;
|
183 |
|
}
|
184 |
|
|
185 |
|
#qunit-tests ins {
|
186 |
|
background-color: #FFCACA;
|
187 |
|
color: #500;
|
188 |
|
text-decoration: none;
|
189 |
|
}
|
190 |
|
|
191 |
|
/*** Test Counts */
|
192 |
|
|
193 |
|
#qunit-tests b.counts { color: #000; }
|
194 |
|
#qunit-tests b.passed { color: #5E740B; }
|
195 |
|
#qunit-tests b.failed { color: #710909; }
|
196 |
|
|
197 |
|
#qunit-tests li li {
|
198 |
|
padding: 5px;
|
199 |
|
background-color: #FFF;
|
200 |
|
border-bottom: none;
|
201 |
|
list-style-position: inside;
|
202 |
|
}
|
203 |
|
|
204 |
|
/*** Passing Styles */
|
205 |
|
|
206 |
|
#qunit-tests li li.pass {
|
207 |
|
color: #3C510C;
|
208 |
|
background-color: #FFF;
|
209 |
|
border-left: 10px solid #C6E746;
|
210 |
|
}
|
211 |
|
|
212 |
|
#qunit-tests .pass { color: #528CE0; background-color: #D2E0E6; }
|
213 |
|
#qunit-tests .pass .test-name { color: #366097; }
|
214 |
|
|
215 |
|
#qunit-tests .pass .test-actual,
|
216 |
|
#qunit-tests .pass .test-expected { color: #999; }
|
217 |
|
|
218 |
|
#qunit-banner.qunit-pass { background-color: #C6E746; }
|
219 |
|
|
220 |
|
/*** Failing Styles */
|
221 |
|
|
222 |
|
#qunit-tests li li.fail {
|
223 |
|
color: #710909;
|
224 |
|
background-color: #FFF;
|
225 |
|
border-left: 10px solid #EE5757;
|
226 |
|
white-space: pre;
|
227 |
|
}
|
228 |
|
|
229 |
|
#qunit-tests > li:last-child {
|
230 |
|
border-radius: 0 0 5px 5px;
|
231 |
|
}
|
232 |
|
|
233 |
|
#qunit-tests .fail { color: #000; background-color: #EE5757; }
|
234 |
|
#qunit-tests .fail .test-name,
|
235 |
|
#qunit-tests .fail .module-name { color: #000; }
|
236 |
|
|
237 |
|
#qunit-tests .fail .test-actual { color: #EE5757; }
|
238 |
|
#qunit-tests .fail .test-expected { color: #008000; }
|
239 |
|
|
240 |
|
#qunit-banner.qunit-fail { background-color: #EE5757; }
|
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 |
|
}
|
257 |
|
|
258 |
|
/** Result */
|
259 |
|
|
260 |
|
#qunit-testresult {
|
261 |
|
padding: 0.5em 1em 0.5em 1em;
|
262 |
|
|
263 |
|
color: #2B81AF;
|
264 |
|
background-color: #D2E0E6;
|
265 |
|
|
266 |
|
border-bottom: 1px solid #FFF;
|
267 |
|
}
|
268 |
|
#qunit-testresult .module-name {
|
269 |
|
font-weight: 700;
|
270 |
|
}
|
271 |
|
|
272 |
|
/** Fixture */
|
273 |
|
|
274 |
|
#qunit-fixture {
|
275 |
|
position: absolute;
|
276 |
|
top: -10000px;
|
277 |
|
left: -10000px;
|
278 |
|
width: 1000px;
|
279 |
|
height: 1000px;
|
280 |
|
}
|
design40: qunit css entfernt
abolute css funktionieren auch ohne fallback