1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-20 05:39:42 +02:00
documize/gui/app/styles/print.scss

85 lines
1.7 KiB
SCSS
Raw Normal View History

2016-07-07 18:54:16 -07:00
// Copyright 2016 Documize Inc. <legal@documize.com>. All rights reserved.
//
// This software (Documize Community Edition) is licensed under
// GNU AGPL v3 http://www.gnu.org/licenses/agpl-3.0.en.html
//
// You can operate outside the AGPL restrictions by purchasing
// Documize Enterprise Edition and obtaining a commercial license
// by contacting <sales@documize.com>.
//
// https://documize.com
@media print {
2017-04-03 16:34:42 +01:00
@page {
size: 8.5in 11in;
margin: 20mm;
@top-right {
font-size: 12px;
content: string(doctitle);
color: $color-off-black;
}
@bottom-left {
font-size: 12px;
content: 'Exported from Documize';
color: $color-off-black;
}
@bottom-right {
content: counter(page);
font-size: 12px;
color: $color-off-black;
}
}
html, body {
background-color: transparent !important;
max-width: none !important;
float: none !important;
position: relative !important;
height: initial !important;
min-height: initial !important;
2017-10-13 12:07:19 -04:00
-webkit-print-color-adjust: exact;
2018-01-24 13:23:11 +00:00
overflow: hidden;
2017-04-03 16:34:42 +01:00
}
2016-11-05 14:53:44 -07:00
.non-printable,
2017-10-05 11:41:53 -04:00
.document-toolbar,
2017-12-19 14:27:17 +00:00
.document-toc,
.tabnav-control,
#nav-bar,
2018-01-24 13:23:11 +00:00
.page-toolbar,
.new-section-wizard {
2017-04-03 16:34:42 +01:00
float: none !important;
2016-07-07 18:54:16 -07:00
display: none !important;
margin: 0 !important;
2017-04-03 16:34:42 +01:00
padding: 0 !important;
width: 0 !important;
z-index: 0 !important;
}
.non-printable-message,
.print-title {
display: block !important;
2016-07-07 18:54:16 -07:00
}
2017-10-13 12:07:19 -04:00
.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;
2017-12-19 14:27:17 +00:00
color: #000000;
}
2016-07-07 18:54:16 -07:00
}