From 015aade4ad4e255199d56579cbc3019b37a76344 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Tue, 10 Oct 2023 15:12:12 +0000 Subject: [PATCH] Bug 34119: Improve staff interface print stylesheet following redesign Content-Type: text/plain; charset=utf-8 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 --- koha-tmpl/intranet-tmpl/prog/css/print.css | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/css/print.css b/koha-tmpl/intranet-tmpl/prog/css/print.css index bf1e7722ce..05ce987531 100644 --- a/koha-tmpl/intranet-tmpl/prog/css/print.css +++ b/koha-tmpl/intranet-tmpl/prog/css/print.css @@ -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; } -- 2.30.2