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
This commit is contained in:
parent
c5e96f594b
commit
374f89e721
2 changed files with 16 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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"}
|
||||
|
|
Loading…
Reference in a new issue