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

Contents of /trunk/jscoverage.css

Parent Directory Parent Directory | Revision Log Revision Log


Revision 157 - (show annotations)
Sat Sep 13 03:56:45 2008 UTC (10 years, 6 months ago) by siliconforks
File MIME type: text/css
File size: 5802 byte(s)
Add support for conditional directives.

1 /*
2 jscoverage.css - code coverage for JavaScript
3 Copyright (C) 2007, 2008 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: #bfffbf;
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 black;
64 background-color: #d4d0c8;
65 }
66
67 div.ProgressBar .covered {
68 /* windows system color ActiveCaption or Highlight */
69 background-color: #0a246a;
70 width: 0;
71 height: 10px;
72 }
73
74 div.ProgressBar .pct {
75 margin-right: 2px;
76 float: right;
77 text-align: right;
78 font-size: small;
79 }
80
81 /*******************************************************************************
82 browser tab
83 */
84
85 div#locationDiv {
86 margin-bottom: 10px;
87 }
88
89 input#location, button {
90 border: 1px solid black;
91 margin-left: 1px;
92 margin-right: 1px;
93 }
94
95 iframe {
96 width: 100%;
97 margin: 0px;
98 padding: 0px;
99 }
100
101 /*******************************************************************************
102 coverage report tab
103 */
104
105 div#summaryDiv {
106 margin: 0px;
107 padding: 0px;
108 overflow: auto;
109 }
110
111 table#summaryTable {
112 width: 100%;
113 margin-left: 0px;
114 margin-right: 0px;
115 border-collapse: collapse;
116 font-size: small;
117 }
118
119 table#summaryTable th, table#summaryTable td {
120 border-left: 1px solid #d9d9d9;
121 }
122
123 table#summaryTable th.leftColumn, table#summaryTable td.leftColumn {
124 border-left-width: 0px;
125 }
126
127 table#summaryTable th, table#summaryTable td {
128 padding: 2px;
129 }
130
131 th {
132 background-color: #e6ffe6;
133 }
134
135 td.numeric {
136 text-align: right;
137 }
138
139 abbr {
140 cursor: help;
141 }
142
143 tr#summaryTotals td.leftColumn span {
144 float: right;
145 }
146 tr#summaryTotals td.leftColumn span.title {
147 float: left;
148 font-weight: bold;
149 }
150 tr#summaryTotals td {
151 background-color: #ffd;
152 }
153 td.coverage {
154 width: 150px;
155 }
156 td.coverage span {
157 float: right;
158 margin-right: 5px;
159 }
160 .pctGraph {
161 width: 100px;
162 height: 10px;
163 float: right;
164 border: 1px solid #000;
165 background-color: #e00000;
166 overflow: hidden;
167 margin-top: 4px;
168 }
169 .pctGraph .covered {
170 background-color: #00f000;
171 width: 0;
172 height: 10px;
173 }
174 .pctGraph .skipped {
175 background-color: #d4d0c8;
176 width: 100px;
177 height: 10px;
178 }
179 tbody#summaryTbody tr.even td {
180 background-color: #e6ffe6;
181 }
182
183 /*******************************************************************************
184 source tab
185 */
186
187 div#fileDiv {
188 font-size: large;
189 font-weight: bold;
190 margin-bottom: 10px;
191 }
192
193 div#sourceDiv {
194 width: 98%;
195 margin-left: auto;
196 margin-right: auto;
197 margin-top: 0px;
198 margin-bottom: 0px;
199 padding: 0px;
200 overflow: auto;
201 }
202
203 table#sourceTable {
204 border: 0px;
205 border-collapse: collapse;
206 font-size: small;
207 }
208
209 /*
210 IE default behavior is to make <pre> smaller than surrounding text. Because
211 the table already has font-size small, this would make the font-size within the
212 <pre> x-small. So we don't rely on the default.
213 */
214 table#sourceTable pre {
215 font-size: medium;
216 }
217
218 table#sourceTable td {
219 border: 0px;
220 padding-top: 0px;
221 padding-bottom: 0px;
222 padding-left: 10px;
223 padding-right: 10px;
224 }
225
226 table#sourceTable pre {
227 border: 0px;
228 margin: 0px;
229 }
230
231 .g {
232 background-color: #bfffbf;
233 }
234
235 .y {
236 background-color: #ffffbf;
237 }
238
239 .r {
240 background-color: #ffbfbf;
241 }
242
243 /*******************************************************************************
244 store tab
245 */
246
247 #storeDiv {
248 margin-top: 10px;
249 overflow: auto;
250 }
251
252 /*******************************************************************************
253 tabs
254 */
255
256 div.TabControl {
257 border-width: 0px;
258 margin: 0px;
259 padding: 0px;
260 }
261
262 div.TabControl div.Tabs div {
263 background: white;
264 position: relative;
265 float: left;
266 border: 1px solid black;
267 border-bottom-width: 0px;
268 cursor: pointer;
269 margin-left: 5px;
270 margin-right: 5px;
271 padding-left: 10px;
272 padding-right: 10px;
273 padding-top: 5px;
274 padding-bottom: 5px;
275 z-index: 2;
276 }
277
278 div.TabControl div.Tabs div.selected {
279 padding-bottom: 6px;
280 z-index: 2;
281 cursor: default;
282 }
283
284 div.TabControl div.Tabs div.disabled {
285 /* windows system color GrayText */
286 color: #808080;
287 cursor: default;
288 }
289
290 div.TabControl div.TabPages {
291 background: white;
292 clear: left;
293 border: 1px solid black;
294 position: relative;
295 top: -1px;
296 z-index: 1;
297 padding-top: 10px;
298 padding-bottom: 10px;
299 padding-left: 10px;
300 padding-right: 10px;
301 }
302
303 div.TabControl div.TabPages div {
304 }
305
306 img {
307 visibility: hidden;
308 }

  ViewVC Help
Powered by ViewVC 1.1.24