1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-24 07:39:43 +02:00

better print/pdf output rendering

This commit is contained in:
Harvey Kandola 2017-10-13 12:07:19 -04:00
parent cb6dce9613
commit 5ad905a576
3 changed files with 651 additions and 653 deletions

File diff suppressed because one or more lines are too long

View file

@ -39,6 +39,7 @@
position: relative !important;
height: initial !important;
min-height: initial !important;
-webkit-print-color-adjust: exact;
}
.non-printable,
@ -55,8 +56,9 @@
.start-button,
.is-a-tab,
.document-toolbar,
#document-category-button,
#document-tag-button,
.document-space,
.document-category,
.document-tags,
.new-section-wizard {
float: none !important;
display: none !important;
@ -66,15 +68,30 @@
z-index: 0 !important;
}
.document-category {
margin-left: 0 !important;
}
.non-printable-message,
.print-title {
display: block !important;
}
.document-heading {
text-align: center !important;
padding: 20px 20px 20px 20px !important;
margin-bottom: 40px !important;
border: 3px solid #eeeeee !important;
background-color: $color-off-white !important;
}
.doc-title {
margin: 20px 0 10px 0 !important;
}
.doc-excerpt {
margin: 0 !important;
}
.wysiwyg {
font-size: 15px;
line-height: 25px;
color: $color-black;
}
#wrapper {
padding: 0 !important;
margin: 0 !important;
@ -118,12 +135,6 @@
float: initial !important;
overflow-x: initial !important;
.document-heading {
.doc-title {
margin: 20px 0 10px 0 !important;
}
}
.document-view {
padding: 0 !important;
margin: 0 !important;
@ -151,10 +162,4 @@
}
}
}
.wysiwyg {
font-size: 15px;
line-height: 25px;
color: $color-black;
}
}

View file

@ -1,11 +1,4 @@
.zone-document-content {
> .document-header-zone {
// padding: 20px 30px;
// @include border-radius(3px);
// border: 1px solid $color-stroke;
// background-color: $color-off-white;
}
.doc-title {
font-size: 2rem;
margin: 50px 0 10px;