1 | /** Font Family and Sizes */
|
---|
2 |
|
---|
3 | #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;
|
---|
5 | }
|
---|
6 |
|
---|
7 | #qunit-testrunner-toolbar, #qunit-userAgent, #qunit-testresult, #qunit-tests li { font-size: small; }
|
---|
8 | #qunit-tests { font-size: smaller; }
|
---|
9 |
|
---|
10 |
|
---|
11 | /** Resets */
|
---|
12 |
|
---|
13 | #qunit-tests, #qunit-tests ol, #qunit-header, #qunit-banner, #qunit-userAgent, #qunit-testresult {
|
---|
14 | margin: 0;
|
---|
15 | padding: 0;
|
---|
16 | }
|
---|
17 |
|
---|
18 |
|
---|
19 | /** Header */
|
---|
20 |
|
---|
21 | #qunit-header {
|
---|
22 | padding: 0.5em 0 0.5em 1em;
|
---|
23 |
|
---|
24 | color: #8699a4;
|
---|
25 | background-color: #0d3349;
|
---|
26 |
|
---|
27 | font-size: 1.5em;
|
---|
28 | 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;
|
---|
35 | }
|
---|
36 |
|
---|
37 | #qunit-header a {
|
---|
38 | text-decoration: none;
|
---|
39 | color: #c2ccd1;
|
---|
40 | }
|
---|
41 |
|
---|
42 | #qunit-header a:hover,
|
---|
43 | #qunit-header a:focus {
|
---|
44 | color: #fff;
|
---|
45 | }
|
---|
46 |
|
---|
47 | #qunit-banner {
|
---|
48 | height: 5px;
|
---|
49 | }
|
---|
50 |
|
---|
51 | #qunit-testrunner-toolbar {
|
---|
52 | padding: 0.5em 0 0.5em 2em;
|
---|
53 | color: #5E740B;
|
---|
54 | background-color: #eee;
|
---|
55 | }
|
---|
56 |
|
---|
57 | #qunit-userAgent {
|
---|
58 | padding: 0.5em 0 0.5em 2.5em;
|
---|
59 | background-color: #2b81af;
|
---|
60 | color: #fff;
|
---|
61 | text-shadow: rgba(0, 0, 0, 0.5) 2px 2px 1px;
|
---|
62 | }
|
---|
63 |
|
---|
64 |
|
---|
65 | /** Tests: Pass/Fail */
|
---|
66 |
|
---|
67 | #qunit-tests {
|
---|
68 | list-style-position: inside;
|
---|
69 | }
|
---|
70 |
|
---|
71 | #qunit-tests li {
|
---|
72 | padding: 0.4em 0.5em 0.4em 2.5em;
|
---|
73 | border-bottom: 1px solid #fff;
|
---|
74 | list-style-position: inside;
|
---|
75 | }
|
---|
76 |
|
---|
77 | #qunit-tests li strong {
|
---|
78 | cursor: pointer;
|
---|
79 | }
|
---|
80 |
|
---|
81 | #qunit-tests ol {
|
---|
82 | margin-top: 0.5em;
|
---|
83 | padding: 0.5em;
|
---|
84 |
|
---|
85 | background-color: #fff;
|
---|
86 |
|
---|
87 | border-radius: 15px;
|
---|
88 | -moz-border-radius: 15px;
|
---|
89 | -webkit-border-radius: 15px;
|
---|
90 |
|
---|
91 | box-shadow: inset 0px 2px 13px #999;
|
---|
92 | -moz-box-shadow: inset 0px 2px 13px #999;
|
---|
93 | -webkit-box-shadow: inset 0px 2px 13px #999;
|
---|
94 | }
|
---|
95 |
|
---|
96 | #qunit-tests table {
|
---|
97 | border-collapse: collapse;
|
---|
98 | margin-top: .2em;
|
---|
99 | }
|
---|
100 |
|
---|
101 | #qunit-tests th {
|
---|
102 | text-align: right;
|
---|
103 | vertical-align: top;
|
---|
104 | padding: 0 .5em 0 0;
|
---|
105 | }
|
---|
106 |
|
---|
107 | #qunit-tests td {
|
---|
108 | vertical-align: top;
|
---|
109 | }
|
---|
110 |
|
---|
111 | #qunit-tests pre {
|
---|
112 | margin: 0;
|
---|
113 | white-space: pre-wrap;
|
---|
114 | word-wrap: break-word;
|
---|
115 | }
|
---|
116 |
|
---|
117 | #qunit-tests del {
|
---|
118 | background-color: #e0f2be;
|
---|
119 | color: #374e0c;
|
---|
120 | text-decoration: none;
|
---|
121 | }
|
---|
122 |
|
---|
123 | #qunit-tests ins {
|
---|
124 | background-color: #ffcaca;
|
---|
125 | color: #500;
|
---|
126 | text-decoration: none;
|
---|
127 | }
|
---|
128 |
|
---|
129 | /*** Test Counts */
|
---|
130 |
|
---|
131 | #qunit-tests b.counts { color: black; }
|
---|
132 | #qunit-tests b.passed { color: #5E740B; }
|
---|
133 | #qunit-tests b.failed { color: #710909; }
|
---|
134 |
|
---|
135 | #qunit-tests li li {
|
---|
136 | margin: 0.5em;
|
---|
137 | padding: 0.4em 0.5em 0.4em 0.5em;
|
---|
138 | background-color: #fff;
|
---|
139 | border-bottom: none;
|
---|
140 | list-style-position: inside;
|
---|
141 | }
|
---|
142 |
|
---|
143 | /*** Passing Styles */
|
---|
144 |
|
---|
145 | #qunit-tests li li.pass {
|
---|
146 | color: #5E740B;
|
---|
147 | background-color: #fff;
|
---|
148 | border-left: 26px solid #C6E746;
|
---|
149 | }
|
---|
150 |
|
---|
151 | #qunit-tests .pass { color: #528CE0; background-color: #D2E0E6; }
|
---|
152 | #qunit-tests .pass .test-name { color: #366097; }
|
---|
153 |
|
---|
154 | #qunit-tests .pass .test-actual,
|
---|
155 | #qunit-tests .pass .test-expected { color: #999999; }
|
---|
156 |
|
---|
157 | #qunit-banner.qunit-pass { background-color: #C6E746; }
|
---|
158 |
|
---|
159 | /*** Failing Styles */
|
---|
160 |
|
---|
161 | #qunit-tests li li.fail {
|
---|
162 | color: #710909;
|
---|
163 | background-color: #fff;
|
---|
164 | border-left: 26px solid #EE5757;
|
---|
165 | }
|
---|
166 |
|
---|
167 | #qunit-tests .fail { color: #000000; background-color: #EE5757; }
|
---|
168 | #qunit-tests .fail .test-name,
|
---|
169 | #qunit-tests .fail .module-name { color: #000000; }
|
---|
170 |
|
---|
171 | #qunit-tests .fail .test-actual { color: #EE5757; }
|
---|
172 | #qunit-tests .fail .test-expected { color: green; }
|
---|
173 |
|
---|
174 | #qunit-banner.qunit-fail { background-color: #EE5757; }
|
---|
175 |
|
---|
176 |
|
---|
177 | /** Footer */
|
---|
178 |
|
---|
179 | #qunit-testresult {
|
---|
180 | padding: 0.5em 0.5em 0.5em 2.5em;
|
---|
181 |
|
---|
182 | color: #2b81af;
|
---|
183 | background-color: #D2E0E6;
|
---|
184 |
|
---|
185 | border-radius: 0 0 15px 15px;
|
---|
186 | -moz-border-radius: 0 0 15px 15px;
|
---|
187 | -webkit-border-bottom-right-radius: 15px;
|
---|
188 | -webkit-border-bottom-left-radius: 15px;
|
---|
189 | }
|
---|
190 |
|
---|
191 | /** Fixture */
|
---|
192 |
|
---|
193 | #qunit-fixture {
|
---|
194 | position: absolute;
|
---|
195 | top: -10000px;
|
---|
196 | left: -10000px;
|
---|
197 | }
|
---|