pdfjs_rails 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (125) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +17 -0
  3. data/Gemfile +4 -0
  4. data/LICENSE.txt +22 -0
  5. data/README.md +37 -0
  6. data/Rakefile +1 -0
  7. data/lib/generators/pdfjs_rails/install_generator.rb +13 -0
  8. data/lib/pdfjs/build/pdf.js +7071 -0
  9. data/lib/pdfjs/build/pdf.worker.js +38687 -0
  10. data/lib/pdfjs/web/compatibility.js +471 -0
  11. data/lib/pdfjs/web/debugger.js +532 -0
  12. data/lib/pdfjs/web/images/annotation-check.svg +10 -0
  13. data/lib/pdfjs/web/images/annotation-comment.svg +15 -0
  14. data/lib/pdfjs/web/images/annotation-help.svg +25 -0
  15. data/lib/pdfjs/web/images/annotation-insert.svg +9 -0
  16. data/lib/pdfjs/web/images/annotation-key.svg +10 -0
  17. data/lib/pdfjs/web/images/annotation-newparagraph.svg +10 -0
  18. data/lib/pdfjs/web/images/annotation-note.svg +41 -0
  19. data/lib/pdfjs/web/images/annotation-paragraph.svg +15 -0
  20. data/lib/pdfjs/web/images/findbarButton-next-rtl.png +0 -0
  21. data/lib/pdfjs/web/images/findbarButton-next.png +0 -0
  22. data/lib/pdfjs/web/images/findbarButton-previous-rtl.png +0 -0
  23. data/lib/pdfjs/web/images/findbarButton-previous.png +0 -0
  24. data/lib/pdfjs/web/images/loading-icon.gif +0 -0
  25. data/lib/pdfjs/web/images/loading-small.png +0 -0
  26. data/lib/pdfjs/web/images/secondaryToolbarButton-firstPage.png +0 -0
  27. data/lib/pdfjs/web/images/secondaryToolbarButton-lastPage.png +0 -0
  28. data/lib/pdfjs/web/images/secondaryToolbarButton-rotateCcw.png +0 -0
  29. data/lib/pdfjs/web/images/secondaryToolbarButton-rotateCw.png +0 -0
  30. data/lib/pdfjs/web/images/shadow.png +0 -0
  31. data/lib/pdfjs/web/images/texture.png +0 -0
  32. data/lib/pdfjs/web/images/toolbarButton-bookmark.png +0 -0
  33. data/lib/pdfjs/web/images/toolbarButton-download.png +0 -0
  34. data/lib/pdfjs/web/images/toolbarButton-menuArrows.png +0 -0
  35. data/lib/pdfjs/web/images/toolbarButton-openFile.png +0 -0
  36. data/lib/pdfjs/web/images/toolbarButton-pageDown-rtl.png +0 -0
  37. data/lib/pdfjs/web/images/toolbarButton-pageDown.png +0 -0
  38. data/lib/pdfjs/web/images/toolbarButton-pageUp-rtl.png +0 -0
  39. data/lib/pdfjs/web/images/toolbarButton-pageUp.png +0 -0
  40. data/lib/pdfjs/web/images/toolbarButton-presentationMode.png +0 -0
  41. data/lib/pdfjs/web/images/toolbarButton-print.png +0 -0
  42. data/lib/pdfjs/web/images/toolbarButton-search.png +0 -0
  43. data/lib/pdfjs/web/images/toolbarButton-secondaryToolbarToggle.png +0 -0
  44. data/lib/pdfjs/web/images/toolbarButton-sidebarToggle.png +0 -0
  45. data/lib/pdfjs/web/images/toolbarButton-viewOutline.png +0 -0
  46. data/lib/pdfjs/web/images/toolbarButton-viewThumbnail.png +0 -0
  47. data/lib/pdfjs/web/images/toolbarButton-zoomIn.png +0 -0
  48. data/lib/pdfjs/web/images/toolbarButton-zoomOut.png +0 -0
  49. data/lib/pdfjs/web/l10n.js +922 -0
  50. data/lib/pdfjs/web/locale/ar/viewer.properties +112 -0
  51. data/lib/pdfjs/web/locale/ca/viewer.properties +131 -0
  52. data/lib/pdfjs/web/locale/cs/viewer.properties +58 -0
  53. data/lib/pdfjs/web/locale/da/viewer.properties +132 -0
  54. data/lib/pdfjs/web/locale/de/viewer.properties +128 -0
  55. data/lib/pdfjs/web/locale/el/viewer.properties +124 -0
  56. data/lib/pdfjs/web/locale/en-US/viewer.properties +134 -0
  57. data/lib/pdfjs/web/locale/es/viewer.properties +131 -0
  58. data/lib/pdfjs/web/locale/fi/viewer.properties +129 -0
  59. data/lib/pdfjs/web/locale/fr/viewer.properties +130 -0
  60. data/lib/pdfjs/web/locale/he/viewer.properties +59 -0
  61. data/lib/pdfjs/web/locale/it/viewer.properties +44 -0
  62. data/lib/pdfjs/web/locale/ja/viewer.properties +132 -0
  63. data/lib/pdfjs/web/locale/ko/viewer.properties +131 -0
  64. data/lib/pdfjs/web/locale/locale.properties +78 -0
  65. data/lib/pdfjs/web/locale/lt/viewer.properties +129 -0
  66. data/lib/pdfjs/web/locale/nl/viewer.properties +134 -0
  67. data/lib/pdfjs/web/locale/pl/viewer.properties +132 -0
  68. data/lib/pdfjs/web/locale/pt-BR/viewer.properties +44 -0
  69. data/lib/pdfjs/web/locale/ro/viewer.properties +55 -0
  70. data/lib/pdfjs/web/locale/ru/viewer.properties +62 -0
  71. data/lib/pdfjs/web/locale/sr/viewer.properties +55 -0
  72. data/lib/pdfjs/web/locale/sv/viewer.properties +134 -0
  73. data/lib/pdfjs/web/locale/tr/viewer.properties +129 -0
  74. data/lib/pdfjs/web/locale/vi/viewer.properties +131 -0
  75. data/lib/pdfjs/web/locale/zh-CN/viewer.properties +129 -0
  76. data/lib/pdfjs/web/locale/zh-TW/viewer.properties +132 -0
  77. data/lib/pdfjs/web/viewer.css +1544 -0
  78. data/lib/pdfjs/web/viewer.html +250 -0
  79. data/lib/pdfjs/web/viewer.js +4477 -0
  80. data/lib/pdfjs_rails.rb +6 -0
  81. data/lib/pdfjs_rails/railtie.rb +9 -0
  82. data/lib/pdfjs_rails/version.rb +3 -0
  83. data/lib/pdfjs_rails/view_helpers.rb +225 -0
  84. data/pdfjs_rails.gemspec +24 -0
  85. data/vender/assets/images/annotation-check.svg +10 -0
  86. data/vender/assets/images/annotation-comment.svg +15 -0
  87. data/vender/assets/images/annotation-help.svg +25 -0
  88. data/vender/assets/images/annotation-insert.svg +9 -0
  89. data/vender/assets/images/annotation-key.svg +10 -0
  90. data/vender/assets/images/annotation-newparagraph.svg +10 -0
  91. data/vender/assets/images/annotation-note.svg +41 -0
  92. data/vender/assets/images/annotation-paragraph.svg +15 -0
  93. data/vender/assets/images/findbarButton-next-rtl.png +0 -0
  94. data/vender/assets/images/findbarButton-next.png +0 -0
  95. data/vender/assets/images/findbarButton-previous-rtl.png +0 -0
  96. data/vender/assets/images/findbarButton-previous.png +0 -0
  97. data/vender/assets/images/loading-icon.gif +0 -0
  98. data/vender/assets/images/loading-small.png +0 -0
  99. data/vender/assets/images/shadow.png +0 -0
  100. data/vender/assets/images/texture.png +0 -0
  101. data/vender/assets/images/toolbarButton-bookmark.png +0 -0
  102. data/vender/assets/images/toolbarButton-download.png +0 -0
  103. data/vender/assets/images/toolbarButton-menuArrows.png +0 -0
  104. data/vender/assets/images/toolbarButton-openFile.png +0 -0
  105. data/vender/assets/images/toolbarButton-pageDown-rtl.png +0 -0
  106. data/vender/assets/images/toolbarButton-pageDown.png +0 -0
  107. data/vender/assets/images/toolbarButton-pageUp-rtl.png +0 -0
  108. data/vender/assets/images/toolbarButton-pageUp.png +0 -0
  109. data/vender/assets/images/toolbarButton-presentationMode.png +0 -0
  110. data/vender/assets/images/toolbarButton-print.png +0 -0
  111. data/vender/assets/images/toolbarButton-search.png +0 -0
  112. data/vender/assets/images/toolbarButton-sidebarToggle.png +0 -0
  113. data/vender/assets/images/toolbarButton-viewOutline.png +0 -0
  114. data/vender/assets/images/toolbarButton-viewThumbnail.png +0 -0
  115. data/vender/assets/images/toolbarButton-zoomIn.png +0 -0
  116. data/vender/assets/images/toolbarButton-zoomOut.png +0 -0
  117. data/vender/assets/javascripts/application.js +22 -0
  118. data/vender/assets/javascripts/compatibility.js +471 -0
  119. data/vender/assets/javascripts/debugger.js +532 -0
  120. data/vender/assets/javascripts/l10n.js +922 -0
  121. data/vender/assets/javascripts/pdf.js +7063 -0
  122. data/vender/assets/javascripts/pdf.worker.js +38679 -0
  123. data/vender/assets/javascripts/viewer.js +4317 -0
  124. data/vender/assets/stylesheets/viewer.css +1382 -0
  125. metadata +209 -0
@@ -0,0 +1,131 @@
1
+ # Copyright 2012 Mozilla Foundation
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ # Main toolbar buttons (tooltips and alt text for images)
16
+ previous.title=Trang Trước
17
+ previous_label=Trước
18
+ next.title=Trang Tiếp
19
+ next_label=Tiếp
20
+
21
+ # LOCALIZATION NOTE (page_label, page_of):
22
+ # These strings are concatenated to form the "Page: X of Y" string.
23
+ # Do not translate "{{pageCount}}", it will be substituted with a number
24
+ # representing the total number of pages.
25
+ page_label=Trang:
26
+ page_of=trên {{pageCount}}
27
+
28
+ zoom_out.title=Phóng to
29
+ zoom_out_label=Phóng to
30
+ zoom_in.title=Thu nhỏ
31
+ zoom_in_label=Thu nhỏ
32
+ zoom.title=Thu phóng
33
+ presentation_mode.title=Chuyển sang chế độ thuyết trình
34
+ presentation_mode_label=Chế độ Thuyết trình
35
+ open_file.title=Mở Tệp
36
+ open_file_label=Tệp
37
+ print.title=In
38
+ print_label=In
39
+ download.title=Tải xuống
40
+ download_label=Tải xuống
41
+ bookmark.title=Đánh dấu (sao chép hoặc mở cửa sổ mới)
42
+ bookmark_label=Đánh dấu
43
+
44
+ # Secondary toolbar and context menu
45
+ first_page.title=Đến trang đầu tiên
46
+ first_page.label=Đến trang đầu tiên
47
+ first_page_label=Đến trang đầu tiên
48
+ last_page.title=Đến trang cuối cùng
49
+ last_page.label=Đến trang cuối cùng
50
+ last_page_label=Đến trang cuối cùng
51
+ page_rotate_cw.title=Quay sang phải
52
+ page_rotate_cw.label=Quay sang phải
53
+ page_rotate_cw_label=Quay sang phải
54
+ page_rotate_ccw.title=Quay sang trái
55
+ page_rotate_ccw.label=Quay sang trái
56
+ page_rotate_ccw_label=Quay sang trái
57
+
58
+ # Tooltips and alt text for side panel toolbar buttons
59
+ # (the _label strings are alt text for the buttons, the .title strings are
60
+ # tooltips)
61
+ toggle_sidebar.title=Đóng bật thanh lề
62
+ toggle_sidebar_label=Bật tắt thanh lề
63
+ outline.title=Hiện thị giản lược tài liệu
64
+ outline_label=Giản lược
65
+ thumbs.title=hiện tài liệu ở dạng ảnh thu nhỏ
66
+ thumbs_label=Ảnh thu nhỏ
67
+ findbar.title=Tìm trong văn bản
68
+ findbar_label=Tìm kiếm
69
+
70
+ # Thumbnails panel item (tooltip and alt text for images)
71
+ # LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page
72
+ # number.
73
+ thumb_page_title=Page {{page}}
74
+ # LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page
75
+ # number.
76
+ thumb_page_canvas=Thumbnail of Page {{page}}
77
+
78
+ # Find panel button title and messages
79
+ find_label=Tìm:
80
+ find_previous.title=Tìm kiếm câu xuất hiện phía trước
81
+ find_previous_label=Về trước
82
+ find_next.title=Tìm kiếm câu xuất hiện phía sau
83
+ find_next_label=Tiếp theo
84
+ find_highlight=Tô sáng toàn bộ
85
+ find_match_case_label=Giống chữ
86
+ find_reached_top=Đến cuối đầu tài liệu, tiếp tục từ cuối
87
+ find_reached_bottom=Đến cuối tài liệu, tiếp tục từ đầu
88
+ find_not_found=Không tìm thấy
89
+
90
+ # Error panel labels
91
+ error_more_info=Thông tim thêm
92
+ error_less_info=Thông tin giản lược
93
+ error_close=Đóng
94
+ # LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be
95
+ # replaced by the PDF.JS version and build ID.
96
+ error_version_info=PDF.js v{{version}} (dịch: {{build}})
97
+ # LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an
98
+ # english string describing the error.
99
+ error_message=Thông báo: {{message}}
100
+ # LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack
101
+ # trace.
102
+ error_stack=Ngăn xếp: {{stack}}
103
+ # LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename
104
+ error_file=Tệp: {{file}}
105
+ # LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number
106
+ error_line=Dòng: {{line}}
107
+ rendering_error=An error occurred while rendering the page.
108
+
109
+ # Predefined zoom values
110
+ page_scale_width=Ngang
111
+ page_scale_fit=Xem Toàn Trang
112
+ page_scale_auto=Tự Động
113
+ page_scale_actual=Kích thước thực
114
+
115
+ # Loading indicator messages
116
+ loading_error_indicator=Lỗi
117
+ loading_error=Lỗi khi mở tệp PDF.
118
+ invalid_file_error=Tệp PDF bị hỏng hoặc lỗi.
119
+ missing_file_error=Thiếu tệp tin PDF.
120
+
121
+ # LOCALIZATION NOTE (text_annotation_type): This is used as a tooltip.
122
+ # "{{type}}" will be replaced with an annotation type from a list defined in
123
+ # the PDF spec (32000-1:2008 Table 169 – Annotation types).
124
+ # Some common types are e.g.: "Check", "Text", "Comment", "Note"
125
+ text_annotation_type=[{{type}} Đánh dấu]
126
+ request_password=PDF được bảo vệ bởi mật mã:
127
+
128
+ printing_not_supported=Chú ý: Công việc in ẩn không được hỗ trợ bởi trình duyệt.
129
+ printing_not_ready=Chú ý: Tệp PDF không sẵn sàng cho in ấn.
130
+ web_fonts_disabled=Phồng chữ cho Web bị vô tác dụng: không thể dùng phông chữ kèm theo tệp PDF.
131
+ web_colors_disabled=Màu cho Wev bị vô tác dụng.
@@ -0,0 +1,129 @@
1
+ # Copyright 2012 Mozilla Foundation
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ # Main toolbar buttons (tooltips and alt text for images)
16
+ previous.title=上一页
17
+ previous_label=向上
18
+ next.title=下一页
19
+ next_label=向下
20
+
21
+ # LOCALIZATION NOTE (page_label, page_of):
22
+ # These strings are concatenated to form the "Page: X of Y" string.
23
+ # Do not translate "{{pageCount}}", it will be substituted with a number
24
+ # representing the total number of pages.
25
+ page_label=页码:
26
+ page_of=/ {{pageCount}}
27
+
28
+ zoom_out.title=缩小
29
+ zoom_out_label=缩小
30
+ zoom_in.title=放大
31
+ zoom_in_label=放大
32
+ zoom.title=缩放
33
+ presentation_mode.title=切换至幻灯模式
34
+ presentation_mode_label=幻灯模式
35
+ open_file.title=打开文件
36
+ open_file_label=打开
37
+ print.title=打印
38
+ print_label=打印
39
+ download.title=下载
40
+ download_label=下载
41
+ bookmark.title=当前视图(复制或在新窗口中打开)
42
+ bookmark_label=当前视图
43
+
44
+ # Secondary toolbar and context menu
45
+ first_page.title=转到第一页
46
+ first_page.label=转到第一页
47
+ first_page_label=转到第一页
48
+ last_page.title=转到结尾页
49
+ last_page.label=转到结尾页
50
+ last_page_label=转到结尾页
51
+ page_rotate_cw.title=顺时针旋转
52
+ page_rotate_cw.label=顺时针旋转
53
+ page_rotate_cw_label=顺时针旋转
54
+ page_rotate_ccw.title=逆时针旋转
55
+ page_rotate_ccw.label=逆时针旋转
56
+ page_rotate_ccw_label=逆时针旋转
57
+
58
+ # Tooltips and alt text for side panel toolbar buttons
59
+ # (the _label strings are alt text for the buttons, the .title strings are
60
+ # tooltips)
61
+ toggle_sidebar.title=切换侧栏
62
+ toggle_sidebar_label=切换侧栏
63
+ outline.title=显示文档大纲
64
+ outline_label=文档大纲
65
+ thumbs.title=显示缩略图
66
+ thumbs_label=缩略图
67
+ findbar.title=在该文档内查找
68
+ findbar_label=查找
69
+
70
+ # Thumbnails panel item (tooltip and alt text for images)
71
+ # LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page
72
+ # number.
73
+ thumb_page_title=页码 {{page}}
74
+ # LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page
75
+ # number.
76
+ thumb_page_canvas=页面 {{page}} 的缩略图
77
+
78
+ # Find panel button title and messages
79
+ find_label=查找:
80
+ find_previous.title=查找该短语上一次出现的位置
81
+ find_previous_label=上一个
82
+ find_next.title=查找该短语下一次出现的位置
83
+ find_next_label=下一个
84
+ find_highlight=全部高亮
85
+ find_match_case_label=区分大小写
86
+ find_reached_top=已查找至文档的开始位置,将从文档末尾继续查找
87
+ find_reached_bottom=已查找至文档的末尾位置,将从文档的开始位置继续查找
88
+ find_not_found=找不到
89
+
90
+ # Error panel labels
91
+ error_more_info=更多信息
92
+ error_less_info=简略信息
93
+ error_close=关闭
94
+ # LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be
95
+ # replaced by the PDF.JS version and build ID.
96
+ error_version_info=PDF.js v{{version}} (构建版本: {{build}})
97
+ # LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an
98
+ # english string describing the error.
99
+ error_message=错误信息: {{message}}
100
+ # LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack
101
+ # trace.
102
+ error_stack=堆栈: {{stack}}
103
+ # LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename
104
+ error_file=文件: {{file}}
105
+ # LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number
106
+ error_line=行数: {{line}}
107
+ rendering_error=渲染页面时出错。
108
+
109
+ # Predefined zoom values
110
+ page_scale_width=符合页宽
111
+ page_scale_fit=符合页面
112
+ page_scale_auto=自动缩放
113
+ page_scale_actual=实际大小
114
+
115
+ # Loading indicator messages
116
+ loading_error_indicator=错误
117
+ loading_error=加载 PDF 文件时出错。
118
+ invalid_file_error=PDF 文件无效或已损坏。
119
+ missing_file_error=缺失 PDF 文件。
120
+
121
+ # LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip.
122
+ # "{{type}}" will be replaced with an annotation type from a list defined in
123
+ # the PDF spec (32000-1:2008 Table 169 – Annotation types).
124
+ # Some common types are e.g.: "Check", "Text", "Comment", "Note"
125
+ text_annotation_type.alt=[{{type}} 注解]
126
+ request_password=该 PDF 文档受密码保护:
127
+
128
+ printing_not_supported=警告:该浏览器不能完全支持打印。
129
+ web_fonts_disabled=Web 页面字体已被禁用,无法使用嵌入到 PDF 中的字体。
@@ -0,0 +1,132 @@
1
+ # Copyright 2012 Mozilla Foundation
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ # Main toolbar buttons (tooltips and alt text for images)
16
+ previous.title=上一頁
17
+ previous_label=上一頁
18
+ next.title=下一頁
19
+ next_label=下一頁
20
+
21
+ # LOCALIZATION NOTE (page_label, page_of):
22
+ # These strings are concatenated to form the "Page: X of Y" string.
23
+ # Do not translate "{{pageCount}}", it will be substituted with a number
24
+ # representing the total number of pages.
25
+ page_label=頁:
26
+ page_of=/ {{pageCount}}
27
+
28
+ zoom_out.title=縮小
29
+ zoom_out_label=縮小
30
+ zoom_in.title=放大
31
+ zoom_in_label=放大
32
+ zoom.title=縮放
33
+ presentation_mode.title=切換至簡報模式
34
+ presentation_mode_label=簡報模式
35
+ open_file.title=開啟檔案
36
+ open_file_label=開啟
37
+ print.title=列印
38
+ print_label=列印
39
+ download.title=下載
40
+ download_label=下載
41
+ bookmark.title=目前檢視的內容(複製或開啟於新視窗)
42
+ bookmark_label=目前檢視
43
+
44
+ # Secondary toolbar and context menu
45
+ first_page.title=跳到第一頁
46
+ first_page.label=跳到第一頁
47
+ first_page_label=跳到第一頁
48
+ last_page.title=跳到最後一頁
49
+ last_page.label=跳到最後一頁
50
+ last_page_label=跳到最後一頁
51
+ page_rotate_cw.title=順時針旋轉
52
+ page_rotate_cw.label=順時針旋轉
53
+ page_rotate_cw_label=順時針旋轉
54
+ page_rotate_ccw.title=逆時針旋轉
55
+ page_rotate_ccw.label=逆時針旋轉
56
+ page_rotate_ccw_label=逆時針旋轉
57
+
58
+ # Tooltips and alt text for side panel toolbar buttons
59
+ # (the _label strings are alt text for the buttons, the .title strings are
60
+ # tooltips)
61
+ toggle_sidebar.title=切換側邊欄
62
+ toggle_sidebar_label=切換側邊欄
63
+ outline.title=顯示文件大綱
64
+ outline_label=文件大綱
65
+ thumbs.title=顯示縮圖
66
+ thumbs_label=縮圖
67
+ findbar.title=在文件中尋找
68
+ findbar_label=尋找
69
+
70
+ # Thumbnails panel item (tooltip and alt text for images)
71
+ # LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page
72
+ # number.
73
+ thumb_page_title=頁 {{page}}
74
+ # LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page
75
+ # number.
76
+ thumb_page_canvas=頁 {{page}} 的縮圖
77
+
78
+ # Find panel button title and messages
79
+ find_label=尋找:
80
+ find_previous.title=尋找文字前次出現的位置
81
+ find_previous_label=上一個
82
+ find_next.title=尋找文字下次出現的位置
83
+ find_next_label=下一個
84
+ find_highlight=全部強調標示
85
+ find_match_case_label=區分大小寫
86
+ find_reached_top=已搜尋至文件頂端,自底端繼續搜尋
87
+ find_reached_bottom=已搜尋至文件底端,自頂端繼續搜尋
88
+ find_not_found=找不到指定文字
89
+
90
+ # Error panel labels
91
+ error_more_info=更多資訊
92
+ error_less_info=更少資訊
93
+ error_close=關閉
94
+ # LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be
95
+ # replaced by the PDF.JS version and build ID.
96
+ error_version_info=PDF.js v{{version}} (build: {{build}})
97
+ # LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an
98
+ # english string describing the error.
99
+ error_message=訊息: {{message}}
100
+ # LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack
101
+ # trace.
102
+ error_stack=堆疊: {{stack}}
103
+ # LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename
104
+ error_file=檔案: {{file}}
105
+ # LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number
106
+ error_line=行: {{line}}
107
+ rendering_error=描繪頁面時發生錯誤。
108
+
109
+ # Predefined zoom values
110
+ page_scale_width=頁面寬度
111
+ page_scale_fit=縮放至頁面大小
112
+ page_scale_auto=自動縮放
113
+ page_scale_actual=實際大小
114
+
115
+ # Loading indicator messages
116
+ loading_error_indicator=錯誤
117
+ loading_error=載入 PDF 時發生錯誤。
118
+ invalid_file_error=無效或毀損的 PDF 檔案。
119
+ missing_file_error=找不到 PDF 檔案。
120
+
121
+ # LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip.
122
+ # "{{type}}" will be replaced with an annotation type from a list defined in
123
+ # the PDF spec (32000-1:2008 Table 169 – Annotation types).
124
+ # Some common types are e.g.: "Check", "Text", "Comment", "Note"
125
+ text_annotation_type.alt=[{{type}} 註解]
126
+ request_password=PDF 已被密碼保護:
127
+ invalid_password=密碼無效。
128
+
129
+ printing_not_supported=警告: 此瀏覽器未完整支援列印功能。
130
+ printing_not_ready=警告: 此 PDF 未完成下載以供列印。
131
+ web_fonts_disabled=已停用網路字型 (Web fonts): 無法使用 PDF 內嵌字型。
132
+ document_colors_disabled=瀏覽器的「優先使用網頁指定的色彩」未被勾選,PDF 文件無法使用自己的色彩。
@@ -0,0 +1,1544 @@
1
+ /* Copyright 2012 Mozilla Foundation
2
+ *
3
+ * Licensed under the Apache License, Version 2.0 (the "License");
4
+ * you may not use this file except in compliance with the License.
5
+ * You may obtain a copy of the License at
6
+ *
7
+ * http://www.apache.org/licenses/LICENSE-2.0
8
+ *
9
+ * Unless required by applicable law or agreed to in writing, software
10
+ * distributed under the License is distributed on an "AS IS" BASIS,
11
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ * See the License for the specific language governing permissions and
13
+ * limitations under the License.
14
+ */
15
+
16
+ * {
17
+ padding: 0;
18
+ margin: 0;
19
+ }
20
+
21
+ html {
22
+ height: 100%;
23
+ }
24
+
25
+ body {
26
+ height: 100%;
27
+ background-color: #404040;
28
+ background-image: url(images/texture.png);
29
+ }
30
+
31
+ body,
32
+ input,
33
+ button,
34
+ select {
35
+ font: message-box;
36
+ }
37
+
38
+ .hidden {
39
+ display: none !important;
40
+ }
41
+ [hidden] {
42
+ display: none !important;
43
+ }
44
+
45
+ #viewerContainer:-webkit-full-screen {
46
+ top: 0px;
47
+ border-top: 2px solid transparent;
48
+ background-color: #404040;
49
+ background-image: url(images/texture.png);
50
+ width: 100%;
51
+ height: 100%;
52
+ overflow: hidden;
53
+ cursor: none;
54
+ }
55
+
56
+ #viewerContainer:-moz-full-screen {
57
+ top: 0px;
58
+ border-top: 2px solid transparent;
59
+ background-color: #404040;
60
+ background-image: url(images/texture.png);
61
+ width: 100%;
62
+ height: 100%;
63
+ overflow: hidden;
64
+ cursor: none;
65
+ }
66
+
67
+ #viewerContainer:fullscreen {
68
+ top: 0px;
69
+ border-top: 2px solid transparent;
70
+ background-color: #404040;
71
+ background-image: url(images/texture.png);
72
+ width: 100%;
73
+ height: 100%;
74
+ overflow: hidden;
75
+ cursor: none;
76
+ }
77
+
78
+ :-webkit-full-screen .page {
79
+ margin-bottom: 100%;
80
+ }
81
+
82
+ :-moz-full-screen .page {
83
+ margin-bottom: 100%;
84
+ }
85
+
86
+ :fullscreen .page {
87
+ margin-bottom: 100%;
88
+ }
89
+
90
+ :-webkit-full-screen a:not(.internalLink) {
91
+ display: none;
92
+ }
93
+
94
+ :-moz-full-screen a:not(.internalLink) {
95
+ display: none;
96
+ }
97
+
98
+ :fullscreen a:not(.internalLink) {
99
+ display: none;
100
+ }
101
+
102
+ #viewerContainer.presentationControls {
103
+ cursor: default;
104
+ }
105
+
106
+ /* outer/inner center provides horizontal center */
107
+ html[dir='ltr'] .outerCenter {
108
+ float: right;
109
+ position: relative;
110
+ right: 50%;
111
+ }
112
+ html[dir='rtl'] .outerCenter {
113
+ float: left;
114
+ position: relative;
115
+ left: 50%;
116
+ }
117
+ html[dir='ltr'] .innerCenter {
118
+ float: right;
119
+ position: relative;
120
+ right: -50%;
121
+ }
122
+ html[dir='rtl'] .innerCenter {
123
+ float: left;
124
+ position: relative;
125
+ left: -50%;
126
+ }
127
+
128
+ #outerContainer {
129
+ width: 100%;
130
+ height: 100%;
131
+ }
132
+
133
+ #sidebarContainer {
134
+ position: absolute;
135
+ top: 0;
136
+ bottom: 0;
137
+ width: 200px;
138
+ visibility: hidden;
139
+ -webkit-transition-duration: 200ms;
140
+ -webkit-transition-timing-function: ease;
141
+ transition-duration: 200ms;
142
+ transition-timing-function: ease;
143
+
144
+ }
145
+ html[dir='ltr'] #sidebarContainer {
146
+ -webkit-transition-property: left;
147
+ transition-property: left;
148
+ left: -200px;
149
+ }
150
+ html[dir='rtl'] #sidebarContainer {
151
+ -webkit-transition-property: right;
152
+ transition-property: right;
153
+ right: -200px;
154
+ }
155
+
156
+ #outerContainer.sidebarMoving > #sidebarContainer,
157
+ #outerContainer.sidebarOpen > #sidebarContainer {
158
+ visibility: visible;
159
+ }
160
+ html[dir='ltr'] #outerContainer.sidebarOpen > #sidebarContainer {
161
+ left: 0px;
162
+ }
163
+ html[dir='rtl'] #outerContainer.sidebarOpen > #sidebarContainer {
164
+ right: 0px;
165
+ }
166
+
167
+ #mainContainer {
168
+ position: absolute;
169
+ top: 0;
170
+ right: 0;
171
+ bottom: 0;
172
+ left: 0;
173
+ min-width: 320px;
174
+ -webkit-transition-duration: 200ms;
175
+ -webkit-transition-timing-function: ease;
176
+ transition-duration: 200ms;
177
+ transition-timing-function: ease;
178
+ }
179
+ html[dir='ltr'] #outerContainer.sidebarOpen > #mainContainer {
180
+ -webkit-transition-property: left;
181
+ transition-property: left;
182
+ left: 200px;
183
+ }
184
+ html[dir='rtl'] #outerContainer.sidebarOpen > #mainContainer {
185
+ -webkit-transition-property: right;
186
+ transition-property: right;
187
+ right: 200px;
188
+ }
189
+
190
+ #sidebarContent {
191
+ top: 32px;
192
+ bottom: 0;
193
+ overflow: auto;
194
+ position: absolute;
195
+ width: 200px;
196
+
197
+ background-color: hsla(0,0%,0%,.1);
198
+ box-shadow: inset -1px 0 0 hsla(0,0%,0%,.25);
199
+ }
200
+ html[dir='ltr'] #sidebarContent {
201
+ left: 0;
202
+ }
203
+ html[dir='rtl'] #sidebarContent {
204
+ right: 0;
205
+ }
206
+
207
+ #viewerContainer {
208
+ overflow: auto;
209
+ box-shadow: inset 1px 0 0 hsla(0,0%,100%,.05);
210
+ position: absolute;
211
+ top: 32px;
212
+ right: 0;
213
+ bottom: 0;
214
+ left: 0;
215
+ outline: none;
216
+ }
217
+
218
+ .toolbar {
219
+ position: relative;
220
+ left: 0;
221
+ right: 0;
222
+ z-index: 9999;
223
+ cursor: default;
224
+ }
225
+
226
+ #toolbarContainer {
227
+ width: 100%;
228
+ }
229
+
230
+ #toolbarSidebar {
231
+ width: 200px;
232
+ height: 32px;
233
+ background-color: #424242; /* fallback */
234
+ background-image: url(images/texture.png),
235
+ linear-gradient(hsla(0,0%,30%,.99), hsla(0,0%,25%,.95));
236
+ box-shadow: inset -1px 0 0 rgba(0, 0, 0, 0.25),
237
+
238
+ inset 0 -1px 0 hsla(0,0%,100%,.05),
239
+ 0 1px 0 hsla(0,0%,0%,.15),
240
+ 0 0 1px hsla(0,0%,0%,.1);
241
+ }
242
+
243
+ #toolbarContainer, .findbar, .secondaryToolbar {
244
+ position: relative;
245
+ height: 32px;
246
+ background-color: #474747; /* fallback */
247
+ background-image: url(images/texture.png),
248
+ linear-gradient(hsla(0,0%,32%,.99), hsla(0,0%,27%,.95));
249
+ box-shadow: inset 1px 0 0 hsla(0,0%,100%,.08),
250
+ inset 0 1px 1px hsla(0,0%,0%,.15),
251
+ inset 0 -1px 0 hsla(0,0%,100%,.05),
252
+ 0 1px 0 hsla(0,0%,0%,.15),
253
+ 0 1px 1px hsla(0,0%,0%,.1);
254
+ }
255
+
256
+ #toolbarViewer {
257
+ height: 32px;
258
+ }
259
+
260
+ #loadingBar {
261
+ position: relative;
262
+ width: 100%;
263
+ height: 6px;
264
+ background-color: #333;
265
+ border-bottom: 1px solid #333;
266
+ }
267
+
268
+ #loadingBar .progress {
269
+ position: absolute;
270
+ top: 0;
271
+ left: 0;
272
+ width: 0%;
273
+ height: 100%;
274
+ background-color: #ddd;
275
+ overflow: hidden;
276
+ -webkit-transition: width 200ms;
277
+ transition: width 200ms;
278
+ }
279
+
280
+ @-webkit-keyframes progressIndeterminate {
281
+ 0% { left: 0%; }
282
+ 50% { left: 100%; }
283
+ 100% { left: 100%; }
284
+ }
285
+
286
+ @keyframes progressIndeterminate {
287
+ 0% { left: 0%; }
288
+ 50% { left: 100%; }
289
+ 100% { left: 100%; }
290
+ }
291
+
292
+ #loadingBar .progress.indeterminate {
293
+ background-color: #999;
294
+ -webkit-transition: none;
295
+ transition: none;
296
+ }
297
+
298
+ #loadingBar .indeterminate .glimmer {
299
+ position: absolute;
300
+ top: 0;
301
+ left: 0;
302
+ height: 100%;
303
+ width: 50px;
304
+
305
+ background-image: linear-gradient(to right, #999 0%, #fff 50%, #999 100%);
306
+ background-size: 100% 100%;
307
+ background-repeat: no-repeat;
308
+
309
+ -webkit-animation: progressIndeterminate 2s linear infinite;
310
+ animation: progressIndeterminate 2s linear infinite;
311
+ }
312
+
313
+ .findbar, .secondaryToolbar {
314
+ top: 32px;
315
+ position: absolute;
316
+ z-index: 10000;
317
+ height: 32px;
318
+
319
+ min-width: 16px;
320
+ padding: 0px 6px 0px 6px;
321
+ margin: 4px 2px 4px 2px;
322
+ color: hsl(0,0%,85%);
323
+ font-size: 12px;
324
+ line-height: 14px;
325
+ text-align: left;
326
+ cursor: default;
327
+ }
328
+
329
+ html[dir='ltr'] .findbar {
330
+ left: 68px;
331
+ }
332
+
333
+ html[dir='rtl'] .findbar {
334
+ right: 68px;
335
+ }
336
+
337
+ .findbar label {
338
+ -webkit-user-select: none;
339
+ -moz-user-select: none;
340
+ }
341
+
342
+ #findInput[data-status="pending"] {
343
+ background-image: url(images/loading-small.png);
344
+ background-repeat: no-repeat;
345
+ background-position: right;
346
+ }
347
+
348
+ .secondaryToolbar {
349
+ padding: 6px;
350
+ height: auto;
351
+ z-index: 30000;
352
+ }
353
+ html[dir='ltr'] .secondaryToolbar {
354
+ right: 4px;
355
+ }
356
+ html[dir='rtl'] .secondaryToolbar {
357
+ left: 4px;
358
+ }
359
+
360
+ #secondaryToolbarButtonContainer {
361
+ max-width: 200px;
362
+ max-height: 400px;
363
+ overflow-y: auto;
364
+ }
365
+
366
+ .doorHanger,
367
+ .doorHangerRight {
368
+ border: 1px solid hsla(0,0%,0%,.5);
369
+ border-radius: 2px;
370
+ box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
371
+ }
372
+ .doorHanger:after, .doorHanger:before,
373
+ .doorHangerRight:after, .doorHangerRight:before {
374
+ bottom: 100%;
375
+ border: solid transparent;
376
+ content: " ";
377
+ height: 0;
378
+ width: 0;
379
+ position: absolute;
380
+ pointer-events: none;
381
+ }
382
+ .doorHanger:after,
383
+ .doorHangerRight:after {
384
+ border-bottom-color: hsla(0,0%,32%,.99);
385
+ border-width: 8px;
386
+ }
387
+ .doorHanger:before,
388
+ .doorHangerRight:before {
389
+ border-bottom-color: hsla(0,0%,0%,.5);
390
+ border-width: 9px;
391
+ }
392
+
393
+ html[dir='ltr'] .doorHanger:after,
394
+ html[dir='rtl'] .doorHangerRight:after {
395
+ left: 13px;
396
+ margin-left: -8px;
397
+ }
398
+
399
+ html[dir='ltr'] .doorHanger:before,
400
+ html[dir='rtl'] .doorHangerRight:before {
401
+ left: 13px;
402
+ margin-left: -9px;
403
+ }
404
+
405
+ html[dir='rtl'] .doorHanger:after,
406
+ html[dir='ltr'] .doorHangerRight:after {
407
+ right: 13px;
408
+ margin-right: -8px;
409
+ }
410
+
411
+ html[dir='rtl'] .doorHanger:before,
412
+ html[dir='ltr'] .doorHangerRight:before {
413
+ right: 13px;
414
+ margin-right: -9px;
415
+ }
416
+
417
+ #findMsg {
418
+ font-style: italic;
419
+ color: #A6B7D0;
420
+ }
421
+
422
+ .notFound {
423
+ background-color: rgb(255, 137, 153);
424
+ }
425
+
426
+ html[dir='ltr'] #toolbarViewerLeft {
427
+ margin-left: -1px;
428
+ }
429
+ html[dir='rtl'] #toolbarViewerRight {
430
+ margin-left: -1px;
431
+ }
432
+
433
+
434
+ html[dir='ltr'] #toolbarViewerLeft,
435
+ html[dir='rtl'] #toolbarViewerRight {
436
+ position: absolute;
437
+ top: 0;
438
+ left: 0;
439
+ }
440
+ html[dir='ltr'] #toolbarViewerRight,
441
+ html[dir='rtl'] #toolbarViewerLeft {
442
+ position: absolute;
443
+ top: 0;
444
+ right: 0;
445
+ }
446
+ html[dir='ltr'] #toolbarViewerLeft > *,
447
+ html[dir='ltr'] #toolbarViewerMiddle > *,
448
+ html[dir='ltr'] #toolbarViewerRight > *,
449
+ html[dir='ltr'] .findbar > * {
450
+ position: relative;
451
+ float: left;
452
+ }
453
+ html[dir='rtl'] #toolbarViewerLeft > *,
454
+ html[dir='rtl'] #toolbarViewerMiddle > *,
455
+ html[dir='rtl'] #toolbarViewerRight > *,
456
+ html[dir='rtl'] .findbar > * {
457
+ position: relative;
458
+ float: right;
459
+ }
460
+
461
+ html[dir='ltr'] .splitToolbarButton {
462
+ margin: 3px 2px 4px 0;
463
+ display: inline-block;
464
+ }
465
+ html[dir='rtl'] .splitToolbarButton {
466
+ margin: 3px 0 4px 2px;
467
+ display: inline-block;
468
+ }
469
+ html[dir='ltr'] .splitToolbarButton > .toolbarButton {
470
+ border-radius: 0;
471
+ float: left;
472
+ }
473
+ html[dir='rtl'] .splitToolbarButton > .toolbarButton {
474
+ border-radius: 0;
475
+ float: right;
476
+ }
477
+
478
+ .toolbarButton,
479
+ .secondaryToolbarButton {
480
+ border: 0 none;
481
+ background-color: rgba(0, 0, 0, 0);
482
+ width: 32px;
483
+ height: 25px;
484
+ }
485
+
486
+ .toolbarButton > span {
487
+ display: inline-block;
488
+ width: 0;
489
+ height: 0;
490
+ overflow: hidden;
491
+ }
492
+
493
+ .toolbarButton[disabled],
494
+ .secondaryToolbarButton[disabled] {
495
+ opacity: .5;
496
+ }
497
+
498
+ .toolbarButton.group {
499
+ margin-right: 0;
500
+ }
501
+
502
+ .splitToolbarButton.toggled .toolbarButton {
503
+ margin: 0;
504
+ }
505
+
506
+ .splitToolbarButton:hover > .toolbarButton,
507
+ .splitToolbarButton:focus > .toolbarButton,
508
+ .splitToolbarButton.toggled > .toolbarButton,
509
+ .toolbarButton.textButton {
510
+ background-color: hsla(0,0%,0%,.12);
511
+ background-image: linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0));
512
+ background-clip: padding-box;
513
+ border: 1px solid hsla(0,0%,0%,.35);
514
+ border-color: hsla(0,0%,0%,.32) hsla(0,0%,0%,.38) hsla(0,0%,0%,.42);
515
+ box-shadow: 0 1px 0 hsla(0,0%,100%,.05) inset,
516
+ 0 0 1px hsla(0,0%,100%,.15) inset,
517
+ 0 1px 0 hsla(0,0%,100%,.05);
518
+ -webkit-transition-property: background-color, border-color, box-shadow;
519
+ -webkit-transition-duration: 150ms;
520
+ -webkit-transition-timing-function: ease;
521
+ transition-property: background-color, border-color, box-shadow;
522
+ transition-duration: 150ms;
523
+ transition-timing-function: ease;
524
+
525
+ }
526
+ .splitToolbarButton > .toolbarButton:hover,
527
+ .splitToolbarButton > .toolbarButton:focus,
528
+ .dropdownToolbarButton:hover,
529
+ .toolbarButton.textButton:hover,
530
+ .toolbarButton.textButton:focus {
531
+ background-color: hsla(0,0%,0%,.2);
532
+ box-shadow: 0 1px 0 hsla(0,0%,100%,.05) inset,
533
+ 0 0 1px hsla(0,0%,100%,.15) inset,
534
+ 0 0 1px hsla(0,0%,0%,.05);
535
+ z-index: 199;
536
+ }
537
+ html[dir='ltr'] .splitToolbarButton > .toolbarButton:first-child,
538
+ html[dir='rtl'] .splitToolbarButton > .toolbarButton:last-child {
539
+ position: relative;
540
+ margin: 0;
541
+ margin-right: -1px;
542
+ border-top-left-radius: 2px;
543
+ border-bottom-left-radius: 2px;
544
+ border-right-color: transparent;
545
+ }
546
+ html[dir='ltr'] .splitToolbarButton > .toolbarButton:last-child,
547
+ html[dir='rtl'] .splitToolbarButton > .toolbarButton:first-child {
548
+ position: relative;
549
+ margin: 0;
550
+ margin-left: -1px;
551
+ border-top-right-radius: 2px;
552
+ border-bottom-right-radius: 2px;
553
+ border-left-color: transparent;
554
+ }
555
+ .splitToolbarButtonSeparator {
556
+ padding: 8px 0;
557
+ width: 1px;
558
+ background-color: hsla(0,0%,0%,.5);
559
+ z-index: 99;
560
+ box-shadow: 0 0 0 1px hsla(0,0%,100%,.08);
561
+ display: inline-block;
562
+ margin: 5px 0;
563
+ }
564
+ html[dir='ltr'] .splitToolbarButtonSeparator {
565
+ float: left;
566
+ }
567
+ html[dir='rtl'] .splitToolbarButtonSeparator {
568
+ float: right;
569
+ }
570
+ .splitToolbarButton:hover > .splitToolbarButtonSeparator,
571
+ .splitToolbarButton.toggled > .splitToolbarButtonSeparator {
572
+ padding: 12px 0;
573
+ margin: 1px 0;
574
+ box-shadow: 0 0 0 1px hsla(0,0%,100%,.03);
575
+ -webkit-transition-property: padding;
576
+ -webkit-transition-duration: 10ms;
577
+ -webkit-transition-timing-function: ease;
578
+ transition-property: padding;
579
+ transition-duration: 10ms;
580
+ transition-timing-function: ease;
581
+ }
582
+
583
+ .toolbarButton,
584
+ .dropdownToolbarButton,
585
+ .secondaryToolbarButton {
586
+ min-width: 16px;
587
+ padding: 2px 6px 0;
588
+ border: 1px solid transparent;
589
+ border-radius: 2px;
590
+ color: hsla(0,0%,100%,.8);
591
+ font-size: 12px;
592
+ line-height: 14px;
593
+ -webkit-user-select: none;
594
+ -moz-user-select: none;
595
+ -ms-user-select: none;
596
+ /* Opera does not support user-select, use <... unselectable="on"> instead */
597
+ cursor: default;
598
+ -webkit-transition-property: background-color, border-color, box-shadow;
599
+ -webkit-transition-duration: 150ms;
600
+ -webkit-transition-timing-function: ease;
601
+ transition-property: background-color, border-color, box-shadow;
602
+ transition-duration: 150ms;
603
+ transition-timing-function: ease;
604
+ }
605
+
606
+ html[dir='ltr'] .toolbarButton,
607
+ html[dir='ltr'] .dropdownToolbarButton {
608
+ margin: 3px 2px 4px 0;
609
+ }
610
+ html[dir='rtl'] .toolbarButton,
611
+ html[dir='rtl'] .dropdownToolbarButton {
612
+ margin: 3px 0 4px 2px;
613
+ }
614
+
615
+ .toolbarButton:hover,
616
+ .toolbarButton:focus,
617
+ .dropdownToolbarButton,
618
+ .secondaryToolbarButton:hover,
619
+ .secondaryToolbarButton:focus {
620
+ background-color: hsla(0,0%,0%,.12);
621
+ background-image: linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0));
622
+ background-clip: padding-box;
623
+ border: 1px solid hsla(0,0%,0%,.35);
624
+ border-color: hsla(0,0%,0%,.32) hsla(0,0%,0%,.38) hsla(0,0%,0%,.42);
625
+ box-shadow: 0 1px 0 hsla(0,0%,100%,.05) inset,
626
+ 0 0 1px hsla(0,0%,100%,.15) inset,
627
+ 0 1px 0 hsla(0,0%,100%,.05);
628
+ }
629
+
630
+ .toolbarButton:hover:active,
631
+ .dropdownToolbarButton:hover:active,
632
+ .secondaryToolbarButton:hover:active {
633
+ background-color: hsla(0,0%,0%,.2);
634
+ background-image: linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0));
635
+ border-color: hsla(0,0%,0%,.35) hsla(0,0%,0%,.4) hsla(0,0%,0%,.45);
636
+ box-shadow: 0 1px 1px hsla(0,0%,0%,.1) inset,
637
+ 0 0 1px hsla(0,0%,0%,.2) inset,
638
+ 0 1px 0 hsla(0,0%,100%,.05);
639
+ -webkit-transition-property: background-color, border-color, box-shadow;
640
+ -webkit-transition-duration: 10ms;
641
+ -webkit-transition-timing-function: linear;
642
+ transition-property: background-color, border-color, box-shadow;
643
+ transition-duration: 10ms;
644
+ transition-timing-function: linear;
645
+ }
646
+
647
+ .toolbarButton.toggled,
648
+ .splitToolbarButton.toggled > .toolbarButton.toggled,
649
+ .secondaryToolbarButton.toggled {
650
+ background-color: hsla(0,0%,0%,.3);
651
+ background-image: linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0));
652
+ border-color: hsla(0,0%,0%,.4) hsla(0,0%,0%,.45) hsla(0,0%,0%,.5);
653
+ box-shadow: 0 1px 1px hsla(0,0%,0%,.1) inset,
654
+ 0 0 1px hsla(0,0%,0%,.2) inset,
655
+ 0 1px 0 hsla(0,0%,100%,.05);
656
+ -webkit-transition-property: background-color, border-color, box-shadow;
657
+ -webkit-transition-duration: 10ms;
658
+ -webkit-transition-timing-function: linear;
659
+ transition-property: background-color, border-color, box-shadow;
660
+ transition-duration: 10ms;
661
+ transition-timing-function: linear;
662
+ }
663
+
664
+ .toolbarButton.toggled:hover:active,
665
+ .splitToolbarButton.toggled > .toolbarButton.toggled:hover:active,
666
+ .secondaryToolbarButton.toggled:hover:active {
667
+ background-color: hsla(0,0%,0%,.4);
668
+ border-color: hsla(0,0%,0%,.4) hsla(0,0%,0%,.5) hsla(0,0%,0%,.55);
669
+ box-shadow: 0 1px 1px hsla(0,0%,0%,.2) inset,
670
+ 0 0 1px hsla(0,0%,0%,.3) inset,
671
+ 0 1px 0 hsla(0,0%,100%,.05);
672
+ }
673
+
674
+ .dropdownToolbarButton {
675
+ width: 120px;
676
+ max-width: 120px;
677
+ padding: 3px 2px 2px;
678
+ overflow: hidden;
679
+ background: url(images/toolbarButton-menuArrows.png) no-repeat;
680
+ }
681
+ html[dir='ltr'] .dropdownToolbarButton {
682
+ background-position: 95%;
683
+ }
684
+ html[dir='rtl'] .dropdownToolbarButton {
685
+ background-position: 5%;
686
+ }
687
+
688
+ .dropdownToolbarButton > select {
689
+ -webkit-appearance: none;
690
+ -moz-appearance: none; /* in the future this might matter, see bugzilla bug #649849 */
691
+ min-width: 140px;
692
+ font-size: 12px;
693
+ color: hsl(0,0%,95%);
694
+ margin: 0;
695
+ padding: 0;
696
+ border: none;
697
+ background: rgba(0,0,0,0); /* Opera does not support 'transparent' <select> background */
698
+ }
699
+
700
+ .dropdownToolbarButton > select > option {
701
+ background: hsl(0,0%,24%);
702
+ }
703
+
704
+ #customScaleOption {
705
+ display: none;
706
+ }
707
+
708
+ #pageWidthOption {
709
+ border-bottom: 1px rgba(255, 255, 255, .5) solid;
710
+ }
711
+
712
+ html[dir='ltr'] .splitToolbarButton:first-child,
713
+ html[dir='ltr'] .toolbarButton:first-child,
714
+ html[dir='rtl'] .splitToolbarButton:last-child,
715
+ html[dir='rtl'] .toolbarButton:last-child {
716
+ margin-left: 4px;
717
+ }
718
+ html[dir='ltr'] .splitToolbarButton:last-child,
719
+ html[dir='ltr'] .toolbarButton:last-child,
720
+ html[dir='rtl'] .splitToolbarButton:first-child,
721
+ html[dir='rtl'] .toolbarButton:first-child {
722
+ margin-right: 4px;
723
+ }
724
+
725
+ .toolbarButtonSpacer {
726
+ width: 30px;
727
+ display: inline-block;
728
+ height: 1px;
729
+ }
730
+
731
+ .toolbarButtonFlexibleSpacer {
732
+ -webkit-box-flex: 1;
733
+ -moz-box-flex: 1;
734
+ min-width: 30px;
735
+ }
736
+
737
+ html[dir='ltr'] #findPrevious {
738
+ margin-left: 3px;
739
+ }
740
+ html[dir='ltr'] #findNext {
741
+ margin-right: 3px;
742
+ }
743
+
744
+ html[dir='rtl'] #findPrevious {
745
+ margin-right: 3px;
746
+ }
747
+ html[dir='rtl'] #findNext {
748
+ margin-left: 3px;
749
+ }
750
+
751
+ .toolbarButton::before,
752
+ .secondaryToolbarButton::before {
753
+ /* All matching images have a size of 16x16
754
+ * (except for the print button: 18x16)
755
+ * All relevant containers have a size of 32x25 */
756
+ position: absolute;
757
+ display: inline-block;
758
+ top: 4px;
759
+ left: 7px;
760
+ }
761
+ html[dir="ltr"] .secondaryToolbarButton::before {
762
+ left: 4px;
763
+ }
764
+ html[dir="rtl"] .secondaryToolbarButton::before {
765
+ right: 4px;
766
+ }
767
+
768
+ .toolbarButton#sidebarToggle::before {
769
+ content: url(images/toolbarButton-sidebarToggle.png);
770
+ }
771
+
772
+ .toolbarButton#secondaryToolbarToggle::before {
773
+ content: url(images/toolbarButton-secondaryToolbarToggle.png);
774
+ }
775
+
776
+ html[dir='ltr'] .toolbarButton.findPrevious::before {
777
+ content: url(images/findbarButton-previous.png);
778
+ }
779
+
780
+ html[dir='rtl'] .toolbarButton.findPrevious::before {
781
+ content: url(images/findbarButton-previous-rtl.png);
782
+ }
783
+
784
+ html[dir='ltr'] .toolbarButton.findNext::before {
785
+ content: url(images/findbarButton-next.png);
786
+ }
787
+
788
+ html[dir='rtl'] .toolbarButton.findNext::before {
789
+ content: url(images/findbarButton-next-rtl.png);
790
+ }
791
+
792
+ html[dir='ltr'] .toolbarButton.pageUp::before {
793
+ content: url(images/toolbarButton-pageUp.png);
794
+ }
795
+
796
+ html[dir='rtl'] .toolbarButton.pageUp::before {
797
+ content: url(images/toolbarButton-pageUp-rtl.png);
798
+ }
799
+
800
+ html[dir='ltr'] .toolbarButton.pageDown::before {
801
+ content: url(images/toolbarButton-pageDown.png);
802
+ }
803
+
804
+ html[dir='rtl'] .toolbarButton.pageDown::before {
805
+ content: url(images/toolbarButton-pageDown-rtl.png);
806
+ }
807
+
808
+ .toolbarButton.zoomOut::before {
809
+ content: url(images/toolbarButton-zoomOut.png);
810
+ }
811
+
812
+ .toolbarButton.zoomIn::before {
813
+ content: url(images/toolbarButton-zoomIn.png);
814
+ }
815
+
816
+ .toolbarButton.presentationMode::before,
817
+ .secondaryToolbarButton.presentationMode::before {
818
+ content: url(images/toolbarButton-presentationMode.png);
819
+ }
820
+
821
+ .toolbarButton.print::before,
822
+ .secondaryToolbarButton.print::before {
823
+ content: url(images/toolbarButton-print.png);
824
+ left: 6px;
825
+ }
826
+ html[dir="ltr"] .secondaryToolbarButton.print::before {
827
+ left: 3px;
828
+ }
829
+ html[dir="rtl"] .secondaryToolbarButton.print::before {
830
+ right: 3px;
831
+ }
832
+
833
+ .toolbarButton.openFile::before,
834
+ .secondaryToolbarButton.openFile::before {
835
+ content: url(images/toolbarButton-openFile.png);
836
+ }
837
+
838
+ .toolbarButton.download::before,
839
+ .secondaryToolbarButton.download::before {
840
+ content: url(images/toolbarButton-download.png);
841
+ }
842
+
843
+ .toolbarButton.bookmark {
844
+ -webkit-box-sizing: border-box;
845
+ -moz-box-sizing: border-box;
846
+ box-sizing: border-box;
847
+ margin-top: 3px;
848
+ padding-top: 4px;
849
+ }
850
+
851
+ #viewBookmark[href='#'] {
852
+ opacity: .5;
853
+ pointer-events: none;
854
+ }
855
+
856
+ .toolbarButton.bookmark::before {
857
+ content: url(images/toolbarButton-bookmark.png);
858
+ }
859
+
860
+ #viewThumbnail.toolbarButton::before {
861
+ content: url(images/toolbarButton-viewThumbnail.png);
862
+ }
863
+
864
+ #viewOutline.toolbarButton::before {
865
+ content: url(images/toolbarButton-viewOutline.png);
866
+ }
867
+
868
+ #viewFind.toolbarButton::before {
869
+ content: url(images/toolbarButton-search.png);
870
+ }
871
+
872
+ .secondaryToolbarButton {
873
+ position: relative;
874
+ margin: 0 0 4px 0;
875
+ padding: 3px 0 1px 0;
876
+ height: auto;
877
+ min-height: 25px;
878
+ width: auto;
879
+ min-width: 100%;
880
+ white-space: normal;
881
+ }
882
+ html[dir="ltr"] .secondaryToolbarButton {
883
+ padding-left: 24px;
884
+ text-align: left;
885
+ }
886
+ html[dir="rtl"] .secondaryToolbarButton {
887
+ padding-right: 24px;
888
+ text-align: right;
889
+ }
890
+
891
+ #secondaryToolbarButtonContainer :last-child {
892
+ margin-bottom: 0;
893
+ }
894
+
895
+ html[dir="ltr"] .secondaryToolbarButton > span {
896
+ padding-right: 4px;
897
+ }
898
+ html[dir="rtl"] .secondaryToolbarButton > span {
899
+ padding-left: 4px;
900
+ }
901
+
902
+ .secondaryToolbarButton.firstPage::before {
903
+ content: url(images/secondaryToolbarButton-firstPage.png);
904
+ }
905
+
906
+ .secondaryToolbarButton.lastPage::before {
907
+ content: url(images/secondaryToolbarButton-lastPage.png);
908
+ }
909
+
910
+ .secondaryToolbarButton.rotateCcw::before {
911
+ content: url(images/secondaryToolbarButton-rotateCcw.png);
912
+ }
913
+
914
+ .secondaryToolbarButton.rotateCw::before {
915
+ content: url(images/secondaryToolbarButton-rotateCw.png);
916
+ }
917
+
918
+ .verticalToolbarSeparator {
919
+ display: block;
920
+ padding: 8px 0;
921
+ margin: 8px 4px;
922
+ width: 1px;
923
+ background-color: hsla(0,0%,0%,.5);
924
+ box-shadow: 0 0 0 1px hsla(0,0%,100%,.08);
925
+ }
926
+ html[dir='ltr'] .verticalToolbarSeparator {
927
+ margin-left: 2px;
928
+ }
929
+ html[dir='rtl'] .verticalToolbarSeparator {
930
+ margin-right: 2px;
931
+ }
932
+
933
+ .horizontalToolbarSeparator {
934
+ display: block;
935
+ margin: 0 0 4px 0;
936
+ height: 1px;
937
+ width: 100%;
938
+ background-color: hsla(0,0%,0%,.5);
939
+ box-shadow: 0 0 0 1px hsla(0,0%,100%,.08);
940
+ }
941
+
942
+ .toolbarField {
943
+ padding: 3px 6px;
944
+ margin: 4px 0 4px 0;
945
+ border: 1px solid transparent;
946
+ border-radius: 2px;
947
+ background-color: hsla(0,0%,100%,.09);
948
+ background-image: linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0));
949
+ background-clip: padding-box;
950
+ border: 1px solid hsla(0,0%,0%,.35);
951
+ border-color: hsla(0,0%,0%,.32) hsla(0,0%,0%,.38) hsla(0,0%,0%,.42);
952
+ box-shadow: 0 1px 0 hsla(0,0%,0%,.05) inset,
953
+ 0 1px 0 hsla(0,0%,100%,.05);
954
+ color: hsl(0,0%,95%);
955
+ font-size: 12px;
956
+ line-height: 14px;
957
+ outline-style: none;
958
+ transition-property: background-color, border-color, box-shadow;
959
+ transition-duration: 150ms;
960
+ transition-timing-function: ease;
961
+ }
962
+
963
+ .toolbarField[type=checkbox] {
964
+ display: inline-block;
965
+ margin: 8px 0px;
966
+ }
967
+
968
+ .toolbarField.pageNumber {
969
+ min-width: 16px;
970
+ text-align: right;
971
+ width: 40px;
972
+ }
973
+
974
+ .toolbarField.pageNumber::-webkit-inner-spin-button,
975
+ .toolbarField.pageNumber::-webkit-outer-spin-button {
976
+ -webkit-appearance: none;
977
+ margin: 0;
978
+ }
979
+
980
+ .toolbarField:hover {
981
+ background-color: hsla(0,0%,100%,.11);
982
+ border-color: hsla(0,0%,0%,.4) hsla(0,0%,0%,.43) hsla(0,0%,0%,.45);
983
+ }
984
+
985
+ .toolbarField:focus {
986
+ background-color: hsla(0,0%,100%,.15);
987
+ border-color: hsla(204,100%,65%,.8) hsla(204,100%,65%,.85) hsla(204,100%,65%,.9);
988
+ }
989
+
990
+ .toolbarLabel {
991
+ min-width: 16px;
992
+ padding: 3px 6px 3px 2px;
993
+ margin: 4px 2px 4px 0;
994
+ border: 1px solid transparent;
995
+ border-radius: 2px;
996
+ color: hsl(0,0%,85%);
997
+ font-size: 12px;
998
+ line-height: 14px;
999
+ text-align: left;
1000
+ -webkit-user-select: none;
1001
+ -moz-user-select: none;
1002
+ cursor: default;
1003
+ }
1004
+
1005
+ #thumbnailView {
1006
+ position: absolute;
1007
+ width: 120px;
1008
+ top: 0;
1009
+ bottom: 0;
1010
+ padding: 10px 40px 0;
1011
+ overflow: auto;
1012
+ }
1013
+
1014
+ .thumbnail {
1015
+ float: left;
1016
+ }
1017
+
1018
+ .thumbnail:not([data-loaded]) {
1019
+ border: 1px dashed rgba(255, 255, 255, 0.5);
1020
+ margin-bottom: 10px;
1021
+ }
1022
+
1023
+ .thumbnailImage {
1024
+ transition-duration: 150ms;
1025
+ border: 1px solid transparent;
1026
+ box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.5), 0 2px 8px rgba(0, 0, 0, 0.3);
1027
+ opacity: 0.8;
1028
+ z-index: 99;
1029
+ }
1030
+
1031
+ .thumbnailSelectionRing {
1032
+ border-radius: 2px;
1033
+ padding: 7px;
1034
+ transition-duration: 150ms;
1035
+ }
1036
+
1037
+ a:focus > .thumbnail > .thumbnailSelectionRing > .thumbnailImage,
1038
+ .thumbnail:hover > .thumbnailSelectionRing > .thumbnailImage {
1039
+ opacity: .9;
1040
+ }
1041
+
1042
+ a:focus > .thumbnail > .thumbnailSelectionRing,
1043
+ .thumbnail:hover > .thumbnailSelectionRing {
1044
+ background-color: hsla(0,0%,100%,.15);
1045
+ background-image: linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0));
1046
+ background-clip: padding-box;
1047
+ box-shadow: 0 1px 0 hsla(0,0%,100%,.05) inset,
1048
+ 0 0 1px hsla(0,0%,100%,.2) inset,
1049
+ 0 0 1px hsla(0,0%,0%,.2);
1050
+ color: hsla(0,0%,100%,.9);
1051
+ }
1052
+
1053
+ .thumbnail.selected > .thumbnailSelectionRing > .thumbnailImage {
1054
+ box-shadow: 0 0 0 1px hsla(0,0%,0%,.5);
1055
+ opacity: 1;
1056
+ }
1057
+
1058
+ .thumbnail.selected > .thumbnailSelectionRing {
1059
+ background-color: hsla(0,0%,100%,.3);
1060
+ background-image: linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0));
1061
+ background-clip: padding-box;
1062
+ box-shadow: 0 1px 0 hsla(0,0%,100%,.05) inset,
1063
+ 0 0 1px hsla(0,0%,100%,.1) inset,
1064
+ 0 0 1px hsla(0,0%,0%,.2);
1065
+ color: hsla(0,0%,100%,1);
1066
+ }
1067
+
1068
+ #outlineView {
1069
+ position: absolute;
1070
+ width: 192px;
1071
+ top: 0;
1072
+ bottom: 0;
1073
+ padding: 4px 4px 0;
1074
+ overflow: auto;
1075
+ -webkit-user-select: none;
1076
+ -moz-user-select: none;
1077
+ }
1078
+
1079
+ html[dir='ltr'] .outlineItem > .outlineItems {
1080
+ margin-left: 20px;
1081
+ }
1082
+
1083
+ html[dir='rtl'] .outlineItem > .outlineItems {
1084
+ margin-right: 20px;
1085
+ }
1086
+
1087
+ .outlineItem > a {
1088
+ text-decoration: none;
1089
+ display: inline-block;
1090
+ min-width: 95%;
1091
+ height: auto;
1092
+ margin-bottom: 1px;
1093
+ border-radius: 2px;
1094
+ color: hsla(0,0%,100%,.8);
1095
+ font-size: 13px;
1096
+ line-height: 15px;
1097
+ -moz-user-select: none;
1098
+ white-space: normal;
1099
+ }
1100
+
1101
+ html[dir='ltr'] .outlineItem > a {
1102
+ padding: 2px 0 5px 10px;
1103
+ }
1104
+
1105
+ html[dir='rtl'] .outlineItem > a {
1106
+ padding: 2px 10px 5px 0;
1107
+ }
1108
+
1109
+ .outlineItem > a:hover {
1110
+ background-color: hsla(0,0%,100%,.02);
1111
+ background-image: linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0));
1112
+ background-clip: padding-box;
1113
+ box-shadow: 0 1px 0 hsla(0,0%,100%,.05) inset,
1114
+ 0 0 1px hsla(0,0%,100%,.2) inset,
1115
+ 0 0 1px hsla(0,0%,0%,.2);
1116
+ color: hsla(0,0%,100%,.9);
1117
+ }
1118
+
1119
+ .outlineItem.selected {
1120
+ background-color: hsla(0,0%,100%,.08);
1121
+ background-image: linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0));
1122
+ background-clip: padding-box;
1123
+ box-shadow: 0 1px 0 hsla(0,0%,100%,.05) inset,
1124
+ 0 0 1px hsla(0,0%,100%,.1) inset,
1125
+ 0 0 1px hsla(0,0%,0%,.2);
1126
+ color: hsla(0,0%,100%,1);
1127
+ }
1128
+
1129
+ .noResults {
1130
+ font-size: 12px;
1131
+ color: hsla(0,0%,100%,.8);
1132
+ font-style: italic;
1133
+ cursor: default;
1134
+ }
1135
+
1136
+ #findScrollView {
1137
+ position: absolute;
1138
+ top: 10px;
1139
+ bottom: 10px;
1140
+ left: 10px;
1141
+ width: 280px;
1142
+ }
1143
+
1144
+ #sidebarControls {
1145
+ position:absolute;
1146
+ width: 180px;
1147
+ height: 32px;
1148
+ left: 15px;
1149
+ bottom: 35px;
1150
+ }
1151
+
1152
+ .canvasWrapper {
1153
+ overflow: hidden;
1154
+ }
1155
+
1156
+ canvas {
1157
+ margin: 0;
1158
+ display: block;
1159
+ }
1160
+
1161
+ .page {
1162
+ direction: ltr;
1163
+ width: 816px;
1164
+ height: 1056px;
1165
+ margin: 1px auto -8px auto;
1166
+ position: relative;
1167
+ overflow: visible;
1168
+ border: 9px solid transparent;
1169
+ background-clip: content-box;
1170
+ border-image: url(images/shadow.png) 9 9 repeat;
1171
+ background-color: white;
1172
+ }
1173
+
1174
+ .page > a,
1175
+ .annotationLayer > a {
1176
+ display: block;
1177
+ position: absolute;
1178
+ }
1179
+
1180
+ .page > a:hover,
1181
+ .annotationLayer > a:hover {
1182
+ opacity: 0.2;
1183
+ background: #ff0;
1184
+ box-shadow: 0px 2px 10px #ff0;
1185
+ }
1186
+
1187
+ .loadingIcon {
1188
+ position: absolute;
1189
+ display: block;
1190
+ left: 0;
1191
+ top: 0;
1192
+ right: 0;
1193
+ bottom: 0;
1194
+ background: url('images/loading-icon.gif') center no-repeat;
1195
+ }
1196
+
1197
+ .textLayer {
1198
+ position: absolute;
1199
+ left: 0;
1200
+ top: 0;
1201
+ right: 0;
1202
+ bottom: 0;
1203
+ color: #000;
1204
+ font-family: sans-serif;
1205
+ overflow: hidden;
1206
+ }
1207
+
1208
+ .textLayer > div {
1209
+ color: transparent;
1210
+ position: absolute;
1211
+ line-height: 1;
1212
+ white-space: pre;
1213
+ cursor: text;
1214
+ }
1215
+
1216
+ .textLayer .highlight {
1217
+ margin: -1px;
1218
+ padding: 1px;
1219
+
1220
+ background-color: rgba(180, 0, 170, 0.2);
1221
+ border-radius: 4px;
1222
+ }
1223
+
1224
+ .textLayer .highlight.begin {
1225
+ border-radius: 4px 0px 0px 4px;
1226
+ }
1227
+
1228
+ .textLayer .highlight.end {
1229
+ border-radius: 0px 4px 4px 0px;
1230
+ }
1231
+
1232
+ .textLayer .highlight.middle {
1233
+ border-radius: 0px;
1234
+ }
1235
+
1236
+ .textLayer .highlight.selected {
1237
+ background-color: rgba(0, 100, 0, 0.2);
1238
+ }
1239
+
1240
+ /* TODO: file FF bug to support ::-moz-selection:window-inactive
1241
+ so we can override the opaque grey background when the window is inactive;
1242
+ see https://bugzilla.mozilla.org/show_bug.cgi?id=706209 */
1243
+ ::selection { background:rgba(0,0,255,0.3); }
1244
+ ::-moz-selection { background:rgba(0,0,255,0.3); }
1245
+
1246
+ .annotText > div {
1247
+ z-index: 200;
1248
+ position: absolute;
1249
+ padding: 0.6em;
1250
+ max-width: 20em;
1251
+ background-color: #FFFF99;
1252
+ box-shadow: 0px 2px 10px #333;
1253
+ border-radius: 7px;
1254
+ }
1255
+
1256
+ .annotText > img {
1257
+ position: absolute;
1258
+ opacity: 0.6;
1259
+ }
1260
+
1261
+ .annotText > img:hover {
1262
+ opacity: 1;
1263
+ }
1264
+
1265
+ .annotText > div > h1 {
1266
+ font-size: 1.2em;
1267
+ border-bottom: 1px solid #000000;
1268
+ margin: 0px;
1269
+ }
1270
+
1271
+ #errorWrapper {
1272
+ background: none repeat scroll 0 0 #FF5555;
1273
+ color: white;
1274
+ left: 0;
1275
+ position: absolute;
1276
+ right: 0;
1277
+ z-index: 1000;
1278
+ padding: 3px;
1279
+ font-size: 0.8em;
1280
+ }
1281
+ .loadingInProgress #errorWrapper {
1282
+ top: 39px;
1283
+ }
1284
+
1285
+ #errorMessageLeft {
1286
+ float: left;
1287
+ }
1288
+
1289
+ #errorMessageRight {
1290
+ float: right;
1291
+ }
1292
+
1293
+ #errorMoreInfo {
1294
+ background-color: #FFFFFF;
1295
+ color: black;
1296
+ padding: 3px;
1297
+ margin: 3px;
1298
+ width: 98%;
1299
+ }
1300
+
1301
+ .clearBoth {
1302
+ clear: both;
1303
+ }
1304
+
1305
+ .fileInput {
1306
+ background: white;
1307
+ color: black;
1308
+ margin-top: 5px;
1309
+ }
1310
+
1311
+ #PDFBug {
1312
+ background: none repeat scroll 0 0 white;
1313
+ border: 1px solid #666666;
1314
+ position: fixed;
1315
+ top: 32px;
1316
+ right: 0;
1317
+ bottom: 0;
1318
+ font-size: 10px;
1319
+ padding: 0;
1320
+ width: 300px;
1321
+ }
1322
+ #PDFBug .controls {
1323
+ background:#EEEEEE;
1324
+ border-bottom: 1px solid #666666;
1325
+ padding: 3px;
1326
+ }
1327
+ #PDFBug .panels {
1328
+ bottom: 0;
1329
+ left: 0;
1330
+ overflow: auto;
1331
+ position: absolute;
1332
+ right: 0;
1333
+ top: 27px;
1334
+ }
1335
+ #PDFBug button.active {
1336
+ font-weight: bold;
1337
+ }
1338
+ .debuggerShowText {
1339
+ background: none repeat scroll 0 0 yellow;
1340
+ color: blue;
1341
+ opacity: 0.3;
1342
+ }
1343
+ .debuggerHideText:hover {
1344
+ background: none repeat scroll 0 0 yellow;
1345
+ opacity: 0.3;
1346
+ }
1347
+ #PDFBug .stats {
1348
+ font-family: courier;
1349
+ font-size: 10px;
1350
+ white-space: pre;
1351
+ }
1352
+ #PDFBug .stats .title {
1353
+ font-weight: bold;
1354
+ }
1355
+ #PDFBug table {
1356
+ font-size: 10px;
1357
+ }
1358
+
1359
+ #viewer.textLayer-visible .textLayer > div,
1360
+ #viewer.textLayer-hover .textLayer > div:hover {
1361
+ background-color: white;
1362
+ color: black;
1363
+ }
1364
+
1365
+ #viewer.textLayer-shadow .textLayer > div {
1366
+ background-color: rgba(255,255,255, .6);
1367
+ color: black;
1368
+ }
1369
+
1370
+ @page {
1371
+ margin: 0;
1372
+ }
1373
+
1374
+ #printContainer {
1375
+ display: none;
1376
+ }
1377
+
1378
+ @media print {
1379
+ /* General rules for printing. */
1380
+ body {
1381
+ background: transparent none;
1382
+ }
1383
+
1384
+ /* Rules for browsers that don't support mozPrintCallback. */
1385
+ #sidebarContainer, #secondaryToolbar, .toolbar, #loadingBox, #errorWrapper, .textLayer {
1386
+ display: none;
1387
+ }
1388
+ #viewerContainer {
1389
+ overflow: visible;
1390
+ }
1391
+
1392
+ #mainContainer, #viewerContainer, .page, .page canvas {
1393
+ position: static;
1394
+ padding: 0;
1395
+ margin: 0;
1396
+ }
1397
+
1398
+ .page {
1399
+ float: left;
1400
+ display: none;
1401
+ border: none;
1402
+ box-shadow: none;
1403
+ }
1404
+
1405
+ .page[data-loaded] {
1406
+ display: block;
1407
+ }
1408
+
1409
+ /* Rules for browsers that support mozPrintCallback */
1410
+ body[data-mozPrintCallback] #outerContainer {
1411
+ display: none;
1412
+ }
1413
+ body[data-mozPrintCallback] #printContainer {
1414
+ display: block;
1415
+ }
1416
+ #printContainer canvas {
1417
+ position: relative;
1418
+ top: 0;
1419
+ left: 0;
1420
+ }
1421
+ }
1422
+
1423
+ .visibleLargeView,
1424
+ .visibleMediumView,
1425
+ .visibleSmallView {
1426
+ display: none;
1427
+ }
1428
+
1429
+ @media all and (max-width: 960px) {
1430
+ html[dir='ltr'] #outerContainer.sidebarMoving .outerCenter,
1431
+ html[dir='ltr'] #outerContainer.sidebarOpen .outerCenter {
1432
+ float: left;
1433
+ left: 185px;
1434
+ }
1435
+ html[dir='rtl'] #outerContainer.sidebarMoving .outerCenter,
1436
+ html[dir='rtl'] #outerContainer.sidebarOpen .outerCenter {
1437
+ float: right;
1438
+ right: 185px;
1439
+ }
1440
+ }
1441
+
1442
+ @media all and (max-width: 900px) {
1443
+ .sidebarOpen .hiddenLargeView {
1444
+ display: none;
1445
+ }
1446
+ .sidebarOpen .visibleLargeView {
1447
+ display: inherit;
1448
+ }
1449
+ }
1450
+
1451
+ @media all and (max-width: 860px) {
1452
+ .sidebarOpen .hiddenMediumView {
1453
+ display: none;
1454
+ }
1455
+ .sidebarOpen .visibleMediumView {
1456
+ display: inherit;
1457
+ }
1458
+ }
1459
+
1460
+ @media all and (max-width: 770px) {
1461
+ #sidebarContainer {
1462
+ top: 32px;
1463
+ z-index: 100;
1464
+ }
1465
+ .loadingInProgress #sidebarContainer {
1466
+ top: 39px;
1467
+ }
1468
+ #sidebarContent {
1469
+ top: 32px;
1470
+ background-color: hsla(0,0%,0%,.7);
1471
+ }
1472
+
1473
+ html[dir='ltr'] #outerContainer.sidebarOpen > #mainContainer {
1474
+ left: 0px;
1475
+ }
1476
+ html[dir='rtl'] #outerContainer.sidebarOpen > #mainContainer {
1477
+ right: 0px;
1478
+ }
1479
+
1480
+ html[dir='ltr'] .outerCenter {
1481
+ float: left;
1482
+ left: 185px;
1483
+ }
1484
+ html[dir='rtl'] .outerCenter {
1485
+ float: right;
1486
+ right: 185px;
1487
+ }
1488
+
1489
+ #outerContainer .hiddenLargeView,
1490
+ #outerContainer .hiddenMediumView {
1491
+ display: inherit;
1492
+ }
1493
+ #outerContainer .visibleLargeView,
1494
+ #outerContainer .visibleMediumView {
1495
+ display: none;
1496
+ }
1497
+ }
1498
+
1499
+ @media all and (max-width: 700px) {
1500
+ #outerContainer .hiddenLargeView {
1501
+ display: none;
1502
+ }
1503
+ #outerContainer .visibleLargeView {
1504
+ display: inherit;
1505
+ }
1506
+ }
1507
+
1508
+ @media all and (max-width: 660px) {
1509
+ #outerContainer .hiddenMediumView {
1510
+ display: none;
1511
+ }
1512
+ #outerContainer .visibleMediumView {
1513
+ display: inherit;
1514
+ }
1515
+ }
1516
+
1517
+ @media all and (max-width: 600px) {
1518
+ .hiddenSmallView {
1519
+ display: none;
1520
+ }
1521
+ .visibleSmallView {
1522
+ display: inherit;
1523
+ }
1524
+ html[dir='ltr'] #outerContainer.sidebarMoving .outerCenter,
1525
+ html[dir='ltr'] #outerContainer.sidebarOpen .outerCenter,
1526
+ html[dir='ltr'] .outerCenter {
1527
+ left: 156px;
1528
+ }
1529
+ html[dir='rtl'] #outerContainer.sidebarMoving .outerCenter,
1530
+ html[dir='rtl'] #outerContainer.sidebarOpen .outerCenter,
1531
+ html[dir='rtl'] .outerCenter {
1532
+ right: 156px;
1533
+ }
1534
+ .toolbarButtonSpacer {
1535
+ width: 0;
1536
+ }
1537
+ }
1538
+
1539
+ @media all and (max-width: 510px) {
1540
+ #scaleSelectContainer, #pageNumberLabel {
1541
+ display: none;
1542
+ }
1543
+ }
1544
+