Get mail print working for idot and pixelegg templates

This commit is contained in:
Hadi Nategh 2014-04-17 15:10:16 +00:00
parent 6b7b6fac58
commit 826e35ffac
3 changed files with 28 additions and 11 deletions

View File

@ -682,15 +682,18 @@ div.mailPreviewHeaders #mail-index_previewAttachmentArea.visible {
.tmpPrintDiv {
margin-top: 10px;
margin-bottom: 30px;
display: block;
overflow: visible;
height: auto;
}
.mailDisplayContainer {
border: none;
overflow: visible;
position: static;
overflow: visible !important;
position: static !important;
}
.mailDisplayAttachments{
border: none;
position: inherit;
position: inherit !important;
}
.et2_button {
display: none;

View File

@ -675,17 +675,21 @@ div.mailPreviewHeaders #mail-index_previewAttachmentArea.visible {
.tmpPrintDiv {
margin-top: 10px;
margin-bottom: 30px;
display: block;
overflow: visible;
height: auto;
}
.mailDisplayContainer {
border: none;
overflow: visible;
position: static;
overflow: visible !important;
position: static !important;
}
.mailDisplayAttachments,
#mail-display_mail_displayattachments {
display: none;
.mailDisplayAttachments {
border: none;
position: inherit;
position: inherit !important;
}
.et2_button {
display: none;
}
}
#popupMainDiv {

View File

@ -7,7 +7,7 @@
@media print {
#divLogo,#divAppIconBar,#tdSidebox,#divStatusBar,#sideboxdragarea,.noPrint,#topmenu {
#divLogo,#divAppIconBar,#tdSidebox,#divStatusBar,#sideboxdragarea,.noPrint,#topmenu, #egw_message {
display:none;
}
@ -24,6 +24,9 @@
#divAppboxHeader {
background: none;
}
.et2_toolbar div {
display: none;
}
/* all tables */
table {
@ -82,4 +85,11 @@ input, select, textarea {
color: black;
}
} /* @media print */
} /* @media print */
@media screen {
.tmpPrintDiv {
display: none;
height: auto;
}
}