issue #0000043 : Update print style with page-break

This commit is contained in:
Michael RICOIS 2013-11-20 14:13:48 +00:00
parent 9558971c48
commit 79b555a292

View File

@ -397,9 +397,9 @@ table {
/* Main
----------------------------------*/
body{font-family:Verdana, Arial, sans-serif;font-size:11px;}
#global {text-align:left;}
#content {padding:0;margin:0;}
body{ background-color:#bebebe;font-family: Verdana, Arial, sans-serif;font-size:11px;text-align:center; /* pour corriger le bug de centrage IE */ }
#global {width:900px; margin:0 auto; text-align:left;}
#content {float:right;clear:both;width:680px;padding:0;margin:0;padding-top:20px;}
#center {background-color:#fff;padding:5px 0;}
#footer {clear:both;text-align:center;margin-top:15px;}
#footer p {font:0.9em Arial, Helvetica, sans-serif; }
@ -425,12 +425,19 @@ input, select {border: 1px solid #999999;vertical-align: middle;font: 11px Arial
div.ui-state-highlight p {margin: 10px;}
div.ui-state-highlight a {text-decoration: underline;}
.noborder {border:0;}
img { vertical-align:middle; }
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 {display:none;}
div#menu {position: absolute;width:200px;}
div#menu .ui-widget {font-family:Arial, Sans-serif;font-size:12px;}
div#menu ul.navigation li {list-style-type:none;}
div#menu ul.navigation li a {display:block;padding:0 20px;text-decoration:none;font-weight:bold;color:#fff;height:25px;line-height:25px;background:#808080 url(/themes/default/images/menu/title.gif);}
@ -452,7 +459,6 @@ div#menu div.icones {text-align:center;margin-top:5px;}
/* Recherche
----------------------------------*/
/*#center{padding:5px;}*/
#center-recherche{text-align:center; padding:0;}
#recherche{margin:78px auto 20px auto;}
#recherche h3{color:#ffffff; font-size:medium; font-weight:bold;}
@ -671,11 +677,10 @@ table.greffe td.type {text-align:center;}
/* Kbis
----------------------------------*/
/* progress bar container */
#progressbar { border:1px solid black;width:200px;height:20px;position:relative;color:black;}
#progressbar {border:1px solid black;width:200px;height:20px;position:relative;color:black;}
/* color bar */
#progressbar div.progress {position:absolute;width:0;height:100%;overflow:hidden;background-color:#369;}
/* 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;}
#progressbar div.text {position:absolute;width:100%;height:100%;text-align:center;}