From 374f89e721047bb983d3c3270e73b2ffe8d9d079 Mon Sep 17 00:00:00 2001 From: ArthurHoaro Date: Wed, 8 May 2019 12:09:06 +0200 Subject: Add print CSS rules to the default template Fixes #1291 * Display the header bar only on the first page * Hide search bars, pagination buttons, filters, and edit/delete buttons --- assets/default/scss/shaarli.scss | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'assets') diff --git a/assets/default/scss/shaarli.scss b/assets/default/scss/shaarli.scss index a529f01c..90000750 100644 --- a/assets/default/scss/shaarli.scss +++ b/assets/default/scss/shaarli.scss @@ -1611,3 +1611,17 @@ form { white-space: nowrap; } } + +// Print rules +@media print { + .shaarli-menu { + position: absolute; + } + + .search-linklist, + .link-count-block, + .linklist-item-infos-controls-group, + .mobile-buttons { + display: none; + } +} -- cgit v1.2.3