From d38236ed40489bd140e2f9a89d822f927e5b5d92 Mon Sep 17 00:00:00 2001 From: Michael RICOIS Date: Wed, 20 Nov 2013 14:18:02 +0000 Subject: [PATCH] issue #0000043 : Update print style with page-break --- data/pages/themes/default/styles/main.css | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/data/pages/themes/default/styles/main.css b/data/pages/themes/default/styles/main.css index e972119c3..f3bce1b57 100644 --- a/data/pages/themes/default/styles/main.css +++ b/data/pages/themes/default/styles/main.css @@ -427,14 +427,6 @@ div.ui-state-highlight a {text-decoration: underline;} .noborder {border:0;} img {vertical-align:middle;} -@media print { - body{font-family:Verdana, Arial, sans-serif;font-size: 11px;} - #global {width:auto !important;text-align:left;} - #content {margin:5px; padding:0; width:auto; } - table {page-break-inside:avoid} - div.paragraph {page-break-inside:avoid} -} - /* Menu ----------------------------------*/ div#menu {position: absolute;width:200px;} @@ -683,4 +675,16 @@ table.greffe td.type {text-align:center;} /* text on bar */ #progressbar div.progress .text {position:absolute;text-align:center;color:white;} /* text off bar */ -#progressbar div.text {position:absolute;width:100%;height:100%;text-align:center;} \ No newline at end of file +#progressbar div.text {position:absolute;width:100%;height:100%;text-align:center;} + + +/* Print +----------------------------------*/ +@media print { + body{font-family:Verdana, Arial, sans-serif;font-size: 11px;} + #global {width:auto !important;text-align:left;} + #content {margin:0; padding:0; width:auto; } + table {page-break-inside:avoid} + div.paragraph {page-break-inside:avoid} + div#menu {diplay:none;} +}