Bug 34119: Improve staff interface print stylesheet following redesign

This patch makes some updates to the staff interface print stylesheet in
order to make it work better following the staff interface redesign.

To test, apply the patch and clear your browser cache if necessary.

In the staff client, go to various pages and view the print preview. The
print view should exclude the header navigation, header search, page
toolbars and page sidebars.

- Pages with tabbed displays should show content from all tabs: e.g.
  bibliographic details, MARC editor.
- In Reports, check that report results print well.
- Pages with DataTables should print with table information visible but
  table controls hidden.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit c8748cd289)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
Owen Leonard 2023-10-10 15:12:12 +00:00 committed by Fridolin Somers
parent dad427b2d6
commit b95cde78ba

View file

@ -148,11 +148,17 @@ th {
text-align: left;
}
td:first-child,
th:first-child {
border-left: 0;
}
td:last-child,
th:last-child {
background-color: #E9E9E9;
border-bottom: 1px solid #CCCCCC;
border-left: 0;
border-right: 0 solid #CCCCCC;
border-right: 0;
border-top: 0;
font-size: 14px;
font-weight: bold;
@ -316,15 +322,19 @@ form#sortbyform,
fieldset.action,
.list-actions,
.print,
.ui-tabs-nav,
.browse-controls,
.cart-controls,
button.dt-button {
display: none;
button.dt-button,
.navbar,
.nav-tabs,
#sub-header,
[class*="_table_controls"],
.pager,
aside {
display: none !important;
}
.ui-tabs .ui-tabs-panel,
.ui-tabs .ui-tabs-hide {
.tab-content > .tab-pane {
display: block !important;
}