|
1 | 1 | /*!
|
2 |
| - * QUnit 1.17.1 |
3 |
| - * http://qunitjs.com/ |
| 2 | + * QUnit 2.0.1 |
| 3 | + * https://qunitjs.com/ |
4 | 4 | *
|
5 | 5 | * Copyright jQuery Foundation and other contributors
|
6 | 6 | * Released under the MIT license
|
7 |
| - * http://jquery.org/license |
| 7 | + * https://jquery.org/license |
8 | 8 | *
|
9 |
| - * Date: 2015-01-20T19:39Z |
| 9 | + * Date: 2016-07-23T19:39Z |
10 | 10 | */
|
11 | 11 |
|
12 | 12 | /** Font Family and Sizes */
|
13 | 13 |
|
14 |
| -#qunit-tests, #qunit-header, #qunit-banner, #qunit-testrunner-toolbar, #qunit-userAgent, #qunit-testresult { |
| 14 | +#qunit-tests, #qunit-header, #qunit-banner, #qunit-testrunner-toolbar, #qunit-filteredTest, #qunit-userAgent, #qunit-testresult { |
15 | 15 | font-family: "Helvetica Neue Light", "HelveticaNeue-Light", "Helvetica Neue", Calibri, Helvetica, Arial, sans-serif;
|
16 | 16 | }
|
17 | 17 |
|
18 |
| -#qunit-testrunner-toolbar, #qunit-userAgent, #qunit-testresult, #qunit-tests li { font-size: small; } |
| 18 | +#qunit-testrunner-toolbar, #qunit-filteredTest, #qunit-userAgent, #qunit-testresult, #qunit-tests li { font-size: small; } |
19 | 19 | #qunit-tests { font-size: smaller; }
|
20 | 20 |
|
21 | 21 |
|
22 | 22 | /** Resets */
|
23 | 23 |
|
24 |
| -#qunit-tests, #qunit-header, #qunit-banner, #qunit-userAgent, #qunit-testresult, #qunit-modulefilter { |
| 24 | +#qunit-tests, #qunit-header, #qunit-banner, #qunit-filteredTest, #qunit-userAgent, #qunit-testresult, #qunit-modulefilter { |
25 | 25 | margin: 0;
|
26 | 26 | padding: 0;
|
27 | 27 | }
|
28 | 28 |
|
29 | 29 |
|
30 |
| -/** Header */ |
| 30 | +/** Header (excluding toolbar) */ |
31 | 31 |
|
32 | 32 | #qunit-header {
|
33 | 33 | padding: 0.5em 0 0.5em 1em;
|
|
52 | 52 | color: #FFF;
|
53 | 53 | }
|
54 | 54 |
|
55 |
| -#qunit-testrunner-toolbar label { |
56 |
| - display: inline-block; |
57 |
| - padding: 0 0.5em 0 0.1em; |
58 |
| -} |
59 |
| - |
60 | 55 | #qunit-banner {
|
61 | 56 | height: 5px;
|
62 | 57 | }
|
63 | 58 |
|
64 |
| -#qunit-testrunner-toolbar { |
| 59 | +#qunit-filteredTest { |
65 | 60 | padding: 0.5em 1em 0.5em 1em;
|
66 |
| - color: #5E740B; |
67 |
| - background-color: #EEE; |
68 |
| - overflow: hidden; |
| 61 | + color: #366097; |
| 62 | + background-color: #F4FF77; |
69 | 63 | }
|
70 | 64 |
|
71 | 65 | #qunit-userAgent {
|
72 | 66 | padding: 0.5em 1em 0.5em 1em;
|
73 |
| - background-color: #2B81AF; |
74 | 67 | color: #FFF;
|
| 68 | + background-color: #2B81AF; |
75 | 69 | text-shadow: rgba(0, 0, 0, 0.5) 2px 2px 1px;
|
76 | 70 | }
|
77 | 71 |
|
78 |
| -#qunit-modulefilter-container { |
79 |
| - float: right; |
80 |
| - padding: 0.2em; |
| 72 | + |
| 73 | +/** Toolbar */ |
| 74 | + |
| 75 | +#qunit-testrunner-toolbar { |
| 76 | + padding: 0.5em 1em 0.5em 1em; |
| 77 | + color: #5E740B; |
| 78 | + background-color: #EEE; |
| 79 | +} |
| 80 | + |
| 81 | +#qunit-testrunner-toolbar .clearfix { |
| 82 | + height: 0; |
| 83 | + clear: both; |
| 84 | +} |
| 85 | + |
| 86 | +#qunit-testrunner-toolbar label { |
| 87 | + display: inline-block; |
81 | 88 | }
|
82 | 89 |
|
83 |
| -.qunit-url-config { |
| 90 | +#qunit-testrunner-toolbar input[type=checkbox], |
| 91 | +#qunit-testrunner-toolbar input[type=radio] { |
| 92 | + margin: 3px; |
| 93 | + vertical-align: -2px; |
| 94 | +} |
| 95 | + |
| 96 | +#qunit-testrunner-toolbar input[type=text] { |
| 97 | + box-sizing: border-box; |
| 98 | + height: 1.6em; |
| 99 | +} |
| 100 | + |
| 101 | +.qunit-url-config, |
| 102 | +.qunit-filter, |
| 103 | +#qunit-modulefilter { |
84 | 104 | display: inline-block;
|
85 |
| - padding: 0.1em; |
| 105 | + line-height: 2.1em; |
86 | 106 | }
|
87 | 107 |
|
88 |
| -.qunit-filter { |
89 |
| - display: block; |
| 108 | +.qunit-filter, |
| 109 | +#qunit-modulefilter { |
90 | 110 | float: right;
|
| 111 | + position: relative; |
91 | 112 | margin-left: 1em;
|
92 | 113 | }
|
93 | 114 |
|
| 115 | +.qunit-url-config label { |
| 116 | + margin-right: 0.5em; |
| 117 | +} |
| 118 | + |
| 119 | +#qunit-modulefilter-search { |
| 120 | + box-sizing: border-box; |
| 121 | + width: 400px; |
| 122 | +} |
| 123 | + |
| 124 | +#qunit-modulefilter-search-container:after { |
| 125 | + position: absolute; |
| 126 | + right: 0.3em; |
| 127 | + content: "\25bc"; |
| 128 | + color: black; |
| 129 | +} |
| 130 | + |
| 131 | +#qunit-modulefilter-dropdown { |
| 132 | + /* align with #qunit-modulefilter-search */ |
| 133 | + box-sizing: border-box; |
| 134 | + width: 400px; |
| 135 | + position: absolute; |
| 136 | + right: 0; |
| 137 | + top: 50%; |
| 138 | + margin-top: 0.8em; |
| 139 | + |
| 140 | + border: 1px solid #D3D3D3; |
| 141 | + border-top: none; |
| 142 | + border-radius: 0 0 .25em .25em; |
| 143 | + color: #000; |
| 144 | + background-color: #F5F5F5; |
| 145 | + z-index: 99; |
| 146 | +} |
| 147 | + |
| 148 | +#qunit-modulefilter-dropdown a { |
| 149 | + color: inherit; |
| 150 | + text-decoration: none; |
| 151 | +} |
| 152 | + |
| 153 | +#qunit-modulefilter-dropdown .clickable.checked { |
| 154 | + font-weight: bold; |
| 155 | + color: #000; |
| 156 | + background-color: #D2E0E6; |
| 157 | +} |
| 158 | + |
| 159 | +#qunit-modulefilter-dropdown .clickable:hover { |
| 160 | + color: #FFF; |
| 161 | + background-color: #0D3349; |
| 162 | +} |
| 163 | + |
| 164 | +#qunit-modulefilter-actions { |
| 165 | + display: block; |
| 166 | + overflow: auto; |
| 167 | + |
| 168 | + /* align with #qunit-modulefilter-dropdown-list */ |
| 169 | + font: smaller/1.5em sans-serif; |
| 170 | +} |
| 171 | + |
| 172 | +#qunit-modulefilter-dropdown #qunit-modulefilter-actions > * { |
| 173 | + box-sizing: border-box; |
| 174 | + max-height: 2.8em; |
| 175 | + display: block; |
| 176 | + padding: 0.4em; |
| 177 | +} |
| 178 | + |
| 179 | +#qunit-modulefilter-dropdown #qunit-modulefilter-actions > button { |
| 180 | + float: right; |
| 181 | + font: inherit; |
| 182 | +} |
| 183 | + |
| 184 | +#qunit-modulefilter-dropdown #qunit-modulefilter-actions > :last-child { |
| 185 | + /* insert padding to align with checkbox margins */ |
| 186 | + padding-left: 3px; |
| 187 | +} |
| 188 | + |
| 189 | +#qunit-modulefilter-dropdown-list { |
| 190 | + max-height: 200px; |
| 191 | + overflow-y: auto; |
| 192 | + margin: 0; |
| 193 | + border-top: 2px groove threedhighlight; |
| 194 | + padding: 0.4em 0 0; |
| 195 | + font: smaller/1.5em sans-serif; |
| 196 | +} |
| 197 | + |
| 198 | +#qunit-modulefilter-dropdown-list li { |
| 199 | + white-space: nowrap; |
| 200 | + overflow: hidden; |
| 201 | + text-overflow: ellipsis; |
| 202 | +} |
| 203 | + |
| 204 | +#qunit-modulefilter-dropdown-list .clickable { |
| 205 | + display: block; |
| 206 | + padding-left: 0.15em; |
| 207 | +} |
| 208 | + |
| 209 | + |
94 | 210 | /** Tests: Pass/Fail */
|
95 | 211 |
|
96 | 212 | #qunit-tests {
|
|
114 | 230 | display: list-item;
|
115 | 231 | }
|
116 | 232 |
|
| 233 | +#qunit-tests.hidepass { |
| 234 | + position: relative; |
| 235 | +} |
| 236 | + |
117 | 237 | #qunit-tests.hidepass li.running,
|
118 | 238 | #qunit-tests.hidepass li.pass {
|
119 |
| - display: none; |
| 239 | + visibility: hidden; |
| 240 | + position: absolute; |
| 241 | + width: 0; |
| 242 | + height: 0; |
| 243 | + padding: 0; |
| 244 | + border: 0; |
| 245 | + margin: 0; |
120 | 246 | }
|
121 | 247 |
|
122 | 248 | #qunit-tests li strong {
|
|
132 | 258 | color: #C2CCD1;
|
133 | 259 | text-decoration: none;
|
134 | 260 | }
|
| 261 | + |
| 262 | +#qunit-tests li p a { |
| 263 | + padding: 0.25em; |
| 264 | + color: #6B6464; |
| 265 | +} |
135 | 266 | #qunit-tests li a:hover,
|
136 | 267 | #qunit-tests li a:focus {
|
137 | 268 | color: #000;
|
|
151 | 282 | border-radius: 5px;
|
152 | 283 | }
|
153 | 284 |
|
| 285 | +.qunit-source { |
| 286 | + margin: 0.6em 0 0.3em; |
| 287 | +} |
| 288 | + |
154 | 289 | .qunit-collapsed {
|
155 | 290 | display: none;
|
156 | 291 | }
|
|
177 | 312 | }
|
178 | 313 |
|
179 | 314 | #qunit-tests del {
|
180 |
| - background-color: #E0F2BE; |
181 | 315 | color: #374E0C;
|
| 316 | + background-color: #E0F2BE; |
182 | 317 | text-decoration: none;
|
183 | 318 | }
|
184 | 319 |
|
185 | 320 | #qunit-tests ins {
|
186 |
| - background-color: #FFCACA; |
187 | 321 | color: #500;
|
| 322 | + background-color: #FFCACA; |
188 | 323 | text-decoration: none;
|
189 | 324 | }
|
190 | 325 |
|
|
0 commit comments