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