aboutsummaryrefslogtreecommitdiffhomepage
path: root/assets/default/scss
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2019-05-08 12:09:06 +0200
committerArthurHoaro <arthur@hoa.ro>2019-05-08 12:17:52 +0200
commit374f89e721047bb983d3c3270e73b2ffe8d9d079 (patch)
tree28667f81592141a1a5feb3d1afff3c86010efb49 /assets/default/scss
parentc5e96f594be42110ccbff9b1550d8e32587ae1a2 (diff)
downloadShaarli-374f89e721047bb983d3c3270e73b2ffe8d9d079.tar.gz
Shaarli-374f89e721047bb983d3c3270e73b2ffe8d9d079.tar.zst
Shaarli-374f89e721047bb983d3c3270e73b2ffe8d9d079.zip
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
Diffstat (limited to 'assets/default/scss')
-rw-r--r--assets/default/scss/shaarli.scss14
1 files changed, 14 insertions, 0 deletions
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 {
1611 white-space: nowrap; 1611 white-space: nowrap;
1612 } 1612 }
1613} 1613}
1614
1615// Print rules
1616@media print {
1617 .shaarli-menu {
1618 position: absolute;
1619 }
1620
1621 .search-linklist,
1622 .link-count-block,
1623 .linklist-item-infos-controls-group,
1624 .mobile-buttons {
1625 display: none;
1626 }
1627}