author | Jeff Smith <whydoubt@yahoo.com> | 2010-07-29 14:32:30 (UTC) |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2010-08-04 01:10:07 (UTC) |
commit | 059b39344fdcde324dff1099fc4b70c7aab12a96 (patch) (unidiff) | |
tree | 4a12cf7645b89c06684e09a1e5dded9a5ddeae38 /cgit.css | |
parent | f9143171267e39f66a02ad2ecb0da2e8cc7f4142 (diff) | |
download | cgit-059b39344fdcde324dff1099fc4b70c7aab12a96.zip cgit-059b39344fdcde324dff1099fc4b70c7aab12a96.tar.gz cgit-059b39344fdcde324dff1099fc4b70c7aab12a96.tar.bz2 |
ui-commit: Display git notes when present
Signed-off-by: Jeff Smith <whydoubt@yahoo.com>
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
-rw-r--r-- | cgit.css | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -233,192 +233,210 @@ a.ls-blob, a.ls-dir, a.ls-mod { | |||
233 | 233 | ||
234 | td.ls-size { | 234 | td.ls-size { |
235 | text-align: right; | 235 | text-align: right; |
236 | font-family: monospace; | 236 | font-family: monospace; |
237 | width: 10em; | 237 | width: 10em; |
238 | } | 238 | } |
239 | 239 | ||
240 | td.ls-mode { | 240 | td.ls-mode { |
241 | font-family: monospace; | 241 | font-family: monospace; |
242 | width: 10em; | 242 | width: 10em; |
243 | } | 243 | } |
244 | 244 | ||
245 | table.blob { | 245 | table.blob { |
246 | margin-top: 0.5em; | 246 | margin-top: 0.5em; |
247 | border-top: solid 1px black; | 247 | border-top: solid 1px black; |
248 | } | 248 | } |
249 | 249 | ||
250 | table.blob td.lines { | 250 | table.blob td.lines { |
251 | margin: 0; padding: 0 0 0 0.5em; | 251 | margin: 0; padding: 0 0 0 0.5em; |
252 | vertical-align: top; | 252 | vertical-align: top; |
253 | color: black; | 253 | color: black; |
254 | } | 254 | } |
255 | 255 | ||
256 | table.blob td.linenumbers { | 256 | table.blob td.linenumbers { |
257 | margin: 0; padding: 0 0.5em 0 0.5em; | 257 | margin: 0; padding: 0 0.5em 0 0.5em; |
258 | vertical-align: top; | 258 | vertical-align: top; |
259 | text-align: right; | 259 | text-align: right; |
260 | border-right: 1px solid gray; | 260 | border-right: 1px solid gray; |
261 | } | 261 | } |
262 | 262 | ||
263 | table.blob pre { | 263 | table.blob pre { |
264 | padding: 0; margin: 0; | 264 | padding: 0; margin: 0; |
265 | } | 265 | } |
266 | 266 | ||
267 | table.blob a.no { | 267 | table.blob a.no { |
268 | color: gray; | 268 | color: gray; |
269 | text-align: right; | 269 | text-align: right; |
270 | text-decoration: none; | 270 | text-decoration: none; |
271 | } | 271 | } |
272 | 272 | ||
273 | table.blob a.no a:hover { | 273 | table.blob a.no a:hover { |
274 | color: black; | 274 | color: black; |
275 | } | 275 | } |
276 | 276 | ||
277 | table.bin-blob { | 277 | table.bin-blob { |
278 | margin-top: 0.5em; | 278 | margin-top: 0.5em; |
279 | border: solid 1px black; | 279 | border: solid 1px black; |
280 | } | 280 | } |
281 | 281 | ||
282 | table.bin-blob th { | 282 | table.bin-blob th { |
283 | font-family: monospace; | 283 | font-family: monospace; |
284 | white-space: pre; | 284 | white-space: pre; |
285 | border: solid 1px #777; | 285 | border: solid 1px #777; |
286 | padding: 0.5em 1em; | 286 | padding: 0.5em 1em; |
287 | } | 287 | } |
288 | 288 | ||
289 | table.bin-blob td { | 289 | table.bin-blob td { |
290 | font-family: monospace; | 290 | font-family: monospace; |
291 | white-space: pre; | 291 | white-space: pre; |
292 | border-left: solid 1px #777; | 292 | border-left: solid 1px #777; |
293 | padding: 0em 1em; | 293 | padding: 0em 1em; |
294 | } | 294 | } |
295 | 295 | ||
296 | table.nowrap td { | 296 | table.nowrap td { |
297 | white-space: nowrap; | 297 | white-space: nowrap; |
298 | } | 298 | } |
299 | 299 | ||
300 | table.commit-info { | 300 | table.commit-info { |
301 | border-collapse: collapse; | 301 | border-collapse: collapse; |
302 | margin-top: 1.5em; | 302 | margin-top: 1.5em; |
303 | } | 303 | } |
304 | 304 | ||
305 | table.commit-info th { | 305 | table.commit-info th { |
306 | text-align: left; | 306 | text-align: left; |
307 | font-weight: normal; | 307 | font-weight: normal; |
308 | padding: 0.1em 1em 0.1em 0.1em; | 308 | padding: 0.1em 1em 0.1em 0.1em; |
309 | vertical-align: top; | 309 | vertical-align: top; |
310 | } | 310 | } |
311 | 311 | ||
312 | table.commit-info td { | 312 | table.commit-info td { |
313 | font-weight: normal; | 313 | font-weight: normal; |
314 | padding: 0.1em 1em 0.1em 0.1em; | 314 | padding: 0.1em 1em 0.1em 0.1em; |
315 | } | 315 | } |
316 | 316 | ||
317 | div.commit-subject { | 317 | div.commit-subject { |
318 | font-weight: bold; | 318 | font-weight: bold; |
319 | font-size: 125%; | 319 | font-size: 125%; |
320 | margin: 1.5em 0em 0.5em 0em; | 320 | margin: 1.5em 0em 0.5em 0em; |
321 | padding: 0em; | 321 | padding: 0em; |
322 | } | 322 | } |
323 | 323 | ||
324 | div.commit-msg { | 324 | div.commit-msg { |
325 | white-space: pre; | 325 | white-space: pre; |
326 | font-family: monospace; | 326 | font-family: monospace; |
327 | } | 327 | } |
328 | 328 | ||
329 | div.notes-header { | ||
330 | font-weight: bold; | ||
331 | padding-top: 1.5em; | ||
332 | } | ||
333 | |||
334 | div.notes { | ||
335 | white-space: pre; | ||
336 | font-family: monospace; | ||
337 | border: solid 1px #ee9; | ||
338 | background-color: #ffd; | ||
339 | padding: 0.3em 2em 0.3em 1em; | ||
340 | float: left; | ||
341 | } | ||
342 | |||
343 | div.notes-footer { | ||
344 | clear: left; | ||
345 | } | ||
346 | |||
329 | div.diffstat-header { | 347 | div.diffstat-header { |
330 | font-weight: bold; | 348 | font-weight: bold; |
331 | padding-top: 1.5em; | 349 | padding-top: 1.5em; |
332 | } | 350 | } |
333 | 351 | ||
334 | table.diffstat { | 352 | table.diffstat { |
335 | border-collapse: collapse; | 353 | border-collapse: collapse; |
336 | border: solid 1px #aaa; | 354 | border: solid 1px #aaa; |
337 | background-color: #eee; | 355 | background-color: #eee; |
338 | } | 356 | } |
339 | 357 | ||
340 | table.diffstat th { | 358 | table.diffstat th { |
341 | font-weight: normal; | 359 | font-weight: normal; |
342 | text-align: left; | 360 | text-align: left; |
343 | text-decoration: underline; | 361 | text-decoration: underline; |
344 | padding: 0.1em 1em 0.1em 0.1em; | 362 | padding: 0.1em 1em 0.1em 0.1em; |
345 | font-size: 100%; | 363 | font-size: 100%; |
346 | } | 364 | } |
347 | 365 | ||
348 | table.diffstat td { | 366 | table.diffstat td { |
349 | padding: 0.2em 0.2em 0.1em 0.1em; | 367 | padding: 0.2em 0.2em 0.1em 0.1em; |
350 | font-size: 100%; | 368 | font-size: 100%; |
351 | border: none; | 369 | border: none; |
352 | } | 370 | } |
353 | 371 | ||
354 | table.diffstat td.mode { | 372 | table.diffstat td.mode { |
355 | white-space: nowrap; | 373 | white-space: nowrap; |
356 | } | 374 | } |
357 | 375 | ||
358 | table.diffstat td span.modechange { | 376 | table.diffstat td span.modechange { |
359 | padding-left: 1em; | 377 | padding-left: 1em; |
360 | color: red; | 378 | color: red; |
361 | } | 379 | } |
362 | 380 | ||
363 | table.diffstat td.add a { | 381 | table.diffstat td.add a { |
364 | color: green; | 382 | color: green; |
365 | } | 383 | } |
366 | 384 | ||
367 | table.diffstat td.del a { | 385 | table.diffstat td.del a { |
368 | color: red; | 386 | color: red; |
369 | } | 387 | } |
370 | 388 | ||
371 | table.diffstat td.upd a { | 389 | table.diffstat td.upd a { |
372 | color: blue; | 390 | color: blue; |
373 | } | 391 | } |
374 | 392 | ||
375 | table.diffstat td.graph { | 393 | table.diffstat td.graph { |
376 | width: 500px; | 394 | width: 500px; |
377 | vertical-align: middle; | 395 | vertical-align: middle; |
378 | } | 396 | } |
379 | 397 | ||
380 | table.diffstat td.graph table { | 398 | table.diffstat td.graph table { |
381 | border: none; | 399 | border: none; |
382 | } | 400 | } |
383 | 401 | ||
384 | table.diffstat td.graph td { | 402 | table.diffstat td.graph td { |
385 | padding: 0px; | 403 | padding: 0px; |
386 | border: 0px; | 404 | border: 0px; |
387 | height: 7pt; | 405 | height: 7pt; |
388 | } | 406 | } |
389 | 407 | ||
390 | table.diffstat td.graph td.add { | 408 | table.diffstat td.graph td.add { |
391 | background-color: #5c5; | 409 | background-color: #5c5; |
392 | } | 410 | } |
393 | 411 | ||
394 | table.diffstat td.graph td.rem { | 412 | table.diffstat td.graph td.rem { |
395 | background-color: #c55; | 413 | background-color: #c55; |
396 | } | 414 | } |
397 | 415 | ||
398 | div.diffstat-summary { | 416 | div.diffstat-summary { |
399 | color: #888; | 417 | color: #888; |
400 | padding-top: 0.5em; | 418 | padding-top: 0.5em; |
401 | } | 419 | } |
402 | 420 | ||
403 | table.diff { | 421 | table.diff { |
404 | width: 100%; | 422 | width: 100%; |
405 | } | 423 | } |
406 | 424 | ||
407 | table.diff td { | 425 | table.diff td { |
408 | font-family: monospace; | 426 | font-family: monospace; |
409 | white-space: pre; | 427 | white-space: pre; |
410 | } | 428 | } |
411 | 429 | ||
412 | table.diff td div.head { | 430 | table.diff td div.head { |
413 | font-weight: bold; | 431 | font-weight: bold; |
414 | margin-top: 1em; | 432 | margin-top: 1em; |
415 | color: black; | 433 | color: black; |
416 | } | 434 | } |
417 | 435 | ||
418 | table.diff td div.hunk { | 436 | table.diff td div.hunk { |
419 | color: #009; | 437 | color: #009; |
420 | } | 438 | } |
421 | 439 | ||
422 | table.diff td div.add { | 440 | table.diff td div.add { |
423 | color: green; | 441 | color: green; |
424 | } | 442 | } |