gitweb / gitweb.csson commit gitweb.js: Harden setting blamed commit info in incremental blame (6aa2de5)
   1body {
   2        font-family: sans-serif;
   3        font-size: small;
   4        border: solid #d9d8d1;
   5        border-width: 1px;
   6        margin: 10px;
   7        background-color: #ffffff;
   8        color: #000000;
   9}
  10
  11a {
  12        color: #0000cc;
  13}
  14
  15a:hover, a:visited, a:active {
  16        color: #880000;
  17}
  18
  19span.cntrl {
  20        border: dashed #aaaaaa;
  21        border-width: 1px;
  22        padding: 0px 2px 0px 2px;
  23        margin:  0px 2px 0px 2px;
  24}
  25
  26img.logo {
  27        float: right;
  28        border-width: 0px;
  29}
  30
  31img.avatar {
  32        vertical-align: middle;
  33}
  34
  35div.page_header {
  36        height: 25px;
  37        padding: 8px;
  38        font-size: 150%;
  39        font-weight: bold;
  40        background-color: #d9d8d1;
  41}
  42
  43div.page_header a:visited, a.header {
  44        color: #0000cc;
  45}
  46
  47div.page_header a:hover {
  48        color: #880000;
  49}
  50
  51div.page_nav {
  52        padding: 8px;
  53}
  54
  55div.page_nav a:visited {
  56        color: #0000cc;
  57}
  58
  59div.page_path {
  60        padding: 8px;
  61        font-weight: bold;
  62        border: solid #d9d8d1;
  63        border-width: 0px 0px 1px;
  64}
  65
  66div.page_footer {
  67        height: 17px;
  68        padding: 4px 8px;
  69        background-color: #d9d8d1;
  70}
  71
  72div.page_footer_text {
  73        float: left;
  74        color: #555555;
  75        font-style: italic;
  76}
  77
  78div#generating_info {
  79        margin: 4px;
  80        font-size: smaller;
  81        text-align: center;
  82        color: #505050;
  83}
  84
  85div.page_body {
  86        padding: 8px;
  87        font-family: monospace;
  88}
  89
  90div.title, a.title {
  91        display: block;
  92        padding: 6px 8px;
  93        font-weight: bold;
  94        background-color: #edece6;
  95        text-decoration: none;
  96        color: #000000;
  97}
  98
  99div.readme {
 100        padding: 8px;
 101}
 102
 103a.title:hover {
 104        background-color: #d9d8d1;
 105}
 106
 107div.title_text {
 108        padding: 6px 0px;
 109        border: solid #d9d8d1;
 110        border-width: 0px 0px 1px;
 111        font-family: monospace;
 112}
 113
 114div.log_body {
 115        padding: 8px 8px 8px 150px;
 116}
 117
 118span.age {
 119        position: relative;
 120        float: left;
 121        width: 142px;
 122        font-style: italic;
 123}
 124
 125span.signoff {
 126        color: #888888;
 127}
 128
 129div.log_link {
 130        padding: 0px 8px;
 131        font-size: 70%;
 132        font-family: sans-serif;
 133        font-style: normal;
 134        position: relative;
 135        float: left;
 136        width: 136px;
 137}
 138
 139div.list_head {
 140        padding: 6px 8px 4px;
 141        border: solid #d9d8d1;
 142        border-width: 1px 0px 0px;
 143        font-style: italic;
 144}
 145
 146.author_date, .author {
 147        font-style: italic;
 148}
 149
 150div.author_date {
 151        padding: 8px;
 152        border: solid #d9d8d1;
 153        border-width: 0px 0px 1px 0px;
 154}
 155
 156a.list {
 157        text-decoration: none;
 158        color: #000000;
 159}
 160
 161a.subject, a.name {
 162        font-weight: bold;
 163}
 164
 165table.tags a.subject {
 166        font-weight: normal;
 167}
 168
 169a.list:hover {
 170        text-decoration: underline;
 171        color: #880000;
 172}
 173
 174a.text {
 175        text-decoration: none;
 176        color: #0000cc;
 177}
 178
 179a.text:visited {
 180        text-decoration: none;
 181        color: #880000;
 182}
 183
 184a.text:hover {
 185        text-decoration: underline;
 186        color: #880000;
 187}
 188
 189table {
 190        padding: 8px 4px;
 191        border-spacing: 0;
 192}
 193
 194table.diff_tree {
 195        font-family: monospace;
 196}
 197
 198table.combined.diff_tree th {
 199        text-align: center;
 200}
 201
 202table.combined.diff_tree td {
 203        padding-right: 24px;
 204}
 205
 206table.combined.diff_tree th.link,
 207table.combined.diff_tree td.link {
 208        padding: 0px 2px;
 209}
 210
 211table.combined.diff_tree td.nochange a {
 212        color: #6666ff;
 213}
 214
 215table.combined.diff_tree td.nochange a:hover,
 216table.combined.diff_tree td.nochange a:visited {
 217        color: #d06666;
 218}
 219
 220table.blame {
 221        border-collapse: collapse;
 222}
 223
 224table.blame td {
 225        padding: 0px 5px;
 226        font-size: 100%;
 227        vertical-align: top;
 228}
 229
 230th {
 231        padding: 2px 5px;
 232        font-size: 100%;
 233        text-align: left;
 234}
 235
 236/* do not change row style on hover for 'blame' view */
 237tr.light,
 238table.blame .light:hover {
 239        background-color: #ffffff;
 240}
 241
 242tr.dark,
 243table.blame .dark:hover {
 244        background-color: #f6f6f0;
 245}
 246
 247/* currently both use the same, but it can change */
 248tr.light:hover,
 249tr.dark:hover {
 250        background-color: #edece6;
 251}
 252
 253/* boundary commits in 'blame' view */
 254/* and commits without "previous" */
 255tr.boundary td.sha1,
 256tr.no-previous td.linenr {
 257        font-weight: bold;
 258}
 259
 260/* for 'blame_incremental', during processing */
 261tr.color1 { background-color: #f6fff6; }
 262tr.color2 { background-color: #f6f6ff; }
 263tr.color3 { background-color: #fff6f6; }
 264
 265td {
 266        padding: 2px 5px;
 267        font-size: 100%;
 268        vertical-align: top;
 269}
 270
 271td.link, td.selflink {
 272        padding: 2px 5px;
 273        font-family: sans-serif;
 274        font-size: 70%;
 275}
 276
 277td.selflink {
 278        padding-right: 0px;
 279}
 280
 281td.sha1 {
 282        font-family: monospace;
 283}
 284
 285.error {
 286        color: red;
 287        background-color: yellow;
 288}
 289
 290td.current_head {
 291        text-decoration: underline;
 292}
 293
 294table.diff_tree span.file_status.new {
 295        color: #008000;
 296}
 297
 298table.diff_tree span.file_status.deleted {
 299        color: #c00000;
 300}
 301
 302table.diff_tree span.file_status.moved,
 303table.diff_tree span.file_status.mode_chnge {
 304        color: #777777;
 305}
 306
 307table.diff_tree span.file_status.copied {
 308  color: #70a070;
 309}
 310
 311/* noage: "No commits" */
 312table.project_list td.noage {
 313        color: #808080;
 314        font-style: italic;
 315}
 316
 317/* age2: 60*60*24*2 <= age */
 318table.project_list td.age2, table.blame td.age2 {
 319        font-style: italic;
 320}
 321
 322/* age1: 60*60*2 <= age < 60*60*24*2 */
 323table.project_list td.age1 {
 324        color: #009900;
 325        font-style: italic;
 326}
 327
 328table.blame td.age1 {
 329        color: #009900;
 330        background: transparent;
 331}
 332
 333/* age0: age < 60*60*2 */
 334table.project_list td.age0 {
 335        color: #009900;
 336        font-style: italic;
 337        font-weight: bold;
 338}
 339
 340table.blame td.age0 {
 341        color: #009900;
 342        background: transparent;
 343        font-weight: bold;
 344}
 345
 346td.pre, div.pre, div.diff {
 347        font-family: monospace;
 348        font-size: 12px;
 349        white-space: pre;
 350}
 351
 352td.mode {
 353        font-family: monospace;
 354}
 355
 356/* progress of blame_interactive */
 357div#progress_bar {
 358        height: 2px;
 359        margin-bottom: -2px;
 360        background-color: #d8d9d0;
 361}
 362div#progress_info {
 363        float: right;
 364        text-align: right;
 365}
 366
 367/* styling of diffs (patchsets): commitdiff and blobdiff views */
 368div.diff.header,
 369div.diff.extended_header {
 370        white-space: normal;
 371}
 372
 373div.diff.header {
 374        font-weight: bold;
 375
 376        background-color: #edece6;
 377
 378        margin-top: 4px;
 379        padding: 4px 0px 2px 0px;
 380        border: solid #d9d8d1;
 381        border-width: 1px 0px 1px 0px;
 382}
 383
 384div.diff.header a.path {
 385        text-decoration: underline;
 386}
 387
 388div.diff.extended_header,
 389div.diff.extended_header a.path,
 390div.diff.extended_header a.hash {
 391        color: #777777;
 392}
 393
 394div.diff.extended_header .info {
 395        color: #b0b0b0;
 396}
 397
 398div.diff.extended_header {
 399        background-color: #f6f5ee;
 400        padding: 2px 0px 2px 0px;
 401}
 402
 403div.diff a.list,
 404div.diff a.path,
 405div.diff a.hash {
 406        text-decoration: none;
 407}
 408
 409div.diff a.list:hover,
 410div.diff a.path:hover,
 411div.diff a.hash:hover {
 412        text-decoration: underline;
 413}
 414
 415div.diff.to_file a.path,
 416div.diff.to_file {
 417        color: #007000;
 418}
 419
 420div.diff.add {
 421        color: #008800;
 422}
 423
 424div.diff.from_file a.path,
 425div.diff.from_file {
 426        color: #aa0000;
 427}
 428
 429div.diff.rem {
 430        color: #cc0000;
 431}
 432
 433div.diff.chunk_header a,
 434div.diff.chunk_header {
 435        color: #990099;
 436}
 437
 438div.diff.chunk_header {
 439        border: dotted #ffe0ff;
 440        border-width: 1px 0px 0px 0px;
 441        margin-top: 2px;
 442}
 443
 444div.diff.chunk_header span.chunk_info {
 445        background-color: #ffeeff;
 446}
 447
 448div.diff.chunk_header span.section {
 449        color: #aa22aa;
 450}
 451
 452div.diff.incomplete {
 453        color: #cccccc;
 454}
 455
 456div.diff.nodifferences {
 457        font-weight: bold;
 458        color: #600000;
 459}
 460
 461div.index_include {
 462        border: solid #d9d8d1;
 463        border-width: 0px 0px 1px;
 464        padding: 12px 8px;
 465}
 466
 467div.search {
 468        font-size: 100%;
 469        font-weight: normal;
 470        margin: 4px 8px;
 471        float: right;
 472        top: 56px;
 473        right: 12px
 474}
 475
 476p.projsearch {
 477        text-align: center;
 478}
 479
 480td.linenr {
 481        text-align: right;
 482}
 483
 484a.linenr {
 485        color: #999999;
 486        text-decoration: none
 487}
 488
 489a.rss_logo {
 490        float: right;
 491        padding: 3px 0px;
 492        width: 35px;
 493        line-height: 10px;
 494        border: 1px solid;
 495        border-color: #fcc7a5 #7d3302 #3e1a01 #ff954e;
 496        color: #ffffff;
 497        background-color: #ff6600;
 498        font-weight: bold;
 499        font-family: sans-serif;
 500        font-size: 70%;
 501        text-align: center;
 502        text-decoration: none;
 503}
 504
 505a.rss_logo:hover {
 506        background-color: #ee5500;
 507}
 508
 509a.rss_logo.generic {
 510        background-color: #ff8800;
 511}
 512
 513a.rss_logo.generic:hover {
 514        background-color: #ee7700;
 515}
 516
 517span.refs span {
 518        padding: 0px 4px;
 519        font-size: 70%;
 520        font-weight: normal;
 521        border: 1px solid;
 522        background-color: #ffaaff;
 523        border-color: #ffccff #ff00ee #ff00ee #ffccff;
 524}
 525
 526span.refs span a {
 527        text-decoration: none;
 528        color: inherit;
 529}
 530
 531span.refs span a:hover {
 532        text-decoration: underline;
 533}
 534
 535span.refs span.indirect {
 536        font-style: italic;
 537}
 538
 539span.refs span.ref {
 540        background-color: #aaaaff;
 541        border-color: #ccccff #0033cc #0033cc #ccccff;
 542}
 543
 544span.refs span.tag {
 545        background-color: #ffffaa;
 546        border-color: #ffffcc #ffee00 #ffee00 #ffffcc;
 547}
 548
 549span.refs span.head {
 550        background-color: #aaffaa;
 551        border-color: #ccffcc #00cc33 #00cc33 #ccffcc;
 552}
 553
 554span.atnight {
 555        color: #cc0000;
 556}
 557
 558span.match {
 559        color: #e00000;
 560}
 561
 562div.binary {
 563        font-style: italic;
 564}