• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/* Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0 */
2/* For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt */
3
4/* CSS styles for coverage.py. */
5/* Page-wide styles */
6html, body, h1, h2, h3, p, table, td, th {
7    margin: 0;
8    padding: 0;
9    border: 0;
10    outline: 0;
11    font-weight: inherit;
12    font-style: inherit;
13    font-size: 100%;
14    font-family: inherit;
15    vertical-align: baseline;
16    }
17
18/* Set baseline grid to 16 pt. */
19body {
20    font-family: georgia, serif;
21    font-size: 1em;
22    }
23
24html>body {
25    font-size: 16px;
26    }
27
28/* Set base font size to 12/16 */
29p {
30    font-size: .75em;           /* 12/16 */
31    line-height: 1.33333333em;  /* 16/12 */
32    }
33
34table {
35    border-collapse: collapse;
36    }
37td {
38    vertical-align: top;
39}
40table tr.hidden {
41    display: none !important;
42    }
43
44p#no_rows {
45    display: none;
46    font-size: 1.2em;
47    }
48
49a.nav {
50    text-decoration: none;
51    color: inherit;
52    }
53a.nav:hover {
54    text-decoration: underline;
55    color: inherit;
56    }
57
58/* Page structure */
59#header {
60    background: #f8f8f8;
61    width: 100%;
62    border-bottom: 1px solid #eee;
63    }
64
65#source {
66    padding: 1em;
67    font-family: "courier new", monospace;
68    }
69
70.indexfile #footer {
71    margin: 1em 3em;
72    }
73
74.pyfile #footer {
75    margin: 1em 1em;
76    }
77
78#footer .content {
79    padding: 0;
80    font-size: 85%;
81    font-family: verdana, sans-serif;
82    color: #666666;
83    font-style: italic;
84    }
85
86#index {
87    margin: 1em 0 0 3em;
88    }
89
90/* Header styles */
91#header .content {
92    padding: 1em 3em;
93    }
94
95h1 {
96    font-size: 1.25em;
97    display: inline-block;
98}
99
100#filter_container {
101    display: inline-block;
102    float: right;
103    margin: 0 2em 0 0;
104}
105#filter_container input {
106    width: 10em;
107}
108
109h2.stats {
110    margin-top: .5em;
111    font-size: 1em;
112}
113.stats span {
114    border: 1px solid;
115    padding: .1em .25em;
116    margin: 0 .1em;
117    cursor: pointer;
118    border-color: #999 #ccc #ccc #999;
119}
120.stats span.hide_run, .stats span.hide_exc,
121.stats span.hide_mis, .stats span.hide_par,
122.stats span.par.hide_run.hide_par {
123    border-color: #ccc #999 #999 #ccc;
124}
125.stats span.par.hide_run {
126    border-color: #999 #ccc #ccc #999;
127}
128
129.stats span.run {
130    background: #ddffdd;
131}
132.stats span.exc {
133    background: #eeeeee;
134}
135.stats span.mis {
136    background: #ffdddd;
137}
138.stats span.hide_run {
139    background: #eeffee;
140}
141.stats span.hide_exc {
142    background: #f5f5f5;
143}
144.stats span.hide_mis {
145    background: #ffeeee;
146}
147.stats span.par {
148    background: #ffffaa;
149}
150.stats span.hide_par {
151    background: #ffffcc;
152}
153
154/* Help panel */
155#keyboard_icon {
156    float: right;
157    margin: 5px;
158    cursor: pointer;
159}
160
161.help_panel {
162    position: absolute;
163    background: #ffc;
164    padding: .5em;
165    border: 1px solid #883;
166    display: none;
167}
168
169.indexfile .help_panel {
170    width: 20em; height: 4em;
171}
172
173.pyfile .help_panel {
174    width: 16em; height: 8em;
175}
176
177.help_panel .legend {
178    font-style: italic;
179    margin-bottom: 1em;
180}
181
182#panel_icon {
183    float: right;
184    cursor: pointer;
185}
186
187.keyhelp {
188    margin: .75em;
189}
190
191.keyhelp .key {
192    border: 1px solid black;
193    border-color: #888 #333 #333 #888;
194    padding: .1em .35em;
195    font-family: monospace;
196    font-weight: bold;
197    background: #eee;
198}
199
200/* Source file styles */
201.linenos p {
202    text-align: right;
203    margin: 0;
204    padding: 0 .5em;
205    color: #999999;
206    font-family: verdana, sans-serif;
207    font-size: .625em;   /* 10/16 */
208    line-height: 1.6em;  /* 16/10 */
209    }
210.linenos p.highlight {
211    background: #ffdd00;
212    }
213.linenos p a {
214    text-decoration: none;
215    color: #999999;
216    }
217.linenos p a:hover {
218    text-decoration: underline;
219    color: #999999;
220    }
221
222td.text {
223    width: 100%;
224    }
225.text p {
226    margin: 0;
227    padding: 0 0 0 .5em;
228    border-left: 2px solid #ffffff;
229    white-space: nowrap;
230    }
231
232.text p.mis {
233    background: #ffdddd;
234    border-left: 2px solid #ff0000;
235    }
236.text p.run, .text p.run.hide_par {
237    background: #ddffdd;
238    border-left: 2px solid #00ff00;
239    }
240.text p.exc {
241    background: #eeeeee;
242    border-left: 2px solid #808080;
243    }
244.text p.par, .text p.par.hide_run {
245    background: #ffffaa;
246    border-left: 2px solid #eeee99;
247    }
248.text p.hide_run, .text p.hide_exc, .text p.hide_mis, .text p.hide_par,
249.text p.hide_run.hide_par {
250    background: inherit;
251    }
252
253.text span.annotate {
254    font-family: georgia;
255    color: #666;
256    float: right;
257    padding-right: .5em;
258    }
259.text p.hide_par span.annotate {
260    display: none;
261    }
262
263/* Syntax coloring */
264.text .com {
265    color: green;
266    font-style: italic;
267    line-height: 1px;
268    }
269.text .key {
270    font-weight: bold;
271    line-height: 1px;
272    }
273.text .str {
274    color: #000080;
275    }
276
277/* index styles */
278#index td, #index th {
279    text-align: right;
280    width: 5em;
281    padding: .25em .5em;
282    border-bottom: 1px solid #eee;
283    }
284#index th {
285    font-style: italic;
286    color: #333;
287    border-bottom: 1px solid #ccc;
288    cursor: pointer;
289    }
290#index th:hover {
291    background: #eee;
292    border-bottom: 1px solid #999;
293    }
294#index td.left, #index th.left {
295    padding-left: 0;
296    }
297#index td.right, #index th.right {
298    padding-right: 0;
299    }
300#index th.headerSortDown, #index th.headerSortUp {
301    border-bottom: 1px solid #000;
302    }
303#index td.name, #index th.name {
304    text-align: left;
305    width: auto;
306    }
307#index td.name a {
308    text-decoration: none;
309    color: #000;
310    }
311#index td.name a:hover {
312    text-decoration: underline;
313    color: #000;
314    }
315#index tr.total,
316#index tr.total_dynamic {
317    }
318#index tr.total td,
319#index tr.total_dynamic td {
320    font-weight: bold;
321    border-top: 1px solid #ccc;
322    border-bottom: none;
323    }
324#index tr.file:hover {
325    background: #eeeeee;
326    }
327