|
| 1 | +/*! |
| 2 | + * QUnit 1.14.0 |
| 3 | + * http://qunitjs.com/ |
| 4 | + * |
| 5 | + * Copyright 2013 jQuery Foundation and other contributors |
| 6 | + * Released under the MIT license |
| 7 | + * http://jquery.org/license |
| 8 | + * |
| 9 | + * Date: 2014-01-31T16:40Z |
| 10 | + */ |
| 11 | + |
1 | 12 | /** Font Family and Sizes */
|
2 | 13 |
|
3 | 14 | #qunit-tests, #qunit-header, #qunit-banner, #qunit-testrunner-toolbar, #qunit-userAgent, #qunit-testresult {
|
4 |
| - font-family: "Helvetica Neue Light", "HelveticaNeue-Light", "Helvetica Neue", Calibri, Helvetica, Arial; |
| 15 | + font-family: "Helvetica Neue Light", "HelveticaNeue-Light", "Helvetica Neue", Calibri, Helvetica, Arial, sans-serif; |
5 | 16 | }
|
6 | 17 |
|
7 | 18 | #qunit-testrunner-toolbar, #qunit-userAgent, #qunit-testresult, #qunit-tests li { font-size: small; }
|
|
10 | 21 |
|
11 | 22 | /** Resets */
|
12 | 23 |
|
13 |
| -#qunit-tests, #qunit-tests ol, #qunit-header, #qunit-banner, #qunit-userAgent, #qunit-testresult { |
| 24 | +#qunit-tests, #qunit-header, #qunit-banner, #qunit-userAgent, #qunit-testresult, #qunit-modulefilter { |
14 | 25 | margin: 0;
|
15 | 26 | padding: 0;
|
16 | 27 | }
|
|
21 | 32 | #qunit-header {
|
22 | 33 | padding: 0.5em 0 0.5em 1em;
|
23 | 34 |
|
24 |
| - color: #8699a4; |
25 |
| - background-color: #0d3349; |
| 35 | + color: #8699A4; |
| 36 | + background-color: #0D3349; |
26 | 37 |
|
27 | 38 | font-size: 1.5em;
|
28 | 39 | line-height: 1em;
|
29 |
| - font-weight: normal; |
30 |
| - |
31 |
| - border-radius: 15px 15px 0 0; |
32 |
| - -moz-border-radius: 15px 15px 0 0; |
33 |
| - -webkit-border-top-right-radius: 15px; |
34 |
| - -webkit-border-top-left-radius: 15px; |
| 40 | + font-weight: 400; |
| 41 | + |
| 42 | + border-radius: 5px 5px 0 0; |
35 | 43 | }
|
36 | 44 |
|
37 | 45 | #qunit-header a {
|
38 | 46 | text-decoration: none;
|
39 |
| - color: #c2ccd1; |
| 47 | + color: #C2CCD1; |
40 | 48 | }
|
41 | 49 |
|
42 | 50 | #qunit-header a:hover,
|
43 | 51 | #qunit-header a:focus {
|
44 |
| - color: #fff; |
| 52 | + color: #FFF; |
| 53 | +} |
| 54 | + |
| 55 | +#qunit-testrunner-toolbar label { |
| 56 | + display: inline-block; |
| 57 | + padding: 0 0.5em 0 0.1em; |
45 | 58 | }
|
46 | 59 |
|
47 | 60 | #qunit-banner {
|
48 | 61 | height: 5px;
|
49 | 62 | }
|
50 | 63 |
|
51 | 64 | #qunit-testrunner-toolbar {
|
52 |
| - padding: 0em 0 0.5em 2em; |
| 65 | + padding: 0.5em 0 0.5em 2em; |
| 66 | + color: #5E740B; |
| 67 | + background-color: #EEE; |
| 68 | + overflow: hidden; |
53 | 69 | }
|
54 | 70 |
|
55 | 71 | #qunit-userAgent {
|
56 | 72 | padding: 0.5em 0 0.5em 2.5em;
|
57 |
| - background-color: #2b81af; |
58 |
| - color: #fff; |
| 73 | + background-color: #2B81AF; |
| 74 | + color: #FFF; |
59 | 75 | text-shadow: rgba(0, 0, 0, 0.5) 2px 2px 1px;
|
60 | 76 | }
|
61 | 77 |
|
| 78 | +#qunit-modulefilter-container { |
| 79 | + float: right; |
| 80 | +} |
62 | 81 |
|
63 | 82 | /** Tests: Pass/Fail */
|
64 | 83 |
|
|
68 | 87 |
|
69 | 88 | #qunit-tests li {
|
70 | 89 | padding: 0.4em 0.5em 0.4em 2.5em;
|
71 |
| - border-bottom: 1px solid #fff; |
| 90 | + border-bottom: 1px solid #FFF; |
72 | 91 | list-style-position: inside;
|
73 | 92 | }
|
74 | 93 |
|
| 94 | +#qunit-tests.hidepass li.pass, #qunit-tests.hidepass li.running { |
| 95 | + display: none; |
| 96 | +} |
| 97 | + |
75 | 98 | #qunit-tests li strong {
|
76 | 99 | cursor: pointer;
|
77 | 100 | }
|
78 | 101 |
|
79 |
| -#qunit-tests ol { |
| 102 | +#qunit-tests li a { |
| 103 | + padding: 0.5em; |
| 104 | + color: #C2CCD1; |
| 105 | + text-decoration: none; |
| 106 | +} |
| 107 | +#qunit-tests li a:hover, |
| 108 | +#qunit-tests li a:focus { |
| 109 | + color: #000; |
| 110 | +} |
| 111 | + |
| 112 | +#qunit-tests li .runtime { |
| 113 | + float: right; |
| 114 | + font-size: smaller; |
| 115 | +} |
| 116 | + |
| 117 | +.qunit-assert-list { |
80 | 118 | margin-top: 0.5em;
|
81 | 119 | padding: 0.5em;
|
82 |
| - |
83 |
| - background-color: #fff; |
84 |
| - |
85 |
| - border-radius: 15px; |
86 |
| - -moz-border-radius: 15px; |
87 |
| - -webkit-border-radius: 15px; |
88 |
| - |
89 |
| - box-shadow: inset 0px 2px 13px #999; |
90 |
| - -moz-box-shadow: inset 0px 2px 13px #999; |
91 |
| - -webkit-box-shadow: inset 0px 2px 13px #999; |
| 120 | + |
| 121 | + background-color: #FFF; |
| 122 | + |
| 123 | + border-radius: 5px; |
| 124 | +} |
| 125 | + |
| 126 | +.qunit-collapsed { |
| 127 | + display: none; |
92 | 128 | }
|
93 | 129 |
|
94 | 130 | #qunit-tests table {
|
95 | 131 | border-collapse: collapse;
|
96 |
| - margin-top: .2em; |
| 132 | + margin-top: 0.2em; |
97 | 133 | }
|
98 | 134 |
|
99 | 135 | #qunit-tests th {
|
100 | 136 | text-align: right;
|
101 | 137 | vertical-align: top;
|
102 |
| - padding: 0 .5em 0 0; |
| 138 | + padding: 0 0.5em 0 0; |
103 | 139 | }
|
104 | 140 |
|
105 | 141 | #qunit-tests td {
|
|
113 | 149 | }
|
114 | 150 |
|
115 | 151 | #qunit-tests del {
|
116 |
| - background-color: #e0f2be; |
117 |
| - color: #374e0c; |
| 152 | + background-color: #E0F2BE; |
| 153 | + color: #374E0C; |
118 | 154 | text-decoration: none;
|
119 | 155 | }
|
120 | 156 |
|
121 | 157 | #qunit-tests ins {
|
122 |
| - background-color: #ffcaca; |
| 158 | + background-color: #FFCACA; |
123 | 159 | color: #500;
|
124 | 160 | text-decoration: none;
|
125 | 161 | }
|
126 | 162 |
|
127 | 163 | /*** Test Counts */
|
128 | 164 |
|
129 |
| -#qunit-tests b.counts { color: black; } |
| 165 | +#qunit-tests b.counts { color: #000; } |
130 | 166 | #qunit-tests b.passed { color: #5E740B; }
|
131 | 167 | #qunit-tests b.failed { color: #710909; }
|
132 | 168 |
|
133 | 169 | #qunit-tests li li {
|
134 |
| - margin: 0.5em; |
135 |
| - padding: 0.4em 0.5em 0.4em 0.5em; |
136 |
| - background-color: #fff; |
| 170 | + padding: 5px; |
| 171 | + background-color: #FFF; |
137 | 172 | border-bottom: none;
|
138 | 173 | list-style-position: inside;
|
139 | 174 | }
|
140 | 175 |
|
141 | 176 | /*** Passing Styles */
|
142 | 177 |
|
143 | 178 | #qunit-tests li li.pass {
|
144 |
| - color: #5E740B; |
145 |
| - background-color: #fff; |
146 |
| - border-left: 26px solid #C6E746; |
| 179 | + color: #3C510C; |
| 180 | + background-color: #FFF; |
| 181 | + border-left: 10px solid #C6E746; |
147 | 182 | }
|
148 | 183 |
|
149 | 184 | #qunit-tests .pass { color: #528CE0; background-color: #D2E0E6; }
|
150 | 185 | #qunit-tests .pass .test-name { color: #366097; }
|
151 |
| - |
| 186 | + |
152 | 187 | #qunit-tests .pass .test-actual,
|
153 |
| -#qunit-tests .pass .test-expected { color: #999999; } |
| 188 | +#qunit-tests .pass .test-expected { color: #999; } |
154 | 189 |
|
155 | 190 | #qunit-banner.qunit-pass { background-color: #C6E746; }
|
156 | 191 |
|
157 | 192 | /*** Failing Styles */
|
158 | 193 |
|
159 | 194 | #qunit-tests li li.fail {
|
160 | 195 | color: #710909;
|
161 |
| - background-color: #fff; |
162 |
| - border-left: 26px solid #EE5757; |
| 196 | + background-color: #FFF; |
| 197 | + border-left: 10px solid #EE5757; |
| 198 | + white-space: pre; |
163 | 199 | }
|
164 | 200 |
|
165 |
| -#qunit-tests .fail { color: #000000; background-color: #EE5757; } |
| 201 | +#qunit-tests > li:last-child { |
| 202 | + border-radius: 0 0 5px 5px; |
| 203 | +} |
| 204 | + |
| 205 | +#qunit-tests .fail { color: #000; background-color: #EE5757; } |
166 | 206 | #qunit-tests .fail .test-name,
|
167 |
| -#qunit-tests .fail .module-name { color: #000000; } |
| 207 | +#qunit-tests .fail .module-name { color: #000; } |
168 | 208 |
|
169 | 209 | #qunit-tests .fail .test-actual { color: #EE5757; }
|
170 |
| -#qunit-tests .fail .test-expected { color: green; } |
| 210 | +#qunit-tests .fail .test-expected { color: #008000; } |
171 | 211 |
|
172 |
| -#qunit-banner.qunit-fail, |
173 |
| -#qunit-testrunner-toolbar { background-color: #EE5757; } |
| 212 | +#qunit-banner.qunit-fail { background-color: #EE5757; } |
174 | 213 |
|
175 | 214 |
|
176 |
| -/** Footer */ |
| 215 | +/** Result */ |
177 | 216 |
|
178 | 217 | #qunit-testresult {
|
179 | 218 | padding: 0.5em 0.5em 0.5em 2.5em;
|
180 | 219 |
|
181 |
| - color: #2b81af; |
| 220 | + color: #2B81AF; |
182 | 221 | background-color: #D2E0E6;
|
183 | 222 |
|
184 |
| - border-radius: 0 0 15px 15px; |
185 |
| - -moz-border-radius: 0 0 15px 15px; |
186 |
| - -webkit-border-bottom-right-radius: 15px; |
187 |
| - -webkit-border-bottom-left-radius: 15px; |
| 223 | + border-bottom: 1px solid #FFF; |
| 224 | +} |
| 225 | +#qunit-testresult .module-name { |
| 226 | + font-weight: 700; |
188 | 227 | }
|
189 | 228 |
|
190 | 229 | /** Fixture */
|
|
193 | 232 | position: absolute;
|
194 | 233 | top: -10000px;
|
195 | 234 | left: -10000px;
|
| 235 | + width: 1000px; |
| 236 | + height: 1000px; |
196 | 237 | }
|
0 commit comments