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