gitweb / static / gitweb.csson commit get_ref_dir(): take the containing directory as argument (9f2fb4a)
   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
  35a.list img.avatar {
  36        border-style: none;
  37}
  38
  39div.page_header {
  40        height: 25px;
  41        padding: 8px;
  42        font-size: 150%;
  43        font-weight: bold;
  44        background-color: #d9d8d1;
  45}
  46
  47div.page_header a:visited, a.header {
  48        color: #0000cc;
  49}
  50
  51div.page_header a:hover {
  52        color: #880000;
  53}
  54
  55div.page_nav {
  56        padding: 8px;
  57}
  58
  59div.page_nav a:visited {
  60        color: #0000cc;
  61}
  62
  63div.page_path {
  64        padding: 8px;
  65        font-weight: bold;
  66        border: solid #d9d8d1;
  67        border-width: 0px 0px 1px;
  68}
  69
  70div.page_footer {
  71        height: 17px;
  72        padding: 4px 8px;
  73        background-color: #d9d8d1;
  74}
  75
  76div.page_footer_text {
  77        float: left;
  78        color: #555555;
  79        font-style: italic;
  80}
  81
  82div#generating_info {
  83        margin: 4px;
  84        font-size: smaller;
  85        text-align: center;
  86        color: #505050;
  87}
  88
  89div.page_body {
  90        padding: 8px;
  91        font-family: monospace;
  92}
  93
  94div.title, a.title {
  95        display: block;
  96        padding: 6px 8px;
  97        font-weight: bold;
  98        background-color: #edece6;
  99        text-decoration: none;
 100        color: #000000;
 101}
 102
 103div.readme {
 104        padding: 8px;
 105}
 106
 107a.title:hover {
 108        background-color: #d9d8d1;
 109}
 110
 111div.title_text {
 112        padding: 6px 0px;
 113        border: solid #d9d8d1;
 114        border-width: 0px 0px 1px;
 115        font-family: monospace;
 116}
 117
 118div.log_body {
 119        padding: 8px 8px 8px 150px;
 120}
 121
 122span.age {
 123        position: relative;
 124        float: left;
 125        width: 142px;
 126        font-style: italic;
 127}
 128
 129span.signoff {
 130        color: #888888;
 131}
 132
 133div.log_link {
 134        padding: 0px 8px;
 135        font-size: 70%;
 136        font-family: sans-serif;
 137        font-style: normal;
 138        position: relative;
 139        float: left;
 140        width: 136px;
 141}
 142
 143div.list_head {
 144        padding: 6px 8px 4px;
 145        border: solid #d9d8d1;
 146        border-width: 1px 0px 0px;
 147        font-style: italic;
 148}
 149
 150.author_date, .author {
 151        font-style: italic;
 152}
 153
 154div.author_date {
 155        padding: 8px;
 156        border: solid #d9d8d1;
 157        border-width: 0px 0px 1px 0px;
 158}
 159
 160a.list {
 161        text-decoration: none;
 162        color: #000000;
 163}
 164
 165a.subject, a.name {
 166        font-weight: bold;
 167}
 168
 169table.tags a.subject {
 170        font-weight: normal;
 171}
 172
 173a.list:hover {
 174        text-decoration: underline;
 175        color: #880000;
 176}
 177
 178a.text {
 179        text-decoration: none;
 180        color: #0000cc;
 181}
 182
 183a.text:visited {
 184        text-decoration: none;
 185        color: #880000;
 186}
 187
 188a.text:hover {
 189        text-decoration: underline;
 190        color: #880000;
 191}
 192
 193table {
 194        padding: 8px 4px;
 195        border-spacing: 0;
 196}
 197
 198table.diff_tree {
 199        font-family: monospace;
 200}
 201
 202table.combined.diff_tree th {
 203        text-align: center;
 204}
 205
 206table.combined.diff_tree td {
 207        padding-right: 24px;
 208}
 209
 210table.combined.diff_tree th.link,
 211table.combined.diff_tree td.link {
 212        padding: 0px 2px;
 213}
 214
 215table.combined.diff_tree td.nochange a {
 216        color: #6666ff;
 217}
 218
 219table.combined.diff_tree td.nochange a:hover,
 220table.combined.diff_tree td.nochange a:visited {
 221        color: #d06666;
 222}
 223
 224table.blame {
 225        border-collapse: collapse;
 226}
 227
 228table.blame td {
 229        padding: 0px 5px;
 230        font-size: 100%;
 231        vertical-align: top;
 232}
 233
 234th {
 235        padding: 2px 5px;
 236        font-size: 100%;
 237        text-align: left;
 238}
 239
 240/* do not change row style on hover for 'blame' view */
 241tr.light,
 242table.blame .light:hover {
 243        background-color: #ffffff;
 244}
 245
 246tr.dark,
 247table.blame .dark:hover {
 248        background-color: #f6f6f0;
 249}
 250
 251/* currently both use the same, but it can change */
 252tr.light:hover,
 253tr.dark:hover {
 254        background-color: #edece6;
 255}
 256
 257/* boundary commits in 'blame' view */
 258/* and commits without "previous" */
 259tr.boundary td.sha1,
 260tr.no-previous td.linenr {
 261        font-weight: bold;
 262}
 263
 264/* for 'blame_incremental', during processing */
 265tr.color1 { background-color: #f6fff6; }
 266tr.color2 { background-color: #f6f6ff; }
 267tr.color3 { background-color: #fff6f6; }
 268
 269td {
 270        padding: 2px 5px;
 271        font-size: 100%;
 272        vertical-align: top;
 273}
 274
 275td.link, td.selflink {
 276        padding: 2px 5px;
 277        font-family: sans-serif;
 278        font-size: 70%;
 279}
 280
 281td.selflink {
 282        padding-right: 0px;
 283}
 284
 285td.sha1 {
 286        font-family: monospace;
 287}
 288
 289.error {
 290        color: red;
 291        background-color: yellow;
 292}
 293
 294td.current_head {
 295        text-decoration: underline;
 296}
 297
 298td.category {
 299        background-color: #d9d8d1;
 300        border-top: 1px solid #000000;
 301        border-left: 1px solid #000000;
 302        font-weight: bold;
 303}
 304
 305table.diff_tree span.file_status.new {
 306        color: #008000;
 307}
 308
 309table.diff_tree span.file_status.deleted {
 310        color: #c00000;
 311}
 312
 313table.diff_tree span.file_status.moved,
 314table.diff_tree span.file_status.mode_chnge {
 315        color: #777777;
 316}
 317
 318table.diff_tree span.file_status.copied {
 319  color: #70a070;
 320}
 321
 322/* noage: "No commits" */
 323table.project_list td.noage {
 324        color: #808080;
 325        font-style: italic;
 326}
 327
 328/* age2: 60*60*24*2 <= age */
 329table.project_list td.age2, table.blame td.age2 {
 330        font-style: italic;
 331}
 332
 333/* age1: 60*60*2 <= age < 60*60*24*2 */
 334table.project_list td.age1 {
 335        color: #009900;
 336        font-style: italic;
 337}
 338
 339table.blame td.age1 {
 340        color: #009900;
 341        background: transparent;
 342}
 343
 344/* age0: age < 60*60*2 */
 345table.project_list td.age0 {
 346        color: #009900;
 347        font-style: italic;
 348        font-weight: bold;
 349}
 350
 351table.blame td.age0 {
 352        color: #009900;
 353        background: transparent;
 354        font-weight: bold;
 355}
 356
 357td.pre, div.pre, div.diff {
 358        font-family: monospace;
 359        font-size: 12px;
 360        white-space: pre;
 361}
 362
 363td.mode {
 364        font-family: monospace;
 365}
 366
 367/* progress of blame_interactive */
 368div#progress_bar {
 369        height: 2px;
 370        margin-bottom: -2px;
 371        background-color: #d8d9d0;
 372}
 373div#progress_info {
 374        float: right;
 375        text-align: right;
 376}
 377
 378/* format of (optional) objects size in 'tree' view */
 379td.size {
 380        font-family: monospace;
 381        text-align: right;
 382}
 383
 384/* styling of diffs (patchsets): commitdiff and blobdiff views */
 385div.diff.header,
 386div.diff.extended_header {
 387        white-space: normal;
 388}
 389
 390div.diff.header {
 391        font-weight: bold;
 392
 393        background-color: #edece6;
 394
 395        margin-top: 4px;
 396        padding: 4px 0px 2px 0px;
 397        border: solid #d9d8d1;
 398        border-width: 1px 0px 1px 0px;
 399}
 400
 401div.diff.header a.path {
 402        text-decoration: underline;
 403}
 404
 405div.diff.extended_header,
 406div.diff.extended_header a.path,
 407div.diff.extended_header a.hash {
 408        color: #777777;
 409}
 410
 411div.diff.extended_header .info {
 412        color: #b0b0b0;
 413}
 414
 415div.diff.extended_header {
 416        background-color: #f6f5ee;
 417        padding: 2px 0px 2px 0px;
 418}
 419
 420div.diff a.list,
 421div.diff a.path,
 422div.diff a.hash {
 423        text-decoration: none;
 424}
 425
 426div.diff a.list:hover,
 427div.diff a.path:hover,
 428div.diff a.hash:hover {
 429        text-decoration: underline;
 430}
 431
 432div.diff.to_file a.path,
 433div.diff.to_file {
 434        color: #007000;
 435}
 436
 437div.diff.add {
 438        color: #008800;
 439}
 440
 441div.diff.from_file a.path,
 442div.diff.from_file {
 443        color: #aa0000;
 444}
 445
 446div.diff.rem {
 447        color: #cc0000;
 448}
 449
 450div.diff.chunk_header a,
 451div.diff.chunk_header {
 452        color: #990099;
 453}
 454
 455div.diff.chunk_header {
 456        border: dotted #ffe0ff;
 457        border-width: 1px 0px 0px 0px;
 458        margin-top: 2px;
 459}
 460
 461div.diff.chunk_header span.chunk_info {
 462        background-color: #ffeeff;
 463}
 464
 465div.diff.chunk_header span.section {
 466        color: #aa22aa;
 467}
 468
 469div.diff.incomplete {
 470        color: #cccccc;
 471}
 472
 473div.diff.nodifferences {
 474        font-weight: bold;
 475        color: #600000;
 476}
 477
 478/* side-by-side diff */
 479div.chunk_block {
 480        overflow: hidden;
 481}
 482
 483div.chunk_block div.old {
 484        float: left;
 485        width: 50%;
 486        overflow: hidden;
 487}
 488
 489div.chunk_block div.new {
 490        margin-left: 50%;
 491        width: 50%;
 492}
 493
 494div.chunk_block.rem div.old div.diff.rem {
 495        background-color: #fff5f5;
 496}
 497div.chunk_block.add div.new div.diff.add {
 498        background-color: #f8fff8;
 499}
 500div.chunk_block.chg div     div.diff {
 501        background-color: #fffff0;
 502}
 503div.chunk_block.ctx div     div.diff.ctx {
 504        color: #404040;
 505}
 506
 507
 508div.index_include {
 509        border: solid #d9d8d1;
 510        border-width: 0px 0px 1px;
 511        padding: 12px 8px;
 512}
 513
 514div.search {
 515        font-size: 100%;
 516        font-weight: normal;
 517        margin: 4px 8px;
 518        float: right;
 519        top: 56px;
 520        right: 12px
 521}
 522
 523div.projsearch {
 524        text-align: center;
 525        margin: 20px 0px;
 526}
 527
 528div.projsearch form {
 529        margin-bottom: 2px;
 530}
 531
 532td.linenr {
 533        text-align: right;
 534}
 535
 536a.linenr {
 537        color: #999999;
 538        text-decoration: none
 539}
 540
 541a.rss_logo {
 542        float: right;
 543        padding: 3px 0px;
 544        width: 35px;
 545        line-height: 10px;
 546        border: 1px solid;
 547        border-color: #fcc7a5 #7d3302 #3e1a01 #ff954e;
 548        color: #ffffff;
 549        background-color: #ff6600;
 550        font-weight: bold;
 551        font-family: sans-serif;
 552        font-size: 70%;
 553        text-align: center;
 554        text-decoration: none;
 555}
 556
 557a.rss_logo:hover {
 558        background-color: #ee5500;
 559}
 560
 561a.rss_logo.generic {
 562        background-color: #ff8800;
 563}
 564
 565a.rss_logo.generic:hover {
 566        background-color: #ee7700;
 567}
 568
 569span.refs span {
 570        padding: 0px 4px;
 571        font-size: 70%;
 572        font-weight: normal;
 573        border: 1px solid;
 574        background-color: #ffaaff;
 575        border-color: #ffccff #ff00ee #ff00ee #ffccff;
 576}
 577
 578span.refs span a {
 579        text-decoration: none;
 580        color: inherit;
 581}
 582
 583span.refs span a:hover {
 584        text-decoration: underline;
 585}
 586
 587span.refs span.indirect {
 588        font-style: italic;
 589}
 590
 591span.refs span.ref {
 592        background-color: #aaaaff;
 593        border-color: #ccccff #0033cc #0033cc #ccccff;
 594}
 595
 596span.refs span.tag {
 597        background-color: #ffffaa;
 598        border-color: #ffffcc #ffee00 #ffee00 #ffffcc;
 599}
 600
 601span.refs span.head {
 602        background-color: #aaffaa;
 603        border-color: #ccffcc #00cc33 #00cc33 #ccffcc;
 604}
 605
 606span.atnight {
 607        color: #cc0000;
 608}
 609
 610span.match {
 611        color: #e00000;
 612}
 613
 614div.binary {
 615        font-style: italic;
 616}
 617
 618div.remote {
 619        margin: .5em;
 620        border: 1px solid #d9d8d1;
 621        display: inline-block;
 622}
 623
 624/* JavaScript-based timezone manipulation */
 625
 626.popup { /* timezone selection UI */
 627        position: absolute;
 628        /* "top: 0; right: 0;" would be better, if not for bugs in browsers */
 629        top: 0; left: 0;
 630        border: 1px solid;
 631        padding: 2px;
 632        background-color: #f0f0f0;
 633        font-style: normal;
 634        color: #000000;
 635        cursor: auto;
 636}
 637
 638.close-button { /* close timezone selection UI without selecting */
 639        /* float doesn't work within absolutely positioned container,
 640         * if width of container is not set explicitly */
 641        /* float: right; */
 642        position: absolute;
 643        top: 0px; right: 0px;
 644        border:  1px solid green;
 645        margin:  1px 1px 1px 1px;
 646        padding-bottom: 2px;
 647        width:     12px;
 648        height:    10px;
 649        font-size:  9px;
 650        font-weight: bold;
 651        text-align: center;
 652        background-color: #fff0f0;
 653        cursor: pointer;
 654}
 655
 656
 657/* Style definition generated by highlight 2.4.5, http://www.andre-simon.de/ */
 658
 659/* Highlighting theme definition: */
 660
 661.num    { color:#2928ff; }
 662.esc    { color:#ff00ff; }
 663.str    { color:#ff0000; }
 664.dstr   { color:#818100; }
 665.slc    { color:#838183; font-style:italic; }
 666.com    { color:#838183; font-style:italic; }
 667.dir    { color:#008200; }
 668.sym    { color:#000000; }
 669.line   { color:#555555; }
 670.kwa    { color:#000000; font-weight:bold; }
 671.kwb    { color:#830000; }
 672.kwc    { color:#000000; font-weight:bold; }
 673.kwd    { color:#010181; }