OLD | NEW |
1 /* CSS styles for Coverage. */ | 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. */ |
2 /* Page-wide styles */ | 5 /* Page-wide styles */ |
3 html, body, h1, h2, h3, p, td, th { | 6 html, body, h1, h2, h3, p, table, td, th { |
4 margin: 0; | 7 margin: 0; |
5 padding: 0; | 8 padding: 0; |
6 border: 0; | 9 border: 0; |
7 outline: 0; | 10 outline: 0; |
8 font-weight: inherit; | 11 font-weight: inherit; |
9 font-style: inherit; | 12 font-style: inherit; |
10 font-size: 100%; | 13 font-size: 100%; |
11 font-family: inherit; | 14 font-family: inherit; |
12 vertical-align: baseline; | 15 vertical-align: baseline; |
13 } | 16 } |
(...skipping 10 matching lines...) Expand all Loading... |
24 | 27 |
25 /* Set base font size to 12/16 */ | 28 /* Set base font size to 12/16 */ |
26 p { | 29 p { |
27 font-size: .75em; /* 12/16 */ | 30 font-size: .75em; /* 12/16 */ |
28 line-height: 1.33333333em; /* 16/12 */ | 31 line-height: 1.33333333em; /* 16/12 */ |
29 } | 32 } |
30 | 33 |
31 table { | 34 table { |
32 border-collapse: collapse; | 35 border-collapse: collapse; |
33 } | 36 } |
| 37 td { |
| 38 vertical-align: top; |
| 39 } |
| 40 table tr.hidden { |
| 41 display: none !important; |
| 42 } |
| 43 |
| 44 p#no_rows { |
| 45 display: none; |
| 46 font-size: 1.2em; |
| 47 } |
34 | 48 |
35 a.nav { | 49 a.nav { |
36 text-decoration: none; | 50 text-decoration: none; |
37 color: inherit; | 51 color: inherit; |
38 } | 52 } |
39 a.nav:hover { | 53 a.nav:hover { |
40 text-decoration: underline; | 54 text-decoration: underline; |
41 color: inherit; | 55 color: inherit; |
42 } | 56 } |
43 | 57 |
44 /* Page structure */ | 58 /* Page structure */ |
45 #header { | 59 #header { |
46 background: #f8f8f8; | 60 background: #f8f8f8; |
47 width: 100%; | 61 width: 100%; |
48 border-bottom: 1px solid #eee; | 62 border-bottom: 1px solid #eee; |
49 } | 63 } |
50 | 64 |
51 #source { | 65 #source { |
52 padding: 1em; | 66 padding: 1em; |
53 font-family: "courier new", monospace; | 67 font-family: "courier new", monospace; |
54 } | 68 } |
55 | 69 |
56 #indexfile #footer { | 70 .indexfile #footer { |
57 margin: 1em 3em; | 71 margin: 1em 3em; |
58 } | 72 } |
59 | 73 |
60 #pyfile #footer { | 74 .pyfile #footer { |
61 margin: 1em 1em; | 75 margin: 1em 1em; |
62 } | 76 } |
63 | 77 |
64 #footer .content { | 78 #footer .content { |
65 padding: 0; | 79 padding: 0; |
66 font-size: 85%; | 80 font-size: 85%; |
67 font-family: verdana, sans-serif; | 81 font-family: verdana, sans-serif; |
68 color: #666666; | 82 color: #666666; |
69 font-style: italic; | 83 font-style: italic; |
70 } | 84 } |
71 | 85 |
72 #index { | 86 #index { |
73 margin: 1em 0 0 3em; | 87 margin: 1em 0 0 3em; |
74 } | 88 } |
75 | 89 |
76 /* Header styles */ | 90 /* Header styles */ |
77 #header .content { | 91 #header .content { |
78 padding: 1em 3em; | 92 padding: 1em 3em; |
79 } | 93 } |
80 | 94 |
81 h1 { | 95 h1 { |
82 font-size: 1.25em; | 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; |
83 } | 107 } |
84 | 108 |
85 h2.stats { | 109 h2.stats { |
86 margin-top: .5em; | 110 margin-top: .5em; |
87 font-size: 1em; | 111 font-size: 1em; |
88 } | 112 } |
89 .stats span { | 113 .stats span { |
90 border: 1px solid; | 114 border: 1px solid; |
91 padding: .1em .25em; | 115 padding: .1em .25em; |
92 margin: 0 .1em; | 116 margin: 0 .1em; |
(...skipping 30 matching lines...) Expand all Loading... |
123 .stats span.par { | 147 .stats span.par { |
124 background: #ffffaa; | 148 background: #ffffaa; |
125 } | 149 } |
126 .stats span.hide_par { | 150 .stats span.hide_par { |
127 background: #ffffcc; | 151 background: #ffffcc; |
128 } | 152 } |
129 | 153 |
130 /* Help panel */ | 154 /* Help panel */ |
131 #keyboard_icon { | 155 #keyboard_icon { |
132 float: right; | 156 float: right; |
| 157 margin: 5px; |
133 cursor: pointer; | 158 cursor: pointer; |
134 } | 159 } |
135 | 160 |
136 .help_panel { | 161 .help_panel { |
137 position: absolute; | 162 position: absolute; |
138 background: #ffc; | 163 background: #ffc; |
139 padding: .5em; | 164 padding: .5em; |
140 border: 1px solid #883; | 165 border: 1px solid #883; |
141 display: none; | 166 display: none; |
142 } | 167 } |
143 | 168 |
144 #indexfile .help_panel { | 169 .indexfile .help_panel { |
145 width: 20em; height: 4em; | 170 width: 20em; height: 4em; |
146 } | 171 } |
147 | 172 |
148 #pyfile .help_panel { | 173 .pyfile .help_panel { |
149 width: 16em; height: 8em; | 174 width: 16em; height: 8em; |
150 } | 175 } |
151 | 176 |
152 .help_panel .legend { | 177 .help_panel .legend { |
153 font-style: italic; | 178 font-style: italic; |
154 margin-bottom: 1em; | 179 margin-bottom: 1em; |
155 } | 180 } |
156 | 181 |
157 #panel_icon { | 182 #panel_icon { |
158 float: right; | 183 float: right; |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
220 background: #ffffaa; | 245 background: #ffffaa; |
221 border-left: 2px solid #eeee99; | 246 border-left: 2px solid #eeee99; |
222 } | 247 } |
223 .text p.hide_run, .text p.hide_exc, .text p.hide_mis, .text p.hide_par, | 248 .text p.hide_run, .text p.hide_exc, .text p.hide_mis, .text p.hide_par, |
224 .text p.hide_run.hide_par { | 249 .text p.hide_run.hide_par { |
225 background: inherit; | 250 background: inherit; |
226 } | 251 } |
227 | 252 |
228 .text span.annotate { | 253 .text span.annotate { |
229 font-family: georgia; | 254 font-family: georgia; |
230 font-style: italic; | |
231 color: #666; | 255 color: #666; |
232 float: right; | 256 float: right; |
233 padding-right: .5em; | 257 padding-right: .5em; |
234 } | 258 } |
235 .text p.hide_par span.annotate { | 259 .text p.hide_par span.annotate { |
236 display: none; | 260 display: none; |
237 } | 261 } |
238 | 262 |
239 /* Syntax coloring */ | 263 /* Syntax coloring */ |
240 .text .com { | 264 .text .com { |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
281 width: auto; | 305 width: auto; |
282 } | 306 } |
283 #index td.name a { | 307 #index td.name a { |
284 text-decoration: none; | 308 text-decoration: none; |
285 color: #000; | 309 color: #000; |
286 } | 310 } |
287 #index td.name a:hover { | 311 #index td.name a:hover { |
288 text-decoration: underline; | 312 text-decoration: underline; |
289 color: #000; | 313 color: #000; |
290 } | 314 } |
291 #index tr.total { | 315 #index tr.total, |
| 316 #index tr.total_dynamic { |
292 } | 317 } |
293 #index tr.total td { | 318 #index tr.total td, |
| 319 #index tr.total_dynamic td { |
294 font-weight: bold; | 320 font-weight: bold; |
295 border-top: 1px solid #ccc; | 321 border-top: 1px solid #ccc; |
296 border-bottom: none; | 322 border-bottom: none; |
297 } | 323 } |
298 #index tr.file:hover { | 324 #index tr.file:hover { |
299 background: #eeeeee; | 325 background: #eeeeee; |
300 } | 326 } |
OLD | NEW |