author | Lars Hjemli <hjemli@gmail.com> | 2007-11-11 12:17:13 (UTC) |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2007-11-11 12:17:13 (UTC) |
commit | a7cf406c802394460cb14c79f3f43582d1428a45 (patch) (unidiff) | |
tree | 71f3069c782698ae2972459258d551055f502c4f /cgit.css | |
parent | ab21082c21867e035cd925a06d6d55fb3143d883 (diff) | |
parent | 2ff33a8a0405b420cd75e0e207c7efeecd6f130b (diff) | |
download | cgit-a7cf406c802394460cb14c79f3f43582d1428a45.zip cgit-a7cf406c802394460cb14c79f3f43582d1428a45.tar.gz cgit-a7cf406c802394460cb14c79f3f43582d1428a45.tar.bz2 |
Merge branch 'lh/testsuite'
* lh/testsuite:
Set commit date on snapshot contents
Fix html error detected by test-suite
Create initial testsuite
-rw-r--r-- | cgit.css | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1,434 +1,438 @@ | |||
1 | body, table { | 1 | body, table { |
2 | padding: 0em; | 2 | padding: 0em; |
3 | margin: 0em; | 3 | margin: 0em; |
4 | } | 4 | } |
5 | 5 | ||
6 | body { | 6 | body { |
7 | font-family: sans; | 7 | font-family: sans; |
8 | font-size: 10pt; | 8 | font-size: 10pt; |
9 | color: #333; | 9 | color: #333; |
10 | background: white; | 10 | background: white; |
11 | padding-left: 4px; | 11 | padding-left: 4px; |
12 | } | 12 | } |
13 | 13 | ||
14 | table { | 14 | table { |
15 | border-collapse: collapse; | 15 | border-collapse: collapse; |
16 | } | 16 | } |
17 | 17 | ||
18 | h2 { | 18 | h2 { |
19 | font-size: 120%; | 19 | font-size: 120%; |
20 | font-weight: bold; | 20 | font-weight: bold; |
21 | margin-top: 0em; | 21 | margin-top: 0em; |
22 | margin-bottom: 0.25em; | 22 | margin-bottom: 0.25em; |
23 | } | 23 | } |
24 | 24 | ||
25 | h3 { | 25 | h3 { |
26 | margin-top: 0em; | 26 | margin-top: 0em; |
27 | font-size: 100%; | 27 | font-size: 100%; |
28 | font-weight: normal; | 28 | font-weight: normal; |
29 | } | 29 | } |
30 | 30 | ||
31 | h4 { | 31 | h4 { |
32 | margin-top: 1.5em; | 32 | margin-top: 1.5em; |
33 | margin-bottom: 0.1em; | 33 | margin-bottom: 0.1em; |
34 | font-size: 100%; | 34 | font-size: 100%; |
35 | font-weight: bold; | 35 | font-weight: bold; |
36 | } | 36 | } |
37 | 37 | ||
38 | a { | 38 | a { |
39 | color: #600; | 39 | color: #600; |
40 | text-decoration: none; | 40 | text-decoration: none; |
41 | } | 41 | } |
42 | 42 | ||
43 | a:hover { | 43 | a:hover { |
44 | background-color: #ddd; | 44 | background-color: #ddd; |
45 | text-decoration: none; | 45 | text-decoration: none; |
46 | } | 46 | } |
47 | 47 | ||
48 | table.list { | 48 | table.list { |
49 | border: none; | 49 | border: none; |
50 | border-collapse: collapse; | 50 | border-collapse: collapse; |
51 | } | 51 | } |
52 | 52 | ||
53 | table.list tr { | 53 | table.list tr { |
54 | background: white; | 54 | background: white; |
55 | } | 55 | } |
56 | 56 | ||
57 | table.list tr:hover { | 57 | table.list tr:hover { |
58 | background: #f8f8f8; | 58 | background: #f8f8f8; |
59 | } | 59 | } |
60 | 60 | ||
61 | table.list tr.nohover:hover { | 61 | table.list tr.nohover:hover { |
62 | background: white; | 62 | background: white; |
63 | } | 63 | } |
64 | 64 | ||
65 | table.list th { | 65 | table.list th { |
66 | font-weight: bold; | 66 | font-weight: bold; |
67 | border-bottom: solid 1px #777; | 67 | border-bottom: solid 1px #777; |
68 | padding: 0.1em 0.5em 0.1em 0.5em; | 68 | padding: 0.1em 0.5em 0.1em 0.5em; |
69 | vertical-align: baseline; | 69 | vertical-align: baseline; |
70 | } | 70 | } |
71 | 71 | ||
72 | table.list td { | 72 | table.list td { |
73 | border: none; | 73 | border: none; |
74 | padding: 0.1em 0.5em 0.1em 0.5em; | 74 | padding: 0.1em 0.5em 0.1em 0.5em; |
75 | } | 75 | } |
76 | 76 | ||
77 | img { | 77 | img { |
78 | border: none; | 78 | border: none; |
79 | } | 79 | } |
80 | 80 | ||
81 | div#sidebar { | 81 | div#sidebar { |
82 | vertical-align: top; | 82 | vertical-align: top; |
83 | width: 162px; | 83 | width: 162px; |
84 | padding: 0px 0px 0px 0px; | 84 | padding: 0px 0px 0px 0px; |
85 | margin: 4px; | 85 | margin: 4px; |
86 | float: left; | 86 | float: left; |
87 | } | 87 | } |
88 | 88 | ||
89 | div#logo { | 89 | div#logo { |
90 | margin: 0px; | 90 | margin: 0px; |
91 | padding: 4px 0px 4px 0px; | 91 | padding: 4px 0px 4px 0px; |
92 | text-align: center; | 92 | text-align: center; |
93 | background-color: #ccc; | 93 | background-color: #ccc; |
94 | border-top: solid 1px #eee; | 94 | border-top: solid 1px #eee; |
95 | border-left: solid 1px #eee; | 95 | border-left: solid 1px #eee; |
96 | border-right: solid 1px #aaa; | 96 | border-right: solid 1px #aaa; |
97 | border-bottom: solid 1px #aaa; | 97 | border-bottom: solid 1px #aaa; |
98 | } | 98 | } |
99 | 99 | ||
100 | div#sidebar div.infobox { | 100 | div#sidebar div.infobox { |
101 | margin: 0px 0px 0px 0px; | 101 | margin: 0px 0px 0px 0px; |
102 | padding: 0.5em; | 102 | padding: 0.5em; |
103 | text-align: left; | 103 | text-align: left; |
104 | background-color: #ccc; | 104 | background-color: #ccc; |
105 | border-top: solid 1px #eee; | 105 | border-top: solid 1px #eee; |
106 | border-left: solid 1px #eee; | 106 | border-left: solid 1px #eee; |
107 | border-right: solid 1px #aaa; | 107 | border-right: solid 1px #aaa; |
108 | border-bottom: solid 1px #aaa; | 108 | border-bottom: solid 1px #aaa; |
109 | } | 109 | } |
110 | 110 | ||
111 | div#sidebar div.infobox h1 { | 111 | div#sidebar div.infobox h1 { |
112 | font-size: 10pt; | 112 | font-size: 10pt; |
113 | font-weight: bold; | 113 | font-weight: bold; |
114 | margin: 0px; | 114 | margin: 8px 0px 0px 0px; |
115 | } | ||
116 | |||
117 | div#sidebar div.infobox h1.first { | ||
118 | margin-top: 0px; | ||
115 | } | 119 | } |
116 | 120 | ||
117 | div#sidebar div.infobox a.menu { | 121 | div#sidebar div.infobox a.menu { |
118 | display: block; | 122 | display: block; |
119 | background-color: #ccc; | 123 | background-color: #ccc; |
120 | padding: 0.1em 0.5em; | 124 | padding: 0.1em 0.5em; |
121 | text-decoration: none; | 125 | text-decoration: none; |
122 | } | 126 | } |
123 | 127 | ||
124 | div#sidebar div.infobox a.menu:hover { | 128 | div#sidebar div.infobox a.menu:hover { |
125 | background-color: #bbb; | 129 | background-color: #bbb; |
126 | text-decoration: none; | 130 | text-decoration: none; |
127 | } | 131 | } |
128 | 132 | ||
129 | div#sidebar div.infobox select { | 133 | div#sidebar div.infobox select { |
130 | width: 100%; | 134 | width: 100%; |
131 | margin: 2px 0px 0px 0px; | 135 | margin: 2px 0px 0px 0px; |
132 | } | 136 | } |
133 | 137 | ||
134 | td#branch-dropdown-cell { | 138 | td#branch-dropdown-cell { |
135 | width: 99%; | 139 | width: 99%; |
136 | } | 140 | } |
137 | 141 | ||
138 | input#switch-btn { | 142 | input#switch-btn { |
139 | width: 20px; | 143 | width: 20px; |
140 | margin: 2px 0px 0px 0px; | 144 | margin: 2px 0px 0px 0px; |
141 | } | 145 | } |
142 | 146 | ||
143 | div#sidebar div.infobox input.txt { | 147 | div#sidebar div.infobox input.txt { |
144 | width: 100%; | 148 | width: 100%; |
145 | margin: 2px 0px 0px 0px; | 149 | margin: 2px 0px 0px 0px; |
146 | } | 150 | } |
147 | 151 | ||
148 | table#grid { | 152 | table#grid { |
149 | margin: 0px; | 153 | margin: 0px; |
150 | } | 154 | } |
151 | 155 | ||
152 | td#content { | 156 | td#content { |
153 | vertical-align: top; | 157 | vertical-align: top; |
154 | padding: 1em 2em 1em 1em; | 158 | padding: 1em 2em 1em 1em; |
155 | border: none; | 159 | border: none; |
156 | } | 160 | } |
157 | 161 | ||
158 | div#summary { | 162 | div#summary { |
159 | vertical-align: top; | 163 | vertical-align: top; |
160 | margin-bottom: 1em; | 164 | margin-bottom: 1em; |
161 | } | 165 | } |
162 | 166 | ||
163 | table#downloads { | 167 | table#downloads { |
164 | float: right; | 168 | float: right; |
165 | border-collapse: collapse; | 169 | border-collapse: collapse; |
166 | border: solid 1px #777; | 170 | border: solid 1px #777; |
167 | margin-left: 0.5em; | 171 | margin-left: 0.5em; |
168 | margin-bottom: 0.5em; | 172 | margin-bottom: 0.5em; |
169 | } | 173 | } |
170 | 174 | ||
171 | table#downloads th { | 175 | table#downloads th { |
172 | background-color: #ccc; | 176 | background-color: #ccc; |
173 | } | 177 | } |
174 | 178 | ||
175 | div#blob { | 179 | div#blob { |
176 | border: solid 1px black; | 180 | border: solid 1px black; |
177 | } | 181 | } |
178 | 182 | ||
179 | div.error { | 183 | div.error { |
180 | color: red; | 184 | color: red; |
181 | font-weight: bold; | 185 | font-weight: bold; |
182 | margin: 1em 2em; | 186 | margin: 1em 2em; |
183 | } | 187 | } |
184 | 188 | ||
185 | a.ls-blob, a.ls-dir, a.ls-mod { | 189 | a.ls-blob, a.ls-dir, a.ls-mod { |
186 | font-family: monospace; | 190 | font-family: monospace; |
187 | } | 191 | } |
188 | 192 | ||
189 | td.ls-size { | 193 | td.ls-size { |
190 | text-align: right; | 194 | text-align: right; |
191 | } | 195 | } |
192 | 196 | ||
193 | td.ls-size { | 197 | td.ls-size { |
194 | font-family: monospace; | 198 | font-family: monospace; |
195 | } | 199 | } |
196 | 200 | ||
197 | td.ls-mode { | 201 | td.ls-mode { |
198 | font-family: monospace; | 202 | font-family: monospace; |
199 | } | 203 | } |
200 | 204 | ||
201 | table.blob { | 205 | table.blob { |
202 | margin-top: 0.5em; | 206 | margin-top: 0.5em; |
203 | border-top: solid 1px black; | 207 | border-top: solid 1px black; |
204 | } | 208 | } |
205 | 209 | ||
206 | table.blob td.no { | 210 | table.blob td.no { |
207 | border-right: solid 1px black; | 211 | border-right: solid 1px black; |
208 | color: black; | 212 | color: black; |
209 | background-color: #eee; | 213 | background-color: #eee; |
210 | text-align: right; | 214 | text-align: right; |
211 | } | 215 | } |
212 | 216 | ||
213 | table.blob td.no a { | 217 | table.blob td.no a { |
214 | color: black; | 218 | color: black; |
215 | } | 219 | } |
216 | 220 | ||
217 | table.blob td.no a:hover { | 221 | table.blob td.no a:hover { |
218 | color: black; | 222 | color: black; |
219 | text-decoration: none; | 223 | text-decoration: none; |
220 | } | 224 | } |
221 | 225 | ||
222 | table.blob td.txt { | 226 | table.blob td.txt { |
223 | white-space: pre; | 227 | white-space: pre; |
224 | font-family: monospace; | 228 | font-family: monospace; |
225 | padding-left: 0.5em; | 229 | padding-left: 0.5em; |
226 | } | 230 | } |
227 | 231 | ||
228 | table.nowrap td { | 232 | table.nowrap td { |
229 | white-space: nowrap; | 233 | white-space: nowrap; |
230 | } | 234 | } |
231 | 235 | ||
232 | table.commit-info { | 236 | table.commit-info { |
233 | border-collapse: collapse; | 237 | border-collapse: collapse; |
234 | margin-top: 1.5em; | 238 | margin-top: 1.5em; |
235 | } | 239 | } |
236 | 240 | ||
237 | table.commit-info th { | 241 | table.commit-info th { |
238 | text-align: left; | 242 | text-align: left; |
239 | font-weight: normal; | 243 | font-weight: normal; |
240 | padding: 0.1em 1em 0.1em 0.1em; | 244 | padding: 0.1em 1em 0.1em 0.1em; |
241 | vertical-align: top; | 245 | vertical-align: top; |
242 | } | 246 | } |
243 | 247 | ||
244 | table.commit-info td { | 248 | table.commit-info td { |
245 | font-weight: normal; | 249 | font-weight: normal; |
246 | padding: 0.1em 1em 0.1em 0.1em; | 250 | padding: 0.1em 1em 0.1em 0.1em; |
247 | } | 251 | } |
248 | 252 | ||
249 | div.commit-subject { | 253 | div.commit-subject { |
250 | font-weight: bold; | 254 | font-weight: bold; |
251 | font-size: 125%; | 255 | font-size: 125%; |
252 | margin: 1.5em 0em 0.5em 0em; | 256 | margin: 1.5em 0em 0.5em 0em; |
253 | padding: 0em; | 257 | padding: 0em; |
254 | } | 258 | } |
255 | 259 | ||
256 | div.commit-msg { | 260 | div.commit-msg { |
257 | white-space: pre; | 261 | white-space: pre; |
258 | font-family: monospace; | 262 | font-family: monospace; |
259 | } | 263 | } |
260 | 264 | ||
261 | div.diffstat-header { | 265 | div.diffstat-header { |
262 | font-weight: bold; | 266 | font-weight: bold; |
263 | padding-top: 1.5em; | 267 | padding-top: 1.5em; |
264 | } | 268 | } |
265 | 269 | ||
266 | table.diffstat { | 270 | table.diffstat { |
267 | border-collapse: collapse; | 271 | border-collapse: collapse; |
268 | border: solid 1px #aaa; | 272 | border: solid 1px #aaa; |
269 | background-color: #eee; | 273 | background-color: #eee; |
270 | } | 274 | } |
271 | 275 | ||
272 | table.diffstat th { | 276 | table.diffstat th { |
273 | font-weight: normal; | 277 | font-weight: normal; |
274 | text-align: left; | 278 | text-align: left; |
275 | text-decoration: underline; | 279 | text-decoration: underline; |
276 | padding: 0.1em 1em 0.1em 0.1em; | 280 | padding: 0.1em 1em 0.1em 0.1em; |
277 | font-size: 100%; | 281 | font-size: 100%; |
278 | } | 282 | } |
279 | 283 | ||
280 | table.diffstat td { | 284 | table.diffstat td { |
281 | padding: 0.2em 0.2em 0.1em 0.1em; | 285 | padding: 0.2em 0.2em 0.1em 0.1em; |
282 | font-size: 100%; | 286 | font-size: 100%; |
283 | border: none; | 287 | border: none; |
284 | } | 288 | } |
285 | 289 | ||
286 | table.diffstat td.mode { | 290 | table.diffstat td.mode { |
287 | white-space: nowrap; | 291 | white-space: nowrap; |
288 | } | 292 | } |
289 | 293 | ||
290 | table.diffstat td span.modechange { | 294 | table.diffstat td span.modechange { |
291 | padding-left: 1em; | 295 | padding-left: 1em; |
292 | color: red; | 296 | color: red; |
293 | } | 297 | } |
294 | 298 | ||
295 | table.diffstat td.add a { | 299 | table.diffstat td.add a { |
296 | color: green; | 300 | color: green; |
297 | } | 301 | } |
298 | 302 | ||
299 | table.diffstat td.del a { | 303 | table.diffstat td.del a { |
300 | color: red; | 304 | color: red; |
301 | } | 305 | } |
302 | 306 | ||
303 | table.diffstat td.upd a { | 307 | table.diffstat td.upd a { |
304 | color: blue; | 308 | color: blue; |
305 | } | 309 | } |
306 | 310 | ||
307 | table.diffstat td.graph { | 311 | table.diffstat td.graph { |
308 | width: 500px; | 312 | width: 500px; |
309 | vertical-align: middle; | 313 | vertical-align: middle; |
310 | } | 314 | } |
311 | 315 | ||
312 | table.diffstat td.graph table { | 316 | table.diffstat td.graph table { |
313 | border: none; | 317 | border: none; |
314 | } | 318 | } |
315 | 319 | ||
316 | table.diffstat td.graph td { | 320 | table.diffstat td.graph td { |
317 | padding: 0px; | 321 | padding: 0px; |
318 | border: 0px; | 322 | border: 0px; |
319 | height: 7pt; | 323 | height: 7pt; |
320 | } | 324 | } |
321 | 325 | ||
322 | table.diffstat td.graph td.add { | 326 | table.diffstat td.graph td.add { |
323 | background-color: #5c5; | 327 | background-color: #5c5; |
324 | } | 328 | } |
325 | 329 | ||
326 | table.diffstat td.graph td.rem { | 330 | table.diffstat td.graph td.rem { |
327 | background-color: #c55; | 331 | background-color: #c55; |
328 | } | 332 | } |
329 | 333 | ||
330 | div.diffstat-summary { | 334 | div.diffstat-summary { |
331 | color: #888; | 335 | color: #888; |
332 | padding-top: 0.5em; | 336 | padding-top: 0.5em; |
333 | } | 337 | } |
334 | 338 | ||
335 | table.diff { | 339 | table.diff { |
336 | width: 100%; | 340 | width: 100%; |
337 | } | 341 | } |
338 | 342 | ||
339 | table.diff td { | 343 | table.diff td { |
340 | font-family: monospace; | 344 | font-family: monospace; |
341 | white-space: pre; | 345 | white-space: pre; |
342 | } | 346 | } |
343 | 347 | ||
344 | table.diff td div.head { | 348 | table.diff td div.head { |
345 | font-weight: bold; | 349 | font-weight: bold; |
346 | margin-top: 1em; | 350 | margin-top: 1em; |
347 | background-color: #eee; | 351 | background-color: #eee; |
348 | } | 352 | } |
349 | 353 | ||
350 | table.diff td div.hunk { | 354 | table.diff td div.hunk { |
351 | color: #009; | 355 | color: #009; |
352 | } | 356 | } |
353 | 357 | ||
354 | table.diff td div.add { | 358 | table.diff td div.add { |
355 | color: green; | 359 | color: green; |
356 | } | 360 | } |
357 | 361 | ||
358 | table.diff td div.del { | 362 | table.diff td div.del { |
359 | color: red; | 363 | color: red; |
360 | } | 364 | } |
361 | 365 | ||
362 | .sha1 { | 366 | .sha1 { |
363 | font-family: monospace; | 367 | font-family: monospace; |
364 | font-size: 90%; | 368 | font-size: 90%; |
365 | } | 369 | } |
366 | 370 | ||
367 | .left { | 371 | .left { |
368 | text-align: left; | 372 | text-align: left; |
369 | } | 373 | } |
370 | 374 | ||
371 | .right { | 375 | .right { |
372 | text-align: right; | 376 | text-align: right; |
373 | } | 377 | } |
374 | 378 | ||
375 | table.list td.repogroup { | 379 | table.list td.repogroup { |
376 | font-style: italic; | 380 | font-style: italic; |
377 | color: #888; | 381 | color: #888; |
378 | } | 382 | } |
379 | 383 | ||
380 | a.button { | 384 | a.button { |
381 | font-size: 80%; | 385 | font-size: 80%; |
382 | color: #aaa; | 386 | color: #aaa; |
383 | background-color: #eee; | 387 | background-color: #eee; |
384 | border: solid 1px #aaa; | 388 | border: solid 1px #aaa; |
385 | padding: 0em 0.5em; | 389 | padding: 0em 0.5em; |
386 | margin: 0.1em 0.25em; | 390 | margin: 0.1em 0.25em; |
387 | } | 391 | } |
388 | 392 | ||
389 | a.button:hover { | 393 | a.button:hover { |
390 | text-decoration: none; | 394 | text-decoration: none; |
391 | color: #333; | 395 | color: #333; |
392 | background-color: #ccc; | 396 | background-color: #ccc; |
393 | } | 397 | } |
394 | 398 | ||
395 | a.primary { | 399 | a.primary { |
396 | font-size: 100%; | 400 | font-size: 100%; |
397 | } | 401 | } |
398 | 402 | ||
399 | a.secondary { | 403 | a.secondary { |
400 | font-size: 90%; | 404 | font-size: 90%; |
401 | } | 405 | } |
402 | 406 | ||
403 | td.toplevel-repo { | 407 | td.toplevel-repo { |
404 | 408 | ||
405 | } | 409 | } |
406 | 410 | ||
407 | table.list td.sublevel-repo { | 411 | table.list td.sublevel-repo { |
408 | padding-left: 1.5em; | 412 | padding-left: 1.5em; |
409 | } | 413 | } |
410 | 414 | ||
411 | span.age-mins { | 415 | span.age-mins { |
412 | font-weight: bold; | 416 | font-weight: bold; |
413 | color: #080; | 417 | color: #080; |
414 | } | 418 | } |
415 | 419 | ||
416 | span.age-hours { | 420 | span.age-hours { |
417 | color: #080; | 421 | color: #080; |
418 | } | 422 | } |
419 | 423 | ||
420 | span.age-days { | 424 | span.age-days { |
421 | color: #040; | 425 | color: #040; |
422 | } | 426 | } |
423 | 427 | ||
424 | span.age-weeks { | 428 | span.age-weeks { |
425 | color: #444; | 429 | color: #444; |
426 | } | 430 | } |
427 | 431 | ||
428 | span.age-months { | 432 | span.age-months { |
429 | color: #888; | 433 | color: #888; |
430 | } | 434 | } |
431 | 435 | ||
432 | span.age-years { | 436 | span.age-years { |
433 | color: #bbb; | 437 | color: #bbb; |
434 | } | 438 | } |