diff --git a/phpgwapi/templates/default/css.tpl b/phpgwapi/templates/default/css.tpl index 637ad8d53c..4f9fc8f834 100755 --- a/phpgwapi/templates/default/css.tpl +++ b/phpgwapi/templates/default/css.tpl @@ -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} --> diff --git a/phpgwapi/templates/idots/css.tpl b/phpgwapi/templates/idots/css.tpl index 1e679bc6f6..dbb71e3e23 100755 --- a/phpgwapi/templates/idots/css.tpl +++ b/phpgwapi/templates/idots/css.tpl @@ -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 diff --git a/phpgwapi/templates/idots/print.css b/phpgwapi/templates/idots/print.css index 486320113c..3fbbba38a9 100644 --- a/phpgwapi/templates/idots/print.css +++ b/phpgwapi/templates/idots/print.css @@ -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; } \ No newline at end of file diff --git a/phpgwapi/templates/jerryr/css.tpl b/phpgwapi/templates/jerryr/css.tpl index ed287159fd..d1e0eca54f 100755 --- a/phpgwapi/templates/jerryr/css.tpl +++ b/phpgwapi/templates/jerryr/css.tpl @@ -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} --> diff --git a/phpgwapi/templates/prisma/css.tpl b/phpgwapi/templates/prisma/css.tpl index eeaa5a2523..f68f333563 100755 --- a/phpgwapi/templates/prisma/css.tpl +++ b/phpgwapi/templates/prisma/css.tpl @@ -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} -->