Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Avatar for KuCalc : devops.
Download
50665 views
1
/**
2
* QUnit - A JavaScript Unit Testing Framework
3
*
4
* http://docs.jquery.com/QUnit
5
*
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 Thu Jul 14 20:05:01 UTC 2011
10
* Last Commit: 28be4753ea257da54721aa44f8599adb005e1033
11
*/
12
13
/** Font Family and Sizes */
14
15
#qunit-tests, #qunit-header, #qunit-banner, #qunit-testrunner-toolbar, #qunit-userAgent, #qunit-testresult {
16
font-family: "Helvetica Neue Light", "HelveticaNeue-Light", "Helvetica Neue", Calibri, Helvetica, Arial, sans-serif;
17
}
18
19
#qunit-testrunner-toolbar, #qunit-userAgent, #qunit-testresult, #qunit-tests li { font-size: small; }
20
#qunit-tests { font-size: smaller; }
21
22
23
/** Resets */
24
25
#qunit-tests, #qunit-tests ol, #qunit-header, #qunit-banner, #qunit-userAgent, #qunit-testresult {
26
margin: 0;
27
padding: 0;
28
}
29
30
31
/** Header */
32
33
#qunit-header {
34
padding: 0.5em 0 0.5em 1em;
35
36
color: #8699a4;
37
background-color: #f8f8f8;
38
text-align: center;
39
40
font-size: 1.5em;
41
line-height: 1em;
42
font-weight: normal;
43
margin-bottom: -18px;
44
border-radius: 4px 4px 0 0;
45
-moz-border-radius: 4px 4px 0 0;
46
-webkit-border-top-right-radius: 4px;
47
-webkit-border-top-left-radius: 4px;
48
text-align: right;
49
height: 20px;
50
padding: 40px;
51
}
52
53
#qunit-header img {
54
float: left;
55
margin: -25px;
56
}
57
58
#qunit-header a {
59
text-decoration: none;
60
color: #c2ccd1;
61
}
62
63
#qunit-header a:hover,
64
#qunit-header a:focus {
65
color: #fff;
66
}
67
68
#qunit-banner {
69
height: 5px;
70
}
71
72
#qunit-testrunner-toolbar {
73
padding: 0.5em 0 0.5em 2em;
74
color: #5E740B;
75
background-color: #333;
76
}
77
78
#qunit-userAgent {
79
padding: 0.5em 0 0.5em 2.5em;
80
background-color: #333;
81
color: #fff;
82
text-shadow: rgba(0, 0, 0, 0.5) 2px 2px 1px;
83
}
84
85
86
/** Tests: Pass/Fail */
87
88
#qunit-tests {
89
list-style-position: inside;
90
}
91
92
#qunit-tests li {
93
padding: 0.4em 0.5em 0.4em 2.5em;
94
border-bottom: 1px solid #fff;
95
list-style-position: inside;
96
}
97
98
#qunit-tests.hidepass li.pass, #qunit-tests.hidepass li.running {
99
display: none;
100
}
101
102
#qunit-tests li strong {
103
cursor: pointer;
104
}
105
106
#qunit-tests li a {
107
padding: 0.5em;
108
color: #111;
109
text-decoration: none;
110
}
111
#qunit-tests li a:hover,
112
#qunit-tests li a:focus {
113
color: #000;
114
}
115
116
#qunit-tests ol {
117
margin-top: 0.5em;
118
padding: 0.5em;
119
120
background-color: #fff;
121
122
border-radius: 4px;
123
-moz-border-radius: 4px;
124
-webkit-border-radius: 4px;
125
126
box-shadow: inset 0px 2px 2px #999;
127
-moz-box-shadow: inset 0px 2px 2px #999;
128
-webkit-box-shadow: inset 0px 2px 2px #999;
129
}
130
131
#qunit-tests table {
132
border-collapse: collapse;
133
margin-top: .2em;
134
}
135
136
#qunit-tests th {
137
text-align: right;
138
vertical-align: top;
139
padding: 0 .5em 0 0;
140
}
141
142
#qunit-tests td {
143
vertical-align: top;
144
}
145
146
#qunit-tests pre {
147
margin: 0;
148
white-space: pre-wrap;
149
word-wrap: break-word;
150
}
151
152
#qunit-tests del {
153
background-color: #e0f2be;
154
color: #374e0c;
155
text-decoration: none;
156
}
157
158
#qunit-tests ins {
159
background-color: #ffcaca;
160
color: #500;
161
text-decoration: none;
162
}
163
164
/*** Test Counts */
165
166
#qunit-tests b.counts { color: black; }
167
#qunit-tests b.passed { color: #5E740B; }
168
#qunit-tests b.failed { color: #710909; }
169
170
#qunit-tests li li {
171
margin: 0.5em;
172
padding: 0.4em 0.5em 0.4em 0.5em;
173
background-color: #fff;
174
border-bottom: none;
175
list-style-position: inside;
176
}
177
178
/*** Passing Styles */
179
180
#qunit-tests li li.pass {
181
color: #5E740B;
182
background-color: #fff;
183
border-left: 26px solid #C6E746;
184
}
185
186
#qunit-tests .pass { color: #528CE0; background-color: #ddd; }
187
#qunit-tests .pass .test-name { color: #366097; }
188
189
#qunit-tests .pass .test-actual,
190
#qunit-tests .pass .test-expected { color: #999999; }
191
192
#qunit-banner.qunit-pass { background-color: #C6E746; }
193
194
/*** Failing Styles */
195
196
#qunit-tests li li.fail {
197
color: #710909;
198
background-color: #fff;
199
border-left: 26px solid #EE5757;
200
}
201
202
#qunit-tests > li:last-child {
203
border-radius: 0 0 4px 4px;
204
-moz-border-radius: 0 0 4px 4px;
205
-webkit-border-bottom-right-radius: 4px;
206
-webkit-border-bottom-left-radius: 4px;
207
}
208
209
#qunit-tests .fail { color: #000000; background-color: #EE5757; }
210
#qunit-tests .fail .test-name,
211
#qunit-tests .fail .module-name { color: #000000; }
212
213
#qunit-tests .fail .test-actual { color: #EE5757; }
214
#qunit-tests .fail .test-expected { color: green; }
215
216
#qunit-banner.qunit-fail { background-color: #EE5757; }
217
218
219
/** Result */
220
221
#qunit-testresult {
222
padding: 0.5em 0.5em 0.5em 2.5em;
223
224
color: #eee;
225
background-color: #333;
226
227
border-bottom: 1px solid white;
228
}
229
230
/** Fixture */
231
232
#qunit-fixture {
233
position: absolute;
234
top: -10000px;
235
left: -10000px;
236
}
237
238