Merge pull request #1301 from ArthurHoaro/template/print-css

Add print CSS rules to the default template
This commit is contained in:
ArthurHoaro 2019-05-25 15:38:49 +02:00 committed by GitHub
commit 8ed59f107e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 16 additions and 2 deletions

View file

@ -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;
}
}

View file

@ -52,7 +52,7 @@
{/loop}
<div id="linklist">
<div id="link-count-block" class="pure-g">
<div id="link-count-block" class="pure-g link-count-block">
<div class="pure-u-lg-2-24 pure-u-1-24"></div>
<div id="link-count-content" class="pure-u-lg-20-24 pure-u-22-24">
<div class="linkcount pure-u-lg-0 center">
@ -287,7 +287,7 @@ <h2>
{/loop}
</div>
<div id="linklist-paging-bottom-block" class="pure-g">
<div id="linklist-paging-bottom-block" class="pure-g link-count-block">
<div class="pure-u-lg-2-24 pure-u-1-24"></div>
<div id="linklist-paging-bottom-content" class="pure-u-lg-20-24 pure-u-22-24">
{include="linklist.paging"}