From de307f83ec9bb3cf6eb43c96b08852a0a6b9d1ed Mon Sep 17 00:00:00 2001 From: ava li Date: Tue, 19 Jan 2021 02:21:01 +0000 Subject: [PATCH] Bug 12260: Hide unnecessary links when printing TEST PLAN: try printing every page in the opac and confirm these sections don't show #cartmenulink { display: none; } #listsmenu { display: none; } #koha_url { display:none; } .breadcrumb { display:none; } a[href]:after { display:none; } #social_networks { display:none; } a.tag_add { display:none; } .results_summary.online_resources { display:none; } a#Normalview, a#MARCview, a#ISBDview { display:none; } .ui-tabs-panel { border:none !important; } #addcomment { display:none; } #ulactioncontainer { display:none; } #usermenu { display:none; } #didyoumean { display:none; } #top-pages, #bottom-pages { display:none; } #selections-toolbar { display: none; } .actions-menu { display: none; } #numresults a { display:none; } #numresults { float:left; } --- koha-tmpl/opac-tmpl/bootstrap/css/src/print.scss | 83 ++++++++++++++++++++++++ 1 file changed, 83 insertions(+) diff --git a/koha-tmpl/opac-tmpl/bootstrap/css/src/print.scss b/koha-tmpl/opac-tmpl/bootstrap/css/src/print.scss index e6f21ece42..08fb78e782 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/css/src/print.scss +++ b/koha-tmpl/opac-tmpl/bootstrap/css/src/print.scss @@ -269,3 +269,86 @@ td.resultscontrol, @page { margin: 1cm; } + +#changelanguage { + display: none; +} + +#cartmenulink { + display: none; +} + +#listsmenu { + display: none; +} + +#koha_url { + display: none; +} + +.breadcrumb { + display: none; +} + +a[href]:after { + display:none; +} + +#social_networks { + display:none; +} + +a.tag_add { + display:none; +} + +.results_summary.online_resources { + display:none; +} + +a#Normalview, +a#MARCview, +a#ISBDview { + display:none; +} + +.ui-tabs-panel { + border:none !important; +} + +#addcomment { + display:none; +} + +#ulactioncontainer { + display:none; +} + +#usermenu { + display:none; +} + +#didyoumean { + display:none; +} + +#top-pages, +#bottom-pages { + display:none; +} + +#selections-toolbar { + display: none; +} + +.actions-menu { + display: none; +} + +#numresults a { + display:none; +} + +#numresults { + float:left; +} -- 2.11.0