2019-07-18 14:22:11 +00:00
|
|
|
//
|
|
|
|
// Misc: Print
|
|
|
|
//
|
|
|
|
|
2015-10-31 21:00:16 +00:00
|
|
|
@media print {
|
|
|
|
//Add to elements that you do not want to show when printing
|
|
|
|
.no-print {
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
//Elements that we want to hide when printing
|
|
|
|
.main-sidebar,
|
|
|
|
.main-header,
|
|
|
|
.content-header {
|
|
|
|
@extend .no-print;
|
|
|
|
}
|
|
|
|
|
|
|
|
//This is the only element that should appear, so let's remove the margins
|
|
|
|
.content-wrapper,
|
|
|
|
.main-footer {
|
2019-06-28 08:02:07 +00:00
|
|
|
@include translate(0, 0);
|
2015-10-31 21:00:16 +00:00
|
|
|
margin-left: 0 !important;
|
|
|
|
min-height: 0 !important;
|
|
|
|
}
|
|
|
|
|
2016-01-16 16:27:23 +00:00
|
|
|
.layout-fixed .content-wrapper {
|
2015-10-31 21:00:16 +00:00
|
|
|
padding-top: 0 !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
//Invoice printing
|
|
|
|
.invoice {
|
|
|
|
border: 0;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
2019-06-28 08:02:07 +00:00
|
|
|
width: 100%;
|
2015-10-31 21:00:16 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.invoice-col {
|
|
|
|
float: left;
|
|
|
|
width: 33.3333333%;
|
|
|
|
}
|
|
|
|
|
|
|
|
//Make sure table content displays properly
|
|
|
|
.table-responsive {
|
|
|
|
overflow: auto;
|
2019-06-28 08:02:07 +00:00
|
|
|
|
2015-10-31 21:00:16 +00:00
|
|
|
> .table tr th,
|
|
|
|
> .table tr td {
|
|
|
|
white-space: normal !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|