1
+ /**
2
+ * QUnit - A JavaScript Unit Testing Framework
3
+ *
4
+ * http://docs.jquery.com/QUnit
5
+ *
6
+ * Copyright (c) 2011 John Resig, Jörn Zaefferer
7
+ * Dual licensed under the MIT (MIT-LICENSE.txt)
8
+ * or GPL (GPL-LICENSE.txt) licenses.
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 li ol , # qunit-header , # qunit-banner , # qunit-userAgent , # qunit-testresult {
23
+ # qunit-tests , # qunit-tests ol , # qunit-header , # qunit-banner , # qunit-userAgent , # qunit-testresult {
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
-
36
+
37
+ font-size : 1.5em ;
38
+ line-height : 1em ;
39
+ font-weight : normal;
40
+
28
41
border-radius : 15px 15px 0 0 ;
29
42
-moz-border-radius : 15px 15px 0 0 ;
30
43
-webkit-border-top-right-radius : 15px ;
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 ;
37
55
}
38
56
39
57
# qunit-banner {
40
58
height : 5px ;
41
59
}
42
60
43
61
# qunit-testrunner-toolbar {
44
- padding : 0em 0 0.5em 2em ;
62
+ padding : 0.5em 0 0.5em 2em ;
63
+ color : # 5E740B ;
64
+ background-color : # eee ;
45
65
}
46
66
47
67
# qunit-userAgent {
64
84
list-style-position : inside;
65
85
}
66
86
87
+ # qunit-tests .hidepass li .pass , # qunit-tests .hidepass li .running {
88
+ display : none;
89
+ }
90
+
67
91
# qunit-tests li strong {
68
92
cursor : pointer;
69
93
}
70
94
71
- # qunit-tests li ol {
95
+ # qunit-tests li a {
96
+ padding : 0.5em ;
97
+ color : # c2ccd1 ;
98
+ text-decoration : none;
99
+ }
100
+ # qunit-tests li a : hover ,
101
+ # qunit-tests li a : focus {
102
+ color : # 000 ;
103
+ }
104
+
105
+ # qunit-tests ol {
72
106
margin-top : 0.5em ;
73
107
padding : 0.5em ;
74
-
108
+
75
109
background-color : # fff ;
76
-
110
+
77
111
border-radius : 15px ;
78
112
-moz-border-radius : 15px ;
79
113
-webkit-border-radius : 15px ;
80
-
114
+
81
115
box-shadow : inset 0px 2px 13px # 999 ;
82
116
-moz-box-shadow : inset 0px 2px 13px # 999 ;
83
117
-webkit-box-shadow : inset 0px 2px 13px # 999 ;
84
118
}
85
119
120
+ # qunit-tests table {
121
+ border-collapse : collapse;
122
+ margin-top : .2em ;
123
+ }
124
+
125
+ # qunit-tests th {
126
+ text-align : right;
127
+ vertical-align : top;
128
+ padding : 0 .5em 0 0 ;
129
+ }
130
+
131
+ # qunit-tests td {
132
+ vertical-align : top;
133
+ }
134
+
135
+ # qunit-tests pre {
136
+ margin : 0 ;
137
+ white-space : pre-wrap;
138
+ word-wrap : break-word;
139
+ }
140
+
141
+ # qunit-tests del {
142
+ background-color : # e0f2be ;
143
+ color : # 374e0c ;
144
+ text-decoration : none;
145
+ }
146
+
147
+ # qunit-tests ins {
148
+ background-color : # ffcaca ;
149
+ color : # 500 ;
150
+ text-decoration : none;
151
+ }
152
+
153
+ /*** Test Counts */
154
+
155
+ # qunit-tests b .counts { color : black; }
156
+ # qunit-tests b .passed { color : # 5E740B ; }
157
+ # qunit-tests b .failed { color : # 710909 ; }
158
+
86
159
# qunit-tests li li {
87
160
margin : 0.5em ;
88
161
padding : 0.4em 0.5em 0.4em 0.5em ;
99
172
border-left : 26px solid # C6E746 ;
100
173
}
101
174
102
- # qunit-tests li .pass { color : # 528CE0 ; background-color : # D2E0E6 ; }
103
- # qunit-tests li .pass span .test-name { color : # 366097 ; }
104
-
105
- # qunit-tests li li .pass span .test-actual ,
106
- # qunit-tests li li .pass span .test-expected { color : # 999999 ; }
175
+ # qunit-tests .pass { color : # 528CE0 ; background-color : # D2E0E6 ; }
176
+ # qunit-tests .pass .test-name { color : # 366097 ; }
107
177
108
- strong b .pass { color : # 5E740B ; }
178
+ # qunit-tests .pass .test-actual ,
179
+ # qunit-tests .pass .test-expected { color : # 999999 ; }
109
180
110
181
# qunit-banner .qunit-pass { background-color : # C6E746 ; }
111
182
@@ -117,31 +188,32 @@ strong b.pass { color: #5E740B; }
117
188
border-left : 26px solid # EE5757 ;
118
189
}
119
190
120
- # qunit-tests li .fail { color : # 000000 ; background-color : # EE5757 ; }
121
- # qunit-tests li .fail span .test-name ,
122
- # qunit-tests li .fail span .module-name { color : # 000000 ; }
191
+ # qunit-tests > li : last-child {
192
+ border-radius : 0 0 15px 15px ;
193
+ -moz-border-radius : 0 0 15px 15px ;
194
+ -webkit-border-bottom-right-radius : 15px ;
195
+ -webkit-border-bottom-left-radius : 15px ;
196
+ }
123
197
124
- # qunit-tests li li .fail span .test-actual { color : # EE5757 ; }
125
- # qunit-tests li li .fail span .test-expected { color : green; }
198
+ # qunit-tests .fail { color : # 000000 ; background-color : # EE5757 ; }
199
+ # qunit-tests .fail .test-name ,
200
+ # qunit-tests .fail .module-name { color : # 000000 ; }
126
201
127
- strong b .fail { color : # 710909 ; }
202
+ # qunit-tests .fail .test-actual { color : # EE5757 ; }
203
+ # qunit-tests .fail .test-expected { color : green; }
128
204
129
- # qunit-banner .qunit-fail ,
130
- # qunit-testrunner-toolbar { background-color : # EE5757 ; }
205
+ # qunit-banner .qunit-fail { background-color : # EE5757 ; }
131
206
132
207
133
- /** Footer */
208
+ /** Result */
134
209
135
210
# qunit-testresult {
136
211
padding : 0.5em 0.5em 0.5em 2.5em ;
137
-
212
+
138
213
color : # 2b81af ;
139
214
background-color : # D2E0E6 ;
140
215
141
- border-radius : 0 0 15px 15px ;
142
- -moz-border-radius : 0 0 15px 15px ;
143
- -webkit-border-bottom-right-radius : 15px ;
144
- -webkit-border-bottom-left-radius : 15px ;
216
+ border-bottom : 1px solid white;
145
217
}
146
218
147
219
/** Fixture */
@@ -150,4 +222,4 @@ strong b.fail { color: #710909; }
150
222
position : absolute;
151
223
top : -10000px ;
152
224
left : -10000px ;
153
- }
225
+ }
0 commit comments