AdminLTE/build/less/print.less

55 lines
967 B
Plaintext
Raw Normal View History

2015-03-02 23:41:16 +00:00
/*
* Misc: print
* -----------
*/
@media print {
//Add to elements that you do not want to show when printing
.no-print {
2015-09-19 18:05:54 +00:00
display: none !important;
2015-03-02 23:41:16 +00:00
}
2015-09-19 18:05:54 +00:00
2015-03-02 23:41:16 +00:00
//Elements that we want to hide when printing
.main-sidebar,
.left-side,
.main-header,
.content-header {
&:extend(.no-print);
}
2015-09-19 18:05:54 +00:00
2015-03-02 23:41:16 +00:00
//This is the only element that should appear, so let's remove the margins
.content-wrapper,
.right-side,
.main-footer {
2015-09-19 18:05:54 +00:00
margin-left: 0 !important;
min-height: 0 !important;
.translate(0, 0) !important;
2015-03-02 23:41:16 +00:00
}
2015-09-19 18:05:54 +00:00
2015-03-02 23:41:16 +00:00
.fixed .content-wrapper,
.fixed .right-side {
2015-09-19 18:05:54 +00:00
padding-top: 0 !important;
2015-03-02 23:41:16 +00:00
}
2015-09-19 18:05:54 +00:00
2015-03-02 23:41:16 +00:00
//Invoice printing
.invoice {
width: 100%;
border: 0;
margin: 0;
padding: 0;
}
2015-09-19 18:05:54 +00:00
2015-03-02 23:41:16 +00:00
.invoice-col {
float: left;
width: 33.3333333%;
}
2015-09-19 18:05:54 +00:00
2015-03-02 23:41:16 +00:00
//Make sure table content displays properly
.table-responsive {
overflow: auto;
> .table tr th,
> .table tr td {
2015-09-19 18:05:54 +00:00
white-space: normal !important;
2015-03-02 23:41:16 +00:00
}
}
2015-07-12 13:42:26 +00:00
}