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

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

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

Powered by Google App Engine
This is Rietveld