improved printing:

- all templates define now noPrint and onlyPrint css classes
- idots format (nextmatch) lists on print now a lot nicer
This commit is contained in:
Ralf Becker 2006-03-26 22:21:22 +00:00
parent 37cb5095d5
commit 627e666c5c
5 changed files with 51 additions and 0 deletions

View File

@ -10,6 +10,8 @@
.th { color: {th_text}; background-color: {th_bg}; }
.narrow_column { width: 6em; }
.tablink { color: #000000; }
@media screen { .onlyPrint { display: none; } }
@media print { .noPrint { display: none; } }
{app_css}
-->
</style>

View File

@ -4,6 +4,8 @@
.row_off { color: {row_text}; background-color: #ffffff; }
.th { color: {th_text}; background-color: {th_bg}; }
.narrow_column { width: 1%; white-space: nowrap; }
@media screen { .onlyPrint { display: none; } }
@media print { .noPrint { display: none; } }
{app_css}
#dhtmltooltip

View File

@ -13,4 +13,47 @@
border:none;
margin:0px;
padding:0px;
}
#tdAppbox,#divAppboxHeader,#divSubContainer,#divAppbox {
border: none;
text-align: left;
}
/* all tables */
table {
border-collapse: collapse;
}
/* cells in nextmatch/list rows */
.th td,.row_on td,.row_off td{
border-left: thin black solid;
border-right: thin black solid;
padding: 1mm;
}
/* nextmatch/list rows */
tr.row_on,tr.row_off{
border-bottom: thin black dashed;
}
/* nextmatch/list headers */
tr.th {
border-bottom: thin black solid;
}
tr.th td {
font-weight: bold;
}
/* cell in tables in nextmatch/list cells */
.th table td,.row_on table td,.row_off table td {
border: none;
padding-left: 0mm;
padding-top: 0mm;
}
/* show links as regular text */
a,a:link,a:visited,a:hover {
font-style: none;
color: black;
}

View File

@ -4,6 +4,8 @@
.row_off { color: {row_text}; background-color: {row_off}; }
.th { color: {th_text}; background-color: {th_bg}; }
.narrow_column { width: 1%; white-space: nowrap; }
@media screen { .onlyPrint { display: none; } }
@media print { .noPrint { display: none; } }
{app_css}
-->
</style>

View File

@ -4,6 +4,8 @@
.row_off { color: {row_text}; background-color: {row_off}; }
.th { color: {th_text}; background-color: {th_bg}; }
.narrow_column { width: 1%; white-space: nowrap; }
@media screen { .onlyPrint { display: none; } }
@media print { .noPrint { display: none; } }
{app_css}
-->