resources: Move QUnit to resources/lib/qunitjs
[lhc/web/wiklou.git] / resources / lib / qunitjs / qunit.css
1 /*!
2 * QUnit 1.16.0
3 * http://qunitjs.com/
4 *
5 * Copyright 2006, 2014 jQuery Foundation and other contributors
6 * Released under the MIT license
7 * http://jquery.org/license
8 *
9 * Date: 2014-12-03T16:32Z
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 }
81
82 /** Tests: Pass/Fail */
83
84 #qunit-tests {
85 list-style-position: inside;
86 }
87
88 #qunit-tests li {
89 padding: 0.4em 1em 0.4em 1em;
90 border-bottom: 1px solid #FFF;
91 list-style-position: inside;
92 }
93
94 #qunit-tests > li {
95 display: none;
96 }
97
98 #qunit-tests li.pass, #qunit-tests li.running, #qunit-tests li.fail {
99 display: list-item;
100 }
101
102 #qunit-tests.hidepass li.pass, #qunit-tests.hidepass li.running {
103 display: none;
104 }
105
106 #qunit-tests li strong {
107 cursor: pointer;
108 }
109
110 #qunit-tests li.skipped strong {
111 cursor: default;
112 }
113
114 #qunit-tests li a {
115 padding: 0.5em;
116 color: #C2CCD1;
117 text-decoration: none;
118 }
119 #qunit-tests li a:hover,
120 #qunit-tests li a:focus {
121 color: #000;
122 }
123
124 #qunit-tests li .runtime {
125 float: right;
126 font-size: smaller;
127 }
128
129 .qunit-assert-list {
130 margin-top: 0.5em;
131 padding: 0.5em;
132
133 background-color: #FFF;
134
135 border-radius: 5px;
136 }
137
138 .qunit-collapsed {
139 display: none;
140 }
141
142 #qunit-tests table {
143 border-collapse: collapse;
144 margin-top: 0.2em;
145 }
146
147 #qunit-tests th {
148 text-align: right;
149 vertical-align: top;
150 padding: 0 0.5em 0 0;
151 }
152
153 #qunit-tests td {
154 vertical-align: top;
155 }
156
157 #qunit-tests pre {
158 margin: 0;
159 white-space: pre-wrap;
160 word-wrap: break-word;
161 }
162
163 #qunit-tests del {
164 background-color: #E0F2BE;
165 color: #374E0C;
166 text-decoration: none;
167 }
168
169 #qunit-tests ins {
170 background-color: #FFCACA;
171 color: #500;
172 text-decoration: none;
173 }
174
175 /*** Test Counts */
176
177 #qunit-tests b.counts { color: #000; }
178 #qunit-tests b.passed { color: #5E740B; }
179 #qunit-tests b.failed { color: #710909; }
180
181 #qunit-tests li li {
182 padding: 5px;
183 background-color: #FFF;
184 border-bottom: none;
185 list-style-position: inside;
186 }
187
188 /*** Passing Styles */
189
190 #qunit-tests li li.pass {
191 color: #3C510C;
192 background-color: #FFF;
193 border-left: 10px solid #C6E746;
194 }
195
196 #qunit-tests .pass { color: #528CE0; background-color: #D2E0E6; }
197 #qunit-tests .pass .test-name { color: #366097; }
198
199 #qunit-tests .pass .test-actual,
200 #qunit-tests .pass .test-expected { color: #999; }
201
202 #qunit-banner.qunit-pass { background-color: #C6E746; }
203
204 /*** Failing Styles */
205
206 #qunit-tests li li.fail {
207 color: #710909;
208 background-color: #FFF;
209 border-left: 10px solid #EE5757;
210 white-space: pre;
211 }
212
213 #qunit-tests > li:last-child {
214 border-radius: 0 0 5px 5px;
215 }
216
217 #qunit-tests .fail { color: #000; background-color: #EE5757; }
218 #qunit-tests .fail .test-name,
219 #qunit-tests .fail .module-name { color: #000; }
220
221 #qunit-tests .fail .test-actual { color: #EE5757; }
222 #qunit-tests .fail .test-expected { color: #008000; }
223
224 #qunit-banner.qunit-fail { background-color: #EE5757; }
225
226 /*** Skipped tests */
227
228 #qunit-tests .skipped {
229 background-color: #EBECE9;
230 }
231
232 #qunit-tests .qunit-skipped-label {
233 background-color: #F4FF77;
234 display: inline-block;
235 font-style: normal;
236 color: #366097;
237 line-height: 1.8em;
238 padding: 0 0.5em;
239 margin: -0.4em 0.4em -0.4em 0;
240 }
241
242 /** Result */
243
244 #qunit-testresult {
245 padding: 0.5em 1em 0.5em 1em;
246
247 color: #2B81AF;
248 background-color: #D2E0E6;
249
250 border-bottom: 1px solid #FFF;
251 }
252 #qunit-testresult .module-name {
253 font-weight: 700;
254 }
255
256 /** Fixture */
257
258 #qunit-fixture {
259 position: absolute;
260 top: -10000px;
261 left: -10000px;
262 width: 1000px;
263 height: 1000px;
264 }