mirror of
https://github.com/documize/community.git
synced 2025-07-24 23:59:47 +02:00
[WIP] theme selector
This commit is contained in:
parent
a7e52809dc
commit
11e164496b
74 changed files with 363 additions and 38 deletions
135
gui/app/styles/core/print.scss
Normal file
135
gui/app/styles/core/print.scss
Normal file
|
@ -0,0 +1,135 @@
|
|||
// 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 {
|
||||
@page {
|
||||
size: 8.5in 11in;
|
||||
margin: 20mm;
|
||||
|
||||
@top-right {
|
||||
font-size: 12px;
|
||||
color: $color-off-black;
|
||||
// content: string(doctitle);
|
||||
}
|
||||
|
||||
@bottom-left {
|
||||
font-size: 12px;
|
||||
color: $color-off-black;
|
||||
// content: 'Exported from Documize';
|
||||
}
|
||||
|
||||
@bottom-right {
|
||||
font-size: 12px;
|
||||
color: $color-off-black;
|
||||
// content: counter(page);
|
||||
}
|
||||
}
|
||||
|
||||
html, body {
|
||||
background-color: transparent !important;
|
||||
max-width: none !important;
|
||||
float: none !important;
|
||||
position: relative !important;
|
||||
height: initial !important;
|
||||
min-height: initial !important;
|
||||
-webkit-print-color-adjust: exact;
|
||||
overflow: hidden;
|
||||
margin: 0 !important;
|
||||
padding: 0 !important;
|
||||
min-width: 768px !important;
|
||||
}
|
||||
|
||||
.non-printable,
|
||||
header,
|
||||
footer,
|
||||
.tabnav-control,
|
||||
.document-toolbar,
|
||||
.document-toc,
|
||||
.tabnav-control,
|
||||
#nav-bar,
|
||||
.page-toolbar,
|
||||
.start-section,
|
||||
.start-button,
|
||||
#top-bar,
|
||||
#sidebar,
|
||||
#sub-nav,
|
||||
.new-section-wizard {
|
||||
float: none !important;
|
||||
display: none !important;
|
||||
margin: 0 !important;
|
||||
padding: 0 !important;
|
||||
width: 0 !important;
|
||||
z-index: 0 !important;
|
||||
}
|
||||
|
||||
.non-printable-message,
|
||||
.print-title {
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
.document-heading {
|
||||
text-align: left !important;
|
||||
padding: 0 !important;
|
||||
margin-bottom: 40px !important;
|
||||
color: #000000;
|
||||
}
|
||||
.doc-title {
|
||||
margin: 0 !important;
|
||||
padding: 0 !important;
|
||||
font-size: 1.5rem !important;
|
||||
color: #000000 !important;
|
||||
}
|
||||
.doc-excerpt {
|
||||
margin: 0 !important;
|
||||
padding: 0 !important;
|
||||
color: #464545 !important;
|
||||
font-size: 1.2rem !important;
|
||||
}
|
||||
|
||||
.wysiwyg {
|
||||
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;
|
||||
}
|
||||
|
||||
.layout-body, .layout-content {
|
||||
padding: 0 !important;
|
||||
margin: 0 !important;
|
||||
display: block !important;
|
||||
flex: none !important;
|
||||
width: auto !important;
|
||||
max-width: auto !important;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue