| | @@ -379,10 +379,18 @@ |
| 379 | 379 | @ table.label-value th { |
| 380 | 380 | @ vertical-align: top; |
| 381 | 381 | @ text-align: right; |
| 382 | 382 | @ padding: 0.2ex 2ex; |
| 383 | 383 | @ } |
| 384 | +; |
| 385 | +const char zTdTimelineTable[] = |
| 386 | +@ /* The time column in timeline tables */ |
| 387 | +@ table.timelineTable { |
| 388 | +@ cellspacing: 0; |
| 389 | +@ border: 0; |
| 390 | +@ cellpadding: 0; |
| 391 | +@} |
| 384 | 392 | ; |
| 385 | 393 | const char zTdTimelineTimeStampCell[] = |
| 386 | 394 | @ /* The time column in timeline tables */ |
| 387 | 395 | @ td.timelineTimeStampCell { |
| 388 | 396 | @ valign: top; |
| | @@ -401,18 +409,28 @@ |
| 401 | 409 | @ td.timelineComment { |
| 402 | 410 | @ valign: top; |
| 403 | 411 | @ text-align: left; |
| 404 | 412 | @ } |
| 405 | 413 | ; |
| 406 | | -const char zTdTimelineLeafDsp[] = |
| 414 | +const char zDivTimelineLeafDsp[] = |
| 407 | 415 | @ /* The leaf description in timeline tables */ |
| 408 | 416 | @ div.timelineLeafDsp { |
| 409 | 417 | @ font-weight: bold; |
| 410 | 418 | @ display: inline; |
| 411 | 419 | @ } |
| 412 | 420 | ; |
| 413 | | - |
| 421 | +const char zDivNomenclatureSidebox[] = |
| 422 | +@ /* The nomenclature sidebox for branches,.. */ |
| 423 | +@ div.nomenclatureSidebox { |
| 424 | +@ float: right; |
| 425 | +@ width: 33%; |
| 426 | +@ border-width: medium; |
| 427 | +@ border-style: double; |
| 428 | +@ margin: 10; |
| 429 | +@ } |
| 430 | +; |
| 431 | + |
| 414 | 432 | /* |
| 415 | 433 | ** WEBPAGE: style.css |
| 416 | 434 | */ |
| 417 | 435 | void page_style_css(void){ |
| 418 | 436 | char *zCSS = 0; |
| | @@ -420,18 +438,22 @@ |
| 420 | 438 | cgi_set_content_type("text/css"); |
| 421 | 439 | zCSS = db_get("css",(char*)zDefaultCSS); |
| 422 | 440 | cgi_append_content(zCSS, -1); |
| 423 | 441 | cgi_append_content("\n", -1); |
| 424 | 442 | /* append internal classes, if not already in style sheet */ |
| 443 | + if (!strstr(zCSS,"timelineTable")) |
| 444 | + cgi_append_content(zTdTimelineTable,-1); |
| 425 | 445 | if (!strstr(zCSS,"timelineTimeStampCell")) |
| 426 | 446 | cgi_append_content(zTdTimelineTimeStampCell,-1); |
| 427 | 447 | if (!strstr(zCSS,"timelineOmitted")) |
| 428 | 448 | cgi_append_content(zTdTimelineOmitted,-1); |
| 429 | 449 | if (!strstr(zCSS,"timelineComment")) |
| 430 | 450 | cgi_append_content(zTdTimelineComment,-1); |
| 431 | 451 | if (!strstr(zCSS,"timelineLeafDsp")) |
| 432 | | - cgi_append_content(zTdTimelineLeafDsp,-1); |
| 452 | + cgi_append_content(zDivTimelineLeafDsp,-1); |
| 453 | + if (!strstr(zCSS,"nomenclatureSidebox")) |
| 454 | + cgi_append_content(zDivNomenclatureSidebox,-1); |
| 433 | 455 | g.isConst = 1; |
| 434 | 456 | } |
| 435 | 457 | |
| 436 | 458 | /* |
| 437 | 459 | ** WEBPAGE: test_env |
| 438 | 460 | |