/[jscoverage]/trunk/jscoverage.css
ViewVC logotype

Contents of /trunk/jscoverage.css

Parent Directory Parent Directory | Revision Log Revision Log


Revision 24 - (show annotations)
Fri Aug 17 20:21:54 2007 UTC (11 years, 9 months ago) by siliconforks
File MIME type: text/css
File size: 5385 byte(s)
Make summary table rows alternating colors and fix coverage for empty files.  Patch by Ross Simpson.

1 /*
2 jscoverage.css - code coverage for JavaScript
3 Copyright (C) 2007 siliconforks.com
4
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 2 of the License, or
8 (at your option) any later version.
9
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
14
15 You should have received a copy of the GNU General Public License along
16 with this program; if not, write to the Free Software Foundation, Inc.,
17 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
18 */
19
20 body {
21 background: #bfb;
22 font-family: sans-serif;
23 font-size: small;
24 margin-top: 0px;
25 margin-bottom: 0px;
26 margin-left: 20px;
27 margin-right: 20px;
28 padding: 0px;
29 }
30
31 #headingDiv {
32 width: 500px;
33 padding: 0px;
34 margin-top: 10px;
35 margin-bottom: 10px;
36 }
37
38 #headingDiv h1 {
39 font-size: large;
40 margin-top: 0px;
41 margin-bottom: 0px;
42 }
43
44 #progressBar {
45 visibility: hidden;
46 }
47
48 #progressLabel {
49 float: right;
50 font-size: small;
51 text-align: right;
52 }
53
54 div.ProgressBar {
55 float: right;
56 width: 150px;
57 }
58
59 div.ProgressBar .pctGraph {
60 width: 100px;
61 height: 10px;
62 margin-top: 2px;
63 border: 1px solid #000;
64 background-color: #aaa;
65 }
66
67 div.ProgressBar .covered {
68 background-color: #000077;
69 width: 0;
70 height: 10px;
71 }
72
73 div.ProgressBar .pct {
74 margin-right: 2px;
75 float: right;
76 text-align: right;
77 font-size: small;
78 }
79
80 /*******************************************************************************
81 browser tab
82 */
83
84 div#locationDiv {
85 margin-bottom: 10px;
86 }
87
88 input#location, button {
89 border: 1px solid black;
90 margin-left: 1px;
91 margin-right: 1px;
92 }
93
94 iframe {
95 width: 100%;
96 margin: 0px;
97 padding: 0px;
98 }
99
100 /*******************************************************************************
101 coverage report tab
102 */
103
104 div#summaryDiv {
105 margin: 0px;
106 padding: 0px;
107 overflow: auto;
108 }
109
110 table#summaryTable {
111 width: 100%;
112 margin-left: 0px;
113 margin-right: 0px;
114 border-collapse: collapse;
115 font-size: small;
116 }
117
118 table#summaryTable, table#summaryTable th, table#summaryTable td {
119 border: 1px solid #bbb;
120 }
121
122 table#summaryTable th, table#summaryTable td {
123 padding: 2px;
124 }
125
126 th {
127 background-color: #e0e0e0;
128 }
129
130 td.numeric {
131 text-align: right;
132 }
133
134 abbr {
135 cursor: help;
136 }
137
138 td.totals span {
139 float: right;
140 }
141 td.totals span.title {
142 float: left;
143 font-weight: bold;
144 }
145 tr#summaryTotals td {
146 background-color: #ffd;
147 }
148 td.coverage {
149 width: 150px;
150 }
151 td.coverage span {
152 float: right;
153 margin-right: 5px;
154 }
155 .pctGraph {
156 width: 100px;
157 height: 10px;
158 float: right;
159 border: 1px solid #000;
160 background-color: #e00000;
161 overflow: hidden;
162 margin-top: 4px;
163 }
164 .pctGraph .covered {
165 background-color: #00f000;
166 width: 0;
167 height: 10px;
168 }
169 .pctGraph .skipped {
170 background-color: #eaeaea;
171 width: 100px;
172 height: 10px;
173 }
174 tbody#summaryTbody tr.even td {
175 background-color: #f9f9f9;
176 }
177
178 /*******************************************************************************
179 source tab
180 */
181
182 div#fileDiv {
183 font-size: large;
184 font-weight: bold;
185 margin-bottom: 10px;
186 }
187
188 div#sourceDiv {
189 width: 98%;
190 margin-left: auto;
191 margin-right: auto;
192 margin-top: 0px;
193 margin-bottom: 0px;
194 padding: 0px;
195 overflow: auto;
196 }
197
198 table#sourceTable {
199 border: 0px;
200 border-collapse: collapse;
201 font-size: small;
202 }
203
204 /*
205 IE default behavior is to make <pre> smaller than surrounding text. Because
206 the table already has font-size small, this would make the font-size within the
207 <pre> x-small. So we don't rely on the default.
208 */
209 table#sourceTable pre {
210 font-size: small;
211 }
212
213 table#sourceTable td {
214 border: 0px;
215 padding-top: 0px;
216 padding-bottom: 0px;
217 padding-left: 10px;
218 padding-right: 10px;
219 }
220
221 table#sourceTable pre {
222 border: 0px;
223 margin: 0px;
224 }
225
226 .g {
227 background-color: #bfb;
228 }
229
230 .r {
231 background-color: #fbb;
232 }
233
234 /*******************************************************************************
235 tabs
236 */
237
238 div.TabControl {
239 border-width: 0px;
240 margin: 0px;
241 padding: 0px;
242 }
243
244 div.TabControl div.Tabs {
245 }
246
247 div.TabControl div.Tabs div {
248 background: white;
249 position: relative;
250 float: left;
251 border: 1px solid black;
252 border-bottom-width: 0px;
253 cursor: pointer;
254 margin-left: 5px;
255 margin-right: 5px;
256 padding-left: 10px;
257 padding-right: 10px;
258 padding-top: 5px;
259 padding-bottom: 5px;
260 z-index: 2;
261 }
262
263 div.TabControl div.Tabs div.selected {
264 padding-bottom: 6px;
265 z-index: 2;
266 cursor: default;
267 }
268
269 div.TabControl div.Tabs div.disabled {
270 color: #aaa;
271 cursor: default;
272 }
273
274 div.TabControl div.TabPages {
275 background: white;
276 clear: left;
277 border: 1px solid black;
278 position: relative;
279 top: -1px;
280 z-index: 1;
281 padding-top: 10px;
282 padding-bottom: 10px;
283 padding-left: 10px;
284 padding-right: 10px;
285 }
286
287 div.TabControl div.TabPages div {
288 }
289
290 img {
291 visibility: hidden;
292 }

  ViewVC Help
Powered by ViewVC 1.1.24