@weavy/uikit-react 14.0.3 → 15.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.vscode/settings.json +2 -0
- package/changelog.md +10 -0
- package/dist/cjs/client/WeavyClient.d.ts +1 -0
- package/dist/cjs/components/Attachment.d.ts +5 -5
- package/dist/cjs/components/Blob.d.ts +9 -0
- package/dist/cjs/components/Comment.d.ts +18 -0
- package/dist/cjs/components/CommentCount.d.ts +7 -0
- package/dist/cjs/components/CommentEdit.d.ts +16 -0
- package/dist/cjs/components/CommentPlaceholder.d.ts +8 -0
- package/dist/cjs/components/CommentTrashed.d.ts +15 -0
- package/dist/cjs/components/CommentView.d.ts +18 -0
- package/dist/cjs/components/Comments.d.ts +8 -0
- package/dist/cjs/components/ConversationListItem.d.ts +1 -1
- package/dist/cjs/components/Dropzone.d.ts +10 -0
- package/dist/cjs/components/Editor.d.ts +25 -0
- package/dist/cjs/components/Embed.d.ts +8 -0
- package/dist/cjs/components/FileItem.d.ts +41 -0
- package/dist/cjs/components/FileList.d.ts +11 -0
- package/dist/cjs/components/FileVersions.d.ts +9 -0
- package/dist/cjs/components/Files.d.ts +4 -0
- package/dist/cjs/components/Image.d.ts +3 -3
- package/dist/cjs/components/MeetingCard.d.ts +1 -1
- package/dist/cjs/components/Meetings.d.ts +2 -1
- package/dist/cjs/components/Poll.d.ts +8 -0
- package/dist/cjs/components/PollOption.d.ts +10 -0
- package/dist/cjs/components/Post.d.ts +21 -0
- package/dist/cjs/components/PostEdit.d.ts +17 -0
- package/dist/cjs/components/PostList.d.ts +6 -0
- package/dist/cjs/components/PostPlaceholder.d.ts +8 -0
- package/dist/cjs/components/PostTrashed.d.ts +14 -0
- package/dist/cjs/components/PostView.d.ts +21 -0
- package/dist/cjs/components/Posts.d.ts +4 -0
- package/dist/cjs/components/Preview.d.ts +1 -3
- package/dist/cjs/components/PreviewFiles.d.ts +10 -0
- package/dist/cjs/components/Reactions.d.ts +6 -2
- package/dist/cjs/components/SearchUsers.d.ts +2 -1
- package/dist/cjs/contexts/CloudFilesContext.d.ts +9 -0
- package/dist/cjs/hooks/useApps.d.ts +1 -0
- package/dist/cjs/hooks/useCloudFiles.d.ts +3 -0
- package/dist/cjs/hooks/useCommentList.d.ts +1 -0
- package/dist/cjs/hooks/useEmbeds.d.ts +5 -0
- package/dist/cjs/hooks/useFileList.d.ts +1 -0
- package/dist/cjs/hooks/useFileUploader.d.ts +8 -0
- package/dist/cjs/hooks/useFileVersions.d.ts +2 -0
- package/dist/cjs/hooks/useInfiniteScroll.d.ts +4 -0
- package/dist/cjs/hooks/useIsFirstRender.d.ts +2 -0
- package/dist/cjs/hooks/useMutateApps.d.ts +5 -0
- package/dist/cjs/hooks/useMutateComment.d.ts +10 -0
- package/dist/cjs/hooks/useMutateConversationName.d.ts +1 -1
- package/dist/cjs/hooks/useMutateDeleteReaction.d.ts +3 -1
- package/dist/cjs/hooks/useMutateEditComment.d.ts +10 -0
- package/dist/cjs/hooks/useMutateEditPost.d.ts +10 -0
- package/dist/cjs/hooks/useMutateExternalBlobs.d.ts +2 -2
- package/dist/cjs/hooks/useMutateFile.d.ts +26 -0
- package/dist/cjs/hooks/useMutateFileRename.d.ts +5 -0
- package/dist/cjs/hooks/useMutateFileSubscribe.d.ts +7 -0
- package/dist/cjs/hooks/useMutateFileTrash.d.ts +10 -0
- package/dist/cjs/hooks/useMutateFileVersion.d.ts +7 -0
- package/dist/cjs/hooks/useMutateFiles.d.ts +2 -0
- package/dist/cjs/hooks/useMutateLeaveConversation.d.ts +4 -0
- package/dist/cjs/hooks/useMutateMessage.d.ts +2 -2
- package/dist/cjs/hooks/useMutatePost.d.ts +10 -0
- package/dist/cjs/hooks/useMutateReaction.d.ts +3 -1
- package/dist/cjs/hooks/useMutateRead.d.ts +1 -1
- package/dist/cjs/hooks/useMutateReplaceReaction.d.ts +6 -0
- package/dist/cjs/hooks/useMutateRestoreComment.d.ts +5 -0
- package/dist/cjs/hooks/useMutateRestorePost.d.ts +4 -0
- package/dist/cjs/hooks/useMutateStarred.d.ts +4 -0
- package/dist/cjs/hooks/useMutateSubscribe.d.ts +4 -0
- package/dist/cjs/hooks/useMutateTrashComment.d.ts +5 -0
- package/dist/cjs/hooks/useMutateTrashPost.d.ts +4 -0
- package/dist/cjs/hooks/useMutateTyping.d.ts +2 -0
- package/dist/cjs/hooks/useMutateUnsubscribe.d.ts +4 -0
- package/dist/cjs/hooks/useMutateVote.d.ts +5 -0
- package/dist/cjs/hooks/usePost.d.ts +1 -0
- package/dist/cjs/hooks/usePosts.d.ts +1 -0
- package/dist/cjs/hooks/usePostsList.d.ts +1 -0
- package/dist/cjs/hooks/useReactionList.d.ts +1 -0
- package/dist/cjs/hooks/useSessionState.d.ts +2 -0
- package/dist/cjs/hooks/useUnload.d.ts +2 -0
- package/dist/cjs/hooks/useUpdateEffect.d.ts +3 -0
- package/dist/cjs/hooks/useVotes.d.ts +1 -0
- package/dist/cjs/index.d.ts +3 -1
- package/dist/cjs/index.js +28 -6
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/ConversationListItem.d.ts +1 -0
- package/dist/cjs/types/Files.d.ts +7 -0
- package/dist/cjs/types/Message.d.ts +2 -2
- package/dist/cjs/types/Posts.d.ts +4 -0
- package/dist/cjs/types/interfaces.d.ts +9 -0
- package/dist/cjs/types/types.d.ts +138 -22
- package/dist/cjs/ui/Dropdown.d.ts +18 -2
- package/dist/cjs/ui/Icon.d.ts +10 -2
- package/dist/cjs/ui/Overlay.d.ts +3 -1
- package/dist/cjs/ui/Sheet.d.ts +14 -0
- package/dist/cjs/ui/Spinner.d.ts +2 -1
- package/dist/cjs/utils/cacheUtils.d.ts +14 -0
- package/dist/cjs/utils/fileUtilities.d.ts +10 -1
- package/dist/cjs/utils/mentions.d.ts +6 -0
- package/dist/cjs/utils/openUrl.d.ts +1 -0
- package/dist/css/weavy-chat.css +637 -218
- package/dist/css/weavy-files.css +3046 -0
- package/dist/css/weavy-messenger.css +643 -213
- package/dist/css/weavy-posts.css +2773 -0
- package/dist/css/weavy.css +1749 -308
- package/dist/esm/client/WeavyClient.d.ts +1 -0
- package/dist/esm/components/Attachment.d.ts +5 -5
- package/dist/esm/components/Blob.d.ts +9 -0
- package/dist/esm/components/Comment.d.ts +18 -0
- package/dist/esm/components/CommentCount.d.ts +7 -0
- package/dist/esm/components/CommentEdit.d.ts +16 -0
- package/dist/esm/components/CommentPlaceholder.d.ts +8 -0
- package/dist/esm/components/CommentTrashed.d.ts +15 -0
- package/dist/esm/components/CommentView.d.ts +18 -0
- package/dist/esm/components/Comments.d.ts +8 -0
- package/dist/esm/components/ConversationListItem.d.ts +1 -1
- package/dist/esm/components/Dropzone.d.ts +10 -0
- package/dist/esm/components/Editor.d.ts +25 -0
- package/dist/esm/components/Embed.d.ts +8 -0
- package/dist/esm/components/FileItem.d.ts +41 -0
- package/dist/esm/components/FileList.d.ts +11 -0
- package/dist/esm/components/FileVersions.d.ts +9 -0
- package/dist/esm/components/Files.d.ts +4 -0
- package/dist/esm/components/Image.d.ts +3 -3
- package/dist/esm/components/MeetingCard.d.ts +1 -1
- package/dist/esm/components/Meetings.d.ts +2 -1
- package/dist/esm/components/Poll.d.ts +8 -0
- package/dist/esm/components/PollOption.d.ts +10 -0
- package/dist/esm/components/Post.d.ts +21 -0
- package/dist/esm/components/PostEdit.d.ts +17 -0
- package/dist/esm/components/PostList.d.ts +6 -0
- package/dist/esm/components/PostPlaceholder.d.ts +8 -0
- package/dist/esm/components/PostTrashed.d.ts +14 -0
- package/dist/esm/components/PostView.d.ts +21 -0
- package/dist/esm/components/Posts.d.ts +4 -0
- package/dist/esm/components/Preview.d.ts +1 -3
- package/dist/esm/components/PreviewFiles.d.ts +10 -0
- package/dist/esm/components/Reactions.d.ts +6 -2
- package/dist/esm/components/SearchUsers.d.ts +2 -1
- package/dist/esm/contexts/CloudFilesContext.d.ts +9 -0
- package/dist/esm/hooks/useApps.d.ts +1 -0
- package/dist/esm/hooks/useCloudFiles.d.ts +3 -0
- package/dist/esm/hooks/useCommentList.d.ts +1 -0
- package/dist/esm/hooks/useEmbeds.d.ts +5 -0
- package/dist/esm/hooks/useFileList.d.ts +1 -0
- package/dist/esm/hooks/useFileUploader.d.ts +8 -0
- package/dist/esm/hooks/useFileVersions.d.ts +2 -0
- package/dist/esm/hooks/useInfiniteScroll.d.ts +4 -0
- package/dist/esm/hooks/useIsFirstRender.d.ts +2 -0
- package/dist/esm/hooks/useMutateApps.d.ts +5 -0
- package/dist/esm/hooks/useMutateComment.d.ts +10 -0
- package/dist/esm/hooks/useMutateConversationName.d.ts +1 -1
- package/dist/esm/hooks/useMutateDeleteReaction.d.ts +3 -1
- package/dist/esm/hooks/useMutateEditComment.d.ts +10 -0
- package/dist/esm/hooks/useMutateEditPost.d.ts +10 -0
- package/dist/esm/hooks/useMutateExternalBlobs.d.ts +2 -2
- package/dist/esm/hooks/useMutateFile.d.ts +26 -0
- package/dist/esm/hooks/useMutateFileRename.d.ts +5 -0
- package/dist/esm/hooks/useMutateFileSubscribe.d.ts +7 -0
- package/dist/esm/hooks/useMutateFileTrash.d.ts +10 -0
- package/dist/esm/hooks/useMutateFileVersion.d.ts +7 -0
- package/dist/esm/hooks/useMutateFiles.d.ts +2 -0
- package/dist/esm/hooks/useMutateLeaveConversation.d.ts +4 -0
- package/dist/esm/hooks/useMutateMessage.d.ts +2 -2
- package/dist/esm/hooks/useMutatePost.d.ts +10 -0
- package/dist/esm/hooks/useMutateReaction.d.ts +3 -1
- package/dist/esm/hooks/useMutateRead.d.ts +1 -1
- package/dist/esm/hooks/useMutateReplaceReaction.d.ts +6 -0
- package/dist/esm/hooks/useMutateRestoreComment.d.ts +5 -0
- package/dist/esm/hooks/useMutateRestorePost.d.ts +4 -0
- package/dist/esm/hooks/useMutateStarred.d.ts +4 -0
- package/dist/esm/hooks/useMutateSubscribe.d.ts +4 -0
- package/dist/esm/hooks/useMutateTrashComment.d.ts +5 -0
- package/dist/esm/hooks/useMutateTrashPost.d.ts +4 -0
- package/dist/esm/hooks/useMutateTyping.d.ts +2 -0
- package/dist/esm/hooks/useMutateUnsubscribe.d.ts +4 -0
- package/dist/esm/hooks/useMutateVote.d.ts +5 -0
- package/dist/esm/hooks/usePost.d.ts +1 -0
- package/dist/esm/hooks/usePosts.d.ts +1 -0
- package/dist/esm/hooks/usePostsList.d.ts +1 -0
- package/dist/esm/hooks/useReactionList.d.ts +1 -0
- package/dist/esm/hooks/useSessionState.d.ts +2 -0
- package/dist/esm/hooks/useUnload.d.ts +2 -0
- package/dist/esm/hooks/useUpdateEffect.d.ts +3 -0
- package/dist/esm/hooks/useVotes.d.ts +1 -0
- package/dist/esm/index.d.ts +3 -1
- package/dist/esm/index.js +28 -6
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/ConversationListItem.d.ts +1 -0
- package/dist/esm/types/Files.d.ts +7 -0
- package/dist/esm/types/Message.d.ts +2 -2
- package/dist/esm/types/Posts.d.ts +4 -0
- package/dist/esm/types/interfaces.d.ts +9 -0
- package/dist/esm/types/types.d.ts +138 -22
- package/dist/esm/ui/Dropdown.d.ts +18 -2
- package/dist/esm/ui/Icon.d.ts +10 -2
- package/dist/esm/ui/Overlay.d.ts +3 -1
- package/dist/esm/ui/Sheet.d.ts +14 -0
- package/dist/esm/ui/Spinner.d.ts +2 -1
- package/dist/esm/utils/cacheUtils.d.ts +14 -0
- package/dist/esm/utils/fileUtilities.d.ts +10 -1
- package/dist/esm/utils/mentions.d.ts +6 -0
- package/dist/esm/utils/openUrl.d.ts +1 -0
- package/dist/index.d.ts +50 -6
- package/package.json +8 -2
- package/src/client/WeavyClient.ts +35 -1
- package/src/components/Attachment.tsx +20 -13
- package/src/components/Blob.tsx +28 -0
- package/src/components/Comment.tsx +43 -0
- package/src/components/CommentCount.tsx +15 -0
- package/src/components/CommentEdit.tsx +48 -0
- package/src/components/CommentPlaceholder.tsx +34 -0
- package/src/components/CommentTrashed.tsx +45 -0
- package/src/components/CommentView.tsx +142 -0
- package/src/components/Comments.tsx +78 -0
- package/src/components/Conversation.tsx +85 -31
- package/src/components/ConversationList.tsx +12 -41
- package/src/components/ConversationListItem.tsx +125 -74
- package/src/components/Dropzone.tsx +26 -0
- package/src/components/Editor.tsx +700 -0
- package/src/components/Embed.tsx +80 -0
- package/src/components/FileItem.tsx +391 -0
- package/src/components/FileList.tsx +166 -0
- package/src/components/FileVersions.tsx +100 -0
- package/src/components/Files.tsx +294 -0
- package/src/components/Image.tsx +11 -10
- package/src/components/Meeting.tsx +1 -2
- package/src/components/MeetingCard.tsx +1 -1
- package/src/components/Meetings.tsx +13 -5
- package/src/components/Message.tsx +14 -19
- package/src/components/Messages.tsx +38 -64
- package/src/components/NewConversation.tsx +8 -6
- package/src/components/PdfViewer.tsx +2 -2
- package/src/components/Poll.tsx +45 -0
- package/src/components/PollOption.tsx +65 -0
- package/src/components/Post.tsx +45 -0
- package/src/components/PostEdit.tsx +49 -0
- package/src/components/PostList.tsx +95 -0
- package/src/components/PostPlaceholder.tsx +32 -0
- package/src/components/PostTrashed.tsx +35 -0
- package/src/components/PostView.tsx +194 -0
- package/src/components/Posts.tsx +59 -0
- package/src/components/Preview.tsx +16 -23
- package/src/components/PreviewFiles.tsx +336 -0
- package/src/components/Reactions.tsx +142 -38
- package/src/components/SearchUsers.tsx +77 -37
- package/src/components/Typing.tsx +1 -1
- package/src/{components/FileBrowser.tsx → contexts/CloudFilesContext.tsx} +46 -30
- package/src/contexts/PreviewContext.tsx +102 -85
- package/src/contexts/WeavyContext.tsx +10 -6
- package/src/hooks/useApps.ts +23 -0
- package/src/hooks/useCloudFiles.ts +12 -0
- package/src/hooks/useCommentList.ts +30 -0
- package/src/hooks/useEmbeds.ts +126 -0
- package/src/hooks/useEvents.ts +3 -1
- package/src/hooks/useFileList.ts +84 -0
- package/src/hooks/useFileUploader.ts +38 -1
- package/src/hooks/useFileVersions.ts +20 -0
- package/src/hooks/useInfiniteScroll.ts +45 -0
- package/src/hooks/useIsFirstRender.ts +15 -0
- package/src/hooks/useMembers.ts +3 -3
- package/src/hooks/useMutateApps.ts +48 -0
- package/src/hooks/useMutateComment.ts +60 -0
- package/src/hooks/useMutateConversationName.ts +1 -1
- package/src/hooks/useMutateDeleteReaction.ts +17 -4
- package/src/hooks/useMutateEditComment.ts +63 -0
- package/src/hooks/useMutateEditPost.ts +64 -0
- package/src/hooks/useMutateExternalBlobs.ts +5 -9
- package/src/hooks/useMutateFile.ts +311 -0
- package/src/hooks/useMutateFileRename.ts +51 -0
- package/src/hooks/useMutateFileSubscribe.ts +80 -0
- package/src/hooks/useMutateFileTrash.ts +115 -0
- package/src/hooks/useMutateFileVersion.ts +85 -0
- package/src/hooks/useMutateFiles.ts +23 -0
- package/src/hooks/useMutateLeaveConversation.ts +38 -0
- package/src/hooks/useMutateMessage.ts +23 -62
- package/src/hooks/useMutatePost.ts +60 -0
- package/src/hooks/useMutateReaction.ts +21 -6
- package/src/hooks/useMutateRead.ts +8 -2
- package/src/hooks/useMutateRemoveMembers.ts +2 -9
- package/src/hooks/useMutateReplaceReaction.ts +59 -0
- package/src/hooks/useMutateRestoreComment.ts +37 -0
- package/src/hooks/useMutateRestorePost.ts +36 -0
- package/src/hooks/useMutateStarred.ts +35 -0
- package/src/hooks/useMutateSubscribe.ts +36 -0
- package/src/hooks/useMutateTrashComment.ts +37 -0
- package/src/hooks/useMutateTrashPost.ts +36 -0
- package/src/hooks/useMutateTyping.ts +5 -3
- package/src/hooks/useMutateUnsubscribe.ts +36 -0
- package/src/hooks/useMutateVote.ts +59 -0
- package/src/hooks/usePost.ts +20 -0
- package/src/hooks/usePosts.ts +21 -0
- package/src/hooks/usePostsList.ts +31 -0
- package/src/hooks/useReactionList.ts +21 -0
- package/src/hooks/useSearchUsers.ts +2 -2
- package/src/hooks/useSessionState.ts +23 -0
- package/src/hooks/useUnload.ts +19 -0
- package/src/hooks/useUpdateEffect.ts +16 -0
- package/src/hooks/useVotes.ts +21 -0
- package/src/index.ts +5 -1
- package/src/scss/theme/_appbar.scss +8 -4
- package/src/scss/theme/_card.scss +2 -0
- package/src/scss/theme/_comment-editor-cm.scss +5 -1
- package/src/scss/theme/_comments.scss +9 -8
- package/src/scss/theme/_conversations.scss +4 -0
- package/src/scss/theme/_files.scss +2 -81
- package/src/scss/theme/_icons.scss +21 -3
- package/src/scss/theme/_input.scss +13 -7
- package/src/scss/theme/_item.scss +23 -1
- package/src/scss/theme/_message-editor-cm.scss +5 -1
- package/src/scss/theme/_pager.scss +1 -1
- package/src/scss/theme/_post-editor-cm.scss +2 -2
- package/src/scss/theme/_post.scss +3 -10
- package/src/scss/theme/_preview-pdf-viewer.scss +996 -0
- package/src/scss/theme/_preview-pdf.scss +57 -783
- package/src/scss/theme/_sheet.scss +4 -1
- package/src/scss/theme/_spinner.scss +10 -1
- package/src/scss/theme/_tables.scss +2 -0
- package/src/scss/theme/base/_scroll.scss +3 -0
- package/src/scss/weavy-chat.scss +3 -1
- package/src/scss/weavy-files.scss +31 -0
- package/src/scss/weavy-messenger.scss +3 -1
- package/src/scss/weavy-posts.scss +35 -0
- package/src/scss/weavy.scss +2 -0
- package/src/types/ConversationListItem.ts +1 -0
- package/src/types/Files.ts +7 -0
- package/src/types/Message.ts +2 -2
- package/src/types/Posts.ts +4 -0
- package/src/types/interfaces.ts +13 -0
- package/src/types/types.ts +157 -28
- package/src/ui/Button.tsx +6 -5
- package/src/ui/Dropdown.tsx +67 -16
- package/src/ui/Icon.tsx +112 -15
- package/src/ui/Overlay.tsx +6 -2
- package/src/ui/Sheet.tsx +87 -0
- package/src/ui/Spinner.tsx +7 -4
- package/src/utils/cacheUtils.ts +246 -0
- package/src/utils/fileUtilities.ts +208 -24
- package/src/utils/infinite-scroll.js +103 -0
- package/src/utils/mentions.ts +50 -0
- package/src/utils/openUrl.ts +41 -0
- package/src/utils/{scrollToBottom.js → scroll-position.js} +50 -9
- package/src/utils/{scrollbarDetection.js → scrollbar-detection.js} +0 -0
- package/src/utils/utils.js +15 -1
- package/tsconfig.json +1 -1
- package/dist/cjs/components/ConversationForm.d.ts +0 -7
- package/dist/cjs/components/File.d.ts +0 -9
- package/dist/cjs/components/FileBrowser.d.ts +0 -6
- package/dist/cjs/hooks/usePreview.d.ts +0 -4
- package/dist/cjs/hooks/useReactions.d.ts +0 -3
- package/dist/esm/components/ConversationForm.d.ts +0 -7
- package/dist/esm/components/File.d.ts +0 -9
- package/dist/esm/components/FileBrowser.d.ts +0 -6
- package/dist/esm/hooks/usePreview.d.ts +0 -4
- package/dist/esm/hooks/useReactions.d.ts +0 -3
- package/src/components/ConversationForm.tsx +0 -210
- package/src/components/File.tsx +0 -21
- package/src/hooks/usePreview.ts +0 -21
- package/src/hooks/useReactions.ts +0 -51
- package/src/utils/infiniteScroll.js +0 -184
|
@@ -2,33 +2,73 @@
|
|
|
2
2
|
@use "base/colors";
|
|
3
3
|
@use "base/scroll";
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
--
|
|
9
|
-
--
|
|
10
|
-
--
|
|
11
|
-
--
|
|
5
|
+
// pdfjs :roots copied from pdfjs-dist/web/pdf_viewer.css
|
|
6
|
+
|
|
7
|
+
:root {
|
|
8
|
+
--annotation-unfocused-field-background: url("data:image/svg+xml;charset=UTF-8,<svg width='1px' height='1px' xmlns='http://www.w3.org/2000/svg'><rect width='100%' height='100%' style='fill:rgba(0, 54, 255, 0.13);'/></svg>");
|
|
9
|
+
--input-focus-border-color: Highlight;
|
|
10
|
+
--input-focus-outline: 1px solid Canvas;
|
|
11
|
+
--input-unfocused-border-color: transparent;
|
|
12
|
+
--input-disabled-border-color: transparent;
|
|
13
|
+
--input-hover-border-color: black;
|
|
12
14
|
}
|
|
13
15
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
--
|
|
18
|
-
--
|
|
19
|
-
--
|
|
20
|
-
--spreadHorizontalWrapped-margin-LR: 4.5px;
|
|
16
|
+
@media (forced-colors: active) {
|
|
17
|
+
:root {
|
|
18
|
+
--input-focus-border-color: CanvasText;
|
|
19
|
+
--input-unfocused-border-color: ActiveText;
|
|
20
|
+
--input-disabled-border-color: GrayText;
|
|
21
|
+
--input-hover-border-color: Highlight;
|
|
21
22
|
}
|
|
22
23
|
}
|
|
23
24
|
|
|
24
25
|
:root {
|
|
25
|
-
--
|
|
26
|
+
--xfa-unfocused-field-background: url("data:image/svg+xml;charset=UTF-8,<svg width='1px' height='1px' xmlns='http://www.w3.org/2000/svg'><rect width='100%' height='100%' style='fill:rgba(0, 54, 255, 0.13);'/></svg>");
|
|
27
|
+
--xfa-focus-outline: auto;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
@media (forced-colors: active) {
|
|
31
|
+
:root {
|
|
32
|
+
--xfa-focus-outline: 2px solid CanvasText;
|
|
33
|
+
}
|
|
26
34
|
}
|
|
27
35
|
|
|
28
36
|
:root {
|
|
29
|
-
--
|
|
37
|
+
--focus-outline: solid 2px blue;
|
|
38
|
+
--hover-outline: dashed 2px blue;
|
|
39
|
+
--freetext-line-height: 1.35;
|
|
40
|
+
--freetext-padding: 2px;
|
|
41
|
+
--editorFreeText-editing-cursor: text;
|
|
42
|
+
--editorInk-editing-cursor: pointer;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
@media (forced-colors: active) {
|
|
46
|
+
:root {
|
|
47
|
+
--focus-outline: solid 3px ButtonText;
|
|
48
|
+
--hover-outline: dashed 3px ButtonText;
|
|
49
|
+
}
|
|
30
50
|
}
|
|
31
51
|
|
|
52
|
+
:root {
|
|
53
|
+
--viewer-container-height: 0;
|
|
54
|
+
--pdfViewer-padding-bottom: 0;
|
|
55
|
+
--page-margin: 2rem auto;
|
|
56
|
+
--page-border: none;
|
|
57
|
+
--page-border-image: none;
|
|
58
|
+
--spreadHorizontalWrapped-margin-LR: -3.5px;
|
|
59
|
+
--scale-factor: 1;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
@media screen and (forced-colors: active) {
|
|
63
|
+
:root {
|
|
64
|
+
--page-border: 1px solid CanvasText;
|
|
65
|
+
--page-border-image: none;
|
|
66
|
+
--spreadHorizontalWrapped-margin-LR: 3.5px;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
// Weavy styling
|
|
71
|
+
|
|
32
72
|
.wy-content-pdf {
|
|
33
73
|
|
|
34
74
|
.wy-input[data-pdf-target=pageNumber] {
|
|
@@ -57,777 +97,11 @@
|
|
|
57
97
|
}
|
|
58
98
|
}
|
|
59
99
|
}
|
|
60
|
-
/* Copyright 2014 Mozilla Foundation
|
|
61
|
-
*
|
|
62
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
63
|
-
* you may not use this file except in compliance with the License.
|
|
64
|
-
* You may obtain a copy of the License at
|
|
65
|
-
*
|
|
66
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
67
|
-
*
|
|
68
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
69
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
70
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
71
|
-
* See the License for the specific language governing permissions and
|
|
72
|
-
* limitations under the License.
|
|
73
|
-
*/
|
|
74
|
-
|
|
75
|
-
.textLayer {
|
|
76
|
-
position: absolute;
|
|
77
|
-
text-align: initial;
|
|
78
|
-
left: 0;
|
|
79
|
-
top: 0;
|
|
80
|
-
right: 0;
|
|
81
|
-
bottom: 0;
|
|
82
|
-
overflow: hidden;
|
|
83
|
-
opacity: 0.2;
|
|
84
|
-
line-height: 1;
|
|
85
|
-
-webkit-text-size-adjust: none;
|
|
86
|
-
-moz-text-size-adjust: none;
|
|
87
|
-
text-size-adjust: none;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
.textLayer span,
|
|
91
|
-
.textLayer br {
|
|
92
|
-
color: transparent;
|
|
93
|
-
position: absolute;
|
|
94
|
-
white-space: pre;
|
|
95
|
-
cursor: text;
|
|
96
|
-
transform-origin: 0% 0%;
|
|
97
|
-
}
|
|
98
|
-
/* Only necessary in Google Chrome, see issue 14205, and most unfortunately
|
|
99
|
-
* the problem doesn't show up in "text" reference tests. */
|
|
100
|
-
.textLayer span.markedContent {
|
|
101
|
-
top: 0;
|
|
102
|
-
height: 0;
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
.textLayer .highlight {
|
|
106
|
-
margin: -1px;
|
|
107
|
-
padding: 1px;
|
|
108
|
-
background-color: rgba(180, 0, 170, 1);
|
|
109
|
-
border-radius: 4px;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
.textLayer .highlight.appended {
|
|
113
|
-
position: initial;
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
.textLayer .highlight.begin {
|
|
117
|
-
border-radius: 4px 0 0 4px;
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
.textLayer .highlight.end {
|
|
121
|
-
border-radius: 0 4px 4px 0;
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
.textLayer .highlight.middle {
|
|
125
|
-
border-radius: 0;
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
.textLayer .highlight.selected {
|
|
129
|
-
background-color: rgba(0, 100, 0, 1);
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
.textLayer ::-moz-selection {
|
|
133
|
-
background: rgba(0, 0, 255, 1);
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
.textLayer ::selection {
|
|
137
|
-
background: rgba(0, 0, 255, 1);
|
|
138
|
-
}
|
|
139
|
-
/* Avoids https://github.com/mozilla/pdf.js/issues/13840 in Chrome */
|
|
140
|
-
.textLayer br::-moz-selection {
|
|
141
|
-
background: transparent;
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
.textLayer br::selection {
|
|
145
|
-
background: transparent;
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
.textLayer .endOfContent {
|
|
149
|
-
display: block;
|
|
150
|
-
position: absolute;
|
|
151
|
-
left: 0;
|
|
152
|
-
top: 100%;
|
|
153
|
-
right: 0;
|
|
154
|
-
bottom: 0;
|
|
155
|
-
z-index: -1;
|
|
156
|
-
cursor: default;
|
|
157
|
-
-webkit-user-select: none;
|
|
158
|
-
-moz-user-select: none;
|
|
159
|
-
user-select: none;
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
.textLayer .endOfContent.active {
|
|
163
|
-
top: 0;
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
.annotationLayer section {
|
|
170
|
-
position: absolute;
|
|
171
|
-
text-align: initial;
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
.annotationLayer .linkAnnotation > a,
|
|
175
|
-
.annotationLayer .buttonWidgetAnnotation.pushButton > a {
|
|
176
|
-
position: absolute;
|
|
177
|
-
font-size: 1em;
|
|
178
|
-
top: 0;
|
|
179
|
-
left: 0;
|
|
180
|
-
width: 100%;
|
|
181
|
-
height: 100%;
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
.annotationLayer .buttonWidgetAnnotation.pushButton > canvas {
|
|
185
|
-
position: relative;
|
|
186
|
-
top: 0;
|
|
187
|
-
left: 0;
|
|
188
|
-
z-index: -1;
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
.annotationLayer .linkAnnotation > a:hover,
|
|
192
|
-
.annotationLayer .buttonWidgetAnnotation.pushButton > a:hover {
|
|
193
|
-
opacity: 0.2;
|
|
194
|
-
background: rgba(255, 255, 0, 1);
|
|
195
|
-
box-shadow: 0 2px 10px rgba(255, 255, 0, 1);
|
|
196
|
-
}
|
|
197
|
-
|
|
198
|
-
.annotationLayer .textAnnotation img {
|
|
199
|
-
position: absolute;
|
|
200
|
-
cursor: pointer;
|
|
201
|
-
}
|
|
202
|
-
|
|
203
|
-
.annotationLayer .textWidgetAnnotation input,
|
|
204
|
-
.annotationLayer .textWidgetAnnotation textarea,
|
|
205
|
-
.annotationLayer .choiceWidgetAnnotation select,
|
|
206
|
-
.annotationLayer .buttonWidgetAnnotation.checkBox input,
|
|
207
|
-
.annotationLayer .buttonWidgetAnnotation.radioButton input {
|
|
208
|
-
background-image: var(--annotation-unfocused-field-background);
|
|
209
|
-
border: 1px solid transparent;
|
|
210
|
-
box-sizing: border-box;
|
|
211
|
-
font-size: 9px;
|
|
212
|
-
height: 100%;
|
|
213
|
-
margin: 0;
|
|
214
|
-
padding: 0 3px;
|
|
215
|
-
vertical-align: top;
|
|
216
|
-
width: 100%;
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
.annotationLayer .choiceWidgetAnnotation select option {
|
|
220
|
-
padding: 0;
|
|
221
|
-
}
|
|
222
|
-
|
|
223
|
-
.annotationLayer .buttonWidgetAnnotation.radioButton input {
|
|
224
|
-
border-radius: 50%;
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
.annotationLayer .textWidgetAnnotation textarea {
|
|
228
|
-
font: message-box;
|
|
229
|
-
font-size: 9px;
|
|
230
|
-
resize: none;
|
|
231
|
-
}
|
|
232
|
-
|
|
233
|
-
.annotationLayer .textWidgetAnnotation input[disabled],
|
|
234
|
-
.annotationLayer .textWidgetAnnotation textarea[disabled],
|
|
235
|
-
.annotationLayer .choiceWidgetAnnotation select[disabled],
|
|
236
|
-
.annotationLayer .buttonWidgetAnnotation.checkBox input[disabled],
|
|
237
|
-
.annotationLayer .buttonWidgetAnnotation.radioButton input[disabled] {
|
|
238
|
-
background: none;
|
|
239
|
-
border: 1px solid transparent;
|
|
240
|
-
cursor: not-allowed;
|
|
241
|
-
}
|
|
242
|
-
|
|
243
|
-
.annotationLayer .textWidgetAnnotation input:hover,
|
|
244
|
-
.annotationLayer .textWidgetAnnotation textarea:hover,
|
|
245
|
-
.annotationLayer .choiceWidgetAnnotation select:hover,
|
|
246
|
-
.annotationLayer .buttonWidgetAnnotation.checkBox input:hover,
|
|
247
|
-
.annotationLayer .buttonWidgetAnnotation.radioButton input:hover {
|
|
248
|
-
border: 1px solid rgba(0, 0, 0, 1);
|
|
249
|
-
}
|
|
250
|
-
|
|
251
|
-
.annotationLayer .textWidgetAnnotation input:focus,
|
|
252
|
-
.annotationLayer .textWidgetAnnotation textarea:focus,
|
|
253
|
-
.annotationLayer .choiceWidgetAnnotation select:focus {
|
|
254
|
-
background: none;
|
|
255
|
-
border: 1px solid transparent;
|
|
256
|
-
}
|
|
257
|
-
|
|
258
|
-
.annotationLayer .textWidgetAnnotation input :focus,
|
|
259
|
-
.annotationLayer .textWidgetAnnotation textarea :focus,
|
|
260
|
-
.annotationLayer .choiceWidgetAnnotation select :focus,
|
|
261
|
-
.annotationLayer .buttonWidgetAnnotation.checkBox :focus,
|
|
262
|
-
.annotationLayer .buttonWidgetAnnotation.radioButton :focus {
|
|
263
|
-
background-image: none;
|
|
264
|
-
background-color: transparent;
|
|
265
|
-
outline: auto;
|
|
266
|
-
}
|
|
267
|
-
|
|
268
|
-
.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before,
|
|
269
|
-
.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after,
|
|
270
|
-
.annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before {
|
|
271
|
-
background-color: rgba(0, 0, 0, 1);
|
|
272
|
-
content: "";
|
|
273
|
-
display: block;
|
|
274
|
-
position: absolute;
|
|
275
|
-
}
|
|
276
|
-
|
|
277
|
-
.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before,
|
|
278
|
-
.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after {
|
|
279
|
-
height: 80%;
|
|
280
|
-
left: 45%;
|
|
281
|
-
width: 1px;
|
|
282
|
-
}
|
|
283
|
-
|
|
284
|
-
.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before {
|
|
285
|
-
transform: rotate(45deg);
|
|
286
|
-
}
|
|
287
|
-
|
|
288
|
-
.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after {
|
|
289
|
-
transform: rotate(-45deg);
|
|
290
|
-
}
|
|
291
|
-
|
|
292
|
-
.annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before {
|
|
293
|
-
border-radius: 50%;
|
|
294
|
-
height: 50%;
|
|
295
|
-
left: 30%;
|
|
296
|
-
top: 20%;
|
|
297
|
-
width: 50%;
|
|
298
|
-
}
|
|
299
|
-
|
|
300
|
-
.annotationLayer .textWidgetAnnotation input.comb {
|
|
301
|
-
font-family: monospace;
|
|
302
|
-
padding-left: 2px;
|
|
303
|
-
padding-right: 0;
|
|
304
|
-
}
|
|
305
|
-
|
|
306
|
-
.annotationLayer .textWidgetAnnotation input.comb:focus {
|
|
307
|
-
/*
|
|
308
|
-
* Letter spacing is placed on the right side of each character. Hence, the
|
|
309
|
-
* letter spacing of the last character may be placed outside the visible
|
|
310
|
-
* area, causing horizontal scrolling. We avoid this by extending the width
|
|
311
|
-
* when the element has focus and revert this when it loses focus.
|
|
312
|
-
*/
|
|
313
|
-
width: 103%;
|
|
314
|
-
}
|
|
315
|
-
|
|
316
|
-
.annotationLayer .buttonWidgetAnnotation.checkBox input,
|
|
317
|
-
.annotationLayer .buttonWidgetAnnotation.radioButton input {
|
|
318
|
-
-webkit-appearance: none;
|
|
319
|
-
-moz-appearance: none;
|
|
320
|
-
appearance: none;
|
|
321
|
-
padding: 0;
|
|
322
|
-
}
|
|
323
|
-
|
|
324
|
-
.annotationLayer .popupWrapper {
|
|
325
|
-
position: absolute;
|
|
326
|
-
width: 20em;
|
|
327
|
-
}
|
|
328
|
-
|
|
329
|
-
.annotationLayer .popup {
|
|
330
|
-
position: absolute;
|
|
331
|
-
z-index: 200;
|
|
332
|
-
max-width: 20em;
|
|
333
|
-
background-color: rgba(255, 255, 153, 1);
|
|
334
|
-
box-shadow: 0 2px 5px rgba(136, 136, 136, 1);
|
|
335
|
-
border-radius: 2px;
|
|
336
|
-
padding: 6px;
|
|
337
|
-
margin-left: 5px;
|
|
338
|
-
cursor: pointer;
|
|
339
|
-
font: message-box;
|
|
340
|
-
font-size: 9px;
|
|
341
|
-
white-space: normal;
|
|
342
|
-
word-wrap: break-word;
|
|
343
|
-
}
|
|
344
|
-
|
|
345
|
-
.annotationLayer .popup > * {
|
|
346
|
-
font-size: 9px;
|
|
347
|
-
}
|
|
348
|
-
|
|
349
|
-
.annotationLayer .popup h1 {
|
|
350
|
-
display: inline-block;
|
|
351
|
-
}
|
|
352
|
-
|
|
353
|
-
.annotationLayer .popupDate {
|
|
354
|
-
display: inline-block;
|
|
355
|
-
margin-left: 5px;
|
|
356
|
-
}
|
|
357
|
-
|
|
358
|
-
.annotationLayer .popupContent {
|
|
359
|
-
border-top: 1px solid rgba(51, 51, 51, 1);
|
|
360
|
-
margin-top: 2px;
|
|
361
|
-
padding-top: 2px;
|
|
362
|
-
}
|
|
363
|
-
|
|
364
|
-
.annotationLayer .richText > * {
|
|
365
|
-
white-space: pre-wrap;
|
|
366
|
-
}
|
|
367
|
-
|
|
368
|
-
.annotationLayer .highlightAnnotation,
|
|
369
|
-
.annotationLayer .underlineAnnotation,
|
|
370
|
-
.annotationLayer .squigglyAnnotation,
|
|
371
|
-
.annotationLayer .strikeoutAnnotation,
|
|
372
|
-
.annotationLayer .freeTextAnnotation,
|
|
373
|
-
.annotationLayer .lineAnnotation svg line,
|
|
374
|
-
.annotationLayer .squareAnnotation svg rect,
|
|
375
|
-
.annotationLayer .circleAnnotation svg ellipse,
|
|
376
|
-
.annotationLayer .polylineAnnotation svg polyline,
|
|
377
|
-
.annotationLayer .polygonAnnotation svg polygon,
|
|
378
|
-
.annotationLayer .caretAnnotation,
|
|
379
|
-
.annotationLayer .inkAnnotation svg polyline,
|
|
380
|
-
.annotationLayer .stampAnnotation,
|
|
381
|
-
.annotationLayer .fileAttachmentAnnotation {
|
|
382
|
-
cursor: pointer;
|
|
383
|
-
}
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
.xfaLayer .highlight {
|
|
389
|
-
margin: -1px;
|
|
390
|
-
padding: 1px;
|
|
391
|
-
background-color: rgba(239, 203, 237, 1);
|
|
392
|
-
border-radius: 4px;
|
|
393
|
-
}
|
|
394
|
-
|
|
395
|
-
.xfaLayer .highlight.appended {
|
|
396
|
-
position: initial;
|
|
397
|
-
}
|
|
398
|
-
|
|
399
|
-
.xfaLayer .highlight.begin {
|
|
400
|
-
border-radius: 4px 0 0 4px;
|
|
401
|
-
}
|
|
402
|
-
|
|
403
|
-
.xfaLayer .highlight.end {
|
|
404
|
-
border-radius: 0 4px 4px 0;
|
|
405
|
-
}
|
|
406
|
-
|
|
407
|
-
.xfaLayer .highlight.middle {
|
|
408
|
-
border-radius: 0;
|
|
409
|
-
}
|
|
410
|
-
|
|
411
|
-
.xfaLayer .highlight.selected {
|
|
412
|
-
background-color: rgba(203, 223, 203, 1);
|
|
413
|
-
}
|
|
414
|
-
|
|
415
|
-
.xfaLayer ::-moz-selection {
|
|
416
|
-
background: rgba(0, 0, 255, 1);
|
|
417
|
-
}
|
|
418
|
-
|
|
419
|
-
.xfaLayer ::selection {
|
|
420
|
-
background: rgba(0, 0, 255, 1);
|
|
421
|
-
}
|
|
422
|
-
|
|
423
|
-
.xfaPage {
|
|
424
|
-
overflow: hidden;
|
|
425
|
-
position: relative;
|
|
426
|
-
}
|
|
427
|
-
|
|
428
|
-
.xfaContentarea {
|
|
429
|
-
position: absolute;
|
|
430
|
-
}
|
|
431
|
-
|
|
432
|
-
.xfaPrintOnly {
|
|
433
|
-
display: none;
|
|
434
|
-
}
|
|
435
|
-
|
|
436
|
-
.xfaLayer {
|
|
437
|
-
position: absolute;
|
|
438
|
-
text-align: initial;
|
|
439
|
-
top: 0;
|
|
440
|
-
left: 0;
|
|
441
|
-
transform-origin: 0 0;
|
|
442
|
-
line-height: 1.2;
|
|
443
|
-
}
|
|
444
|
-
|
|
445
|
-
.xfaLayer * {
|
|
446
|
-
color: inherit;
|
|
447
|
-
font: inherit;
|
|
448
|
-
font-style: inherit;
|
|
449
|
-
font-weight: inherit;
|
|
450
|
-
font-kerning: inherit;
|
|
451
|
-
letter-spacing: -0.01px;
|
|
452
|
-
text-align: inherit;
|
|
453
|
-
text-decoration: inherit;
|
|
454
|
-
box-sizing: border-box;
|
|
455
|
-
background-color: transparent;
|
|
456
|
-
padding: 0;
|
|
457
|
-
margin: 0;
|
|
458
|
-
pointer-events: auto;
|
|
459
|
-
line-height: inherit;
|
|
460
|
-
}
|
|
461
|
-
|
|
462
|
-
.xfaLayer div {
|
|
463
|
-
pointer-events: none;
|
|
464
|
-
}
|
|
465
|
-
|
|
466
|
-
.xfaLayer svg {
|
|
467
|
-
pointer-events: none;
|
|
468
|
-
}
|
|
469
|
-
|
|
470
|
-
.xfaLayer svg * {
|
|
471
|
-
pointer-events: none;
|
|
472
|
-
}
|
|
473
|
-
|
|
474
|
-
.xfaLayer a {
|
|
475
|
-
color: blue;
|
|
476
|
-
}
|
|
477
|
-
|
|
478
|
-
.xfaRich li {
|
|
479
|
-
margin-left: 3em;
|
|
480
|
-
}
|
|
481
|
-
|
|
482
|
-
.xfaFont {
|
|
483
|
-
color: black;
|
|
484
|
-
font-weight: normal;
|
|
485
|
-
font-kerning: none;
|
|
486
|
-
font-size: 10px;
|
|
487
|
-
font-style: normal;
|
|
488
|
-
letter-spacing: 0;
|
|
489
|
-
text-decoration: none;
|
|
490
|
-
vertical-align: 0;
|
|
491
|
-
}
|
|
492
|
-
|
|
493
|
-
.xfaCaption {
|
|
494
|
-
overflow: hidden;
|
|
495
|
-
flex: 0 0 auto;
|
|
496
|
-
}
|
|
497
|
-
|
|
498
|
-
.xfaCaptionForCheckButton {
|
|
499
|
-
overflow: hidden;
|
|
500
|
-
flex: 1 1 auto;
|
|
501
|
-
}
|
|
502
|
-
|
|
503
|
-
.xfaLabel {
|
|
504
|
-
height: 100%;
|
|
505
|
-
width: 100%;
|
|
506
|
-
}
|
|
507
|
-
|
|
508
|
-
.xfaLeft {
|
|
509
|
-
display: flex;
|
|
510
|
-
flex-direction: row;
|
|
511
|
-
align-items: center;
|
|
512
|
-
}
|
|
513
|
-
|
|
514
|
-
.xfaRight {
|
|
515
|
-
display: flex;
|
|
516
|
-
flex-direction: row-reverse;
|
|
517
|
-
align-items: center;
|
|
518
|
-
}
|
|
519
|
-
|
|
520
|
-
.xfaLeft > .xfaCaption,
|
|
521
|
-
.xfaLeft > .xfaCaptionForCheckButton,
|
|
522
|
-
.xfaRight > .xfaCaption,
|
|
523
|
-
.xfaRight > .xfaCaptionForCheckButton {
|
|
524
|
-
max-height: 100%;
|
|
525
|
-
}
|
|
526
|
-
|
|
527
|
-
.xfaTop {
|
|
528
|
-
display: flex;
|
|
529
|
-
flex-direction: column;
|
|
530
|
-
align-items: flex-start;
|
|
531
|
-
}
|
|
532
|
-
|
|
533
|
-
.xfaBottom {
|
|
534
|
-
display: flex;
|
|
535
|
-
flex-direction: column-reverse;
|
|
536
|
-
align-items: flex-start;
|
|
537
|
-
}
|
|
538
|
-
|
|
539
|
-
.xfaTop > .xfaCaption,
|
|
540
|
-
.xfaTop > .xfaCaptionForCheckButton,
|
|
541
|
-
.xfaBottom > .xfaCaption,
|
|
542
|
-
.xfaBottom > .xfaCaptionForCheckButton {
|
|
543
|
-
width: 100%;
|
|
544
|
-
}
|
|
545
|
-
|
|
546
|
-
.xfaBorder {
|
|
547
|
-
background-color: transparent;
|
|
548
|
-
position: absolute;
|
|
549
|
-
pointer-events: none;
|
|
550
|
-
}
|
|
551
|
-
|
|
552
|
-
.xfaWrapped {
|
|
553
|
-
width: 100%;
|
|
554
|
-
height: 100%;
|
|
555
|
-
}
|
|
556
|
-
|
|
557
|
-
.xfaTextfield:focus,
|
|
558
|
-
.xfaSelect:focus {
|
|
559
|
-
background-image: none;
|
|
560
|
-
background-color: transparent;
|
|
561
|
-
outline: auto;
|
|
562
|
-
outline-offset: -1px;
|
|
563
|
-
}
|
|
564
|
-
|
|
565
|
-
.xfaCheckbox:focus,
|
|
566
|
-
.xfaRadio:focus {
|
|
567
|
-
outline: auto;
|
|
568
|
-
}
|
|
569
|
-
|
|
570
|
-
.xfaTextfield,
|
|
571
|
-
.xfaSelect {
|
|
572
|
-
height: 100%;
|
|
573
|
-
width: 100%;
|
|
574
|
-
flex: 1 1 auto;
|
|
575
|
-
border: none;
|
|
576
|
-
resize: none;
|
|
577
|
-
background-image: var(--xfa-unfocused-field-background);
|
|
578
|
-
}
|
|
579
|
-
|
|
580
|
-
.xfaTop > .xfaTextfield,
|
|
581
|
-
.xfaTop > .xfaSelect,
|
|
582
|
-
.xfaBottom > .xfaTextfield,
|
|
583
|
-
.xfaBottom > .xfaSelect {
|
|
584
|
-
flex: 0 1 auto;
|
|
585
|
-
}
|
|
586
|
-
|
|
587
|
-
.xfaButton {
|
|
588
|
-
cursor: pointer;
|
|
589
|
-
width: 100%;
|
|
590
|
-
height: 100%;
|
|
591
|
-
border: none;
|
|
592
|
-
text-align: center;
|
|
593
|
-
}
|
|
594
|
-
|
|
595
|
-
.xfaLink {
|
|
596
|
-
width: 100%;
|
|
597
|
-
height: 100%;
|
|
598
|
-
position: absolute;
|
|
599
|
-
top: 0;
|
|
600
|
-
left: 0;
|
|
601
|
-
}
|
|
602
|
-
|
|
603
|
-
.xfaCheckbox,
|
|
604
|
-
.xfaRadio {
|
|
605
|
-
width: 100%;
|
|
606
|
-
height: 100%;
|
|
607
|
-
flex: 0 0 auto;
|
|
608
|
-
border: none;
|
|
609
|
-
}
|
|
610
|
-
|
|
611
|
-
.xfaRich {
|
|
612
|
-
white-space: pre-wrap;
|
|
613
|
-
width: 100%;
|
|
614
|
-
height: 100%;
|
|
615
|
-
}
|
|
616
|
-
|
|
617
|
-
.xfaImage {
|
|
618
|
-
-o-object-position: left top;
|
|
619
|
-
object-position: left top;
|
|
620
|
-
-o-object-fit: contain;
|
|
621
|
-
object-fit: contain;
|
|
622
|
-
width: 100%;
|
|
623
|
-
height: 100%;
|
|
624
|
-
}
|
|
625
|
-
|
|
626
|
-
.xfaLrTb,
|
|
627
|
-
.xfaRlTb,
|
|
628
|
-
.xfaTb {
|
|
629
|
-
display: flex;
|
|
630
|
-
flex-direction: column;
|
|
631
|
-
align-items: stretch;
|
|
632
|
-
}
|
|
633
|
-
|
|
634
|
-
.xfaLr {
|
|
635
|
-
display: flex;
|
|
636
|
-
flex-direction: row;
|
|
637
|
-
align-items: stretch;
|
|
638
|
-
}
|
|
639
|
-
|
|
640
|
-
.xfaRl {
|
|
641
|
-
display: flex;
|
|
642
|
-
flex-direction: row-reverse;
|
|
643
|
-
align-items: stretch;
|
|
644
|
-
}
|
|
645
|
-
|
|
646
|
-
.xfaTb > div {
|
|
647
|
-
justify-content: left;
|
|
648
|
-
}
|
|
649
|
-
|
|
650
|
-
.xfaPosition {
|
|
651
|
-
position: relative;
|
|
652
|
-
}
|
|
653
|
-
|
|
654
|
-
.xfaArea {
|
|
655
|
-
position: relative;
|
|
656
|
-
}
|
|
657
|
-
|
|
658
|
-
.xfaValignMiddle {
|
|
659
|
-
display: flex;
|
|
660
|
-
align-items: center;
|
|
661
|
-
}
|
|
662
|
-
|
|
663
|
-
.xfaTable {
|
|
664
|
-
display: flex;
|
|
665
|
-
flex-direction: column;
|
|
666
|
-
align-items: stretch;
|
|
667
|
-
}
|
|
668
|
-
|
|
669
|
-
.xfaTable .xfaRow {
|
|
670
|
-
display: flex;
|
|
671
|
-
flex-direction: row;
|
|
672
|
-
align-items: stretch;
|
|
673
|
-
}
|
|
674
|
-
|
|
675
|
-
.xfaTable .xfaRlRow {
|
|
676
|
-
display: flex;
|
|
677
|
-
flex-direction: row-reverse;
|
|
678
|
-
align-items: stretch;
|
|
679
|
-
flex: 1;
|
|
680
|
-
}
|
|
681
|
-
|
|
682
|
-
.xfaTable .xfaRlRow > div {
|
|
683
|
-
flex: 1;
|
|
684
|
-
}
|
|
685
|
-
|
|
686
|
-
.xfaNonInteractive input,
|
|
687
|
-
.xfaNonInteractive textarea,
|
|
688
|
-
.xfaDisabled input,
|
|
689
|
-
.xfaDisabled textarea,
|
|
690
|
-
.xfaReadOnly input,
|
|
691
|
-
.xfaReadOnly textarea {
|
|
692
|
-
background: initial;
|
|
693
|
-
}
|
|
694
|
-
|
|
695
|
-
@media print {
|
|
696
|
-
.xfaTextfield,
|
|
697
|
-
.xfaSelect {
|
|
698
|
-
background: transparent;
|
|
699
|
-
}
|
|
700
|
-
|
|
701
|
-
.xfaSelect {
|
|
702
|
-
-webkit-appearance: none;
|
|
703
|
-
-moz-appearance: none;
|
|
704
|
-
appearance: none;
|
|
705
|
-
text-indent: 1px;
|
|
706
|
-
text-overflow: "";
|
|
707
|
-
}
|
|
708
|
-
}
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
.pdfViewer {
|
|
713
|
-
padding-bottom: var(--pdfViewer-padding-bottom);
|
|
714
|
-
}
|
|
715
100
|
|
|
716
|
-
|
|
717
|
-
overflow: hidden;
|
|
718
|
-
}
|
|
101
|
+
@import "preview-pdf-viewer";
|
|
719
102
|
|
|
720
103
|
.pdfViewer .page {
|
|
721
|
-
direction: ltr;
|
|
722
|
-
width: 816px;
|
|
723
|
-
height: 1056px;
|
|
724
|
-
margin: var(--page-margin);
|
|
725
|
-
position: relative;
|
|
726
|
-
overflow: visible;
|
|
727
|
-
border: var(--page-border);
|
|
728
|
-
background-clip: content-box;
|
|
729
|
-
//border-image: url(/images/pdf/shadow.png) 9 9 repeat;
|
|
730
104
|
box-shadow: vars.$shadow-level2;
|
|
731
105
|
background-color: colors.$white;
|
|
732
106
|
}
|
|
733
|
-
|
|
734
|
-
.pdfViewer .dummyPage {
|
|
735
|
-
position: relative;
|
|
736
|
-
width: 0;
|
|
737
|
-
/* The height is set via JS, see `BaseViewer.#ensurePageViewVisible`. */
|
|
738
|
-
}
|
|
739
|
-
|
|
740
|
-
.pdfViewer.removePageBorders .page {
|
|
741
|
-
margin: 0 auto 10px;
|
|
742
|
-
border: none;
|
|
743
|
-
}
|
|
744
|
-
|
|
745
|
-
.pdfViewer.singlePageView {
|
|
746
|
-
display: inline-block;
|
|
747
|
-
}
|
|
748
|
-
|
|
749
|
-
.pdfViewer.singlePageView .page {
|
|
750
|
-
margin: 0;
|
|
751
|
-
border: none;
|
|
752
|
-
}
|
|
753
|
-
|
|
754
|
-
.pdfViewer.scrollHorizontal,
|
|
755
|
-
.pdfViewer.scrollWrapped,
|
|
756
|
-
.spread {
|
|
757
|
-
margin-left: 3.5px;
|
|
758
|
-
margin-right: 3.5px;
|
|
759
|
-
text-align: center;
|
|
760
|
-
}
|
|
761
|
-
|
|
762
|
-
.pdfViewer.scrollHorizontal,
|
|
763
|
-
.spread {
|
|
764
|
-
white-space: nowrap;
|
|
765
|
-
}
|
|
766
|
-
|
|
767
|
-
.pdfViewer.removePageBorders,
|
|
768
|
-
.pdfViewer.scrollHorizontal .spread,
|
|
769
|
-
.pdfViewer.scrollWrapped .spread {
|
|
770
|
-
margin-left: 0;
|
|
771
|
-
margin-right: 0;
|
|
772
|
-
}
|
|
773
|
-
|
|
774
|
-
.spread .page,
|
|
775
|
-
.spread .dummyPage,
|
|
776
|
-
.pdfViewer.scrollHorizontal .page,
|
|
777
|
-
.pdfViewer.scrollWrapped .page,
|
|
778
|
-
.pdfViewer.scrollHorizontal .spread,
|
|
779
|
-
.pdfViewer.scrollWrapped .spread {
|
|
780
|
-
display: inline-block;
|
|
781
|
-
vertical-align: middle;
|
|
782
|
-
}
|
|
783
|
-
|
|
784
|
-
.spread .page,
|
|
785
|
-
.pdfViewer.scrollHorizontal .page,
|
|
786
|
-
.pdfViewer.scrollWrapped .page {
|
|
787
|
-
margin-left: var(--spreadHorizontalWrapped-margin-LR);
|
|
788
|
-
margin-right: var(--spreadHorizontalWrapped-margin-LR);
|
|
789
|
-
}
|
|
790
|
-
|
|
791
|
-
.pdfViewer.removePageBorders .spread .page,
|
|
792
|
-
.pdfViewer.removePageBorders.scrollHorizontal .page,
|
|
793
|
-
.pdfViewer.removePageBorders.scrollWrapped .page {
|
|
794
|
-
margin-left: 5px;
|
|
795
|
-
margin-right: 5px;
|
|
796
|
-
}
|
|
797
|
-
|
|
798
|
-
.pdfViewer .page canvas {
|
|
799
|
-
margin: 0;
|
|
800
|
-
display: block;
|
|
801
|
-
}
|
|
802
|
-
|
|
803
|
-
.pdfViewer .page canvas[hidden] {
|
|
804
|
-
display: none;
|
|
805
|
-
}
|
|
806
|
-
|
|
807
|
-
.pdfViewer .page .loadingIcon {
|
|
808
|
-
position: absolute;
|
|
809
|
-
display: block;
|
|
810
|
-
left: 0;
|
|
811
|
-
top: 0;
|
|
812
|
-
right: 0;
|
|
813
|
-
bottom: 0;
|
|
814
|
-
//background: url("/images/pdf/loading-icon.gif") center no-repeat;
|
|
815
|
-
}
|
|
816
|
-
|
|
817
|
-
.pdfViewer .page .loadingIcon.notVisible {
|
|
818
|
-
background: none;
|
|
819
|
-
}
|
|
820
|
-
|
|
821
|
-
.pdfPresentationMode .pdfViewer {
|
|
822
|
-
padding-bottom: 0;
|
|
823
|
-
}
|
|
824
|
-
|
|
825
|
-
.pdfPresentationMode .spread {
|
|
826
|
-
margin: 0;
|
|
827
|
-
}
|
|
828
|
-
|
|
829
|
-
.pdfPresentationMode .pdfViewer .page {
|
|
830
|
-
margin: 0 auto;
|
|
831
|
-
border: 2px solid transparent;
|
|
832
|
-
}
|
|
833
107
|
}
|