1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-08-04 21:15:24 +02:00

Improve Print & PDF rendering

Tweaked CSS for more compact format utilizing print real estate.
This commit is contained in:
sauls8t 2018-03-24 14:42:35 +00:00
parent 3e1ee64e6f
commit c3c4e9820e
5 changed files with 712 additions and 679 deletions

View file

@ -77,7 +77,6 @@ $link-decoration: none;
$link-hover-color: darken($link-color, 15%) !default;
$link-hover-decoration: none;
//
// Bootstrap includes
//
@ -102,6 +101,7 @@ $link-hover-decoration: none;
@import "node_modules/bootstrap/scss/tables";
@import "node_modules/bootstrap/scss/badge";
// Boostrap overrides
.modal-80 {
max-width: 80% !important;

View file

@ -41,6 +41,9 @@
min-height: initial !important;
-webkit-print-color-adjust: exact;
overflow: hidden;
margin: 0 !important;
padding: 0 !important;
min-width: 768px !important;
}
.non-printable,
@ -66,21 +69,51 @@
}
.document-heading {
text-align: center !important;
padding: 20px 20px 20px 20px !important;
text-align: left !important;
padding: 0 !important;
margin-bottom: 40px !important;
border: 3px solid #eeeeee !important;
background-color: $color-off-white !important;
color: #000000;
}
.doc-title {
margin: 20px 0 10px 0 !important;
margin: 0 !important;
padding: 0 !important;
font-size: 18px !important;
color: #000000 !important;
}
.doc-excerpt {
margin: 0 !important;
padding: 0 !important;
color: #464545 !important;
}
.wysiwyg {
font-size: 15px;
line-height: 25px;
color: #000000;
font-size: 15px !important;
line-height: 22px !important;
color: #000000 !important;
h1 { font-size: 22px; color: #000000 !important; }
h2 { font-size: 20px; color: #000000 !important; }
h3 { font-size: 18px; color: #000000 !important; }
h4 { font-size: 17px; color: #000000 !important; }
h5 { font-size: 16px; color: #000000 !important; }
h6 { font-size: 16px; color: #000000 !important; }
}
.page-title {
font-size: 20px !important;
color: #000000 !important;
}
.container {
width: auto !important;
min-width: 100% !important;
margin: 0 !important;
padding: 0 !important;
}
[class*="col-"] {
float: left !important;
width: 100% !important;
}
}