diff --git a/ChangeLog b/ChangeLog index 06038589b..1652a55d4 100755 --- a/ChangeLog +++ b/ChangeLog @@ -16,6 +16,8 @@ $Source$ - fixed pre-select for current server (fixed type missmatch) - do not autosubmit on '(Server) ...' * css/print.css: fixed bug #1419696 'print css results in blank table output' + * tbl_printview.php, css/print.css, themes/*/css/theme_print.css.php: + fixed/cleaned printer output 2006-02-16 Marc Delisle * lang/italian: update, thanks to Luca Rebellato diff --git a/css/print.css b/css/print.css index b46bf0672..54543dce2 100644 --- a/css/print.css +++ b/css/print.css @@ -2,12 +2,68 @@ display: none; } -table, -table tr td, -table tr th { - border: 1px solid black; - border-collapse: collapse; - background-color: white; - color: black; -/* font-size: 8pt;*/ +body, table, th, td { + color: #000000; + background-color: #ffffff; + font-size: 8pt; +} + +img { + border: 0; +} + +table, th, td { + border-width: 0.1em; + border-color: #000000; + border-style: solid; +} + +table { + border-collapse: collapse; + border-spacing: 0; +} + +th, td { + padding: 0.2em; +} + +th { + font-weight: bold; + background-color: #e5e5e5; +} + +@media print { + .print_ignore { + display: none; + } + + body, table, th, td { + color: #000000; + background-color: #ffffff; + font-size: 8pt; + } + + img { + border: 0; + } + + table, th, td { + border-width: 1px; + border-color: #000000; + border-style: solid; + } + + table { + border-collapse: collapse; + border-spacing: 0; + } + + th, td { + padding: 0.2em; + } + + th { + font-weight: bold; + background-color: #e5e5e5; + } } \ No newline at end of file diff --git a/themes/darkblue_orange/css/theme_print.css.php b/themes/darkblue_orange/css/theme_print.css.php index 2631fce79..4ae50818c 100644 --- a/themes/darkblue_orange/css/theme_print.css.php +++ b/themes/darkblue_orange/css/theme_print.css.php @@ -1,40 +1,30 @@ /* For printview */ -body{ - font-family: Verdana, Arial, Helvetica, sans-serif; - font-size: 10px; +body, table, th, td { color: #000000; background-color: #ffffff; + font-size: 8pt; } -body * { - font-family: inherit; - font-size: inherit; + +img { + border: 0; } -h1{ - font-size: 160%; - font-weight: bold; - color: #000000; -} -table{ - border-width: 1px; + +table, th, td { + border-width: 0.1em; border-color: #000000; border-style: solid; +} + +table { border-collapse: collapse; border-spacing: 0; } -th{ + +th, td { + padding: 0.2em; +} + +th { font-weight: bold; - color: #000000; background-color: #e5e5e5; - border-width: 1px; - border-color: #000000; - border-style: solid; - padding: 2px; -} -td{ - color: #000000; - background-color: #ffffff; - border-width: 1px; - border-color: #000000; - border-style: solid; - padding: 2px; } diff --git a/themes/original/css/theme_print.css.php b/themes/original/css/theme_print.css.php index d0de98321..4ae50818c 100644 --- a/themes/original/css/theme_print.css.php +++ b/themes/original/css/theme_print.css.php @@ -1,41 +1,30 @@ /* For printview */ -body{ - font-family: Verdana, Arial, Helvetica, sans-serif; - font-size: 10px; +body, table, th, td { color: #000000; background-color: #ffffff; + font-size: 8pt; } -h1{ - font-family: Verdana, Arial, Helvetica, sans-serif; - font-size: 16px; - font-weight: bold; - color: #000000; + +img { + border: 0; } -table{ - border-width: 1px; + +table, th, td { + border-width: 0.1em; border-color: #000000; border-style: solid; +} + +table { border-collapse: collapse; border-spacing: 0; } -th{ - font-family: Verdana, Arial, Helvetica, sans-serif; - font-size: 10px; + +th, td { + padding: 0.2em; +} + +th { font-weight: bold; - color: #000000; background-color: #e5e5e5; - border-width: 1px; - border-color: #000000; - border-style: solid; - padding: 2px; -} -td{ - font-family: Verdana, Arial, Helvetica, sans-serif; - font-size: 10px; - color: #000000; - background-color: #ffffff; - border-width: 1px; - border-color: #000000; - border-style: solid; - padding: 2px; }