Age | Commit message (Collapse) | Author |
|
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
|
|
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
|
|
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
|
|
When the PDF is rendered PDFViewer creates canvases with the contents of
the pages and, in front of them, it creates too a layer with HTML text
elements that makes possible to select it. That text layer is used too
by the search function to highlight the results, so it can not be
removed. Instead of that the selection of the text is prevented using
CSS.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
|
|
Even if printing was not possible using the PDFViewer printing services
it was still possible to print the PDF document by printing the web page
from the browser. As that can not be really prevented the best that can
be done is hide all the content in the printed media using CSS.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
|
|
The PDF viewer remembers whether the PDF sidebar was open or closed for
each PDF file the last time it was viewed. Thus, when the PDF file is
rendered in a thumbnail the sidebar must be explicitly hidden to ensure
that it will never be shown.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
|
|
Hide footer in public share page
|
|
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
|
|
The footer in the public share page is hidden by adding the "hidden" CSS
class to the footer. However, the CSS rules for the footer defined in
the server are more specific than the general rule for ".hidden"
elements, which caused the footer to be shown even if marked as
".hidden". Now a more specific rule was added to override the ones from
the server and ensure that the footer is hidden.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
|
|
The PDF frame is a direct child of "#content" that fills the whole
element. This is done using absolute positioning, so the containing box
for the PDF frame is the padding box of "#content". Thus, the same
padding used in "#content" to show it below the header must be used in
the PDF frame too (otherwise the PDF frame would appear behind the
header).
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
|
|
Signed-off-by: Robin Appelman <robin@icewind.nl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
deleted: img/toolbarButton-secondaryToolbarClose.png
new file: img/toolbarButton-secondaryToolbarClose.svg
deleted: img/toolbarButton-secondaryToolbarClose@2x.png
|
|
new file: img/toolbarButton-secondaryToolbarClose.png
new file: img/toolbarButton-secondaryToolbarClose@2x.png
modified: js/previewplugin.js
modified: templates/viewer.php
|