Ryan Hendrickson
91cbc185da
Add scrolling modes to web viewer
...
In addition to the default scrolling mode (vertical), this commit adds
horizontal and wrapped scrolling, implemented primarily with CSS.
2018-05-14 23:10:32 -04:00
Wojciech Maj
dbb0e88bc1
Clean up browser-specific CSS
2018-04-04 00:25:12 +02:00
Yury Delendik
18e1f3d29b
Ensure canvas is really hidden when used with pdfjs-dist.
...
Avoids black background flickering in such examples as components/simpleviewer.html
2017-06-20 14:45:07 -05:00
Yury Delendik
5f883d763f
Better components examples.
2016-04-28 13:30:03 -05:00
Jonas Jenwald
3079dd937f
Remove a superfluous "s" in AnnotationsLayerBuilder
from files in web/
...
This patch makes the naming consistent with the `TextLayerBuilder`, and also the new `AnnotationLayer`, and should thus help reduce possible confusion when working with the code.
Please note that the files were renamed using `git mv`, in order to preserve blame.
2015-12-18 19:55:54 +01:00
Jonas Jenwald
d9975ea778
Move annotation related CSS rules from pdf_viewer.css to its own file
...
This is similar to the already existing, separate, CSS file used for the `textLayer`, and it's necessary in order for the `pageviewer` components example to actually show annotations correctly.
2015-07-06 16:37:33 +02:00
Jonas Jenwald
601bd4a930
Preface all "fullscreen" CSS rules with a |pdfPresentationMode| class, and add it to the |viewerContainer| while Presentation Mode is active
2015-04-21 16:28:50 +02:00
Jonas Jenwald
4a3b0d9c64
Add a |PDFViewer| option to remove the border shadow around pages (issue 5559)
2015-03-16 12:28:28 +01:00
Tim van der Meij
c67ad28673
Remove unused annotation highlight div
...
This is now done using CSS. For annotation-heavy documents this change makes the DOM much lighter.
2014-12-21 17:38:22 +01:00
Yury Delendik
70a0935737
Move text_layer_builder and pdf_viewer styles out
2014-09-30 10:48:29 -05:00