OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
// -------------------- Media print specific styles --------------------
@media print
// -------------------- ALL pages --------------------
.hide-when-print,
#main-menu,
#sidebar,
#footer,
.op-app-header,
.contextual,
.other-formats,
.toolbar-items,
.ui-helper-hidden-accessible,
#wiki_add_attachment
display: none !important
.op-toast:not(.show-when-print)
display: none !important
#main
background: #fff
// This counters 'overflow: auto' active in the non print version
// which will lead to only the first page being printed on some pages.
// For whatever reasons, all the pages are displayed in the print rendering emulation
// regardless of the overflow.
overflow: initial
#content-wrapper
width: 100vw
background: #fff
overflow: visible !important
#content
overflow: visible !important
&:not(.content--split)
// Otherwise content will be cut off weirdly between the pages in all browser
// and Firefox will show only the first page
display: inline-block
.autoscroll
overflow-x: visible
table.list
margin-top: 0.5em
th, td
border: 1px solid #aaa
// Show dot highlight in print
// even when bg not enabled
// not supported in all browsers
[class^="__hl_"],
[class*=" __hl_"]
print-color-adjust: exact
-webkit-print-color-adjust: exact
// Sizes from user agent stylesheet
h1
font-size: 2em
h2
font-size: 1.5em
h3
font-size: 1.17em
.-browser-firefox
#content-wrapper
// Needed to prevent an empty first page when printing in Firefox
display: inline-block
*
// Needed for Firefox only. Otherwise, background-colors (e.g. of buttons) are not correctly printed
print-color-adjust: exact