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

Contents of /trunk/jscoverage.css

Parent Directory Parent Directory | Revision Log Revision Log


Revision 269 - (show annotations)
Thu Oct 9 04:10:43 2008 UTC (10 years ago) by siliconforks
File MIME type: text/css
File size: 5680 byte(s)
Put throbbers back in tabs.
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-color: #bfffbf;
22 font-family: sans-serif;
23 font-size: small;
24 margin: 0;
25 }
26
27 #headingDiv {
28 position: absolute;
29 top: 0;
30 left: 1.5em;
31 right: 1.5em;
32 bottom: 2.5em;
33 }
34
35 h1 {
36 display: inline-block;
37 margin-top: 0.5em;
38 font-size: 1.3em;
39 }
40
41 .ProgressBar {
42 display: inline-block;
43 visibility: hidden;
44 }
45
46 .ProgressPercentage {
47 display: inline-block;
48 width: 4em;
49 text-align: right;
50 }
51
52 .ProgressGraph {
53 display: inline-block;
54 width: 100px;
55 height: 10px;
56 border: 1px solid black;
57 background-color: #d4d0c8;
58 }
59
60 .ProgressCovered {
61 /* windows system color ActiveCaption or Highlight */
62 background-color: #0a246a;
63 width: 0;
64 height: 10px;
65 }
66
67 /*******************************************************************************
68 browser tab
69 */
70
71 input#location, button {
72 border: 1px solid black;
73 margin-left: 1px;
74 margin-right: 1px;
75 }
76
77 #iframeDiv {
78 position: absolute;
79 top: 3.5em;
80 left: 1em;
81 right: 1em;
82 bottom: 1em;
83 }
84
85 iframe {
86 width: 100%;
87 height: 100%;
88 }
89
90 /*******************************************************************************
91 summary tab
92 */
93
94 #summaryDiv {
95 position: absolute;
96 top: 3em;
97 left: 1em;
98 right: 1em;
99 bottom: 1em;
100 overflow: auto;
101 }
102
103 table#summaryTable {
104 width: 100%;
105 margin-left: 0px;
106 margin-right: 0px;
107 border-collapse: collapse;
108 font-size: small;
109 }
110
111 table#summaryTable th, table#summaryTable td {
112 border-left: 1px solid #d9d9d9;
113 }
114
115 table#summaryTable th.leftColumn, table#summaryTable td.leftColumn {
116 border-left-width: 0px;
117 }
118
119 table#summaryTable th, table#summaryTable td {
120 padding: 2px;
121 }
122
123 th {
124 background-color: #e6ffe6;
125 }
126
127 td.numeric {
128 text-align: right;
129 }
130
131 abbr {
132 cursor: help;
133 }
134
135 tr#summaryTotals td.leftColumn span {
136 float: right;
137 }
138 tr#summaryTotals td.leftColumn span.title {
139 float: left;
140 font-weight: bold;
141 }
142 tr#summaryTotals td {
143 background-color: #ffd;
144 }
145 td.coverage {
146 width: 150px;
147 }
148 td.coverage span {
149 float: right;
150 margin-right: 5px;
151 }
152 .pctGraph {
153 width: 100px;
154 height: 10px;
155 float: right;
156 border: 1px solid #000;
157 background-color: #e00000;
158 overflow: hidden;
159 margin-top: 4px;
160 }
161 .pctGraph .covered {
162 background-color: #00f000;
163 width: 0;
164 height: 10px;
165 }
166 .pctGraph .skipped {
167 background-color: #d4d0c8;
168 width: 100px;
169 height: 10px;
170 }
171 tbody#summaryTbody tr.even td {
172 background-color: #e6ffe6;
173 }
174
175 /*******************************************************************************
176 source tab
177 */
178
179 #fileDiv {
180 font-size: large;
181 font-weight: bold;
182 }
183
184 #sourceDiv {
185 position: absolute;
186 top: 3em;
187 left: 1em;
188 right: 1em;
189 bottom: 1em;
190 overflow: auto;
191 }
192
193 table#sourceTable {
194 border: 0px;
195 border-collapse: collapse;
196 font-size: small;
197 }
198
199 /*
200 IE default behavior is to make <pre> smaller than surrounding text. Because
201 the table already has font-size small, this would make the font-size within the
202 <pre> x-small. So we don't rely on the default.
203 */
204 table#sourceTable pre {
205 font-size: medium;
206 }
207
208 table#sourceTable td {
209 border: 0px;
210 padding-top: 0px;
211 padding-bottom: 0px;
212 padding-left: 10px;
213 padding-right: 10px;
214 }
215
216 table#sourceTable pre {
217 border: 0px;
218 margin: 0px;
219 }
220
221 .g {
222 background-color: #bfffbf;
223 }
224
225 .y {
226 background-color: #ffffbf;
227 }
228
229 .r {
230 background-color: #ffbfbf;
231 }
232
233 /*******************************************************************************
234 store tab
235 */
236
237 #storeDiv {
238 position: absolute;
239 top: 3em;
240 left: 1em;
241 right: 1em;
242 bottom: 1em;
243 overflow: auto;
244 }
245
246 /*******************************************************************************
247 about tab
248 */
249
250 p {
251 margin-top: 0;
252 }
253
254 /*******************************************************************************
255 tabs
256 */
257
258 #tabs {
259 position: absolute;
260 top: 3em;
261 left: 1.5em;
262 right: 1.5em;
263 height: 2em;
264 }
265
266 #tabs div {
267 background-color: white;
268 position: relative;
269 float: left;
270 border: 1px solid black;
271 border-bottom-width: 0;
272 cursor: pointer;
273 margin-left: 0.5em;
274 margin-right: 0.5em;
275 padding-left: 0.5em;
276 padding-right: 0.5em;
277 height: 2em;
278 z-index: 1;
279 line-height: 1.8em;
280 }
281
282 #tabs div.selected {
283 z-index: 3;
284 cursor: default;
285 }
286
287 #tabs div.disabled {
288 /* windows system color GrayText */
289 color: #808080;
290 cursor: default;
291 }
292
293 .TabPage {
294 background-color: white;
295 border: 1px solid black;
296 position: absolute;
297 top: 5em;
298 left: 1.5em;
299 right: 1.5em;
300 bottom: 1.5em;
301 z-index: 2;
302 padding: 1em;
303 display: none;
304 }
305
306 #tabPages div.selected {
307 display: block;
308 }
309
310 img {
311 visibility: hidden;
312 }

  ViewVC Help
Powered by ViewVC 1.1.24