| | @@ -153,10 +153,55 @@ |
| 153 | 153 | @ /* The label/value pairs on (for example) the vinfo page */ |
| 154 | 154 | @ table.label-value th { |
| 155 | 155 | @ vertical-align: top; |
| 156 | 156 | @ text-align: right; |
| 157 | 157 | @ padding: 0.2ex 2ex; |
| 158 | +@ } |
| 159 | +@ |
| 160 | +@ /* Side-by-side diff */ |
| 161 | +@ table.sbsdiff { |
| 162 | +@ background-color: white; |
| 163 | +@ font-family: fixed, Dejavu Sans Mono, Monaco, Lucida Console, monospace; |
| 164 | +@ font-size: 8pt; |
| 165 | +@ border-collapse:collapse; |
| 166 | +@ white-space: pre; |
| 167 | +@ width: 98%; |
| 168 | +@ border: 1px #000 dashed; |
| 169 | +@ } |
| 170 | +@ |
| 171 | +@ table.sbsdiff th.diffhdr { |
| 172 | +@ border-bottom: dotted; |
| 173 | +@ border-width: 1px; |
| 174 | +@ } |
| 175 | +@ |
| 176 | +@ table.sbsdiff tr td { |
| 177 | +@ white-space: pre; |
| 178 | +@ padding-left: 3px; |
| 179 | +@ padding-right: 3px; |
| 180 | +@ margin: 0px; |
| 181 | +@ } |
| 182 | +@ |
| 183 | +@ table.sbsdiff tr td.lineno { |
| 184 | +@ text-align: right; |
| 185 | +@ } |
| 186 | +@ |
| 187 | +@ table.sbsdiff tr td.meta { |
| 188 | +@ color: white; |
| 189 | +@ background-color: rgb(20, 20, 20); |
| 190 | +@ text-align: center; |
| 191 | +@ } |
| 192 | +@ |
| 193 | +@ table.sbsdiff tr td.added { |
| 194 | +@ background-color: rgb(230, 230, 230); |
| 195 | +@ } |
| 196 | +@ |
| 197 | +@ table.sbsdiff tr td.removed { |
| 198 | +@ background-color: rgb(200, 200, 200); |
| 199 | +@ } |
| 200 | +@ |
| 201 | +@ table.sbsdiff tr td.changed { |
| 202 | +@ background-color: rgb(220, 220, 220); |
| 158 | 203 | @ }'); |
| 159 | 204 | @ REPLACE INTO config(name,mtime,value) VALUES('header',now(),'<html> |
| 160 | 205 | @ <head> |
| 161 | 206 | @ <title>$<project_name>: $<title></title> |
| 162 | 207 | @ <link rel="alternate" type="application/rss+xml" title="RSS Feed" |
| | @@ -355,10 +400,54 @@ |
| 355 | 400 | @ /* The label/value pairs on (for example) the ci page */ |
| 356 | 401 | @ table.label-value th { |
| 357 | 402 | @ vertical-align: top; |
| 358 | 403 | @ text-align: right; |
| 359 | 404 | @ padding: 0.2ex 2ex; |
| 405 | +@ } |
| 406 | +@ |
| 407 | +@ /* Side-by-side diff */ |
| 408 | +@ table.sbsdiff { |
| 409 | +@ background-color: #ffffc5; |
| 410 | +@ font-family: fixed, Dejavu Sans Mono, Monaco, Lucida Console, monospace; |
| 411 | +@ font-size: 8pt; |
| 412 | +@ border-collapse:collapse; |
| 413 | +@ white-space: pre; |
| 414 | +@ width: 98%; |
| 415 | +@ border: 1px #000 dashed; |
| 416 | +@ } |
| 417 | +@ |
| 418 | +@ table.sbsdiff th.diffhdr { |
| 419 | +@ border-bottom: dotted; |
| 420 | +@ border-width: 1px; |
| 421 | +@ } |
| 422 | +@ |
| 423 | +@ table.sbsdiff tr td { |
| 424 | +@ white-space: pre; |
| 425 | +@ padding-left: 3px; |
| 426 | +@ padding-right: 3px; |
| 427 | +@ margin: 0px; |
| 428 | +@ } |
| 429 | +@ |
| 430 | +@ table.sbsdiff tr td.lineno { |
| 431 | +@ text-align: right; |
| 432 | +@ } |
| 433 | +@ |
| 434 | +@ table.sbsdiff tr td.meta { |
| 435 | +@ background-color: #a09048; |
| 436 | +@ text-align: center; |
| 437 | +@ } |
| 438 | +@ |
| 439 | +@ table.sbsdiff tr td.added { |
| 440 | +@ background-color: rgb(210, 210, 100); |
| 441 | +@ } |
| 442 | +@ |
| 443 | +@ table.sbsdiff tr td.removed { |
| 444 | +@ background-color: rgb(190, 200, 110); |
| 445 | +@ } |
| 446 | +@ |
| 447 | +@ table.sbsdiff tr td.changed { |
| 448 | +@ background-color: rgb(200, 210, 120); |
| 360 | 449 | @ }'); |
| 361 | 450 | @ REPLACE INTO config(name,mtime,value) VALUES('header',now(),'<html> |
| 362 | 451 | @ <head> |
| 363 | 452 | @ <title>$<project_name>: $<title></title> |
| 364 | 453 | @ <link rel="alternate" type="application/rss+xml" title="RSS Feed" |
| | @@ -591,10 +680,56 @@ |
| 591 | 680 | @ /* The label/value pairs on (for example) the ci page */ |
| 592 | 681 | @ table.label-value th { |
| 593 | 682 | @ vertical-align: top; |
| 594 | 683 | @ text-align: right; |
| 595 | 684 | @ padding: 0.2ex 2ex; |
| 685 | +@ } |
| 686 | +@ |
| 687 | +@ /* Side-by-side diff */ |
| 688 | +@ table.sbsdiff { |
| 689 | +@ background-color: white; |
| 690 | +@ font-family: fixed, Dejavu Sans Mono, Monaco, Lucida Console, monospace; |
| 691 | +@ font-size: 6pt; |
| 692 | +@ border-collapse:collapse; |
| 693 | +@ white-space: pre; |
| 694 | +@ width: 98%; |
| 695 | +@ border: 1px #000 dashed; |
| 696 | +@ } |
| 697 | +@ |
| 698 | +@ table.sbsdiff th.diffhdr { |
| 699 | +@ border-bottom: dotted; |
| 700 | +@ border-width: 1px; |
| 701 | +@ } |
| 702 | +@ |
| 703 | +@ table.sbsdiff tr td { |
| 704 | +@ white-space: pre; |
| 705 | +@ padding-left: 3px; |
| 706 | +@ padding-right: 3px; |
| 707 | +@ margin: 0px; |
| 708 | +@ } |
| 709 | +@ |
| 710 | +@ table.sbsdiff tr td.lineno { |
| 711 | +@ text-align: right; |
| 712 | +@ } |
| 713 | +@ |
| 714 | +@ table.sbsdiff tr td.meta { |
| 715 | +@ color: white; |
| 716 | +@ background-color: black; |
| 717 | +@ text-align: center; |
| 718 | +@ } |
| 719 | +@ |
| 720 | +@ table.sbsdiff tr td.added { |
| 721 | +@ background-color: white; |
| 722 | +@ } |
| 723 | +@ |
| 724 | +@ table.sbsdiff tr td.removed { |
| 725 | +@ background-color: white; |
| 726 | +@ text-decoration: line-through; |
| 727 | +@ } |
| 728 | +@ |
| 729 | +@ table.sbsdiff tr td.changed { |
| 730 | +@ background-color: white; |
| 596 | 731 | @ }'); |
| 597 | 732 | @ REPLACE INTO config(name,mtime,value) VALUES('header',now(),'<html> |
| 598 | 733 | @ <head> |
| 599 | 734 | @ <title>$<project_name>: $<title></title> |
| 600 | 735 | @ <link rel="alternate" type="application/rss+xml" title="RSS Feed" |
| | @@ -889,10 +1024,77 @@ |
| 889 | 1024 | @ padding: 3px 5px; |
| 890 | 1025 | @ } |
| 891 | 1026 | @ |
| 892 | 1027 | @ textarea { |
| 893 | 1028 | @ font-size: 1em; |
| 1029 | +@ } |
| 1030 | +@ |
| 1031 | +@ /* Side-by-side diff */ |
| 1032 | +@ table.sbsdiff { |
| 1033 | +@ background-color: white; |
| 1034 | +@ font-family: Dejavu Sans Mono, Monaco, Lucida Console, monospace; |
| 1035 | +@ font-size: 6pt; |
| 1036 | +@ border-collapse:collapse; |
| 1037 | +@ width: 98%; |
| 1038 | +@ border: 1px #000 dashed; |
| 1039 | +@ margin-left: auto; |
| 1040 | +@ margin-right: auto; |
| 1041 | +@ } |
| 1042 | +@ |
| 1043 | +@ table.sbsdiff th.diffhdr { |
| 1044 | +@ border-bottom: dotted; |
| 1045 | +@ border-width: 1px; |
| 1046 | +@ } |
| 1047 | +@ |
| 1048 | +@ table.sbsdiff tr td { |
| 1049 | +@ padding-left: 3px; |
| 1050 | +@ padding-right: 3px; |
| 1051 | +@ margin: 0px; |
| 1052 | +@ vertical-align: top; |
| 1053 | +@ white-space: pre-wrap; |
| 1054 | +@ } |
| 1055 | +@ |
| 1056 | +@ table.sbsdiff tr td.lineno { |
| 1057 | +@ text-align: right; |
| 1058 | +@ /* border-bottom: 1px solid rgb(220, 220, 220); */ |
| 1059 | +@ } |
| 1060 | +@ |
| 1061 | +@ table.sbsdiff tr td.srcline { |
| 1062 | +@ /* max-width: 400px; */ |
| 1063 | +@ /* Note: May partially hide long lines without whitespaces */ |
| 1064 | +@ /* overflow: hidden; */ |
| 1065 | +@ /* border-bottom: 1px solid rgb(220, 220, 220); */ |
| 1066 | +@ } |
| 1067 | +@ |
| 1068 | +@ table.sbsdiff tr td.meta { |
| 1069 | +@ background-color: rgb(170, 160, 255); |
| 1070 | +@ padding-top: 0.25em; |
| 1071 | +@ padding-bottom: 0.25em; |
| 1072 | +@ text-align: center; |
| 1073 | +@ -moz-border-radius: 5px; |
| 1074 | +@ -moz-border-radius: 5px; |
| 1075 | +@ -webkit-border-radius: 5px; |
| 1076 | +@ -webkit-border-radius: 5px; |
| 1077 | +@ -border-radius: 5px; |
| 1078 | +@ -border-radius: 5px; |
| 1079 | +@ border-radius: 5px; |
| 1080 | +@ border-radius: 5px; |
| 1081 | +@ } |
| 1082 | +@ |
| 1083 | +@ table.sbsdiff tr td.added { |
| 1084 | +@ background-color: rgb(180, 250, 180); |
| 1085 | +@ /* border-bottom: 1px solid rgb(160, 230, 160); */ |
| 1086 | +@ } |
| 1087 | +@ |
| 1088 | +@ table.sbsdiff tr td.removed { |
| 1089 | +@ background-color: rgb(250, 130, 130); |
| 1090 | +@ /* border-bottom: 1px solid rgb(230, 110, 110); */ |
| 1091 | +@ } |
| 1092 | +@ |
| 1093 | +@ table.sbsdiff tr td.changed { |
| 1094 | +@ background-color: rgb(210, 210, 200); |
| 1095 | +@ /* border-bottom: 1px solid rgb(190, 190, 180); */ |
| 894 | 1096 | @ }'); |
| 895 | 1097 | @ REPLACE INTO config(name,mtime,value) VALUES('header',now(),'<html> |
| 896 | 1098 | @ <head> |
| 897 | 1099 | @ <title>$<project_name>: $<title></title> |
| 898 | 1100 | @ <link rel="alternate" type="application/rss+xml" title="RSS Feed" |
| 899 | 1101 | |