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