diff options
Diffstat (limited to 'cgit.css')
| -rw-r--r-- | cgit.css | 104 |
1 files changed, 93 insertions, 11 deletions
| @@ -236,26 +236,31 @@ table.blob { | |||
| 236 | border-top: solid 1px black; | 236 | border-top: solid 1px black; |
| 237 | } | 237 | } |
| 238 | 238 | ||
| 239 | table.blob td.no { | 239 | table.blob td.lines { |
| 240 | border-right: solid 1px black; | 240 | margin: 0; padding: 0; |
| 241 | vertical-align: top; | ||
| 241 | color: black; | 242 | color: black; |
| 243 | } | ||
| 244 | |||
| 245 | table.blob td.linenumbers { | ||
| 246 | margin: 0; padding: 0; | ||
| 247 | vertical-align: top; | ||
| 248 | border-right: 1px solid gray; | ||
| 242 | background-color: #eee; | 249 | background-color: #eee; |
| 243 | text-align: right; | ||
| 244 | } | 250 | } |
| 245 | 251 | ||
| 246 | table.blob td.no a { | 252 | table.blob pre { |
| 247 | color: black; | 253 | padding: 0; margin: 0; |
| 248 | } | 254 | } |
| 249 | 255 | ||
| 250 | table.blob td.no a:hover { | 256 | table.blob a.no { |
| 251 | color: black; | 257 | color: gray; |
| 258 | text-align: right; | ||
| 252 | text-decoration: none; | 259 | text-decoration: none; |
| 253 | } | 260 | } |
| 254 | 261 | ||
| 255 | table.blob td.txt { | 262 | table.blob a.no a:hover { |
| 256 | white-space: pre; | 263 | color: black; |
| 257 | font-family: monospace; | ||
| 258 | padding-left: 0.5em; | ||
| 259 | } | 264 | } |
| 260 | 265 | ||
| 261 | table.nowrap td { | 266 | table.nowrap td { |
| @@ -500,3 +505,80 @@ div.commit-subject a { | |||
| 500 | margin-left: 1em; | 505 | margin-left: 1em; |
| 501 | font-size: 75%; | 506 | font-size: 75%; |
| 502 | } | 507 | } |
| 508 | |||
| 509 | table.stats { | ||
| 510 | border: solid 1px black; | ||
| 511 | border-collapse: collapse; | ||
| 512 | } | ||
| 513 | |||
| 514 | table.stats th { | ||
| 515 | text-align: left; | ||
| 516 | padding: 1px 0.5em; | ||
| 517 | background-color: #eee; | ||
| 518 | border: solid 1px black; | ||
| 519 | } | ||
| 520 | |||
| 521 | table.stats td { | ||
| 522 | text-align: right; | ||
| 523 | padding: 1px 0.5em; | ||
| 524 | border: solid 1px black; | ||
| 525 | } | ||
| 526 | |||
| 527 | table.stats td.total { | ||
| 528 | font-weight: bold; | ||
| 529 | text-align: left; | ||
| 530 | } | ||
| 531 | |||
| 532 | table.stats td.sum { | ||
| 533 | color: #c00; | ||
| 534 | font-weight: bold; | ||
| 535 | /* background-color: #eee; */ | ||
| 536 | } | ||
| 537 | |||
| 538 | table.stats td.left { | ||
| 539 | text-align: left; | ||
| 540 | } | ||
| 541 | |||
| 542 | table.vgraph { | ||
| 543 | border-collapse: separate; | ||
| 544 | border: solid 1px black; | ||
| 545 | height: 200px; | ||
| 546 | } | ||
| 547 | |||
| 548 | table.vgraph th { | ||
| 549 | background-color: #eee; | ||
| 550 | font-weight: bold; | ||
| 551 | border: solid 1px white; | ||
| 552 | padding: 1px 0.5em; | ||
| 553 | } | ||
| 554 | |||
| 555 | table.vgraph td { | ||
| 556 | vertical-align: bottom; | ||
| 557 | padding: 0px 10px; | ||
| 558 | } | ||
| 559 | |||
| 560 | table.vgraph div.bar { | ||
| 561 | background-color: #eee; | ||
| 562 | } | ||
| 563 | |||
| 564 | table.hgraph { | ||
| 565 | border: solid 1px black; | ||
| 566 | width: 800px; | ||
| 567 | } | ||
| 568 | |||
| 569 | table.hgraph th { | ||
| 570 | background-color: #eee; | ||
| 571 | font-weight: bold; | ||
| 572 | border: solid 1px black; | ||
| 573 | padding: 1px 0.5em; | ||
| 574 | } | ||
| 575 | |||
| 576 | table.hgraph td { | ||
| 577 | vertical-align: center; | ||
| 578 | padding: 2px 2px; | ||
| 579 | } | ||
| 580 | |||
| 581 | table.hgraph div.bar { | ||
| 582 | background-color: #eee; | ||
| 583 | height: 1em; | ||
| 584 | } | ||
