Commit Graph

261 Commits

Author SHA1 Message Date
Tim van der Meij
a68375c48e Merge pull request #3739 from Snuffleupagus/bug-921162
Add the viewBookmark button to the Secondary Toolbar
2013-10-04 13:16:38 -07:00
Brendan Dahl
17a953c7b3 Merge pull request #3643 from Snuffleupagus/issue-3423
Change the cursor so that text selection doesn't appear possible in presentation mode
2013-10-01 13:27:19 -07:00
Jonas Jenwald
b148c9cb51 Add the viewBookmark button to the secondary toolbar 2013-09-27 11:51:32 +02:00
Jonas Jenwald
9fcb1a9e40 Merge pull request #3671 from Rob--W/toolbar-layout-fix
Fix layout of main toolbar
2013-09-26 07:55:52 -07:00
Tim van der Meij
63233fa8c2 Improved password prompt 2013-09-24 17:46:54 +02:00
mark-5
866186dcaa dont display file input when printing
closes #2464
2013-09-20 19:08:41 -04:00
Tim van der Meij
67e4c03786 Improvements for RTL languages 2013-09-14 19:33:00 +02:00
Rob Wu
d45d622354 Fix layout of main toolbar
Before this commit there were two main issues:

- In small windows, the zoom controls visually floated above the page number
  (e.g. 733px).
- In small windows, the (transparent) zoom container covered the go-to-page
  input box, which prevented one from using the input field to quickly navigate
  to a different page.
2013-09-11 18:56:10 +02:00
Thor Larholm
3c2d079c42 Fixed review notes: Adding specificity and removing redundant declaration 2013-09-10 22:17:40 +02:00
Thor Larholm
0f07d8ad55 Squashed: Added basic support for presentationMode in IE11 2013-09-10 21:40:14 +02:00
Tim van der Meij
14912b5a03 Annotation selection 2013-09-05 23:19:04 +02:00
Jonas
afbff781a7 Change the cursor so that text selection doesn't appear possible in presentation mode 2013-09-05 00:18:36 +02:00
Tim van der Meij
3c0ac37292 Secondary toolbar 2013-09-04 23:48:31 +02:00
Brendan Dahl
b368a99f20 Merge pull request #3421 from Snuffleupagus/avoid-multiple-rendering-on-wheel-zoom
Avoid triggering rendering multiple times when zooming using the mouse wheel
2013-09-04 10:25:31 -07:00
Brendan Dahl
d00157d3ab Merge pull request #3587 from debloper/master
Stripping down some CSS prefixes [#868160]
2013-08-26 12:59:32 -07:00
Jonas
8630e29054 Avoid triggering rendering multiple times when zooming using the mouse wheel 2013-08-26 21:00:35 +02:00
Brendan Dahl
427dd3948b Merge pull request #3569 from yurydelendik/bug900193
Fixes canvas alignment for small scale...
2013-08-26 10:52:47 -07:00
Soumya Deb
de52e711f8 Unprefixing CSS as current browsers support 2013-08-16 14:18:37 +05:30
Yury Delendik
86077810b0 Fixes canvas alignment for small scale and scale adjustment after Cmd+0 2013-08-13 18:45:06 -05:00
Jonas
d031c2bd62 Prevent the loadingBar from overlaying the errorWrapper 2013-07-29 12:43:42 +02:00
Jonas
4890c5d017 Fix the positioning of the progressive loadingBar 2013-07-18 18:28:59 +02:00
Rob Wu
066dffde3c Fix printing behaviour in Chrome
Two major issues:
1. Border/shadow around every page. Removed by adding "border:none".
2. Added "overflow:visible" (overrides "overflow:auto") in #viewContainer.
   This solves two problems:
   - It prevents scrollbars from appearing.
   - Every "page" is automatically resized to fit on a printed page,
     just like the Firefox.
To see what's wrong, here's a picture of how PDF.js rendered the pdf in
 Chrome (using "Print to PDF" feature of Chrome):
 https://robwu.nl/pdfjs/pdfjs-print-with-chromium-28.pdf

Successfully tested with Chrome 28 and Firefox 22.

Solves #3445
2013-07-15 16:23:43 +02:00
Brendan Dahl
c17f90e1aa Merge pull request #3406 from Snuffleupagus/remove-old-moz-prefixes
Remove old -moz prefixed rules from viewer.css
2013-07-09 13:13:20 -07:00
Rob Wu
4a2eefe1b6 Allow scrolling by keyboard in Chrome/Opera
Set "tabindex" attribute to allow focus;
Added "outline: none" to prevent focus ring from appearing.

Fixes #3443
2013-07-06 15:37:03 +02:00
Jonas
d417ef9a39 Remove old -moz prefixed rules from viewer.css 2013-06-28 17:21:07 +02:00
Brendan Dahl
4a7bd37162 Hide canvas overflow for high dpi screens. 2013-05-30 08:17:16 -07:00
Kalervo Kujala
5e08f8039d Replace fullscreen with presentationMode 2013-05-01 09:22:17 +03:00
Brendan Dahl
b89d7272e2 Remove background when printing. 2013-04-30 14:39:57 -07:00
vyv03354
2c504120b8 Fixes the unprefixed gradient declaration 2013-04-30 20:24:01 +09:00
Yury Delendik
2a320f851e Merge branch 'vyv03354/unprefix_gradient'
Conflicts:
	web/viewer.css
2013-04-29 22:06:59 -05:00
Mack Duan
ef423ef30c Implement progressive loading of PDFs 2013-04-12 16:13:22 -07:00
Jakob Miland
6b4f72a2c3 Disable outline button when unavailable 2013-04-11 18:27:35 +02:00
vyv03354
36ea87af38 Remove prefixed gradients usage 2013-04-07 20:57:14 +09:00
Yury Delendik
884b2dc9e4 Merge pull request #3022 from Rob--W/css-button-fix
Explicitly define layout of toolbar buttons
2013-04-03 11:19:35 -07:00
Rob Wu
5328b461ee Explicitly define layout of toolbar buttons
Before:

- Firefox's buttons looks OK
- Chrome (quirks mode): Buttons were aligned to the bottom (too much)
- Chrome (standards mode): Buttons were aligned to the top (too much)
- Opera/IE/Safari: Like Chrome (standards): Buttons too high

(Too high = Compare the other buttons to the rightmost button)

After:

- Firefox's button positions didn't change at all
- All buttons are aligned at the same level, across all browsers
2013-04-03 19:17:08 +02:00
Jonas
e081c764af Tweak external links in fullscreen mode - follow up on #2712 2013-03-25 17:50:49 +01:00
Jonas
83c09f27cc Fix bug 795225 - address comment 2013-03-18 23:53:45 +01:00
Yury Delendik
85ddd9405a Replacing page shadow with image; removing some profixed styles 2013-03-03 09:38:38 -06:00
waddlesplash
d0864f766b CSS fixes to the sidebar.
No need for a 15px margin, and links should have a pointer cursor.
2013-02-28 17:02:09 -05:00
Yury Delendik
7ca99df0d7 Merge pull request #2816 from Snuffleupagus/zoom-select-adjust-followup
Resize the zoom box width to fit the content - fix embedding
2013-02-28 08:25:44 -08:00
waddlesplash
322709257d Spacing fixes. 2013-02-27 12:53:14 -05:00
waddlesplash
b5dadab5c7 Add "cursor: text;" to textLayer div CSS.
Fixes problem caused by e4e4b1ab4e.
2013-02-26 14:18:11 -05:00
Jonas
0bde16a0a0 Resize the zoom box width to fit the content - fix embedding - address comments 2013-02-26 18:46:50 +01:00
Yury Delendik
3b506bd294 Merge pull request #2805 from brendandahl/no-hide-download
Don't hide the download/print buttons when view is small.
2013-02-25 17:11:48 -08:00
Brendan Dahl
60edfce733 Don't hide the download/print buttons when view is small. 2013-02-25 16:53:54 -08:00
Brendan Dahl
a13f7964b1 Merge pull request #2686 from vyv03354/bug770409
Implement vertical writing
2013-02-25 12:47:47 -08:00
waddlesplash
9ec51d89bd Fixes to findbar CSS. 2013-02-22 12:52:05 -05:00
vyv03354
c5b8ee6a91 Implements vertical writing 2013-02-15 03:53:34 +09:00
Snuffleupagus
c2e2afdd59 Prevent text selection divs from overflowing page boundries 2013-02-07 12:13:25 +01:00
Snuffleupagus
e08e326a67 Automatically resize the zoom box width to fit the content 2013-01-26 22:17:37 +01:00
Snuffleupagus
d3836c0173 Fixes the Outline view in RTL languages, follow up of #2510 2012-12-28 13:26:30 +01:00
Snuffleupagus
727505b85d Add word wrap of text in the Outline view to avoid horizontal scrolling 2012-12-27 18:58:09 +01:00
Daniel Johansson
097c3cf8b1 Fix margin on toolbar button separator to avoid changing height on hover, causing jittering 2012-12-14 22:24:28 +01:00
Brendan Dahl
11175ba6fe Minor css tweaks for small viewer and aligning borders. 2012-10-29 14:35:07 -07:00
waddlesplash
ceee2c4d04 Make the comments look nicer & fix a linebreak bug. 2012-10-24 10:52:14 -04:00
Saebekassebil
75af308b38 Fix annotation clipping 2012-10-22 18:00:37 +02:00
Yury Delendik
391b5b0244 Moving fullscreen top border few pixels up 2012-10-10 22:41:28 -05:00
Yury Delendik
da73934baf Fixes fit-page and fullscreen 2012-10-10 22:12:47 -05:00
Yury Delendik
be779c2ec7 Hides cursor in presentation mode 2012-10-10 19:32:48 -05:00
Brendan Dahl
4734cd8198 Change status attribute name. 2012-10-10 15:46:04 -07:00
Brendan Dahl
c3debc6ee0 Delay extracting text until first find event. 2012-10-10 13:58:14 -07:00
Yury Delendik
ade5f96787 Add pilot find next/prev icons; localization 2012-10-05 19:15:06 -05:00
Yury Delendik
92770fdd84 Minor CSS fixed for find bar 2012-10-05 10:47:58 -05:00
Brendan Dahl
dd0cb37f38 Add some door hanger styling for the find bar 2012-09-28 12:30:07 -07:00
Brendan Dahl
38193b1887 Update the find bar ui status. 2012-09-28 11:18:45 -07:00
Artur Adib
6090b3edf9 colors closer to FF's, add highlightAll support 2012-09-27 12:21:04 -04:00
Artur Adib
1ec2e2a1a2 remove old unused code 2012-09-26 16:38:02 -04:00
Artur Adib
6864a07221 Use "find" instead of both find & search 2012-09-25 16:17:27 -04:00
Julian Viereck
da57e0f89e Julian's html-search-bar work 2012-09-25 14:48:05 -04:00
Julian Viereck
58ed7fc35c Make the textLayer divs prevent whitespaces 2012-09-20 17:08:42 +02:00
gigaherz
bbcb05af7b Implement page rotation controls using keyboard (R/shift-R) and context menu. 2012-09-08 01:05:14 +02:00
Yury Delendik
a9026f0a6c Changes thumbs and outline panels positioning to absolute 2012-09-05 10:31:23 -05:00
Brendan Dahl
332ae4ce41 Change to the Apache v2 license. 2012-08-31 15:48:21 -07:00
Yury Delendik
72bb0f5a45 Add top padding for full screen mode 2012-08-27 12:46:26 -05:00
Yury Delendik
1cbbb37fbc Making webkit fullscreen work as for moz 2012-08-27 10:57:40 -05:00
Yury Delendik
cd1a645881 Adds support of the indeterminate loading progress 2012-08-22 10:48:56 -05:00
Yury Delendik
c02e539e35 Adds textlayer debug modes 2012-08-19 20:02:12 -05:00
Brendan Dahl
78e7d531b2 Merge pull request #1942 from gigaherz/opera-dropdown-background
Workaround Opera background style in <select> element.
2012-08-01 13:16:15 -07:00
gigaherz
d9ea503399 Workaround Opera not supporting 'transparent' background style in <select> element. 2012-07-31 10:48:52 +02:00
Saebekassebil
8544101970 Add fullscreen image, and fix last page artifact 2012-07-30 20:15:48 +02:00
Saebekassebil
dacdbaa978 Correct l10n and address yury's comments 2012-07-30 17:58:34 +02:00
Saebekassebil
7a147c0091 Revert mistakes in css 2012-07-30 17:52:29 +02:00
Saebekassebil
39d3ea862b Initial support for Presentation Mode 2012-07-30 17:12:49 +02:00
Brendan Dahl
d32906adc4 Add back basic printing support for non-moz browsers.
Shadow/cache supports browsing.
Destroy pages on error and only abort if supported.
2012-07-12 10:31:20 -07:00
Brendan Dahl
7e5a9b7a39 Adds support for the new mozPrintCallback api. 2012-07-09 10:41:52 -07:00
Brendan Dahl
8b0fd2a8f9 Merge upstream. 2012-06-19 09:02:23 -07:00
Brendan Dahl
6a751a9acb Merge pull request #1823 from msujaws/patch-1
PDF.js should use a consistent font for its user interface
2012-06-18 08:46:41 -07:00
Jared Wein
c3c01d10b3 message-box needs to use the font property, not the font-family property. 2012-06-13 10:47:46 -07:00
Jared Wein
cba8d992fc Added |button| to the list of elements that message-box should be applied to. 2012-06-13 02:27:22 -07:00
Jared Wein
ced219c12f Switch to using message-box for the body and form elements in the UI of PDF.js. This will use the system's native UI font for each platform as well as fix the current inconsistency between the font of the text label for total page count and the text inside of the input element for current page number. 2012-06-13 02:15:31 -07:00
Steffen Märcker
3b14930eec added missing css vendor prefixes and reordered some properties according to cascade 2012-06-11 11:10:33 +02:00
Brendan Dahl
cebee4026d UI update from shorlanders comments. 2012-06-07 13:51:29 -07:00
Artur Adib
277c127921 Merge pull request #1743 from yurydelendik/mobile-1
Add viewport metatag for mobile
2012-06-04 14:34:02 -07:00
Artur Adib
2a962f2c97 merging upstream 2012-05-29 12:16:57 -04:00
Artur Adib
9597efb3f4 merge upstream 2012-05-29 11:54:11 -04:00
Yury Delendik
dc09e164da Merge remote-tracking branch 'mozilla/master' into print-visible
Conflicts:
	web/viewer.css
2012-05-25 07:38:50 -05:00
Yury Delendik
902a2a9f03 Hide page label and zoom selector 2012-05-23 17:10:53 -05:00
Yury Delendik
74616848ca Merge remote-tracking branch 'mozilla/master' into textsearch
Conflicts:
	l10n/en-US/viewer.properties
	web/viewer.html
2012-05-21 14:07:30 -05:00
Yury Delendik
a4f319104b Don't print toolbar and not loaded pages 2012-05-21 13:08:42 -05:00
Yury Delendik
609b2a797e Merge remote-tracking branch 'mozilla/master' into textsearch
Conflicts:
	l10n/en-US/viewer.properties
	web/viewer.html
2012-05-21 11:32:16 -05:00