decidim-participatory_documents 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.erb-lint.yml +30 -0
- data/.eslintignore +3 -0
- data/.eslintrc.json +3 -0
- data/.github/workflows/lint.yml +43 -0
- data/.github/workflows/test.yml +60 -0
- data/.gitignore +27 -0
- data/.rspec +3 -0
- data/.rubocop-disabled.yml +11 -0
- data/.rubocop.yml +4 -0
- data/.rubocop_rails.yml +91 -0
- data/.rubocop_ruby.yml +1768 -0
- data/.ruby-version +1 -0
- data/.simplecov +13 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +39 -0
- data/Gemfile.lock +817 -0
- data/LICENSE-AGPLv3.txt +661 -0
- data/README.md +166 -0
- data/Rakefile +44 -0
- data/app/cells/decidim/participatory_documents/edit_suggestion_note_modal/show.erb +20 -0
- data/app/cells/decidim/participatory_documents/edit_suggestion_note_modal_cell.rb +35 -0
- data/app/cells/decidim/participatory_documents/suggestion/admin_answer.erb +7 -0
- data/app/cells/decidim/participatory_documents/suggestion/show.erb +11 -0
- data/app/cells/decidim/participatory_documents/suggestion_author/avatar.erb +3 -0
- data/app/cells/decidim/participatory_documents/suggestion_author/date.erb +1 -0
- data/app/cells/decidim/participatory_documents/suggestion_author/name.erb +3 -0
- data/app/cells/decidim/participatory_documents/suggestion_author/show.erb +9 -0
- data/app/cells/decidim/participatory_documents/suggestion_author_cell.rb +50 -0
- data/app/cells/decidim/participatory_documents/suggestion_cell.rb +41 -0
- data/app/commands/decidim/participatory_documents/admin/answer_suggestion.rb +62 -0
- data/app/commands/decidim/participatory_documents/admin/assign_suggestions_to_valuator.rb +59 -0
- data/app/commands/decidim/participatory_documents/admin/create_document.rb +55 -0
- data/app/commands/decidim/participatory_documents/admin/create_suggestion_note.rb +49 -0
- data/app/commands/decidim/participatory_documents/admin/destroy_annotation.rb +67 -0
- data/app/commands/decidim/participatory_documents/admin/notify_suggestion_answer.rb +52 -0
- data/app/commands/decidim/participatory_documents/admin/publish_answers.rb +59 -0
- data/app/commands/decidim/participatory_documents/admin/publish_document.rb +26 -0
- data/app/commands/decidim/participatory_documents/admin/unassign_suggestions_from_valuator.rb +60 -0
- data/app/commands/decidim/participatory_documents/admin/update_document.rb +85 -0
- data/app/commands/decidim/participatory_documents/admin/update_or_create_annotation.rb +98 -0
- data/app/commands/decidim/participatory_documents/admin/update_section.rb +52 -0
- data/app/commands/decidim/participatory_documents/admin/update_suggestion_note.rb +36 -0
- data/app/commands/decidim/participatory_documents/create_suggestion.rb +65 -0
- data/app/controllers/concerns/decidim/participatory_documents/admin/needs_admin_snippets.rb +25 -0
- data/app/controllers/concerns/decidim/participatory_documents/needs_pdf_document.rb +105 -0
- data/app/controllers/decidim/participatory_documents/admin/annotations_controller.rb +51 -0
- data/app/controllers/decidim/participatory_documents/admin/application_controller.rb +18 -0
- data/app/controllers/decidim/participatory_documents/admin/documents_controller.rb +104 -0
- data/app/controllers/decidim/participatory_documents/admin/sections_controller.rb +39 -0
- data/app/controllers/decidim/participatory_documents/admin/suggestion_notes_controller.rb +59 -0
- data/app/controllers/decidim/participatory_documents/admin/suggestions_controller.rb +160 -0
- data/app/controllers/decidim/participatory_documents/admin/valuation_assignments_controller.rb +58 -0
- data/app/controllers/decidim/participatory_documents/application_controller.rb +14 -0
- data/app/controllers/decidim/participatory_documents/document_suggestions_controller.rb +40 -0
- data/app/controllers/decidim/participatory_documents/documents_controller.rb +18 -0
- data/app/controllers/decidim/participatory_documents/section_suggestions_controller.rb +40 -0
- data/app/events/decidim/participatory_documents/suggestion_answer_event.rb +43 -0
- data/app/forms/decidim/participatory_documents/admin/annotation_form.rb +26 -0
- data/app/forms/decidim/participatory_documents/admin/answer_suggestion_form.rb +21 -0
- data/app/forms/decidim/participatory_documents/admin/document_form.rb +29 -0
- data/app/forms/decidim/participatory_documents/admin/section_form.rb +17 -0
- data/app/forms/decidim/participatory_documents/admin/suggestion_note_form.rb +15 -0
- data/app/forms/decidim/participatory_documents/admin/valuation_assignment_form.rb +38 -0
- data/app/forms/decidim/participatory_documents/suggestion_form.rb +39 -0
- data/app/helpers/decidim/participatory_documents/admin/button_helper.rb +17 -0
- data/app/helpers/decidim/participatory_documents/admin/documents_helper.rb +71 -0
- data/app/helpers/decidim/participatory_documents/admin/suggestion_helper.rb +54 -0
- data/app/helpers/decidim/participatory_documents/documents_helper.rb +41 -0
- data/app/models/concerns/decidim/participatory_documents/participatory_space_user_role_override.rb +19 -0
- data/app/models/concerns/decidim/participatory_documents/valuator_override.rb +18 -0
- data/app/models/decidim/participatory_documents/annotation.rb +28 -0
- data/app/models/decidim/participatory_documents/application_record.rb +10 -0
- data/app/models/decidim/participatory_documents/document.rb +67 -0
- data/app/models/decidim/participatory_documents/section.rb +44 -0
- data/app/models/decidim/participatory_documents/suggestion.rb +167 -0
- data/app/models/decidim/participatory_documents/suggestion_note.rb +18 -0
- data/app/models/decidim/participatory_documents/valuation_assignment.rb +21 -0
- data/app/packs/entrypoints/decidim_participatory_documents.js +6 -0
- data/app/packs/entrypoints/decidim_participatory_documents.scss +18 -0
- data/app/packs/entrypoints/decidim_participatory_documents_admin.js +7 -0
- data/app/packs/entrypoints/decidim_participatory_documents_admin.scss +69 -0
- data/app/packs/entrypoints/decidim_participatory_documents_editor.js +12 -0
- data/app/packs/entrypoints/decidim_participatory_documents_editor.scss +33 -0
- data/app/packs/entrypoints/decidim_participatory_documents_viewer.js +6 -0
- data/app/packs/entrypoints/decidim_participatory_documents_viewer.scss +11 -0
- data/app/packs/images/.keep +0 -0
- data/app/packs/images/badge.svg +6 -0
- data/app/packs/images/fullscreen.svg +6 -0
- data/app/packs/images/fullscreen_exit.svg +14 -0
- data/app/packs/images/group.svg +1 -0
- data/app/packs/images/move.svg +49 -0
- data/app/packs/images/participatory_documents.svg +14 -0
- data/app/packs/src/decidim/participatory_documents/admin/manage_bulk_suggestions.js +133 -0
- data/app/packs/src/decidim/participatory_documents/admin/preview_box_color.js +14 -0
- data/app/packs/src/decidim/participatory_documents/global.js +22 -0
- data/app/packs/src/decidim/participatory_documents/pdf/box.js +234 -0
- data/app/packs/src/decidim/participatory_documents/pdf/box_control_group.js +80 -0
- data/app/packs/src/decidim/participatory_documents/pdf/box_control_move.js +55 -0
- data/app/packs/src/decidim/participatory_documents/pdf/box_controls.js +18 -0
- data/app/packs/src/decidim/participatory_documents/pdf/pdf_modal_manager.js +129 -0
- data/app/packs/src/decidim/participatory_documents/pdf/pdf_state_manager.js +141 -0
- data/app/packs/src/decidim/participatory_documents/pdf/polygon_editor.js +99 -0
- data/app/packs/src/decidim/participatory_documents/pdf/polygon_viewer.js +55 -0
- data/app/packs/src/decidim/participatory_documents/pdf/suggestion_form.js +142 -0
- data/app/packs/src/decidim/participatory_documents/pdf.js +37 -0
- data/app/packs/src/decidim/participatory_documents/pdf_admin.js +60 -0
- data/app/packs/src/decidim/participatory_documents/pdf_notifications.js +20 -0
- data/app/packs/src/decidim/participatory_documents/skip_cookie_warning.js +10 -0
- data/app/packs/stylesheets/decidim/participatory_documents/decidim_admin_classes.scss +13 -0
- data/app/packs/stylesheets/decidim/participatory_documents/pdf/admin_modals.scss +41 -0
- data/app/packs/stylesheets/decidim/participatory_documents/pdf/admin_polygons.scss +131 -0
- data/app/packs/stylesheets/decidim/participatory_documents/pdf/admin_tweaks.scss +44 -0
- data/app/packs/stylesheets/decidim/participatory_documents/pdf/defaults.scss +7 -0
- data/app/packs/stylesheets/decidim/participatory_documents/pdf/document.scss +7 -0
- data/app/packs/stylesheets/decidim/participatory_documents/pdf/modals.scss +152 -0
- data/app/packs/stylesheets/decidim/participatory_documents/pdf/notifications.scss +31 -0
- data/app/packs/stylesheets/decidim/participatory_documents/pdf/polygons.scss +80 -0
- data/app/packs/stylesheets/decidim/participatory_documents/pdf/tweaks.scss +147 -0
- data/app/permissions/decidim/participatory_documents/admin/permissions.rb +118 -0
- data/app/permissions/decidim/participatory_documents/permissions.rb +16 -0
- data/app/presenters/decidim/participatory_documents/admin_log/annotation_presenter.rb +25 -0
- data/app/presenters/decidim/participatory_documents/admin_log/document_presenter.rb +13 -0
- data/app/presenters/decidim/participatory_documents/admin_log/section_presenter.rb +25 -0
- data/app/presenters/decidim/participatory_documents/admin_log/suggestion_note_presenter.rb +49 -0
- data/app/serializers/decidim/participatory_documents/suggestion_serializer.rb +67 -0
- data/app/uploaders/decidim/participatory_documents/pdf_document_uploader.rb +11 -0
- data/app/views/decidim/admin/exports/_dropdown.html.erb +16 -0
- data/app/views/decidim/participatory_documents/admin/documents/_editor_modal.html.erb +3 -0
- data/app/views/decidim/participatory_documents/admin/documents/_form.html.erb +39 -0
- data/app/views/decidim/participatory_documents/admin/documents/_title.html.erb +7 -0
- data/app/views/decidim/participatory_documents/admin/documents/edit.html.erb +18 -0
- data/app/views/decidim/participatory_documents/admin/documents/edit_pdf.html.erb +15 -0
- data/app/views/decidim/participatory_documents/admin/documents/index.html.erb +11 -0
- data/app/views/decidim/participatory_documents/admin/documents/new.html.erb +17 -0
- data/app/views/decidim/participatory_documents/admin/documents/pdf_viewer.html.erb +105 -0
- data/app/views/decidim/participatory_documents/admin/sections/_form.html.erb +24 -0
- data/app/views/decidim/participatory_documents/admin/suggestion_notes/_editing_suggestion_note.html.erb +18 -0
- data/app/views/decidim/participatory_documents/admin/suggestion_notes/_form.html.erb +8 -0
- data/app/views/decidim/participatory_documents/admin/suggestion_notes/_suggestion_notes.html.erb +46 -0
- data/app/views/decidim/participatory_documents/admin/suggestions/_add_valuators.html.erb +17 -0
- data/app/views/decidim/participatory_documents/admin/suggestions/_bulk-actions.html.erb +7 -0
- data/app/views/decidim/participatory_documents/admin/suggestions/_form.html.erb +30 -0
- data/app/views/decidim/participatory_documents/admin/suggestions/_js-callout.html.erb +6 -0
- data/app/views/decidim/participatory_documents/admin/suggestions/_suggestion.html.erb +33 -0
- data/app/views/decidim/participatory_documents/admin/suggestions/_valuators.html.erb +43 -0
- data/app/views/decidim/participatory_documents/admin/suggestions/bulk_actions/_assign_to_valuator.html.erb +15 -0
- data/app/views/decidim/participatory_documents/admin/suggestions/bulk_actions/_dropdown.html.erb +36 -0
- data/app/views/decidim/participatory_documents/admin/suggestions/bulk_actions/_publish_answers.html.erb +14 -0
- data/app/views/decidim/participatory_documents/admin/suggestions/bulk_actions/_unassign_from_valuator.html.erb +15 -0
- data/app/views/decidim/participatory_documents/admin/suggestions/index.html.erb +45 -0
- data/app/views/decidim/participatory_documents/admin/suggestions/publish_answers.js.erb +17 -0
- data/app/views/decidim/participatory_documents/admin/suggestions/show.html.erb +55 -0
- data/app/views/decidim/participatory_documents/document_suggestions/_form.html.erb +29 -0
- data/app/views/decidim/participatory_documents/document_suggestions/index.html.erb +14 -0
- data/app/views/decidim/participatory_documents/documents/_pdfjs_base.html.erb +428 -0
- data/app/views/decidim/participatory_documents/documents/index.html.erb +27 -0
- data/app/views/decidim/participatory_documents/documents/pdf_viewer.html.erb +63 -0
- data/app/views/decidim/participatory_documents/section_suggestions/_form.html.erb +8 -0
- data/app/views/decidim/participatory_documents/section_suggestions/index.html.erb +14 -0
- data/babel.config.json +25 -0
- data/bin/bundle +62 -0
- data/bin/rails +6 -0
- data/bin/webpack-dev-server +6 -0
- data/codecov.yml +11 -0
- data/config/assets.rb +11 -0
- data/config/i18n-tasks.yml +12 -0
- data/config/locales/en.yml +266 -0
- data/crowdin.yml +45 -0
- data/db/migrate/20221018112720_create_decidim_participatory_documents_document.rb +17 -0
- data/db/migrate/20221115233021_create_decidim_participatory_documents_participation_sections.rb +12 -0
- data/db/migrate/20221115233022_create_decidim_participatory_documents_annotations.rb +13 -0
- data/db/migrate/20221115233023_create_decidim_participatory_documents_suggestions.rb +17 -0
- data/db/migrate/20221115233024_create_decidim_participatory_documents_suggestion_notes.rb +15 -0
- data/db/migrate/20221115233024_create_decidim_participatory_documents_valuation_assignments.rb +12 -0
- data/db/migrate/20230616100340_add_published_at_to_decidim_participatory_documents_documents.rb +8 -0
- data/db/migrate/20230622081831_add_decidim_participatory_documents_box_positions.rb +37 -0
- data/decidim-participatory_documents.gemspec +30 -0
- data/lib/decidim/participatory_documents/admin.rb +8 -0
- data/lib/decidim/participatory_documents/admin_engine.rb +45 -0
- data/lib/decidim/participatory_documents/component.rb +202 -0
- data/lib/decidim/participatory_documents/engine.rb +46 -0
- data/lib/decidim/participatory_documents/seeds/Exampledocument.pdf +0 -0
- data/lib/decidim/participatory_documents/test/factories.rb +144 -0
- data/lib/decidim/participatory_documents/version.rb +9 -0
- data/lib/decidim/participatory_documents.rb +29 -0
- data/lib/tasks/decidim_participatory_documents.rake +27 -0
- data/package-lock.json +12687 -0
- data/package.json +52 -0
- data/pdfjs/LICENSE +177 -0
- data/pdfjs/README.md +12 -0
- data/pdfjs/build/pdf.js +15629 -0
- data/pdfjs/build/pdf.js.map +1 -0
- data/pdfjs/build/pdf.sandbox.js +280 -0
- data/pdfjs/build/pdf.sandbox.js.map +1 -0
- data/pdfjs/build/pdf.worker.js +64496 -0
- data/pdfjs/build/pdf.worker.js.map +1 -0
- data/pdfjs/web/cmaps/78-EUC-H.bcmap +0 -0
- data/pdfjs/web/cmaps/78-EUC-V.bcmap +0 -0
- data/pdfjs/web/cmaps/78-H.bcmap +0 -0
- data/pdfjs/web/cmaps/78-RKSJ-H.bcmap +0 -0
- data/pdfjs/web/cmaps/78-RKSJ-V.bcmap +0 -0
- data/pdfjs/web/cmaps/78-V.bcmap +0 -0
- data/pdfjs/web/cmaps/78ms-RKSJ-H.bcmap +0 -0
- data/pdfjs/web/cmaps/78ms-RKSJ-V.bcmap +0 -0
- data/pdfjs/web/cmaps/83pv-RKSJ-H.bcmap +0 -0
- data/pdfjs/web/cmaps/90ms-RKSJ-H.bcmap +0 -0
- data/pdfjs/web/cmaps/90ms-RKSJ-V.bcmap +0 -0
- data/pdfjs/web/cmaps/90msp-RKSJ-H.bcmap +0 -0
- data/pdfjs/web/cmaps/90msp-RKSJ-V.bcmap +0 -0
- data/pdfjs/web/cmaps/90pv-RKSJ-H.bcmap +0 -0
- data/pdfjs/web/cmaps/90pv-RKSJ-V.bcmap +0 -0
- data/pdfjs/web/cmaps/Add-H.bcmap +0 -0
- data/pdfjs/web/cmaps/Add-RKSJ-H.bcmap +0 -0
- data/pdfjs/web/cmaps/Add-RKSJ-V.bcmap +0 -0
- data/pdfjs/web/cmaps/Add-V.bcmap +0 -0
- data/pdfjs/web/cmaps/Adobe-CNS1-0.bcmap +0 -0
- data/pdfjs/web/cmaps/Adobe-CNS1-1.bcmap +0 -0
- data/pdfjs/web/cmaps/Adobe-CNS1-2.bcmap +0 -0
- data/pdfjs/web/cmaps/Adobe-CNS1-3.bcmap +0 -0
- data/pdfjs/web/cmaps/Adobe-CNS1-4.bcmap +0 -0
- data/pdfjs/web/cmaps/Adobe-CNS1-5.bcmap +0 -0
- data/pdfjs/web/cmaps/Adobe-CNS1-6.bcmap +0 -0
- data/pdfjs/web/cmaps/Adobe-CNS1-UCS2.bcmap +0 -0
- data/pdfjs/web/cmaps/Adobe-GB1-0.bcmap +0 -0
- data/pdfjs/web/cmaps/Adobe-GB1-1.bcmap +0 -0
- data/pdfjs/web/cmaps/Adobe-GB1-2.bcmap +0 -0
- data/pdfjs/web/cmaps/Adobe-GB1-3.bcmap +0 -0
- data/pdfjs/web/cmaps/Adobe-GB1-4.bcmap +0 -0
- data/pdfjs/web/cmaps/Adobe-GB1-5.bcmap +0 -0
- data/pdfjs/web/cmaps/Adobe-GB1-UCS2.bcmap +0 -0
- data/pdfjs/web/cmaps/Adobe-Japan1-0.bcmap +0 -0
- data/pdfjs/web/cmaps/Adobe-Japan1-1.bcmap +0 -0
- data/pdfjs/web/cmaps/Adobe-Japan1-2.bcmap +0 -0
- data/pdfjs/web/cmaps/Adobe-Japan1-3.bcmap +0 -0
- data/pdfjs/web/cmaps/Adobe-Japan1-4.bcmap +0 -0
- data/pdfjs/web/cmaps/Adobe-Japan1-5.bcmap +0 -0
- data/pdfjs/web/cmaps/Adobe-Japan1-6.bcmap +0 -0
- data/pdfjs/web/cmaps/Adobe-Japan1-UCS2.bcmap +0 -0
- data/pdfjs/web/cmaps/Adobe-Korea1-0.bcmap +0 -0
- data/pdfjs/web/cmaps/Adobe-Korea1-1.bcmap +0 -0
- data/pdfjs/web/cmaps/Adobe-Korea1-2.bcmap +0 -0
- data/pdfjs/web/cmaps/Adobe-Korea1-UCS2.bcmap +0 -0
- data/pdfjs/web/cmaps/B5-H.bcmap +0 -0
- data/pdfjs/web/cmaps/B5-V.bcmap +0 -0
- data/pdfjs/web/cmaps/B5pc-H.bcmap +0 -0
- data/pdfjs/web/cmaps/B5pc-V.bcmap +0 -0
- data/pdfjs/web/cmaps/CNS-EUC-H.bcmap +0 -0
- data/pdfjs/web/cmaps/CNS-EUC-V.bcmap +0 -0
- data/pdfjs/web/cmaps/CNS1-H.bcmap +0 -0
- data/pdfjs/web/cmaps/CNS1-V.bcmap +0 -0
- data/pdfjs/web/cmaps/CNS2-H.bcmap +0 -0
- data/pdfjs/web/cmaps/CNS2-V.bcmap +3 -0
- data/pdfjs/web/cmaps/ETHK-B5-H.bcmap +0 -0
- data/pdfjs/web/cmaps/ETHK-B5-V.bcmap +0 -0
- data/pdfjs/web/cmaps/ETen-B5-H.bcmap +0 -0
- data/pdfjs/web/cmaps/ETen-B5-V.bcmap +0 -0
- data/pdfjs/web/cmaps/ETenms-B5-H.bcmap +3 -0
- data/pdfjs/web/cmaps/ETenms-B5-V.bcmap +0 -0
- data/pdfjs/web/cmaps/EUC-H.bcmap +0 -0
- data/pdfjs/web/cmaps/EUC-V.bcmap +0 -0
- data/pdfjs/web/cmaps/Ext-H.bcmap +0 -0
- data/pdfjs/web/cmaps/Ext-RKSJ-H.bcmap +0 -0
- data/pdfjs/web/cmaps/Ext-RKSJ-V.bcmap +0 -0
- data/pdfjs/web/cmaps/Ext-V.bcmap +0 -0
- data/pdfjs/web/cmaps/GB-EUC-H.bcmap +0 -0
- data/pdfjs/web/cmaps/GB-EUC-V.bcmap +0 -0
- data/pdfjs/web/cmaps/GB-H.bcmap +4 -0
- data/pdfjs/web/cmaps/GB-V.bcmap +0 -0
- data/pdfjs/web/cmaps/GBK-EUC-H.bcmap +0 -0
- data/pdfjs/web/cmaps/GBK-EUC-V.bcmap +0 -0
- data/pdfjs/web/cmaps/GBK2K-H.bcmap +0 -0
- data/pdfjs/web/cmaps/GBK2K-V.bcmap +0 -0
- data/pdfjs/web/cmaps/GBKp-EUC-H.bcmap +0 -0
- data/pdfjs/web/cmaps/GBKp-EUC-V.bcmap +0 -0
- data/pdfjs/web/cmaps/GBT-EUC-H.bcmap +0 -0
- data/pdfjs/web/cmaps/GBT-EUC-V.bcmap +0 -0
- data/pdfjs/web/cmaps/GBT-H.bcmap +0 -0
- data/pdfjs/web/cmaps/GBT-V.bcmap +0 -0
- data/pdfjs/web/cmaps/GBTpc-EUC-H.bcmap +0 -0
- data/pdfjs/web/cmaps/GBTpc-EUC-V.bcmap +0 -0
- data/pdfjs/web/cmaps/GBpc-EUC-H.bcmap +0 -0
- data/pdfjs/web/cmaps/GBpc-EUC-V.bcmap +0 -0
- data/pdfjs/web/cmaps/H.bcmap +0 -0
- data/pdfjs/web/cmaps/HKdla-B5-H.bcmap +0 -0
- data/pdfjs/web/cmaps/HKdla-B5-V.bcmap +0 -0
- data/pdfjs/web/cmaps/HKdlb-B5-H.bcmap +0 -0
- data/pdfjs/web/cmaps/HKdlb-B5-V.bcmap +0 -0
- data/pdfjs/web/cmaps/HKgccs-B5-H.bcmap +0 -0
- data/pdfjs/web/cmaps/HKgccs-B5-V.bcmap +0 -0
- data/pdfjs/web/cmaps/HKm314-B5-H.bcmap +0 -0
- data/pdfjs/web/cmaps/HKm314-B5-V.bcmap +0 -0
- data/pdfjs/web/cmaps/HKm471-B5-H.bcmap +0 -0
- data/pdfjs/web/cmaps/HKm471-B5-V.bcmap +0 -0
- data/pdfjs/web/cmaps/HKscs-B5-H.bcmap +0 -0
- data/pdfjs/web/cmaps/HKscs-B5-V.bcmap +0 -0
- data/pdfjs/web/cmaps/Hankaku.bcmap +0 -0
- data/pdfjs/web/cmaps/Hiragana.bcmap +0 -0
- data/pdfjs/web/cmaps/KSC-EUC-H.bcmap +0 -0
- data/pdfjs/web/cmaps/KSC-EUC-V.bcmap +0 -0
- data/pdfjs/web/cmaps/KSC-H.bcmap +0 -0
- data/pdfjs/web/cmaps/KSC-Johab-H.bcmap +0 -0
- data/pdfjs/web/cmaps/KSC-Johab-V.bcmap +0 -0
- data/pdfjs/web/cmaps/KSC-V.bcmap +0 -0
- data/pdfjs/web/cmaps/KSCms-UHC-H.bcmap +0 -0
- data/pdfjs/web/cmaps/KSCms-UHC-HW-H.bcmap +0 -0
- data/pdfjs/web/cmaps/KSCms-UHC-HW-V.bcmap +0 -0
- data/pdfjs/web/cmaps/KSCms-UHC-V.bcmap +0 -0
- data/pdfjs/web/cmaps/KSCpc-EUC-H.bcmap +0 -0
- data/pdfjs/web/cmaps/KSCpc-EUC-V.bcmap +0 -0
- data/pdfjs/web/cmaps/Katakana.bcmap +0 -0
- data/pdfjs/web/cmaps/LICENSE +36 -0
- data/pdfjs/web/cmaps/NWP-H.bcmap +0 -0
- data/pdfjs/web/cmaps/NWP-V.bcmap +0 -0
- data/pdfjs/web/cmaps/RKSJ-H.bcmap +0 -0
- data/pdfjs/web/cmaps/RKSJ-V.bcmap +0 -0
- data/pdfjs/web/cmaps/Roman.bcmap +0 -0
- data/pdfjs/web/cmaps/UniCNS-UCS2-H.bcmap +0 -0
- data/pdfjs/web/cmaps/UniCNS-UCS2-V.bcmap +0 -0
- data/pdfjs/web/cmaps/UniCNS-UTF16-H.bcmap +0 -0
- data/pdfjs/web/cmaps/UniCNS-UTF16-V.bcmap +0 -0
- data/pdfjs/web/cmaps/UniCNS-UTF32-H.bcmap +0 -0
- data/pdfjs/web/cmaps/UniCNS-UTF32-V.bcmap +0 -0
- data/pdfjs/web/cmaps/UniCNS-UTF8-H.bcmap +0 -0
- data/pdfjs/web/cmaps/UniCNS-UTF8-V.bcmap +0 -0
- data/pdfjs/web/cmaps/UniGB-UCS2-H.bcmap +0 -0
- data/pdfjs/web/cmaps/UniGB-UCS2-V.bcmap +0 -0
- data/pdfjs/web/cmaps/UniGB-UTF16-H.bcmap +0 -0
- data/pdfjs/web/cmaps/UniGB-UTF16-V.bcmap +0 -0
- data/pdfjs/web/cmaps/UniGB-UTF32-H.bcmap +0 -0
- data/pdfjs/web/cmaps/UniGB-UTF32-V.bcmap +0 -0
- data/pdfjs/web/cmaps/UniGB-UTF8-H.bcmap +0 -0
- data/pdfjs/web/cmaps/UniGB-UTF8-V.bcmap +0 -0
- data/pdfjs/web/cmaps/UniJIS-UCS2-H.bcmap +0 -0
- data/pdfjs/web/cmaps/UniJIS-UCS2-HW-H.bcmap +0 -0
- data/pdfjs/web/cmaps/UniJIS-UCS2-HW-V.bcmap +0 -0
- data/pdfjs/web/cmaps/UniJIS-UCS2-V.bcmap +0 -0
- data/pdfjs/web/cmaps/UniJIS-UTF16-H.bcmap +0 -0
- data/pdfjs/web/cmaps/UniJIS-UTF16-V.bcmap +0 -0
- data/pdfjs/web/cmaps/UniJIS-UTF32-H.bcmap +0 -0
- data/pdfjs/web/cmaps/UniJIS-UTF32-V.bcmap +0 -0
- data/pdfjs/web/cmaps/UniJIS-UTF8-H.bcmap +0 -0
- data/pdfjs/web/cmaps/UniJIS-UTF8-V.bcmap +0 -0
- data/pdfjs/web/cmaps/UniJIS2004-UTF16-H.bcmap +0 -0
- data/pdfjs/web/cmaps/UniJIS2004-UTF16-V.bcmap +0 -0
- data/pdfjs/web/cmaps/UniJIS2004-UTF32-H.bcmap +0 -0
- data/pdfjs/web/cmaps/UniJIS2004-UTF32-V.bcmap +0 -0
- data/pdfjs/web/cmaps/UniJIS2004-UTF8-H.bcmap +0 -0
- data/pdfjs/web/cmaps/UniJIS2004-UTF8-V.bcmap +0 -0
- data/pdfjs/web/cmaps/UniJISPro-UCS2-HW-V.bcmap +0 -0
- data/pdfjs/web/cmaps/UniJISPro-UCS2-V.bcmap +0 -0
- data/pdfjs/web/cmaps/UniJISPro-UTF8-V.bcmap +0 -0
- data/pdfjs/web/cmaps/UniJISX0213-UTF32-H.bcmap +0 -0
- data/pdfjs/web/cmaps/UniJISX0213-UTF32-V.bcmap +0 -0
- data/pdfjs/web/cmaps/UniJISX02132004-UTF32-H.bcmap +0 -0
- data/pdfjs/web/cmaps/UniJISX02132004-UTF32-V.bcmap +0 -0
- data/pdfjs/web/cmaps/UniKS-UCS2-H.bcmap +0 -0
- data/pdfjs/web/cmaps/UniKS-UCS2-V.bcmap +0 -0
- data/pdfjs/web/cmaps/UniKS-UTF16-H.bcmap +0 -0
- data/pdfjs/web/cmaps/UniKS-UTF16-V.bcmap +0 -0
- data/pdfjs/web/cmaps/UniKS-UTF32-H.bcmap +0 -0
- data/pdfjs/web/cmaps/UniKS-UTF32-V.bcmap +0 -0
- data/pdfjs/web/cmaps/UniKS-UTF8-H.bcmap +0 -0
- data/pdfjs/web/cmaps/UniKS-UTF8-V.bcmap +0 -0
- data/pdfjs/web/cmaps/V.bcmap +0 -0
- data/pdfjs/web/cmaps/WP-Symbol.bcmap +0 -0
- data/pdfjs/web/compressed.tracemonkey-pldi-09.pdf +0 -0
- data/pdfjs/web/debugger.css +113 -0
- data/pdfjs/web/debugger.js +612 -0
- data/pdfjs/web/images/annotation-check.svg +11 -0
- data/pdfjs/web/images/annotation-comment.svg +16 -0
- data/pdfjs/web/images/annotation-help.svg +26 -0
- data/pdfjs/web/images/annotation-insert.svg +10 -0
- data/pdfjs/web/images/annotation-key.svg +11 -0
- data/pdfjs/web/images/annotation-newparagraph.svg +11 -0
- data/pdfjs/web/images/annotation-noicon.svg +7 -0
- data/pdfjs/web/images/annotation-note.svg +42 -0
- data/pdfjs/web/images/annotation-paperclip.svg +6 -0
- data/pdfjs/web/images/annotation-paragraph.svg +16 -0
- data/pdfjs/web/images/annotation-pushpin.svg +7 -0
- data/pdfjs/web/images/cursor-editorFreeText.svg +3 -0
- data/pdfjs/web/images/cursor-editorInk.svg +4 -0
- data/pdfjs/web/images/findbarButton-next.svg +3 -0
- data/pdfjs/web/images/findbarButton-previous.svg +3 -0
- data/pdfjs/web/images/loading-dark.svg +24 -0
- data/pdfjs/web/images/loading-icon.gif +0 -0
- data/pdfjs/web/images/loading.svg +1 -0
- data/pdfjs/web/images/secondaryToolbarButton-documentProperties.svg +3 -0
- data/pdfjs/web/images/secondaryToolbarButton-firstPage.svg +3 -0
- data/pdfjs/web/images/secondaryToolbarButton-handTool.svg +3 -0
- data/pdfjs/web/images/secondaryToolbarButton-lastPage.svg +3 -0
- data/pdfjs/web/images/secondaryToolbarButton-rotateCcw.svg +3 -0
- data/pdfjs/web/images/secondaryToolbarButton-rotateCw.svg +3 -0
- data/pdfjs/web/images/secondaryToolbarButton-scrollHorizontal.svg +3 -0
- data/pdfjs/web/images/secondaryToolbarButton-scrollPage.svg +3 -0
- data/pdfjs/web/images/secondaryToolbarButton-scrollVertical.svg +3 -0
- data/pdfjs/web/images/secondaryToolbarButton-scrollWrapped.svg +3 -0
- data/pdfjs/web/images/secondaryToolbarButton-selectTool.svg +3 -0
- data/pdfjs/web/images/secondaryToolbarButton-spreadEven.svg +3 -0
- data/pdfjs/web/images/secondaryToolbarButton-spreadNone.svg +3 -0
- data/pdfjs/web/images/secondaryToolbarButton-spreadOdd.svg +3 -0
- data/pdfjs/web/images/shadow.png +0 -0
- data/pdfjs/web/images/toolbarButton-bookmark.svg +3 -0
- data/pdfjs/web/images/toolbarButton-currentOutlineItem.svg +3 -0
- data/pdfjs/web/images/toolbarButton-download.svg +4 -0
- data/pdfjs/web/images/toolbarButton-editorFreeText.svg +3 -0
- data/pdfjs/web/images/toolbarButton-editorInk.svg +4 -0
- data/pdfjs/web/images/toolbarButton-menuArrow.svg +3 -0
- data/pdfjs/web/images/toolbarButton-openFile.svg +3 -0
- data/pdfjs/web/images/toolbarButton-pageDown.svg +3 -0
- data/pdfjs/web/images/toolbarButton-pageUp.svg +3 -0
- data/pdfjs/web/images/toolbarButton-presentationMode.svg +3 -0
- data/pdfjs/web/images/toolbarButton-print.svg +3 -0
- data/pdfjs/web/images/toolbarButton-search.svg +3 -0
- data/pdfjs/web/images/toolbarButton-secondaryToolbarToggle.svg +3 -0
- data/pdfjs/web/images/toolbarButton-sidebarToggle.svg +3 -0
- data/pdfjs/web/images/toolbarButton-viewAttachments.svg +3 -0
- data/pdfjs/web/images/toolbarButton-viewLayers.svg +3 -0
- data/pdfjs/web/images/toolbarButton-viewOutline.svg +3 -0
- data/pdfjs/web/images/toolbarButton-viewThumbnail.svg +3 -0
- data/pdfjs/web/images/toolbarButton-zoomIn.svg +3 -0
- data/pdfjs/web/images/toolbarButton-zoomOut.svg +3 -0
- data/pdfjs/web/images/treeitem-collapsed.svg +1 -0
- data/pdfjs/web/images/treeitem-expanded.svg +1 -0
- data/pdfjs/web/locale/ach/viewer.properties +200 -0
- data/pdfjs/web/locale/af/viewer.properties +177 -0
- data/pdfjs/web/locale/an/viewer.properties +243 -0
- data/pdfjs/web/locale/ar/viewer.properties +247 -0
- data/pdfjs/web/locale/ast/viewer.properties +207 -0
- data/pdfjs/web/locale/az/viewer.properties +243 -0
- data/pdfjs/web/locale/be/viewer.properties +274 -0
- data/pdfjs/web/locale/bg/viewer.properties +235 -0
- data/pdfjs/web/locale/bn/viewer.properties +239 -0
- data/pdfjs/web/locale/bo/viewer.properties +238 -0
- data/pdfjs/web/locale/br/viewer.properties +247 -0
- data/pdfjs/web/locale/brx/viewer.properties +205 -0
- data/pdfjs/web/locale/bs/viewer.properties +194 -0
- data/pdfjs/web/locale/ca/viewer.properties +251 -0
- data/pdfjs/web/locale/cak/viewer.properties +249 -0
- data/pdfjs/web/locale/ckb/viewer.properties +234 -0
- data/pdfjs/web/locale/cs/viewer.properties +274 -0
- data/pdfjs/web/locale/cy/viewer.properties +274 -0
- data/pdfjs/web/locale/da/viewer.properties +274 -0
- data/pdfjs/web/locale/de/viewer.properties +274 -0
- data/pdfjs/web/locale/dsb/viewer.properties +274 -0
- data/pdfjs/web/locale/el/viewer.properties +274 -0
- data/pdfjs/web/locale/en-CA/viewer.properties +274 -0
- data/pdfjs/web/locale/en-GB/viewer.properties +274 -0
- data/pdfjs/web/locale/en-US/viewer.properties +253 -0
- data/pdfjs/web/locale/eo/viewer.properties +274 -0
- data/pdfjs/web/locale/es-AR/viewer.properties +274 -0
- data/pdfjs/web/locale/es-CL/viewer.properties +274 -0
- data/pdfjs/web/locale/es-ES/viewer.properties +274 -0
- data/pdfjs/web/locale/es-MX/viewer.properties +274 -0
- data/pdfjs/web/locale/et/viewer.properties +262 -0
- data/pdfjs/web/locale/eu/viewer.properties +272 -0
- data/pdfjs/web/locale/fa/viewer.properties +216 -0
- data/pdfjs/web/locale/ff/viewer.properties +235 -0
- data/pdfjs/web/locale/fi/viewer.properties +274 -0
- data/pdfjs/web/locale/fr/viewer.properties +274 -0
- data/pdfjs/web/locale/fy-NL/viewer.properties +274 -0
- data/pdfjs/web/locale/ga-IE/viewer.properties +202 -0
- data/pdfjs/web/locale/gd/viewer.properties +249 -0
- data/pdfjs/web/locale/gl/viewer.properties +249 -0
- data/pdfjs/web/locale/gn/viewer.properties +274 -0
- data/pdfjs/web/locale/gu-IN/viewer.properties +235 -0
- data/pdfjs/web/locale/he/viewer.properties +274 -0
- data/pdfjs/web/locale/hi-IN/viewer.properties +235 -0
- data/pdfjs/web/locale/hr/viewer.properties +249 -0
- data/pdfjs/web/locale/hsb/viewer.properties +274 -0
- data/pdfjs/web/locale/hu/viewer.properties +274 -0
- data/pdfjs/web/locale/hy-AM/viewer.properties +239 -0
- data/pdfjs/web/locale/hye/viewer.properties +252 -0
- data/pdfjs/web/locale/ia/viewer.properties +274 -0
- data/pdfjs/web/locale/id/viewer.properties +274 -0
- data/pdfjs/web/locale/is/viewer.properties +274 -0
- data/pdfjs/web/locale/it/viewer.properties +215 -0
- data/pdfjs/web/locale/ja/viewer.properties +274 -0
- data/pdfjs/web/locale/ka/viewer.properties +274 -0
- data/pdfjs/web/locale/kab/viewer.properties +274 -0
- data/pdfjs/web/locale/kk/viewer.properties +274 -0
- data/pdfjs/web/locale/km/viewer.properties +210 -0
- data/pdfjs/web/locale/kn/viewer.properties +187 -0
- data/pdfjs/web/locale/ko/viewer.properties +274 -0
- data/pdfjs/web/locale/lij/viewer.properties +235 -0
- data/pdfjs/web/locale/lo/viewer.properties +145 -0
- data/pdfjs/web/locale/locale.properties +327 -0
- data/pdfjs/web/locale/lt/viewer.properties +260 -0
- data/pdfjs/web/locale/ltg/viewer.properties +213 -0
- data/pdfjs/web/locale/lv/viewer.properties +235 -0
- data/pdfjs/web/locale/meh/viewer.properties +111 -0
- data/pdfjs/web/locale/mk/viewer.properties +139 -0
- data/pdfjs/web/locale/mr/viewer.properties +231 -0
- data/pdfjs/web/locale/ms/viewer.properties +235 -0
- data/pdfjs/web/locale/my/viewer.properties +191 -0
- data/pdfjs/web/locale/nb-NO/viewer.properties +274 -0
- data/pdfjs/web/locale/ne-NP/viewer.properties +218 -0
- data/pdfjs/web/locale/nl/viewer.properties +274 -0
- data/pdfjs/web/locale/nn-NO/viewer.properties +274 -0
- data/pdfjs/web/locale/oc/viewer.properties +274 -0
- data/pdfjs/web/locale/pa-IN/viewer.properties +285 -0
- data/pdfjs/web/locale/pl/viewer.properties +274 -0
- data/pdfjs/web/locale/pt-BR/viewer.properties +274 -0
- data/pdfjs/web/locale/pt-PT/viewer.properties +274 -0
- data/pdfjs/web/locale/rm/viewer.properties +274 -0
- data/pdfjs/web/locale/ro/viewer.properties +241 -0
- data/pdfjs/web/locale/ru/viewer.properties +274 -0
- data/pdfjs/web/locale/sat/viewer.properties +198 -0
- data/pdfjs/web/locale/sc/viewer.properties +240 -0
- data/pdfjs/web/locale/scn/viewer.properties +101 -0
- data/pdfjs/web/locale/sco/viewer.properties +249 -0
- data/pdfjs/web/locale/si/viewer.properties +237 -0
- data/pdfjs/web/locale/sk/viewer.properties +274 -0
- data/pdfjs/web/locale/sl/viewer.properties +274 -0
- data/pdfjs/web/locale/son/viewer.properties +173 -0
- data/pdfjs/web/locale/sq/viewer.properties +267 -0
- data/pdfjs/web/locale/sr/viewer.properties +253 -0
- data/pdfjs/web/locale/sv-SE/viewer.properties +274 -0
- data/pdfjs/web/locale/szl/viewer.properties +245 -0
- data/pdfjs/web/locale/ta/viewer.properties +194 -0
- data/pdfjs/web/locale/te/viewer.properties +237 -0
- data/pdfjs/web/locale/tg/viewer.properties +274 -0
- data/pdfjs/web/locale/th/viewer.properties +274 -0
- data/pdfjs/web/locale/tl/viewer.properties +243 -0
- data/pdfjs/web/locale/tr/viewer.properties +274 -0
- data/pdfjs/web/locale/trs/viewer.properties +206 -0
- data/pdfjs/web/locale/uk/viewer.properties +274 -0
- data/pdfjs/web/locale/ur/viewer.properties +239 -0
- data/pdfjs/web/locale/uz/viewer.properties +163 -0
- data/pdfjs/web/locale/vi/viewer.properties +274 -0
- data/pdfjs/web/locale/wo/viewer.properties +123 -0
- data/pdfjs/web/locale/xh/viewer.properties +177 -0
- data/pdfjs/web/locale/zh-CN/viewer.properties +274 -0
- data/pdfjs/web/locale/zh-TW/viewer.properties +274 -0
- data/pdfjs/web/standard_fonts/FoxitDingbats.pfb +0 -0
- data/pdfjs/web/standard_fonts/FoxitFixed.pfb +0 -0
- data/pdfjs/web/standard_fonts/FoxitFixedBold.pfb +0 -0
- data/pdfjs/web/standard_fonts/FoxitFixedBoldItalic.pfb +0 -0
- data/pdfjs/web/standard_fonts/FoxitFixedItalic.pfb +0 -0
- data/pdfjs/web/standard_fonts/FoxitSans.pfb +0 -0
- data/pdfjs/web/standard_fonts/FoxitSansBold.pfb +0 -0
- data/pdfjs/web/standard_fonts/FoxitSansBoldItalic.pfb +0 -0
- data/pdfjs/web/standard_fonts/FoxitSansItalic.pfb +0 -0
- data/pdfjs/web/standard_fonts/FoxitSerif.pfb +0 -0
- data/pdfjs/web/standard_fonts/FoxitSerifBold.pfb +0 -0
- data/pdfjs/web/standard_fonts/FoxitSerifBoldItalic.pfb +0 -0
- data/pdfjs/web/standard_fonts/FoxitSerifItalic.pfb +0 -0
- data/pdfjs/web/standard_fonts/FoxitSymbol.pfb +0 -0
- data/pdfjs/web/standard_fonts/LICENSE_FOXIT +27 -0
- data/pdfjs/web/standard_fonts/LICENSE_LIBERATION +102 -0
- data/pdfjs/web/standard_fonts/LiberationSans-Bold.ttf +0 -0
- data/pdfjs/web/standard_fonts/LiberationSans-BoldItalic.ttf +0 -0
- data/pdfjs/web/standard_fonts/LiberationSans-Italic.ttf +0 -0
- data/pdfjs/web/standard_fonts/LiberationSans-Regular.ttf +0 -0
- data/pdfjs/web/viewer.css +3029 -0
- data/pdfjs/web/viewer.html +433 -0
- data/pdfjs/web/viewer.js +13566 -0
- data/pdfjs/web/viewer.js.map +1 -0
- metadata +643 -0
@@ -0,0 +1,3029 @@
|
|
1
|
+
/* Copyright 2014 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
|
+
.textLayer {
|
17
|
+
position: absolute;
|
18
|
+
text-align: initial;
|
19
|
+
left: 0;
|
20
|
+
top: 0;
|
21
|
+
right: 0;
|
22
|
+
bottom: 0;
|
23
|
+
overflow: hidden;
|
24
|
+
opacity: 0.25;
|
25
|
+
line-height: 1;
|
26
|
+
-webkit-text-size-adjust: none;
|
27
|
+
-moz-text-size-adjust: none;
|
28
|
+
text-size-adjust: none;
|
29
|
+
forced-color-adjust: none;
|
30
|
+
}
|
31
|
+
|
32
|
+
.textLayer span,
|
33
|
+
.textLayer br {
|
34
|
+
color: transparent;
|
35
|
+
position: absolute;
|
36
|
+
white-space: pre;
|
37
|
+
cursor: text;
|
38
|
+
transform-origin: 0% 0%;
|
39
|
+
}
|
40
|
+
|
41
|
+
/* Only necessary in Google Chrome, see issue 14205, and most unfortunately
|
42
|
+
* the problem doesn't show up in "text" reference tests. */
|
43
|
+
.textLayer span.markedContent {
|
44
|
+
top: 0;
|
45
|
+
height: 0;
|
46
|
+
}
|
47
|
+
|
48
|
+
.textLayer .highlight {
|
49
|
+
margin: -1px;
|
50
|
+
padding: 1px;
|
51
|
+
background-color: rgba(180, 0, 170, 1);
|
52
|
+
border-radius: 4px;
|
53
|
+
}
|
54
|
+
|
55
|
+
.textLayer .highlight.appended {
|
56
|
+
position: initial;
|
57
|
+
}
|
58
|
+
|
59
|
+
.textLayer .highlight.begin {
|
60
|
+
border-radius: 4px 0 0 4px;
|
61
|
+
}
|
62
|
+
|
63
|
+
.textLayer .highlight.end {
|
64
|
+
border-radius: 0 4px 4px 0;
|
65
|
+
}
|
66
|
+
|
67
|
+
.textLayer .highlight.middle {
|
68
|
+
border-radius: 0;
|
69
|
+
}
|
70
|
+
|
71
|
+
.textLayer .highlight.selected {
|
72
|
+
background-color: rgba(0, 100, 0, 1);
|
73
|
+
}
|
74
|
+
|
75
|
+
.textLayer ::-moz-selection {
|
76
|
+
background: blue;
|
77
|
+
background: AccentColor;
|
78
|
+
}
|
79
|
+
|
80
|
+
.textLayer ::selection {
|
81
|
+
background: blue;
|
82
|
+
background: AccentColor;
|
83
|
+
}
|
84
|
+
|
85
|
+
/* Avoids https://github.com/mozilla/pdf.js/issues/13840 in Chrome */
|
86
|
+
.textLayer br::-moz-selection {
|
87
|
+
background: transparent;
|
88
|
+
}
|
89
|
+
.textLayer br::selection {
|
90
|
+
background: transparent;
|
91
|
+
}
|
92
|
+
|
93
|
+
.textLayer .endOfContent {
|
94
|
+
display: block;
|
95
|
+
position: absolute;
|
96
|
+
left: 0;
|
97
|
+
top: 100%;
|
98
|
+
right: 0;
|
99
|
+
bottom: 0;
|
100
|
+
z-index: -1;
|
101
|
+
cursor: default;
|
102
|
+
-webkit-user-select: none;
|
103
|
+
-moz-user-select: none;
|
104
|
+
user-select: none;
|
105
|
+
}
|
106
|
+
|
107
|
+
.textLayer .endOfContent.active {
|
108
|
+
top: 0;
|
109
|
+
}
|
110
|
+
|
111
|
+
|
112
|
+
:root {
|
113
|
+
--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>");
|
114
|
+
--input-focus-border-color: Highlight;
|
115
|
+
--input-focus-outline: 1px solid Canvas;
|
116
|
+
--input-unfocused-border-color: transparent;
|
117
|
+
--input-disabled-border-color: transparent;
|
118
|
+
--input-hover-border-color: black;
|
119
|
+
}
|
120
|
+
|
121
|
+
@media (forced-colors: active) {
|
122
|
+
:root {
|
123
|
+
--input-focus-border-color: CanvasText;
|
124
|
+
--input-unfocused-border-color: ActiveText;
|
125
|
+
--input-disabled-border-color: GrayText;
|
126
|
+
--input-hover-border-color: Highlight;
|
127
|
+
}
|
128
|
+
.annotationLayer .textWidgetAnnotation input:required,
|
129
|
+
.annotationLayer .textWidgetAnnotation textarea:required,
|
130
|
+
.annotationLayer .choiceWidgetAnnotation select:required,
|
131
|
+
.annotationLayer .buttonWidgetAnnotation.checkBox input:required,
|
132
|
+
.annotationLayer .buttonWidgetAnnotation.radioButton input:required {
|
133
|
+
outline: 1.5px solid selectedItem;
|
134
|
+
}
|
135
|
+
}
|
136
|
+
|
137
|
+
.annotationLayer {
|
138
|
+
position: absolute;
|
139
|
+
top: 0;
|
140
|
+
left: 0;
|
141
|
+
pointer-events: none;
|
142
|
+
transform-origin: 0 0;
|
143
|
+
}
|
144
|
+
|
145
|
+
.annotationLayer section {
|
146
|
+
position: absolute;
|
147
|
+
text-align: initial;
|
148
|
+
pointer-events: auto;
|
149
|
+
box-sizing: border-box;
|
150
|
+
transform-origin: 0 0;
|
151
|
+
}
|
152
|
+
|
153
|
+
.annotationLayer .linkAnnotation > a,
|
154
|
+
.annotationLayer .buttonWidgetAnnotation.pushButton > a {
|
155
|
+
position: absolute;
|
156
|
+
font-size: 1em;
|
157
|
+
top: 0;
|
158
|
+
left: 0;
|
159
|
+
width: 100%;
|
160
|
+
height: 100%;
|
161
|
+
}
|
162
|
+
|
163
|
+
.annotationLayer .buttonWidgetAnnotation.pushButton > canvas {
|
164
|
+
width: 100%;
|
165
|
+
height: 100%;
|
166
|
+
}
|
167
|
+
|
168
|
+
.annotationLayer .linkAnnotation > a:hover,
|
169
|
+
.annotationLayer .buttonWidgetAnnotation.pushButton > a:hover {
|
170
|
+
opacity: 0.2;
|
171
|
+
background: rgba(255, 255, 0, 1);
|
172
|
+
box-shadow: 0 2px 10px rgba(255, 255, 0, 1);
|
173
|
+
}
|
174
|
+
|
175
|
+
.annotationLayer .textAnnotation img {
|
176
|
+
position: absolute;
|
177
|
+
cursor: pointer;
|
178
|
+
width: 100%;
|
179
|
+
height: 100%;
|
180
|
+
}
|
181
|
+
|
182
|
+
.annotationLayer .textWidgetAnnotation input,
|
183
|
+
.annotationLayer .textWidgetAnnotation textarea,
|
184
|
+
.annotationLayer .choiceWidgetAnnotation select,
|
185
|
+
.annotationLayer .buttonWidgetAnnotation.checkBox input,
|
186
|
+
.annotationLayer .buttonWidgetAnnotation.radioButton input {
|
187
|
+
background-image: var(--annotation-unfocused-field-background);
|
188
|
+
border: 2px solid var(--input-unfocused-border-color);
|
189
|
+
box-sizing: border-box;
|
190
|
+
font: calc(9px * var(--scale-factor)) sans-serif;
|
191
|
+
height: 100%;
|
192
|
+
margin: 0;
|
193
|
+
vertical-align: top;
|
194
|
+
width: 100%;
|
195
|
+
}
|
196
|
+
|
197
|
+
.annotationLayer .textWidgetAnnotation input:required,
|
198
|
+
.annotationLayer .textWidgetAnnotation textarea:required,
|
199
|
+
.annotationLayer .choiceWidgetAnnotation select:required,
|
200
|
+
.annotationLayer .buttonWidgetAnnotation.checkBox input:required,
|
201
|
+
.annotationLayer .buttonWidgetAnnotation.radioButton input:required {
|
202
|
+
outline: 1.5px solid red;
|
203
|
+
}
|
204
|
+
|
205
|
+
.annotationLayer .choiceWidgetAnnotation select option {
|
206
|
+
padding: 0;
|
207
|
+
}
|
208
|
+
|
209
|
+
.annotationLayer .buttonWidgetAnnotation.radioButton input {
|
210
|
+
border-radius: 50%;
|
211
|
+
}
|
212
|
+
|
213
|
+
.annotationLayer .textWidgetAnnotation textarea {
|
214
|
+
resize: none;
|
215
|
+
}
|
216
|
+
|
217
|
+
.annotationLayer .textWidgetAnnotation input[disabled],
|
218
|
+
.annotationLayer .textWidgetAnnotation textarea[disabled],
|
219
|
+
.annotationLayer .choiceWidgetAnnotation select[disabled],
|
220
|
+
.annotationLayer .buttonWidgetAnnotation.checkBox input[disabled],
|
221
|
+
.annotationLayer .buttonWidgetAnnotation.radioButton input[disabled] {
|
222
|
+
background: none;
|
223
|
+
border: 2px solid var(--input-disabled-border-color);
|
224
|
+
cursor: not-allowed;
|
225
|
+
}
|
226
|
+
|
227
|
+
.annotationLayer .textWidgetAnnotation input:hover,
|
228
|
+
.annotationLayer .textWidgetAnnotation textarea:hover,
|
229
|
+
.annotationLayer .choiceWidgetAnnotation select:hover,
|
230
|
+
.annotationLayer .buttonWidgetAnnotation.checkBox input:hover,
|
231
|
+
.annotationLayer .buttonWidgetAnnotation.radioButton input:hover {
|
232
|
+
border: 2px solid var(--input-hover-border-color);
|
233
|
+
}
|
234
|
+
.annotationLayer .textWidgetAnnotation input:hover,
|
235
|
+
.annotationLayer .textWidgetAnnotation textarea:hover,
|
236
|
+
.annotationLayer .choiceWidgetAnnotation select:hover,
|
237
|
+
.annotationLayer .buttonWidgetAnnotation.checkBox input:hover {
|
238
|
+
border-radius: 2px;
|
239
|
+
}
|
240
|
+
|
241
|
+
.annotationLayer .textWidgetAnnotation input:focus,
|
242
|
+
.annotationLayer .textWidgetAnnotation textarea:focus,
|
243
|
+
.annotationLayer .choiceWidgetAnnotation select:focus {
|
244
|
+
background: none;
|
245
|
+
border: 2px solid var(--input-focus-border-color);
|
246
|
+
border-radius: 2px;
|
247
|
+
outline: var(--input-focus-outline);
|
248
|
+
}
|
249
|
+
|
250
|
+
.annotationLayer .buttonWidgetAnnotation.checkBox :focus,
|
251
|
+
.annotationLayer .buttonWidgetAnnotation.radioButton :focus {
|
252
|
+
background-image: none;
|
253
|
+
background-color: transparent;
|
254
|
+
}
|
255
|
+
|
256
|
+
.annotationLayer .buttonWidgetAnnotation.checkBox :focus {
|
257
|
+
border: 2px solid var(--input-focus-border-color);
|
258
|
+
border-radius: 2px;
|
259
|
+
outline: var(--input-focus-outline);
|
260
|
+
}
|
261
|
+
|
262
|
+
.annotationLayer .buttonWidgetAnnotation.radioButton :focus {
|
263
|
+
border: 2px solid var(--input-focus-border-color);
|
264
|
+
outline: var(--input-focus-outline);
|
265
|
+
}
|
266
|
+
|
267
|
+
.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before,
|
268
|
+
.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after,
|
269
|
+
.annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before {
|
270
|
+
background-color: CanvasText;
|
271
|
+
content: "";
|
272
|
+
display: block;
|
273
|
+
position: absolute;
|
274
|
+
}
|
275
|
+
|
276
|
+
.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before,
|
277
|
+
.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after {
|
278
|
+
height: 80%;
|
279
|
+
left: 45%;
|
280
|
+
width: 1px;
|
281
|
+
}
|
282
|
+
|
283
|
+
.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before {
|
284
|
+
transform: rotate(45deg);
|
285
|
+
}
|
286
|
+
|
287
|
+
.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after {
|
288
|
+
transform: rotate(-45deg);
|
289
|
+
}
|
290
|
+
|
291
|
+
.annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before {
|
292
|
+
border-radius: 50%;
|
293
|
+
height: 50%;
|
294
|
+
left: 30%;
|
295
|
+
top: 20%;
|
296
|
+
width: 50%;
|
297
|
+
}
|
298
|
+
|
299
|
+
.annotationLayer .textWidgetAnnotation input.comb {
|
300
|
+
font-family: monospace;
|
301
|
+
padding-left: 2px;
|
302
|
+
padding-right: 0;
|
303
|
+
}
|
304
|
+
|
305
|
+
.annotationLayer .textWidgetAnnotation input.comb:focus {
|
306
|
+
/*
|
307
|
+
* Letter spacing is placed on the right side of each character. Hence, the
|
308
|
+
* letter spacing of the last character may be placed outside the visible
|
309
|
+
* area, causing horizontal scrolling. We avoid this by extending the width
|
310
|
+
* when the element has focus and revert this when it loses focus.
|
311
|
+
*/
|
312
|
+
width: 103%;
|
313
|
+
}
|
314
|
+
|
315
|
+
.annotationLayer .buttonWidgetAnnotation.checkBox input,
|
316
|
+
.annotationLayer .buttonWidgetAnnotation.radioButton input {
|
317
|
+
-webkit-appearance: none;
|
318
|
+
-moz-appearance: none;
|
319
|
+
appearance: none;
|
320
|
+
}
|
321
|
+
|
322
|
+
.annotationLayer .popupTriggerArea {
|
323
|
+
height: 100%;
|
324
|
+
width: 100%;
|
325
|
+
}
|
326
|
+
|
327
|
+
.annotationLayer .popupWrapper {
|
328
|
+
position: absolute;
|
329
|
+
font-size: calc(9px * var(--scale-factor));
|
330
|
+
width: 100%;
|
331
|
+
min-width: calc(180px * var(--scale-factor));
|
332
|
+
pointer-events: none;
|
333
|
+
}
|
334
|
+
|
335
|
+
.annotationLayer .popup {
|
336
|
+
position: absolute;
|
337
|
+
max-width: calc(180px * var(--scale-factor));
|
338
|
+
background-color: rgba(255, 255, 153, 1);
|
339
|
+
box-shadow: 0 calc(2px * var(--scale-factor)) calc(5px * var(--scale-factor))
|
340
|
+
rgba(136, 136, 136, 1);
|
341
|
+
border-radius: calc(2px * var(--scale-factor));
|
342
|
+
padding: calc(6px * var(--scale-factor));
|
343
|
+
margin-left: calc(5px * var(--scale-factor));
|
344
|
+
cursor: pointer;
|
345
|
+
font: message-box;
|
346
|
+
white-space: normal;
|
347
|
+
word-wrap: break-word;
|
348
|
+
pointer-events: auto;
|
349
|
+
}
|
350
|
+
|
351
|
+
.annotationLayer .popup > * {
|
352
|
+
font-size: calc(9px * var(--scale-factor));
|
353
|
+
}
|
354
|
+
|
355
|
+
.annotationLayer .popup h1 {
|
356
|
+
display: inline-block;
|
357
|
+
}
|
358
|
+
|
359
|
+
.annotationLayer .popupDate {
|
360
|
+
display: inline-block;
|
361
|
+
margin-left: calc(5px * var(--scale-factor));
|
362
|
+
}
|
363
|
+
|
364
|
+
.annotationLayer .popupContent {
|
365
|
+
border-top: 1px solid rgba(51, 51, 51, 1);
|
366
|
+
margin-top: calc(2px * var(--scale-factor));
|
367
|
+
padding-top: calc(2px * var(--scale-factor));
|
368
|
+
}
|
369
|
+
|
370
|
+
.annotationLayer .richText > * {
|
371
|
+
white-space: pre-wrap;
|
372
|
+
font-size: calc(9px * var(--scale-factor));
|
373
|
+
}
|
374
|
+
|
375
|
+
.annotationLayer .highlightAnnotation,
|
376
|
+
.annotationLayer .underlineAnnotation,
|
377
|
+
.annotationLayer .squigglyAnnotation,
|
378
|
+
.annotationLayer .strikeoutAnnotation,
|
379
|
+
.annotationLayer .freeTextAnnotation,
|
380
|
+
.annotationLayer .lineAnnotation svg line,
|
381
|
+
.annotationLayer .squareAnnotation svg rect,
|
382
|
+
.annotationLayer .circleAnnotation svg ellipse,
|
383
|
+
.annotationLayer .polylineAnnotation svg polyline,
|
384
|
+
.annotationLayer .polygonAnnotation svg polygon,
|
385
|
+
.annotationLayer .caretAnnotation,
|
386
|
+
.annotationLayer .inkAnnotation svg polyline,
|
387
|
+
.annotationLayer .stampAnnotation,
|
388
|
+
.annotationLayer .fileAttachmentAnnotation {
|
389
|
+
cursor: pointer;
|
390
|
+
}
|
391
|
+
|
392
|
+
.annotationLayer section svg {
|
393
|
+
position: absolute;
|
394
|
+
width: 100%;
|
395
|
+
height: 100%;
|
396
|
+
}
|
397
|
+
|
398
|
+
.annotationLayer .annotationTextContent {
|
399
|
+
position: absolute;
|
400
|
+
width: 100%;
|
401
|
+
height: 100%;
|
402
|
+
opacity: 0;
|
403
|
+
color: transparent;
|
404
|
+
-webkit-user-select: none;
|
405
|
+
-moz-user-select: none;
|
406
|
+
user-select: none;
|
407
|
+
pointer-events: none;
|
408
|
+
}
|
409
|
+
|
410
|
+
.annotationLayer .annotationTextContent span {
|
411
|
+
width: 100%;
|
412
|
+
display: inline-block;
|
413
|
+
}
|
414
|
+
|
415
|
+
|
416
|
+
:root {
|
417
|
+
--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>");
|
418
|
+
--xfa-focus-outline: auto;
|
419
|
+
}
|
420
|
+
|
421
|
+
@media (forced-colors: active) {
|
422
|
+
:root {
|
423
|
+
--xfa-focus-outline: 2px solid CanvasText;
|
424
|
+
}
|
425
|
+
.xfaLayer *:required {
|
426
|
+
outline: 1.5px solid selectedItem;
|
427
|
+
}
|
428
|
+
}
|
429
|
+
|
430
|
+
.xfaLayer {
|
431
|
+
background-color: transparent;
|
432
|
+
}
|
433
|
+
|
434
|
+
.xfaLayer .highlight {
|
435
|
+
margin: -1px;
|
436
|
+
padding: 1px;
|
437
|
+
background-color: rgba(239, 203, 237, 1);
|
438
|
+
border-radius: 4px;
|
439
|
+
}
|
440
|
+
|
441
|
+
.xfaLayer .highlight.appended {
|
442
|
+
position: initial;
|
443
|
+
}
|
444
|
+
|
445
|
+
.xfaLayer .highlight.begin {
|
446
|
+
border-radius: 4px 0 0 4px;
|
447
|
+
}
|
448
|
+
|
449
|
+
.xfaLayer .highlight.end {
|
450
|
+
border-radius: 0 4px 4px 0;
|
451
|
+
}
|
452
|
+
|
453
|
+
.xfaLayer .highlight.middle {
|
454
|
+
border-radius: 0;
|
455
|
+
}
|
456
|
+
|
457
|
+
.xfaLayer .highlight.selected {
|
458
|
+
background-color: rgba(203, 223, 203, 1);
|
459
|
+
}
|
460
|
+
|
461
|
+
.xfaPage {
|
462
|
+
overflow: hidden;
|
463
|
+
position: relative;
|
464
|
+
}
|
465
|
+
|
466
|
+
.xfaContentarea {
|
467
|
+
position: absolute;
|
468
|
+
}
|
469
|
+
|
470
|
+
.xfaPrintOnly {
|
471
|
+
display: none;
|
472
|
+
}
|
473
|
+
|
474
|
+
.xfaLayer {
|
475
|
+
position: absolute;
|
476
|
+
text-align: initial;
|
477
|
+
top: 0;
|
478
|
+
left: 0;
|
479
|
+
transform-origin: 0 0;
|
480
|
+
line-height: 1.2;
|
481
|
+
}
|
482
|
+
|
483
|
+
.xfaLayer * {
|
484
|
+
color: inherit;
|
485
|
+
font: inherit;
|
486
|
+
font-style: inherit;
|
487
|
+
font-weight: inherit;
|
488
|
+
font-kerning: inherit;
|
489
|
+
letter-spacing: -0.01px;
|
490
|
+
text-align: inherit;
|
491
|
+
text-decoration: inherit;
|
492
|
+
box-sizing: border-box;
|
493
|
+
background-color: transparent;
|
494
|
+
padding: 0;
|
495
|
+
margin: 0;
|
496
|
+
pointer-events: auto;
|
497
|
+
line-height: inherit;
|
498
|
+
}
|
499
|
+
|
500
|
+
.xfaLayer *:required {
|
501
|
+
outline: 1.5px solid red;
|
502
|
+
}
|
503
|
+
|
504
|
+
.xfaLayer div {
|
505
|
+
pointer-events: none;
|
506
|
+
}
|
507
|
+
|
508
|
+
.xfaLayer svg {
|
509
|
+
pointer-events: none;
|
510
|
+
}
|
511
|
+
|
512
|
+
.xfaLayer svg * {
|
513
|
+
pointer-events: none;
|
514
|
+
}
|
515
|
+
|
516
|
+
.xfaLayer a {
|
517
|
+
color: blue;
|
518
|
+
}
|
519
|
+
|
520
|
+
.xfaRich li {
|
521
|
+
margin-left: 3em;
|
522
|
+
}
|
523
|
+
|
524
|
+
.xfaFont {
|
525
|
+
color: black;
|
526
|
+
font-weight: normal;
|
527
|
+
font-kerning: none;
|
528
|
+
font-size: 10px;
|
529
|
+
font-style: normal;
|
530
|
+
letter-spacing: 0;
|
531
|
+
text-decoration: none;
|
532
|
+
vertical-align: 0;
|
533
|
+
}
|
534
|
+
|
535
|
+
.xfaCaption {
|
536
|
+
overflow: hidden;
|
537
|
+
flex: 0 0 auto;
|
538
|
+
}
|
539
|
+
|
540
|
+
.xfaCaptionForCheckButton {
|
541
|
+
overflow: hidden;
|
542
|
+
flex: 1 1 auto;
|
543
|
+
}
|
544
|
+
|
545
|
+
.xfaLabel {
|
546
|
+
height: 100%;
|
547
|
+
width: 100%;
|
548
|
+
}
|
549
|
+
|
550
|
+
.xfaLeft {
|
551
|
+
display: flex;
|
552
|
+
flex-direction: row;
|
553
|
+
align-items: center;
|
554
|
+
}
|
555
|
+
|
556
|
+
.xfaRight {
|
557
|
+
display: flex;
|
558
|
+
flex-direction: row-reverse;
|
559
|
+
align-items: center;
|
560
|
+
}
|
561
|
+
|
562
|
+
.xfaLeft > .xfaCaption,
|
563
|
+
.xfaLeft > .xfaCaptionForCheckButton,
|
564
|
+
.xfaRight > .xfaCaption,
|
565
|
+
.xfaRight > .xfaCaptionForCheckButton {
|
566
|
+
max-height: 100%;
|
567
|
+
}
|
568
|
+
|
569
|
+
.xfaTop {
|
570
|
+
display: flex;
|
571
|
+
flex-direction: column;
|
572
|
+
align-items: flex-start;
|
573
|
+
}
|
574
|
+
|
575
|
+
.xfaBottom {
|
576
|
+
display: flex;
|
577
|
+
flex-direction: column-reverse;
|
578
|
+
align-items: flex-start;
|
579
|
+
}
|
580
|
+
|
581
|
+
.xfaTop > .xfaCaption,
|
582
|
+
.xfaTop > .xfaCaptionForCheckButton,
|
583
|
+
.xfaBottom > .xfaCaption,
|
584
|
+
.xfaBottom > .xfaCaptionForCheckButton {
|
585
|
+
width: 100%;
|
586
|
+
}
|
587
|
+
|
588
|
+
.xfaBorder {
|
589
|
+
background-color: transparent;
|
590
|
+
position: absolute;
|
591
|
+
pointer-events: none;
|
592
|
+
}
|
593
|
+
|
594
|
+
.xfaWrapped {
|
595
|
+
width: 100%;
|
596
|
+
height: 100%;
|
597
|
+
}
|
598
|
+
|
599
|
+
.xfaTextfield:focus,
|
600
|
+
.xfaSelect:focus {
|
601
|
+
background-image: none;
|
602
|
+
background-color: transparent;
|
603
|
+
outline: var(--xfa-focus-outline);
|
604
|
+
outline-offset: -1px;
|
605
|
+
}
|
606
|
+
|
607
|
+
.xfaCheckbox:focus,
|
608
|
+
.xfaRadio:focus {
|
609
|
+
outline: var(--xfa-focus-outline);
|
610
|
+
}
|
611
|
+
|
612
|
+
.xfaTextfield,
|
613
|
+
.xfaSelect {
|
614
|
+
height: 100%;
|
615
|
+
width: 100%;
|
616
|
+
flex: 1 1 auto;
|
617
|
+
border: none;
|
618
|
+
resize: none;
|
619
|
+
background-image: var(--xfa-unfocused-field-background);
|
620
|
+
}
|
621
|
+
|
622
|
+
.xfaSelect {
|
623
|
+
padding-left: 2px;
|
624
|
+
padding-right: 2px;
|
625
|
+
padding-inline: 2px;
|
626
|
+
}
|
627
|
+
|
628
|
+
.xfaTop > .xfaTextfield,
|
629
|
+
.xfaTop > .xfaSelect,
|
630
|
+
.xfaBottom > .xfaTextfield,
|
631
|
+
.xfaBottom > .xfaSelect {
|
632
|
+
flex: 0 1 auto;
|
633
|
+
}
|
634
|
+
|
635
|
+
.xfaButton {
|
636
|
+
cursor: pointer;
|
637
|
+
width: 100%;
|
638
|
+
height: 100%;
|
639
|
+
border: none;
|
640
|
+
text-align: center;
|
641
|
+
}
|
642
|
+
|
643
|
+
.xfaLink {
|
644
|
+
width: 100%;
|
645
|
+
height: 100%;
|
646
|
+
position: absolute;
|
647
|
+
top: 0;
|
648
|
+
left: 0;
|
649
|
+
}
|
650
|
+
|
651
|
+
.xfaCheckbox,
|
652
|
+
.xfaRadio {
|
653
|
+
width: 100%;
|
654
|
+
height: 100%;
|
655
|
+
flex: 0 0 auto;
|
656
|
+
border: none;
|
657
|
+
}
|
658
|
+
|
659
|
+
.xfaRich {
|
660
|
+
white-space: pre-wrap;
|
661
|
+
width: 100%;
|
662
|
+
height: 100%;
|
663
|
+
}
|
664
|
+
|
665
|
+
.xfaImage {
|
666
|
+
-o-object-position: left top;
|
667
|
+
object-position: left top;
|
668
|
+
-o-object-fit: contain;
|
669
|
+
object-fit: contain;
|
670
|
+
width: 100%;
|
671
|
+
height: 100%;
|
672
|
+
}
|
673
|
+
|
674
|
+
.xfaLrTb,
|
675
|
+
.xfaRlTb,
|
676
|
+
.xfaTb {
|
677
|
+
display: flex;
|
678
|
+
flex-direction: column;
|
679
|
+
align-items: stretch;
|
680
|
+
}
|
681
|
+
|
682
|
+
.xfaLr {
|
683
|
+
display: flex;
|
684
|
+
flex-direction: row;
|
685
|
+
align-items: stretch;
|
686
|
+
}
|
687
|
+
|
688
|
+
.xfaRl {
|
689
|
+
display: flex;
|
690
|
+
flex-direction: row-reverse;
|
691
|
+
align-items: stretch;
|
692
|
+
}
|
693
|
+
|
694
|
+
.xfaTb > div {
|
695
|
+
justify-content: left;
|
696
|
+
}
|
697
|
+
|
698
|
+
.xfaPosition {
|
699
|
+
position: relative;
|
700
|
+
}
|
701
|
+
|
702
|
+
.xfaArea {
|
703
|
+
position: relative;
|
704
|
+
}
|
705
|
+
|
706
|
+
.xfaValignMiddle {
|
707
|
+
display: flex;
|
708
|
+
align-items: center;
|
709
|
+
}
|
710
|
+
|
711
|
+
.xfaTable {
|
712
|
+
display: flex;
|
713
|
+
flex-direction: column;
|
714
|
+
align-items: stretch;
|
715
|
+
}
|
716
|
+
|
717
|
+
.xfaTable .xfaRow {
|
718
|
+
display: flex;
|
719
|
+
flex-direction: row;
|
720
|
+
align-items: stretch;
|
721
|
+
}
|
722
|
+
|
723
|
+
.xfaTable .xfaRlRow {
|
724
|
+
display: flex;
|
725
|
+
flex-direction: row-reverse;
|
726
|
+
align-items: stretch;
|
727
|
+
flex: 1;
|
728
|
+
}
|
729
|
+
|
730
|
+
.xfaTable .xfaRlRow > div {
|
731
|
+
flex: 1;
|
732
|
+
}
|
733
|
+
|
734
|
+
.xfaNonInteractive input,
|
735
|
+
.xfaNonInteractive textarea,
|
736
|
+
.xfaDisabled input,
|
737
|
+
.xfaDisabled textarea,
|
738
|
+
.xfaReadOnly input,
|
739
|
+
.xfaReadOnly textarea {
|
740
|
+
background: initial;
|
741
|
+
}
|
742
|
+
|
743
|
+
@media print {
|
744
|
+
.xfaTextfield,
|
745
|
+
.xfaSelect {
|
746
|
+
background: transparent;
|
747
|
+
}
|
748
|
+
|
749
|
+
.xfaSelect {
|
750
|
+
-webkit-appearance: none;
|
751
|
+
-moz-appearance: none;
|
752
|
+
appearance: none;
|
753
|
+
text-indent: 1px;
|
754
|
+
text-overflow: "";
|
755
|
+
}
|
756
|
+
}
|
757
|
+
|
758
|
+
|
759
|
+
:root {
|
760
|
+
--focus-outline: solid 2px blue;
|
761
|
+
--hover-outline: dashed 2px blue;
|
762
|
+
--freetext-line-height: 1.35;
|
763
|
+
--freetext-padding: 2px;
|
764
|
+
--editorFreeText-editing-cursor: text;
|
765
|
+
--editorInk-editing-cursor: url(images/cursor-editorInk.svg) 0 16, pointer;
|
766
|
+
}
|
767
|
+
|
768
|
+
@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 1.1dppx) {
|
769
|
+
:root {
|
770
|
+
--editorFreeText-editing-cursor: url(images/cursor-editorFreeText.svg) 0 16,
|
771
|
+
text;
|
772
|
+
}
|
773
|
+
}
|
774
|
+
|
775
|
+
@media (forced-colors: active) {
|
776
|
+
:root {
|
777
|
+
--focus-outline: solid 3px ButtonText;
|
778
|
+
--hover-outline: dashed 3px ButtonText;
|
779
|
+
}
|
780
|
+
}
|
781
|
+
|
782
|
+
[data-editor-rotation="90"] {
|
783
|
+
transform: rotate(90deg);
|
784
|
+
}
|
785
|
+
[data-editor-rotation="180"] {
|
786
|
+
transform: rotate(180deg);
|
787
|
+
}
|
788
|
+
[data-editor-rotation="270"] {
|
789
|
+
transform: rotate(270deg);
|
790
|
+
}
|
791
|
+
|
792
|
+
.annotationEditorLayer {
|
793
|
+
background: transparent;
|
794
|
+
position: absolute;
|
795
|
+
top: 0;
|
796
|
+
left: 0;
|
797
|
+
font-size: calc(100px * var(--scale-factor));
|
798
|
+
transform-origin: 0 0;
|
799
|
+
cursor: auto;
|
800
|
+
z-index: 20000;
|
801
|
+
}
|
802
|
+
|
803
|
+
.annotationEditorLayer.freeTextEditing {
|
804
|
+
cursor: var(--editorFreeText-editing-cursor);
|
805
|
+
}
|
806
|
+
|
807
|
+
.annotationEditorLayer.inkEditing {
|
808
|
+
cursor: var(--editorInk-editing-cursor);
|
809
|
+
}
|
810
|
+
|
811
|
+
.annotationEditorLayer .selectedEditor {
|
812
|
+
outline: var(--focus-outline);
|
813
|
+
resize: none;
|
814
|
+
}
|
815
|
+
|
816
|
+
.annotationEditorLayer .freeTextEditor {
|
817
|
+
position: absolute;
|
818
|
+
background: transparent;
|
819
|
+
border-radius: 3px;
|
820
|
+
padding: calc(var(--freetext-padding) * var(--scale-factor));
|
821
|
+
resize: none;
|
822
|
+
width: auto;
|
823
|
+
height: auto;
|
824
|
+
z-index: 1;
|
825
|
+
transform-origin: 0 0;
|
826
|
+
touch-action: none;
|
827
|
+
cursor: auto;
|
828
|
+
}
|
829
|
+
|
830
|
+
.annotationEditorLayer .freeTextEditor .internal {
|
831
|
+
background: transparent;
|
832
|
+
border: none;
|
833
|
+
top: 0;
|
834
|
+
left: 0;
|
835
|
+
overflow: visible;
|
836
|
+
white-space: nowrap;
|
837
|
+
resize: none;
|
838
|
+
font: 10px sans-serif;
|
839
|
+
line-height: var(--freetext-line-height);
|
840
|
+
}
|
841
|
+
|
842
|
+
.annotationEditorLayer .freeTextEditor .overlay {
|
843
|
+
position: absolute;
|
844
|
+
display: none;
|
845
|
+
background: transparent;
|
846
|
+
top: 0;
|
847
|
+
left: 0;
|
848
|
+
width: 100%;
|
849
|
+
height: 100%;
|
850
|
+
}
|
851
|
+
|
852
|
+
.annotationEditorLayer .freeTextEditor .overlay.enabled {
|
853
|
+
display: block;
|
854
|
+
}
|
855
|
+
|
856
|
+
.annotationEditorLayer .freeTextEditor .internal:empty::before {
|
857
|
+
content: attr(default-content);
|
858
|
+
color: gray;
|
859
|
+
}
|
860
|
+
|
861
|
+
.annotationEditorLayer .freeTextEditor .internal:focus {
|
862
|
+
outline: none;
|
863
|
+
}
|
864
|
+
|
865
|
+
.annotationEditorLayer .inkEditor.disabled {
|
866
|
+
resize: none;
|
867
|
+
}
|
868
|
+
|
869
|
+
.annotationEditorLayer .inkEditor.disabled.selectedEditor {
|
870
|
+
resize: horizontal;
|
871
|
+
}
|
872
|
+
|
873
|
+
.annotationEditorLayer .freeTextEditor:hover:not(.selectedEditor),
|
874
|
+
.annotationEditorLayer .inkEditor:hover:not(.selectedEditor) {
|
875
|
+
outline: var(--hover-outline);
|
876
|
+
}
|
877
|
+
|
878
|
+
.annotationEditorLayer .inkEditor {
|
879
|
+
position: absolute;
|
880
|
+
background: transparent;
|
881
|
+
border-radius: 3px;
|
882
|
+
overflow: auto;
|
883
|
+
width: 100%;
|
884
|
+
height: 100%;
|
885
|
+
z-index: 1;
|
886
|
+
transform-origin: 0 0;
|
887
|
+
cursor: auto;
|
888
|
+
}
|
889
|
+
|
890
|
+
.annotationEditorLayer .inkEditor.editing {
|
891
|
+
resize: none;
|
892
|
+
cursor: inherit;
|
893
|
+
}
|
894
|
+
|
895
|
+
.annotationEditorLayer .inkEditor .inkEditorCanvas {
|
896
|
+
position: absolute;
|
897
|
+
top: 0;
|
898
|
+
left: 0;
|
899
|
+
width: 100%;
|
900
|
+
height: 100%;
|
901
|
+
touch-action: none;
|
902
|
+
}
|
903
|
+
|
904
|
+
:root {
|
905
|
+
--viewer-container-height: 0;
|
906
|
+
--pdfViewer-padding-bottom: 0;
|
907
|
+
--page-margin: 1px auto -8px;
|
908
|
+
--page-border: 9px solid transparent;
|
909
|
+
--page-border-image: url(images/shadow.png) 9 9 repeat;
|
910
|
+
--spreadHorizontalWrapped-margin-LR: -3.5px;
|
911
|
+
--scale-factor: 1;
|
912
|
+
}
|
913
|
+
|
914
|
+
@media screen and (forced-colors: active) {
|
915
|
+
:root {
|
916
|
+
--pdfViewer-padding-bottom: 9px;
|
917
|
+
--page-margin: 8px auto -1px;
|
918
|
+
--page-border: 1px solid CanvasText;
|
919
|
+
--page-border-image: none;
|
920
|
+
--spreadHorizontalWrapped-margin-LR: 3.5px;
|
921
|
+
}
|
922
|
+
}
|
923
|
+
|
924
|
+
[data-main-rotation="90"] {
|
925
|
+
transform: rotate(90deg) translateY(-100%);
|
926
|
+
}
|
927
|
+
[data-main-rotation="180"] {
|
928
|
+
transform: rotate(180deg) translate(-100%, -100%);
|
929
|
+
}
|
930
|
+
[data-main-rotation="270"] {
|
931
|
+
transform: rotate(270deg) translateX(-100%);
|
932
|
+
}
|
933
|
+
|
934
|
+
.pdfViewer {
|
935
|
+
padding-bottom: var(--pdfViewer-padding-bottom);
|
936
|
+
}
|
937
|
+
|
938
|
+
.pdfViewer .canvasWrapper {
|
939
|
+
overflow: hidden;
|
940
|
+
}
|
941
|
+
|
942
|
+
.pdfViewer .page {
|
943
|
+
direction: ltr;
|
944
|
+
width: 816px;
|
945
|
+
height: 1056px;
|
946
|
+
margin: var(--page-margin);
|
947
|
+
position: relative;
|
948
|
+
overflow: visible;
|
949
|
+
border: var(--page-border);
|
950
|
+
-o-border-image: var(--page-border-image);
|
951
|
+
border-image: var(--page-border-image);
|
952
|
+
background-clip: content-box;
|
953
|
+
background-color: rgba(255, 255, 255, 1);
|
954
|
+
}
|
955
|
+
|
956
|
+
.pdfViewer .dummyPage {
|
957
|
+
position: relative;
|
958
|
+
width: 0;
|
959
|
+
height: var(--viewer-container-height);
|
960
|
+
}
|
961
|
+
|
962
|
+
.pdfViewer.removePageBorders .page {
|
963
|
+
margin: 0 auto 10px;
|
964
|
+
border: none;
|
965
|
+
}
|
966
|
+
|
967
|
+
.pdfViewer.singlePageView {
|
968
|
+
display: inline-block;
|
969
|
+
}
|
970
|
+
|
971
|
+
.pdfViewer.singlePageView .page {
|
972
|
+
margin: 0;
|
973
|
+
border: none;
|
974
|
+
}
|
975
|
+
|
976
|
+
.pdfViewer.scrollHorizontal,
|
977
|
+
.pdfViewer.scrollWrapped,
|
978
|
+
.spread {
|
979
|
+
margin-left: 3.5px;
|
980
|
+
margin-right: 3.5px;
|
981
|
+
text-align: center;
|
982
|
+
}
|
983
|
+
|
984
|
+
.pdfViewer.scrollHorizontal,
|
985
|
+
.spread {
|
986
|
+
white-space: nowrap;
|
987
|
+
}
|
988
|
+
|
989
|
+
.pdfViewer.removePageBorders,
|
990
|
+
.pdfViewer.scrollHorizontal .spread,
|
991
|
+
.pdfViewer.scrollWrapped .spread {
|
992
|
+
margin-left: 0;
|
993
|
+
margin-right: 0;
|
994
|
+
}
|
995
|
+
|
996
|
+
.spread .page,
|
997
|
+
.spread .dummyPage,
|
998
|
+
.pdfViewer.scrollHorizontal .page,
|
999
|
+
.pdfViewer.scrollWrapped .page,
|
1000
|
+
.pdfViewer.scrollHorizontal .spread,
|
1001
|
+
.pdfViewer.scrollWrapped .spread {
|
1002
|
+
display: inline-block;
|
1003
|
+
vertical-align: middle;
|
1004
|
+
}
|
1005
|
+
|
1006
|
+
.spread .page,
|
1007
|
+
.pdfViewer.scrollHorizontal .page,
|
1008
|
+
.pdfViewer.scrollWrapped .page {
|
1009
|
+
margin-left: var(--spreadHorizontalWrapped-margin-LR);
|
1010
|
+
margin-right: var(--spreadHorizontalWrapped-margin-LR);
|
1011
|
+
}
|
1012
|
+
|
1013
|
+
.pdfViewer.removePageBorders .spread .page,
|
1014
|
+
.pdfViewer.removePageBorders.scrollHorizontal .page,
|
1015
|
+
.pdfViewer.removePageBorders.scrollWrapped .page {
|
1016
|
+
margin-left: 5px;
|
1017
|
+
margin-right: 5px;
|
1018
|
+
}
|
1019
|
+
|
1020
|
+
.pdfViewer .page canvas {
|
1021
|
+
margin: 0;
|
1022
|
+
display: block;
|
1023
|
+
}
|
1024
|
+
|
1025
|
+
.pdfViewer .page canvas[hidden] {
|
1026
|
+
display: none;
|
1027
|
+
}
|
1028
|
+
|
1029
|
+
.pdfViewer .page .loadingIcon {
|
1030
|
+
position: absolute;
|
1031
|
+
display: block;
|
1032
|
+
left: 0;
|
1033
|
+
top: 0;
|
1034
|
+
right: 0;
|
1035
|
+
bottom: 0;
|
1036
|
+
background: url("images/loading-icon.gif") center no-repeat;
|
1037
|
+
}
|
1038
|
+
.pdfViewer .page .loadingIcon.notVisible {
|
1039
|
+
background: none;
|
1040
|
+
}
|
1041
|
+
|
1042
|
+
.pdfViewer.enablePermissions .textLayer span {
|
1043
|
+
-webkit-user-select: none !important;
|
1044
|
+
-moz-user-select: none !important;
|
1045
|
+
user-select: none !important;
|
1046
|
+
cursor: not-allowed;
|
1047
|
+
}
|
1048
|
+
|
1049
|
+
.pdfPresentationMode .pdfViewer {
|
1050
|
+
padding-bottom: 0;
|
1051
|
+
}
|
1052
|
+
|
1053
|
+
.pdfPresentationMode .spread {
|
1054
|
+
margin: 0;
|
1055
|
+
}
|
1056
|
+
|
1057
|
+
.pdfPresentationMode .pdfViewer .page {
|
1058
|
+
margin: 0 auto;
|
1059
|
+
border: 2px solid transparent;
|
1060
|
+
}
|
1061
|
+
|
1062
|
+
:root {
|
1063
|
+
--dir-factor: 1;
|
1064
|
+
--sidebar-width: 200px;
|
1065
|
+
--sidebar-transition-duration: 200ms;
|
1066
|
+
--sidebar-transition-timing-function: ease;
|
1067
|
+
--scale-select-width: 140px;
|
1068
|
+
|
1069
|
+
--toolbar-icon-opacity: 0.7;
|
1070
|
+
--doorhanger-icon-opacity: 0.9;
|
1071
|
+
|
1072
|
+
--main-color: rgba(12, 12, 13, 1);
|
1073
|
+
--body-bg-color: rgba(237, 237, 240, 1);
|
1074
|
+
--progressBar-percent: 0%;
|
1075
|
+
--progressBar-end-offset: 0;
|
1076
|
+
--progressBar-color: rgba(10, 132, 255, 1);
|
1077
|
+
--progressBar-indeterminate-bg-color: rgba(221, 221, 222, 1);
|
1078
|
+
--progressBar-indeterminate-blend-color: rgba(116, 177, 239, 1);
|
1079
|
+
--scrollbar-color: auto;
|
1080
|
+
--scrollbar-bg-color: auto;
|
1081
|
+
--toolbar-icon-bg-color: rgba(0, 0, 0, 1);
|
1082
|
+
--toolbar-icon-hover-bg-color: rgba(0, 0, 0, 1);
|
1083
|
+
|
1084
|
+
--sidebar-narrow-bg-color: rgba(237, 237, 240, 0.9);
|
1085
|
+
--sidebar-toolbar-bg-color: rgba(245, 246, 247, 1);
|
1086
|
+
--toolbar-bg-color: rgba(249, 249, 250, 1);
|
1087
|
+
--toolbar-border-color: rgba(204, 204, 204, 1);
|
1088
|
+
--toolbar-box-shadow: 0 1px 0 var(--toolbar-border-color);
|
1089
|
+
--toolbar-border-bottom: none;
|
1090
|
+
--toolbarSidebar-box-shadow: inset calc(-1px * var(--dir-factor)) 0 0
|
1091
|
+
rgba(0, 0, 0, 0.25),
|
1092
|
+
0 1px 0 rgba(0, 0, 0, 0.15), 0 0 1px rgba(0, 0, 0, 0.1);
|
1093
|
+
--toolbarSidebar-border-bottom: none;
|
1094
|
+
--button-hover-color: rgba(221, 222, 223, 1);
|
1095
|
+
--toggled-btn-color: rgba(0, 0, 0, 1);
|
1096
|
+
--toggled-btn-bg-color: rgba(0, 0, 0, 0.3);
|
1097
|
+
--toggled-hover-active-btn-color: rgba(0, 0, 0, 0.4);
|
1098
|
+
--dropdown-btn-bg-color: rgba(215, 215, 219, 1);
|
1099
|
+
--dropdown-btn-border: none;
|
1100
|
+
--separator-color: rgba(0, 0, 0, 0.3);
|
1101
|
+
--field-color: rgba(6, 6, 6, 1);
|
1102
|
+
--field-bg-color: rgba(255, 255, 255, 1);
|
1103
|
+
--field-border-color: rgba(187, 187, 188, 1);
|
1104
|
+
--treeitem-color: rgba(0, 0, 0, 0.8);
|
1105
|
+
--treeitem-hover-color: rgba(0, 0, 0, 0.9);
|
1106
|
+
--treeitem-selected-color: rgba(0, 0, 0, 0.9);
|
1107
|
+
--treeitem-selected-bg-color: rgba(0, 0, 0, 0.25);
|
1108
|
+
--sidebaritem-bg-color: rgba(0, 0, 0, 0.15);
|
1109
|
+
--doorhanger-bg-color: rgba(255, 255, 255, 1);
|
1110
|
+
--doorhanger-border-color: rgba(12, 12, 13, 0.2);
|
1111
|
+
--doorhanger-hover-color: rgba(12, 12, 13, 1);
|
1112
|
+
--doorhanger-hover-bg-color: rgba(237, 237, 237, 1);
|
1113
|
+
--doorhanger-separator-color: rgba(222, 222, 222, 1);
|
1114
|
+
--dialog-button-border: none;
|
1115
|
+
--dialog-button-bg-color: rgba(12, 12, 13, 0.1);
|
1116
|
+
--dialog-button-hover-bg-color: rgba(12, 12, 13, 0.3);
|
1117
|
+
|
1118
|
+
--loading-icon: url(images/loading.svg);
|
1119
|
+
--treeitem-expanded-icon: url(images/treeitem-expanded.svg);
|
1120
|
+
--treeitem-collapsed-icon: url(images/treeitem-collapsed.svg);
|
1121
|
+
--toolbarButton-editorFreeText-icon: url(images/toolbarButton-editorFreeText.svg);
|
1122
|
+
--toolbarButton-editorInk-icon: url(images/toolbarButton-editorInk.svg);
|
1123
|
+
--toolbarButton-menuArrow-icon: url(images/toolbarButton-menuArrow.svg);
|
1124
|
+
--toolbarButton-sidebarToggle-icon: url(images/toolbarButton-sidebarToggle.svg);
|
1125
|
+
--toolbarButton-secondaryToolbarToggle-icon: url(images/toolbarButton-secondaryToolbarToggle.svg);
|
1126
|
+
--toolbarButton-pageUp-icon: url(images/toolbarButton-pageUp.svg);
|
1127
|
+
--toolbarButton-pageDown-icon: url(images/toolbarButton-pageDown.svg);
|
1128
|
+
--toolbarButton-zoomOut-icon: url(images/toolbarButton-zoomOut.svg);
|
1129
|
+
--toolbarButton-zoomIn-icon: url(images/toolbarButton-zoomIn.svg);
|
1130
|
+
--toolbarButton-presentationMode-icon: url(images/toolbarButton-presentationMode.svg);
|
1131
|
+
--toolbarButton-print-icon: url(images/toolbarButton-print.svg);
|
1132
|
+
--toolbarButton-openFile-icon: url(images/toolbarButton-openFile.svg);
|
1133
|
+
--toolbarButton-download-icon: url(images/toolbarButton-download.svg);
|
1134
|
+
--toolbarButton-bookmark-icon: url(images/toolbarButton-bookmark.svg);
|
1135
|
+
--toolbarButton-viewThumbnail-icon: url(images/toolbarButton-viewThumbnail.svg);
|
1136
|
+
--toolbarButton-viewOutline-icon: url(images/toolbarButton-viewOutline.svg);
|
1137
|
+
--toolbarButton-viewAttachments-icon: url(images/toolbarButton-viewAttachments.svg);
|
1138
|
+
--toolbarButton-viewLayers-icon: url(images/toolbarButton-viewLayers.svg);
|
1139
|
+
--toolbarButton-currentOutlineItem-icon: url(images/toolbarButton-currentOutlineItem.svg);
|
1140
|
+
--toolbarButton-search-icon: url(images/toolbarButton-search.svg);
|
1141
|
+
--findbarButton-previous-icon: url(images/findbarButton-previous.svg);
|
1142
|
+
--findbarButton-next-icon: url(images/findbarButton-next.svg);
|
1143
|
+
--secondaryToolbarButton-firstPage-icon: url(images/secondaryToolbarButton-firstPage.svg);
|
1144
|
+
--secondaryToolbarButton-lastPage-icon: url(images/secondaryToolbarButton-lastPage.svg);
|
1145
|
+
--secondaryToolbarButton-rotateCcw-icon: url(images/secondaryToolbarButton-rotateCcw.svg);
|
1146
|
+
--secondaryToolbarButton-rotateCw-icon: url(images/secondaryToolbarButton-rotateCw.svg);
|
1147
|
+
--secondaryToolbarButton-selectTool-icon: url(images/secondaryToolbarButton-selectTool.svg);
|
1148
|
+
--secondaryToolbarButton-handTool-icon: url(images/secondaryToolbarButton-handTool.svg);
|
1149
|
+
--secondaryToolbarButton-scrollPage-icon: url(images/secondaryToolbarButton-scrollPage.svg);
|
1150
|
+
--secondaryToolbarButton-scrollVertical-icon: url(images/secondaryToolbarButton-scrollVertical.svg);
|
1151
|
+
--secondaryToolbarButton-scrollHorizontal-icon: url(images/secondaryToolbarButton-scrollHorizontal.svg);
|
1152
|
+
--secondaryToolbarButton-scrollWrapped-icon: url(images/secondaryToolbarButton-scrollWrapped.svg);
|
1153
|
+
--secondaryToolbarButton-spreadNone-icon: url(images/secondaryToolbarButton-spreadNone.svg);
|
1154
|
+
--secondaryToolbarButton-spreadOdd-icon: url(images/secondaryToolbarButton-spreadOdd.svg);
|
1155
|
+
--secondaryToolbarButton-spreadEven-icon: url(images/secondaryToolbarButton-spreadEven.svg);
|
1156
|
+
--secondaryToolbarButton-documentProperties-icon: url(images/secondaryToolbarButton-documentProperties.svg);
|
1157
|
+
}
|
1158
|
+
|
1159
|
+
[dir="rtl"]:root {
|
1160
|
+
--dir-factor: -1;
|
1161
|
+
}
|
1162
|
+
|
1163
|
+
@media (prefers-color-scheme: dark) {
|
1164
|
+
:root {
|
1165
|
+
--main-color: rgba(249, 249, 250, 1);
|
1166
|
+
--body-bg-color: rgba(42, 42, 46, 1);
|
1167
|
+
--progressBar-color: rgba(0, 96, 223, 1);
|
1168
|
+
--progressBar-indeterminate-bg-color: rgba(40, 40, 43, 1);
|
1169
|
+
--progressBar-indeterminate-blend-color: rgba(20, 68, 133, 1);
|
1170
|
+
--scrollbar-color: rgba(121, 121, 123, 1);
|
1171
|
+
--scrollbar-bg-color: rgba(35, 35, 39, 1);
|
1172
|
+
--toolbar-icon-bg-color: rgba(255, 255, 255, 1);
|
1173
|
+
--toolbar-icon-hover-bg-color: rgba(255, 255, 255, 1);
|
1174
|
+
|
1175
|
+
--sidebar-narrow-bg-color: rgba(42, 42, 46, 0.9);
|
1176
|
+
--sidebar-toolbar-bg-color: rgba(50, 50, 52, 1);
|
1177
|
+
--toolbar-bg-color: rgba(56, 56, 61, 1);
|
1178
|
+
--toolbar-border-color: rgba(12, 12, 13, 1);
|
1179
|
+
--button-hover-color: rgba(102, 102, 103, 1);
|
1180
|
+
--toggled-btn-color: rgba(255, 255, 255, 1);
|
1181
|
+
--toggled-btn-bg-color: rgba(0, 0, 0, 0.3);
|
1182
|
+
--toggled-hover-active-btn-color: rgba(0, 0, 0, 0.4);
|
1183
|
+
--dropdown-btn-bg-color: rgba(74, 74, 79, 1);
|
1184
|
+
--separator-color: rgba(0, 0, 0, 0.3);
|
1185
|
+
--field-color: rgba(250, 250, 250, 1);
|
1186
|
+
--field-bg-color: rgba(64, 64, 68, 1);
|
1187
|
+
--field-border-color: rgba(115, 115, 115, 1);
|
1188
|
+
--treeitem-color: rgba(255, 255, 255, 0.8);
|
1189
|
+
--treeitem-hover-color: rgba(255, 255, 255, 0.9);
|
1190
|
+
--treeitem-selected-color: rgba(255, 255, 255, 0.9);
|
1191
|
+
--treeitem-selected-bg-color: rgba(255, 255, 255, 0.25);
|
1192
|
+
--sidebaritem-bg-color: rgba(255, 255, 255, 0.15);
|
1193
|
+
--doorhanger-bg-color: rgba(74, 74, 79, 1);
|
1194
|
+
--doorhanger-border-color: rgba(39, 39, 43, 1);
|
1195
|
+
--doorhanger-hover-color: rgba(249, 249, 250, 1);
|
1196
|
+
--doorhanger-hover-bg-color: rgba(93, 94, 98, 1);
|
1197
|
+
--doorhanger-separator-color: rgba(92, 92, 97, 1);
|
1198
|
+
--dialog-button-bg-color: rgba(92, 92, 97, 1);
|
1199
|
+
--dialog-button-hover-bg-color: rgba(115, 115, 115, 1);
|
1200
|
+
|
1201
|
+
/* This image is used in <input> elements, which unfortunately means that
|
1202
|
+
* the `mask-image` approach used with all of the other images doesn't work
|
1203
|
+
* here; hence why we still have two versions of this particular image. */
|
1204
|
+
--loading-icon: url(images/loading-dark.svg);
|
1205
|
+
}
|
1206
|
+
}
|
1207
|
+
|
1208
|
+
@media screen and (forced-colors: active) {
|
1209
|
+
:root {
|
1210
|
+
--button-hover-color: Highlight;
|
1211
|
+
--doorhanger-hover-bg-color: Highlight;
|
1212
|
+
--toolbar-icon-opacity: 1;
|
1213
|
+
--toolbar-icon-bg-color: ButtonText;
|
1214
|
+
--toolbar-icon-hover-bg-color: ButtonFace;
|
1215
|
+
--toolbar-border-color: CanvasText;
|
1216
|
+
--toolbar-border-bottom: 1px solid var(--toolbar-border-color);
|
1217
|
+
--toolbar-box-shadow: none;
|
1218
|
+
--toggled-btn-color: HighlightText;
|
1219
|
+
--toggled-btn-bg-color: LinkText;
|
1220
|
+
--doorhanger-hover-color: ButtonFace;
|
1221
|
+
--doorhanger-border-color-whcm: 1px solid ButtonText;
|
1222
|
+
--doorhanger-triangle-opacity-whcm: 0;
|
1223
|
+
--dialog-button-border: 1px solid Highlight;
|
1224
|
+
--dialog-button-hover-bg-color: Highlight;
|
1225
|
+
--dialog-button-hover-color: ButtonFace;
|
1226
|
+
--dropdown-btn-border: 1px solid ButtonText;
|
1227
|
+
--field-border-color: ButtonText;
|
1228
|
+
--main-color: CanvasText;
|
1229
|
+
--separator-color: GrayText;
|
1230
|
+
--doorhanger-separator-color: GrayText;
|
1231
|
+
--toolbarSidebar-box-shadow: none;
|
1232
|
+
--toolbarSidebar-border-bottom: 1px solid var(--toolbar-border-color);
|
1233
|
+
}
|
1234
|
+
}
|
1235
|
+
|
1236
|
+
* {
|
1237
|
+
padding: 0;
|
1238
|
+
margin: 0;
|
1239
|
+
}
|
1240
|
+
|
1241
|
+
html,
|
1242
|
+
body {
|
1243
|
+
height: 100%;
|
1244
|
+
width: 100%;
|
1245
|
+
}
|
1246
|
+
|
1247
|
+
body {
|
1248
|
+
background-color: var(--body-bg-color);
|
1249
|
+
scrollbar-color: var(--scrollbar-color) var(--scrollbar-bg-color);
|
1250
|
+
}
|
1251
|
+
|
1252
|
+
.hidden,
|
1253
|
+
[hidden] {
|
1254
|
+
display: none !important;
|
1255
|
+
}
|
1256
|
+
|
1257
|
+
#viewerContainer.pdfPresentationMode:-webkit-full-screen {
|
1258
|
+
top: 0;
|
1259
|
+
background-color: rgba(0, 0, 0, 1);
|
1260
|
+
width: 100%;
|
1261
|
+
height: 100%;
|
1262
|
+
overflow: hidden;
|
1263
|
+
cursor: none;
|
1264
|
+
-webkit-user-select: none;
|
1265
|
+
user-select: none;
|
1266
|
+
}
|
1267
|
+
|
1268
|
+
#viewerContainer.pdfPresentationMode:fullscreen {
|
1269
|
+
top: 0;
|
1270
|
+
background-color: rgba(0, 0, 0, 1);
|
1271
|
+
width: 100%;
|
1272
|
+
height: 100%;
|
1273
|
+
overflow: hidden;
|
1274
|
+
cursor: none;
|
1275
|
+
-webkit-user-select: none;
|
1276
|
+
-moz-user-select: none;
|
1277
|
+
user-select: none;
|
1278
|
+
}
|
1279
|
+
|
1280
|
+
.pdfPresentationMode:-webkit-full-screen section:not([data-internal-link]) {
|
1281
|
+
pointer-events: none;
|
1282
|
+
}
|
1283
|
+
|
1284
|
+
.pdfPresentationMode:fullscreen section:not([data-internal-link]) {
|
1285
|
+
pointer-events: none;
|
1286
|
+
}
|
1287
|
+
|
1288
|
+
.pdfPresentationMode:-webkit-full-screen .textLayer span {
|
1289
|
+
cursor: none;
|
1290
|
+
}
|
1291
|
+
|
1292
|
+
.pdfPresentationMode:fullscreen .textLayer span {
|
1293
|
+
cursor: none;
|
1294
|
+
}
|
1295
|
+
|
1296
|
+
.pdfPresentationMode.pdfPresentationModeControls > *,
|
1297
|
+
.pdfPresentationMode.pdfPresentationModeControls .textLayer span {
|
1298
|
+
cursor: default;
|
1299
|
+
}
|
1300
|
+
|
1301
|
+
#outerContainer {
|
1302
|
+
width: 100%;
|
1303
|
+
height: 100%;
|
1304
|
+
position: relative;
|
1305
|
+
}
|
1306
|
+
|
1307
|
+
[dir="ltr"] #sidebarContainer {
|
1308
|
+
left: calc(-1 * var(--sidebar-width));
|
1309
|
+
}
|
1310
|
+
|
1311
|
+
[dir="rtl"] #sidebarContainer {
|
1312
|
+
right: calc(-1 * var(--sidebar-width));
|
1313
|
+
}
|
1314
|
+
|
1315
|
+
[dir="ltr"] #sidebarContainer {
|
1316
|
+
border-right: var(--doorhanger-border-color-whcm);
|
1317
|
+
}
|
1318
|
+
|
1319
|
+
[dir="rtl"] #sidebarContainer {
|
1320
|
+
border-left: var(--doorhanger-border-color-whcm);
|
1321
|
+
}
|
1322
|
+
|
1323
|
+
[dir="ltr"] #sidebarContainer {
|
1324
|
+
transition-property: left;
|
1325
|
+
}
|
1326
|
+
|
1327
|
+
[dir="rtl"] #sidebarContainer {
|
1328
|
+
transition-property: right;
|
1329
|
+
}
|
1330
|
+
|
1331
|
+
#sidebarContainer {
|
1332
|
+
position: absolute;
|
1333
|
+
top: 32px;
|
1334
|
+
bottom: 0;
|
1335
|
+
inset-inline-start: calc(-1 * var(--sidebar-width));
|
1336
|
+
width: var(--sidebar-width);
|
1337
|
+
visibility: hidden;
|
1338
|
+
z-index: 100;
|
1339
|
+
font: message-box;
|
1340
|
+
border-top: 1px solid rgba(51, 51, 51, 1);
|
1341
|
+
-webkit-border-end: var(--doorhanger-border-color-whcm);
|
1342
|
+
border-inline-end: var(--doorhanger-border-color-whcm);
|
1343
|
+
transition-property: inset-inline-start;
|
1344
|
+
transition-duration: var(--sidebar-transition-duration);
|
1345
|
+
transition-timing-function: var(--sidebar-transition-timing-function);
|
1346
|
+
}
|
1347
|
+
|
1348
|
+
#outerContainer.sidebarMoving #sidebarContainer,
|
1349
|
+
#outerContainer.sidebarOpen #sidebarContainer {
|
1350
|
+
visibility: visible;
|
1351
|
+
}
|
1352
|
+
[dir="ltr"] #outerContainer.sidebarOpen #sidebarContainer {
|
1353
|
+
left: 0;
|
1354
|
+
}
|
1355
|
+
[dir="rtl"] #outerContainer.sidebarOpen #sidebarContainer {
|
1356
|
+
right: 0;
|
1357
|
+
}
|
1358
|
+
#outerContainer.sidebarOpen #sidebarContainer {
|
1359
|
+
inset-inline-start: 0;
|
1360
|
+
}
|
1361
|
+
|
1362
|
+
#mainContainer {
|
1363
|
+
position: absolute;
|
1364
|
+
top: 0;
|
1365
|
+
right: 0;
|
1366
|
+
bottom: 0;
|
1367
|
+
left: 0;
|
1368
|
+
min-width: 350px;
|
1369
|
+
}
|
1370
|
+
|
1371
|
+
[dir="ltr"] #sidebarContent {
|
1372
|
+
left: 0;
|
1373
|
+
}
|
1374
|
+
|
1375
|
+
[dir="rtl"] #sidebarContent {
|
1376
|
+
right: 0;
|
1377
|
+
}
|
1378
|
+
|
1379
|
+
#sidebarContent {
|
1380
|
+
top: 32px;
|
1381
|
+
bottom: 0;
|
1382
|
+
inset-inline-start: 0;
|
1383
|
+
overflow: auto;
|
1384
|
+
position: absolute;
|
1385
|
+
width: 100%;
|
1386
|
+
background-color: rgba(0, 0, 0, 0.1);
|
1387
|
+
box-shadow: inset calc(-1px * var(--dir-factor)) 0 0 rgba(0, 0, 0, 0.25);
|
1388
|
+
}
|
1389
|
+
|
1390
|
+
#viewerContainer {
|
1391
|
+
overflow: auto;
|
1392
|
+
position: absolute;
|
1393
|
+
top: 32px;
|
1394
|
+
right: 0;
|
1395
|
+
bottom: 0;
|
1396
|
+
left: 0;
|
1397
|
+
outline: none;
|
1398
|
+
}
|
1399
|
+
#viewerContainer:not(.pdfPresentationMode) {
|
1400
|
+
transition-duration: var(--sidebar-transition-duration);
|
1401
|
+
transition-timing-function: var(--sidebar-transition-timing-function);
|
1402
|
+
}
|
1403
|
+
|
1404
|
+
[dir="ltr"] #outerContainer.sidebarOpen #viewerContainer:not(.pdfPresentationMode) {
|
1405
|
+
left: var(--sidebar-width);
|
1406
|
+
}
|
1407
|
+
|
1408
|
+
[dir="rtl"] #outerContainer.sidebarOpen #viewerContainer:not(.pdfPresentationMode) {
|
1409
|
+
right: var(--sidebar-width);
|
1410
|
+
}
|
1411
|
+
|
1412
|
+
[dir="ltr"] #outerContainer.sidebarOpen #viewerContainer:not(.pdfPresentationMode) {
|
1413
|
+
transition-property: left;
|
1414
|
+
}
|
1415
|
+
|
1416
|
+
[dir="rtl"] #outerContainer.sidebarOpen #viewerContainer:not(.pdfPresentationMode) {
|
1417
|
+
transition-property: right;
|
1418
|
+
}
|
1419
|
+
|
1420
|
+
#outerContainer.sidebarOpen #viewerContainer:not(.pdfPresentationMode) {
|
1421
|
+
inset-inline-start: var(--sidebar-width);
|
1422
|
+
transition-property: inset-inline-start;
|
1423
|
+
}
|
1424
|
+
|
1425
|
+
.toolbar {
|
1426
|
+
position: relative;
|
1427
|
+
left: 0;
|
1428
|
+
right: 0;
|
1429
|
+
z-index: 9999;
|
1430
|
+
cursor: default;
|
1431
|
+
font: message-box;
|
1432
|
+
}
|
1433
|
+
|
1434
|
+
.toolbar input,
|
1435
|
+
.toolbar button,
|
1436
|
+
.toolbar select,
|
1437
|
+
.secondaryToolbar input,
|
1438
|
+
.secondaryToolbar button,
|
1439
|
+
.secondaryToolbar a,
|
1440
|
+
.secondaryToolbar select,
|
1441
|
+
.editorParamsToolbar input,
|
1442
|
+
.editorParamsToolbar button,
|
1443
|
+
.editorParamsToolbar select,
|
1444
|
+
.findbar input,
|
1445
|
+
.findbar button,
|
1446
|
+
.findbar select,
|
1447
|
+
#sidebarContainer input,
|
1448
|
+
#sidebarContainer button,
|
1449
|
+
#sidebarContainer select {
|
1450
|
+
outline: none;
|
1451
|
+
font: message-box;
|
1452
|
+
}
|
1453
|
+
|
1454
|
+
#toolbarContainer {
|
1455
|
+
width: 100%;
|
1456
|
+
}
|
1457
|
+
|
1458
|
+
#toolbarSidebar {
|
1459
|
+
width: 100%;
|
1460
|
+
height: 32px;
|
1461
|
+
background-color: var(--sidebar-toolbar-bg-color);
|
1462
|
+
box-shadow: var(--toolbarSidebar-box-shadow);
|
1463
|
+
border-bottom: var(--toolbarSidebar-border-bottom);
|
1464
|
+
}
|
1465
|
+
|
1466
|
+
[dir="ltr"] #sidebarResizer {
|
1467
|
+
right: -6px;
|
1468
|
+
}
|
1469
|
+
|
1470
|
+
[dir="rtl"] #sidebarResizer {
|
1471
|
+
left: -6px;
|
1472
|
+
}
|
1473
|
+
|
1474
|
+
#sidebarResizer {
|
1475
|
+
position: absolute;
|
1476
|
+
top: 0;
|
1477
|
+
bottom: 0;
|
1478
|
+
inset-inline-end: -6px;
|
1479
|
+
width: 6px;
|
1480
|
+
z-index: 200;
|
1481
|
+
cursor: ew-resize;
|
1482
|
+
}
|
1483
|
+
|
1484
|
+
#toolbarContainer,
|
1485
|
+
.findbar,
|
1486
|
+
.secondaryToolbar,
|
1487
|
+
.editorParamsToolbar {
|
1488
|
+
position: relative;
|
1489
|
+
height: 32px;
|
1490
|
+
background-color: var(--toolbar-bg-color);
|
1491
|
+
box-shadow: var(--toolbar-box-shadow);
|
1492
|
+
border-bottom: var(--toolbar-border-bottom);
|
1493
|
+
}
|
1494
|
+
|
1495
|
+
#toolbarViewer {
|
1496
|
+
height: 32px;
|
1497
|
+
}
|
1498
|
+
|
1499
|
+
[dir="ltr"] #loadingBar {
|
1500
|
+
left: 0;
|
1501
|
+
right: var(--progressBar-end-offset);
|
1502
|
+
}
|
1503
|
+
|
1504
|
+
[dir="rtl"] #loadingBar {
|
1505
|
+
right: 0;
|
1506
|
+
left: var(--progressBar-end-offset);
|
1507
|
+
}
|
1508
|
+
|
1509
|
+
[dir="ltr"] #loadingBar {
|
1510
|
+
transition-property: left;
|
1511
|
+
}
|
1512
|
+
|
1513
|
+
[dir="rtl"] #loadingBar {
|
1514
|
+
transition-property: right;
|
1515
|
+
}
|
1516
|
+
|
1517
|
+
#loadingBar {
|
1518
|
+
position: absolute;
|
1519
|
+
inset-inline: 0 var(--progressBar-end-offset);
|
1520
|
+
height: 4px;
|
1521
|
+
background-color: var(--body-bg-color);
|
1522
|
+
border-bottom: 1px solid var(--toolbar-border-color);
|
1523
|
+
transition-property: inset-inline-start;
|
1524
|
+
transition-duration: var(--sidebar-transition-duration);
|
1525
|
+
transition-timing-function: var(--sidebar-transition-timing-function);
|
1526
|
+
}
|
1527
|
+
|
1528
|
+
[dir="ltr"] #outerContainer.sidebarOpen #loadingBar {
|
1529
|
+
left: var(--sidebar-width);
|
1530
|
+
}
|
1531
|
+
|
1532
|
+
[dir="rtl"] #outerContainer.sidebarOpen #loadingBar {
|
1533
|
+
right: var(--sidebar-width);
|
1534
|
+
}
|
1535
|
+
|
1536
|
+
#outerContainer.sidebarOpen #loadingBar {
|
1537
|
+
inset-inline-start: var(--sidebar-width);
|
1538
|
+
}
|
1539
|
+
|
1540
|
+
#loadingBar .progress {
|
1541
|
+
position: absolute;
|
1542
|
+
top: 0;
|
1543
|
+
left: 0;
|
1544
|
+
width: 100%;
|
1545
|
+
transform: scaleX(var(--progressBar-percent));
|
1546
|
+
transform-origin: 0 0;
|
1547
|
+
height: 100%;
|
1548
|
+
background-color: var(--progressBar-color);
|
1549
|
+
overflow: hidden;
|
1550
|
+
transition: transform 200ms;
|
1551
|
+
}
|
1552
|
+
|
1553
|
+
@keyframes progressIndeterminate {
|
1554
|
+
0% {
|
1555
|
+
transform: translateX(-142px);
|
1556
|
+
}
|
1557
|
+
100% {
|
1558
|
+
transform: translateX(0);
|
1559
|
+
}
|
1560
|
+
}
|
1561
|
+
|
1562
|
+
#loadingBar.indeterminate .progress {
|
1563
|
+
transform: none;
|
1564
|
+
background-color: var(--progressBar-indeterminate-bg-color);
|
1565
|
+
transition: none;
|
1566
|
+
}
|
1567
|
+
|
1568
|
+
#loadingBar.indeterminate .progress .glimmer {
|
1569
|
+
position: absolute;
|
1570
|
+
top: 0;
|
1571
|
+
left: 0;
|
1572
|
+
height: 100%;
|
1573
|
+
width: calc(100% + 150px);
|
1574
|
+
background: repeating-linear-gradient(
|
1575
|
+
135deg,
|
1576
|
+
var(--progressBar-indeterminate-blend-color) 0,
|
1577
|
+
var(--progressBar-indeterminate-bg-color) 5px,
|
1578
|
+
var(--progressBar-indeterminate-bg-color) 45px,
|
1579
|
+
var(--progressBar-color) 55px,
|
1580
|
+
var(--progressBar-color) 95px,
|
1581
|
+
var(--progressBar-indeterminate-blend-color) 100px
|
1582
|
+
);
|
1583
|
+
animation: progressIndeterminate 1s linear infinite;
|
1584
|
+
}
|
1585
|
+
|
1586
|
+
#outerContainer.sidebarResizing #sidebarContainer,
|
1587
|
+
#outerContainer.sidebarResizing #viewerContainer,
|
1588
|
+
#outerContainer.sidebarResizing #loadingBar {
|
1589
|
+
/* Improve responsiveness and avoid visual glitches when the sidebar is resized. */
|
1590
|
+
transition-duration: 0s;
|
1591
|
+
}
|
1592
|
+
|
1593
|
+
.findbar,
|
1594
|
+
.secondaryToolbar,
|
1595
|
+
.editorParamsToolbar {
|
1596
|
+
top: 32px;
|
1597
|
+
position: absolute;
|
1598
|
+
z-index: 30000;
|
1599
|
+
height: auto;
|
1600
|
+
padding: 0 4px;
|
1601
|
+
margin: 4px 2px;
|
1602
|
+
font: message-box;
|
1603
|
+
font-size: 12px;
|
1604
|
+
line-height: 14px;
|
1605
|
+
text-align: left;
|
1606
|
+
cursor: default;
|
1607
|
+
}
|
1608
|
+
|
1609
|
+
[dir="ltr"] .findbar {
|
1610
|
+
left: 64px;
|
1611
|
+
}
|
1612
|
+
|
1613
|
+
[dir="rtl"] .findbar {
|
1614
|
+
right: 64px;
|
1615
|
+
}
|
1616
|
+
|
1617
|
+
.findbar {
|
1618
|
+
inset-inline-start: 64px;
|
1619
|
+
min-width: 300px;
|
1620
|
+
background-color: var(--toolbar-bg-color);
|
1621
|
+
}
|
1622
|
+
.findbar > div {
|
1623
|
+
height: 32px;
|
1624
|
+
}
|
1625
|
+
[dir="ltr"] .findbar > div#findbarInputContainer {
|
1626
|
+
margin-right: 4px;
|
1627
|
+
}
|
1628
|
+
[dir="rtl"] .findbar > div#findbarInputContainer {
|
1629
|
+
margin-left: 4px;
|
1630
|
+
}
|
1631
|
+
.findbar > div#findbarInputContainer {
|
1632
|
+
-webkit-margin-end: 4px;
|
1633
|
+
margin-inline-end: 4px;
|
1634
|
+
}
|
1635
|
+
.findbar.wrapContainers > div,
|
1636
|
+
.findbar.wrapContainers > div#findbarMessageContainer > * {
|
1637
|
+
clear: both;
|
1638
|
+
}
|
1639
|
+
.findbar.wrapContainers > div#findbarMessageContainer {
|
1640
|
+
height: auto;
|
1641
|
+
}
|
1642
|
+
|
1643
|
+
.findbar input[type="checkbox"] {
|
1644
|
+
pointer-events: none;
|
1645
|
+
}
|
1646
|
+
|
1647
|
+
.findbar label {
|
1648
|
+
-webkit-user-select: none;
|
1649
|
+
-moz-user-select: none;
|
1650
|
+
user-select: none;
|
1651
|
+
}
|
1652
|
+
|
1653
|
+
.findbar label:hover,
|
1654
|
+
.findbar input:focus-visible + label {
|
1655
|
+
color: var(--toggled-btn-color);
|
1656
|
+
background-color: var(--button-hover-color);
|
1657
|
+
}
|
1658
|
+
|
1659
|
+
.findbar .toolbarField[type="checkbox"]:checked + .toolbarLabel {
|
1660
|
+
background-color: var(--toggled-btn-bg-color) !important;
|
1661
|
+
color: var(--toggled-btn-color);
|
1662
|
+
}
|
1663
|
+
|
1664
|
+
#findInput {
|
1665
|
+
width: 200px;
|
1666
|
+
}
|
1667
|
+
#findInput::-moz-placeholder {
|
1668
|
+
font-style: normal;
|
1669
|
+
}
|
1670
|
+
#findInput::placeholder {
|
1671
|
+
font-style: normal;
|
1672
|
+
}
|
1673
|
+
#findInput[data-status="pending"] {
|
1674
|
+
background-image: var(--loading-icon);
|
1675
|
+
background-repeat: no-repeat;
|
1676
|
+
background-position: calc(50% + 48% * var(--dir-factor));
|
1677
|
+
}
|
1678
|
+
#findInput[data-status="notFound"] {
|
1679
|
+
background-color: rgba(255, 102, 102, 1);
|
1680
|
+
}
|
1681
|
+
|
1682
|
+
[dir="ltr"] .secondaryToolbar,[dir="ltr"]
|
1683
|
+
.editorParamsToolbar {
|
1684
|
+
right: 4px;
|
1685
|
+
}
|
1686
|
+
|
1687
|
+
[dir="rtl"] .secondaryToolbar,[dir="rtl"]
|
1688
|
+
.editorParamsToolbar {
|
1689
|
+
left: 4px;
|
1690
|
+
}
|
1691
|
+
|
1692
|
+
.secondaryToolbar,
|
1693
|
+
.editorParamsToolbar {
|
1694
|
+
padding: 6px 0 10px;
|
1695
|
+
inset-inline-end: 4px;
|
1696
|
+
height: auto;
|
1697
|
+
background-color: var(--doorhanger-bg-color);
|
1698
|
+
}
|
1699
|
+
|
1700
|
+
.editorParamsToolbarContainer {
|
1701
|
+
width: 220px;
|
1702
|
+
margin-bottom: -4px;
|
1703
|
+
}
|
1704
|
+
|
1705
|
+
.editorParamsToolbarContainer > .editorParamsSetter {
|
1706
|
+
min-height: 26px;
|
1707
|
+
display: flex;
|
1708
|
+
align-items: center;
|
1709
|
+
justify-content: space-between;
|
1710
|
+
padding-left: 10px;
|
1711
|
+
padding-right: 10px;
|
1712
|
+
padding-inline: 10px;
|
1713
|
+
}
|
1714
|
+
|
1715
|
+
[dir="ltr"] .editorParamsToolbarContainer .editorParamsLabel {
|
1716
|
+
padding-right: 10px;
|
1717
|
+
}
|
1718
|
+
|
1719
|
+
[dir="rtl"] .editorParamsToolbarContainer .editorParamsLabel {
|
1720
|
+
padding-left: 10px;
|
1721
|
+
}
|
1722
|
+
|
1723
|
+
.editorParamsToolbarContainer .editorParamsLabel {
|
1724
|
+
-webkit-padding-end: 10px;
|
1725
|
+
padding-inline-end: 10px;
|
1726
|
+
flex: none;
|
1727
|
+
color: var(--main-color);
|
1728
|
+
}
|
1729
|
+
|
1730
|
+
.editorParamsToolbarContainer .editorParamsColor {
|
1731
|
+
width: 32px;
|
1732
|
+
height: 32px;
|
1733
|
+
flex: none;
|
1734
|
+
}
|
1735
|
+
|
1736
|
+
.editorParamsToolbarContainer .editorParamsSlider {
|
1737
|
+
background-color: transparent;
|
1738
|
+
width: 90px;
|
1739
|
+
flex: 0 1 0;
|
1740
|
+
}
|
1741
|
+
|
1742
|
+
.editorParamsToolbarContainer .editorParamsSlider::-moz-range-progress {
|
1743
|
+
background-color: black;
|
1744
|
+
}
|
1745
|
+
|
1746
|
+
.editorParamsToolbarContainer .editorParamsSlider::-webkit-slider-runnable-track,
|
1747
|
+
.editorParamsToolbarContainer .editorParamsSlider::-moz-range-track {
|
1748
|
+
background-color: black;
|
1749
|
+
}
|
1750
|
+
|
1751
|
+
.editorParamsToolbarContainer .editorParamsSlider::-webkit-slider-thumb,
|
1752
|
+
.editorParamsToolbarContainer .editorParamsSlider::-moz-range-thumb {
|
1753
|
+
background-color: white;
|
1754
|
+
}
|
1755
|
+
|
1756
|
+
#secondaryToolbarButtonContainer {
|
1757
|
+
max-width: 220px;
|
1758
|
+
min-height: 26px;
|
1759
|
+
max-height: calc(var(--viewer-container-height) - 40px);
|
1760
|
+
overflow-y: auto;
|
1761
|
+
margin-bottom: -4px;
|
1762
|
+
}
|
1763
|
+
|
1764
|
+
[dir="ltr"] #editorInkParamsToolbar {
|
1765
|
+
right: 40px;
|
1766
|
+
}
|
1767
|
+
|
1768
|
+
[dir="rtl"] #editorInkParamsToolbar {
|
1769
|
+
left: 40px;
|
1770
|
+
}
|
1771
|
+
|
1772
|
+
#editorInkParamsToolbar {
|
1773
|
+
inset-inline-end: 40px;
|
1774
|
+
background-color: var(--toolbar-bg-color);
|
1775
|
+
}
|
1776
|
+
|
1777
|
+
[dir="ltr"] #editorFreeTextParamsToolbar {
|
1778
|
+
right: 68px;
|
1779
|
+
}
|
1780
|
+
|
1781
|
+
[dir="rtl"] #editorFreeTextParamsToolbar {
|
1782
|
+
left: 68px;
|
1783
|
+
}
|
1784
|
+
|
1785
|
+
#editorFreeTextParamsToolbar {
|
1786
|
+
inset-inline-end: 68px;
|
1787
|
+
background-color: var(--toolbar-bg-color);
|
1788
|
+
}
|
1789
|
+
|
1790
|
+
.doorHanger,
|
1791
|
+
.doorHangerRight {
|
1792
|
+
border-radius: 2px;
|
1793
|
+
box-shadow: 0 1px 5px var(--doorhanger-border-color),
|
1794
|
+
0 0 0 1px var(--doorhanger-border-color);
|
1795
|
+
border: var(--doorhanger-border-color-whcm);
|
1796
|
+
}
|
1797
|
+
.doorHanger:after,
|
1798
|
+
.doorHanger:before,
|
1799
|
+
.doorHangerRight:after,
|
1800
|
+
.doorHangerRight:before {
|
1801
|
+
bottom: 100%;
|
1802
|
+
border: 8px solid rgba(0, 0, 0, 0);
|
1803
|
+
content: " ";
|
1804
|
+
height: 0;
|
1805
|
+
width: 0;
|
1806
|
+
position: absolute;
|
1807
|
+
pointer-events: none;
|
1808
|
+
opacity: var(--doorhanger-triangle-opacity-whcm);
|
1809
|
+
}
|
1810
|
+
[dir="ltr"] .doorHanger:after {
|
1811
|
+
left: 10px;
|
1812
|
+
}
|
1813
|
+
[dir="rtl"] .doorHanger:after {
|
1814
|
+
right: 10px;
|
1815
|
+
}
|
1816
|
+
[dir="ltr"] .doorHanger:after {
|
1817
|
+
margin-left: -8px;
|
1818
|
+
}
|
1819
|
+
[dir="rtl"] .doorHanger:after {
|
1820
|
+
margin-right: -8px;
|
1821
|
+
}
|
1822
|
+
.doorHanger:after {
|
1823
|
+
inset-inline-start: 10px;
|
1824
|
+
-webkit-margin-start: -8px;
|
1825
|
+
margin-inline-start: -8px;
|
1826
|
+
border-bottom-color: var(--toolbar-bg-color);
|
1827
|
+
}
|
1828
|
+
[dir="ltr"] .doorHangerRight:after {
|
1829
|
+
right: 10px;
|
1830
|
+
}
|
1831
|
+
[dir="rtl"] .doorHangerRight:after {
|
1832
|
+
left: 10px;
|
1833
|
+
}
|
1834
|
+
[dir="ltr"] .doorHangerRight:after {
|
1835
|
+
margin-right: -8px;
|
1836
|
+
}
|
1837
|
+
[dir="rtl"] .doorHangerRight:after {
|
1838
|
+
margin-left: -8px;
|
1839
|
+
}
|
1840
|
+
.doorHangerRight:after {
|
1841
|
+
inset-inline-end: 10px;
|
1842
|
+
-webkit-margin-end: -8px;
|
1843
|
+
margin-inline-end: -8px;
|
1844
|
+
border-bottom-color: var(--doorhanger-bg-color);
|
1845
|
+
}
|
1846
|
+
.doorHanger:before,
|
1847
|
+
.doorHangerRight:before {
|
1848
|
+
border-bottom-color: var(--doorhanger-border-color);
|
1849
|
+
border-width: 9px;
|
1850
|
+
}
|
1851
|
+
[dir="ltr"] .doorHanger:before {
|
1852
|
+
left: 10px;
|
1853
|
+
}
|
1854
|
+
[dir="rtl"] .doorHanger:before {
|
1855
|
+
right: 10px;
|
1856
|
+
}
|
1857
|
+
[dir="ltr"] .doorHanger:before {
|
1858
|
+
margin-left: -9px;
|
1859
|
+
}
|
1860
|
+
[dir="rtl"] .doorHanger:before {
|
1861
|
+
margin-right: -9px;
|
1862
|
+
}
|
1863
|
+
.doorHanger:before {
|
1864
|
+
inset-inline-start: 10px;
|
1865
|
+
-webkit-margin-start: -9px;
|
1866
|
+
margin-inline-start: -9px;
|
1867
|
+
}
|
1868
|
+
[dir="ltr"] .doorHangerRight:before {
|
1869
|
+
right: 10px;
|
1870
|
+
}
|
1871
|
+
[dir="rtl"] .doorHangerRight:before {
|
1872
|
+
left: 10px;
|
1873
|
+
}
|
1874
|
+
[dir="ltr"] .doorHangerRight:before {
|
1875
|
+
margin-right: -9px;
|
1876
|
+
}
|
1877
|
+
[dir="rtl"] .doorHangerRight:before {
|
1878
|
+
margin-left: -9px;
|
1879
|
+
}
|
1880
|
+
.doorHangerRight:before {
|
1881
|
+
inset-inline-end: 10px;
|
1882
|
+
-webkit-margin-end: -9px;
|
1883
|
+
margin-inline-end: -9px;
|
1884
|
+
}
|
1885
|
+
|
1886
|
+
#findResultsCount {
|
1887
|
+
background-color: rgba(217, 217, 217, 1);
|
1888
|
+
color: rgba(82, 82, 82, 1);
|
1889
|
+
text-align: center;
|
1890
|
+
padding: 4px 5px;
|
1891
|
+
margin: 5px;
|
1892
|
+
}
|
1893
|
+
|
1894
|
+
#findMsg {
|
1895
|
+
color: rgba(251, 0, 0, 1);
|
1896
|
+
}
|
1897
|
+
|
1898
|
+
#findResultsCount:empty,
|
1899
|
+
#findMsg:empty {
|
1900
|
+
display: none;
|
1901
|
+
}
|
1902
|
+
|
1903
|
+
#toolbarViewerMiddle {
|
1904
|
+
position: absolute;
|
1905
|
+
left: 50%;
|
1906
|
+
transform: translateX(-50%);
|
1907
|
+
}
|
1908
|
+
|
1909
|
+
[dir="ltr"] #toolbarViewerLeft,[dir="ltr"]
|
1910
|
+
#toolbarSidebarLeft {
|
1911
|
+
float: left;
|
1912
|
+
}
|
1913
|
+
|
1914
|
+
[dir="rtl"] #toolbarViewerLeft,[dir="rtl"]
|
1915
|
+
#toolbarSidebarLeft {
|
1916
|
+
float: right;
|
1917
|
+
}
|
1918
|
+
|
1919
|
+
#toolbarViewerLeft,
|
1920
|
+
#toolbarSidebarLeft {
|
1921
|
+
float: inline-start;
|
1922
|
+
}
|
1923
|
+
[dir="ltr"] #toolbarViewerRight,[dir="ltr"]
|
1924
|
+
#toolbarSidebarRight {
|
1925
|
+
float: right;
|
1926
|
+
}
|
1927
|
+
[dir="rtl"] #toolbarViewerRight,[dir="rtl"]
|
1928
|
+
#toolbarSidebarRight {
|
1929
|
+
float: left;
|
1930
|
+
}
|
1931
|
+
#toolbarViewerRight,
|
1932
|
+
#toolbarSidebarRight {
|
1933
|
+
float: inline-end;
|
1934
|
+
}
|
1935
|
+
|
1936
|
+
[dir="ltr"] #toolbarViewerLeft > *,[dir="ltr"]
|
1937
|
+
#toolbarViewerMiddle > *,[dir="ltr"]
|
1938
|
+
#toolbarViewerRight > *,[dir="ltr"]
|
1939
|
+
#toolbarSidebarLeft *,[dir="ltr"]
|
1940
|
+
#toolbarSidebarRight *,[dir="ltr"]
|
1941
|
+
.findbar * {
|
1942
|
+
float: left;
|
1943
|
+
}
|
1944
|
+
|
1945
|
+
[dir="rtl"] #toolbarViewerLeft > *,[dir="rtl"]
|
1946
|
+
#toolbarViewerMiddle > *,[dir="rtl"]
|
1947
|
+
#toolbarViewerRight > *,[dir="rtl"]
|
1948
|
+
#toolbarSidebarLeft *,[dir="rtl"]
|
1949
|
+
#toolbarSidebarRight *,[dir="rtl"]
|
1950
|
+
.findbar * {
|
1951
|
+
float: right;
|
1952
|
+
}
|
1953
|
+
|
1954
|
+
#toolbarViewerLeft > *,
|
1955
|
+
#toolbarViewerMiddle > *,
|
1956
|
+
#toolbarViewerRight > *,
|
1957
|
+
#toolbarSidebarLeft *,
|
1958
|
+
#toolbarSidebarRight *,
|
1959
|
+
.findbar * {
|
1960
|
+
position: relative;
|
1961
|
+
float: inline-start;
|
1962
|
+
}
|
1963
|
+
|
1964
|
+
[dir="ltr"] #toolbarViewerLeft {
|
1965
|
+
padding-left: 1px;
|
1966
|
+
}
|
1967
|
+
|
1968
|
+
[dir="rtl"] #toolbarViewerLeft {
|
1969
|
+
padding-right: 1px;
|
1970
|
+
}
|
1971
|
+
|
1972
|
+
#toolbarViewerLeft {
|
1973
|
+
-webkit-padding-start: 1px;
|
1974
|
+
padding-inline-start: 1px;
|
1975
|
+
}
|
1976
|
+
[dir="ltr"] #toolbarViewerRight {
|
1977
|
+
padding-right: 1px;
|
1978
|
+
}
|
1979
|
+
[dir="rtl"] #toolbarViewerRight {
|
1980
|
+
padding-left: 1px;
|
1981
|
+
}
|
1982
|
+
#toolbarViewerRight {
|
1983
|
+
-webkit-padding-end: 1px;
|
1984
|
+
padding-inline-end: 1px;
|
1985
|
+
}
|
1986
|
+
[dir="ltr"] #toolbarSidebarRight {
|
1987
|
+
padding-right: 2px;
|
1988
|
+
}
|
1989
|
+
[dir="rtl"] #toolbarSidebarRight {
|
1990
|
+
padding-left: 2px;
|
1991
|
+
}
|
1992
|
+
#toolbarSidebarRight {
|
1993
|
+
-webkit-padding-end: 2px;
|
1994
|
+
padding-inline-end: 2px;
|
1995
|
+
}
|
1996
|
+
|
1997
|
+
.splitToolbarButton {
|
1998
|
+
margin: 2px;
|
1999
|
+
display: inline-block;
|
2000
|
+
}
|
2001
|
+
[dir="ltr"] .splitToolbarButton > .toolbarButton {
|
2002
|
+
float: left;
|
2003
|
+
}
|
2004
|
+
[dir="rtl"] .splitToolbarButton > .toolbarButton {
|
2005
|
+
float: right;
|
2006
|
+
}
|
2007
|
+
.splitToolbarButton > .toolbarButton {
|
2008
|
+
float: inline-start;
|
2009
|
+
}
|
2010
|
+
|
2011
|
+
.toolbarButton,
|
2012
|
+
.secondaryToolbarButton,
|
2013
|
+
.dialogButton {
|
2014
|
+
border: none;
|
2015
|
+
background: none;
|
2016
|
+
width: 28px;
|
2017
|
+
height: 28px;
|
2018
|
+
outline: none;
|
2019
|
+
}
|
2020
|
+
|
2021
|
+
.dialogButton:hover,
|
2022
|
+
.dialogButton:focus-visible {
|
2023
|
+
background-color: var(--dialog-button-hover-bg-color);
|
2024
|
+
}
|
2025
|
+
|
2026
|
+
.dialogButton:hover > span,
|
2027
|
+
.dialogButton:focus-visible > span {
|
2028
|
+
color: var(--dialog-button-hover-color);
|
2029
|
+
}
|
2030
|
+
|
2031
|
+
.toolbarButton > span {
|
2032
|
+
display: inline-block;
|
2033
|
+
width: 0;
|
2034
|
+
height: 0;
|
2035
|
+
overflow: hidden;
|
2036
|
+
}
|
2037
|
+
|
2038
|
+
.toolbarButton[disabled],
|
2039
|
+
.secondaryToolbarButton[disabled],
|
2040
|
+
.dialogButton[disabled] {
|
2041
|
+
opacity: 0.5;
|
2042
|
+
}
|
2043
|
+
|
2044
|
+
.splitToolbarButton > .toolbarButton:hover,
|
2045
|
+
.splitToolbarButton > .toolbarButton:focus-visible,
|
2046
|
+
.dropdownToolbarButton:hover {
|
2047
|
+
background-color: var(--button-hover-color);
|
2048
|
+
}
|
2049
|
+
.splitToolbarButton > .toolbarButton {
|
2050
|
+
position: relative;
|
2051
|
+
margin: 0;
|
2052
|
+
}
|
2053
|
+
[dir="ltr"] #toolbarSidebar .splitToolbarButton > .toolbarButton {
|
2054
|
+
margin-right: 2px;
|
2055
|
+
}
|
2056
|
+
[dir="rtl"] #toolbarSidebar .splitToolbarButton > .toolbarButton {
|
2057
|
+
margin-left: 2px;
|
2058
|
+
}
|
2059
|
+
#toolbarSidebar .splitToolbarButton > .toolbarButton {
|
2060
|
+
-webkit-margin-end: 2px;
|
2061
|
+
margin-inline-end: 2px;
|
2062
|
+
}
|
2063
|
+
|
2064
|
+
[dir="ltr"] .splitToolbarButtonSeparator {
|
2065
|
+
float: left;
|
2066
|
+
}
|
2067
|
+
|
2068
|
+
[dir="rtl"] .splitToolbarButtonSeparator {
|
2069
|
+
float: right;
|
2070
|
+
}
|
2071
|
+
|
2072
|
+
.splitToolbarButtonSeparator {
|
2073
|
+
float: inline-start;
|
2074
|
+
margin: 4px 0;
|
2075
|
+
width: 1px;
|
2076
|
+
height: 20px;
|
2077
|
+
background-color: var(--separator-color);
|
2078
|
+
}
|
2079
|
+
|
2080
|
+
.toolbarButton,
|
2081
|
+
.dropdownToolbarButton,
|
2082
|
+
.secondaryToolbarButton,
|
2083
|
+
.dialogButton {
|
2084
|
+
min-width: 16px;
|
2085
|
+
margin: 2px 1px;
|
2086
|
+
padding: 2px 6px 0;
|
2087
|
+
border: none;
|
2088
|
+
border-radius: 2px;
|
2089
|
+
color: var(--main-color);
|
2090
|
+
font-size: 12px;
|
2091
|
+
line-height: 14px;
|
2092
|
+
-webkit-user-select: none;
|
2093
|
+
-moz-user-select: none;
|
2094
|
+
user-select: none;
|
2095
|
+
cursor: default;
|
2096
|
+
box-sizing: border-box;
|
2097
|
+
}
|
2098
|
+
|
2099
|
+
.toolbarButton:hover,
|
2100
|
+
.toolbarButton:focus-visible {
|
2101
|
+
background-color: var(--button-hover-color);
|
2102
|
+
}
|
2103
|
+
.secondaryToolbarButton:hover,
|
2104
|
+
.secondaryToolbarButton:focus-visible {
|
2105
|
+
background-color: var(--doorhanger-hover-bg-color);
|
2106
|
+
color: var(--doorhanger-hover-color);
|
2107
|
+
}
|
2108
|
+
|
2109
|
+
.toolbarButton.toggled,
|
2110
|
+
.splitToolbarButton.toggled > .toolbarButton.toggled,
|
2111
|
+
.secondaryToolbarButton.toggled {
|
2112
|
+
background-color: var(--toggled-btn-bg-color);
|
2113
|
+
color: var(--toggled-btn-color);
|
2114
|
+
}
|
2115
|
+
|
2116
|
+
.toolbarButton.toggled::before,
|
2117
|
+
.secondaryToolbarButton.toggled::before {
|
2118
|
+
background-color: var(--toggled-btn-color);
|
2119
|
+
}
|
2120
|
+
|
2121
|
+
.toolbarButton.toggled:hover:active,
|
2122
|
+
.splitToolbarButton.toggled > .toolbarButton.toggled:hover:active,
|
2123
|
+
.secondaryToolbarButton.toggled:hover:active {
|
2124
|
+
background-color: var(--toggled-hover-active-btn-color);
|
2125
|
+
}
|
2126
|
+
|
2127
|
+
.dropdownToolbarButton {
|
2128
|
+
width: var(--scale-select-width);
|
2129
|
+
padding: 0;
|
2130
|
+
background-color: var(--dropdown-btn-bg-color);
|
2131
|
+
border: var(--dropdown-btn-border);
|
2132
|
+
}
|
2133
|
+
[dir="ltr"] .dropdownToolbarButton::after {
|
2134
|
+
right: 6px;
|
2135
|
+
}
|
2136
|
+
[dir="rtl"] .dropdownToolbarButton::after {
|
2137
|
+
left: 6px;
|
2138
|
+
}
|
2139
|
+
.dropdownToolbarButton::after {
|
2140
|
+
top: 6px;
|
2141
|
+
inset-inline-end: 6px;
|
2142
|
+
pointer-events: none;
|
2143
|
+
-webkit-mask-image: var(--toolbarButton-menuArrow-icon);
|
2144
|
+
mask-image: var(--toolbarButton-menuArrow-icon);
|
2145
|
+
}
|
2146
|
+
|
2147
|
+
[dir="ltr"] .dropdownToolbarButton > select {
|
2148
|
+
padding-left: 6px;
|
2149
|
+
}
|
2150
|
+
|
2151
|
+
[dir="rtl"] .dropdownToolbarButton > select {
|
2152
|
+
padding-right: 6px;
|
2153
|
+
}
|
2154
|
+
|
2155
|
+
.dropdownToolbarButton > select {
|
2156
|
+
-webkit-appearance: none;
|
2157
|
+
-moz-appearance: none;
|
2158
|
+
appearance: none;
|
2159
|
+
width: inherit;
|
2160
|
+
height: 28px;
|
2161
|
+
font-size: 12px;
|
2162
|
+
color: var(--main-color);
|
2163
|
+
margin: 0;
|
2164
|
+
padding: 1px 0 2px;
|
2165
|
+
-webkit-padding-start: 6px;
|
2166
|
+
padding-inline-start: 6px;
|
2167
|
+
border: none;
|
2168
|
+
background-color: var(--dropdown-btn-bg-color);
|
2169
|
+
}
|
2170
|
+
.dropdownToolbarButton > select:hover,
|
2171
|
+
.dropdownToolbarButton > select:focus-visible {
|
2172
|
+
background-color: var(--button-hover-color);
|
2173
|
+
color: var(--toggled-btn-color);
|
2174
|
+
}
|
2175
|
+
.dropdownToolbarButton > select > option {
|
2176
|
+
background: var(--doorhanger-bg-color);
|
2177
|
+
color: var(--main-color);
|
2178
|
+
}
|
2179
|
+
|
2180
|
+
.toolbarButtonSpacer {
|
2181
|
+
width: 30px;
|
2182
|
+
display: inline-block;
|
2183
|
+
height: 1px;
|
2184
|
+
}
|
2185
|
+
|
2186
|
+
.toolbarButton::before,
|
2187
|
+
.secondaryToolbarButton::before,
|
2188
|
+
.dropdownToolbarButton::after,
|
2189
|
+
.treeItemToggler::before {
|
2190
|
+
/* All matching images have a size of 16x16
|
2191
|
+
* All relevant containers have a size of 28x28 */
|
2192
|
+
position: absolute;
|
2193
|
+
display: inline-block;
|
2194
|
+
width: 16px;
|
2195
|
+
height: 16px;
|
2196
|
+
|
2197
|
+
content: "";
|
2198
|
+
background-color: var(--toolbar-icon-bg-color);
|
2199
|
+
-webkit-mask-size: cover;
|
2200
|
+
mask-size: cover;
|
2201
|
+
}
|
2202
|
+
|
2203
|
+
.dropdownToolbarButton:hover::after,
|
2204
|
+
.dropdownToolbarButton:focus-visible::after,
|
2205
|
+
.dropdownToolbarButton:active::after {
|
2206
|
+
background-color: var(--toolbar-icon-hover-bg-color);
|
2207
|
+
}
|
2208
|
+
|
2209
|
+
.toolbarButton::before {
|
2210
|
+
opacity: var(--toolbar-icon-opacity);
|
2211
|
+
top: 6px;
|
2212
|
+
left: 6px;
|
2213
|
+
}
|
2214
|
+
|
2215
|
+
.toolbarButton:hover::before,
|
2216
|
+
.toolbarButton:focus-visible::before,
|
2217
|
+
.secondaryToolbarButton:hover::before,
|
2218
|
+
.secondaryToolbarButton:focus-visible::before {
|
2219
|
+
background-color: var(--toolbar-icon-hover-bg-color);
|
2220
|
+
}
|
2221
|
+
|
2222
|
+
[dir="ltr"] .secondaryToolbarButton::before {
|
2223
|
+
left: 12px;
|
2224
|
+
}
|
2225
|
+
|
2226
|
+
[dir="rtl"] .secondaryToolbarButton::before {
|
2227
|
+
right: 12px;
|
2228
|
+
}
|
2229
|
+
|
2230
|
+
.secondaryToolbarButton::before {
|
2231
|
+
opacity: var(--doorhanger-icon-opacity);
|
2232
|
+
top: 5px;
|
2233
|
+
inset-inline-start: 12px;
|
2234
|
+
}
|
2235
|
+
|
2236
|
+
#sidebarToggle::before {
|
2237
|
+
-webkit-mask-image: var(--toolbarButton-sidebarToggle-icon);
|
2238
|
+
mask-image: var(--toolbarButton-sidebarToggle-icon);
|
2239
|
+
transform: scaleX(var(--dir-factor));
|
2240
|
+
}
|
2241
|
+
|
2242
|
+
#secondaryToolbarToggle::before {
|
2243
|
+
-webkit-mask-image: var(--toolbarButton-secondaryToolbarToggle-icon);
|
2244
|
+
mask-image: var(--toolbarButton-secondaryToolbarToggle-icon);
|
2245
|
+
transform: scaleX(var(--dir-factor));
|
2246
|
+
}
|
2247
|
+
|
2248
|
+
#findPrevious::before {
|
2249
|
+
-webkit-mask-image: var(--findbarButton-previous-icon);
|
2250
|
+
mask-image: var(--findbarButton-previous-icon);
|
2251
|
+
}
|
2252
|
+
|
2253
|
+
#findNext::before {
|
2254
|
+
-webkit-mask-image: var(--findbarButton-next-icon);
|
2255
|
+
mask-image: var(--findbarButton-next-icon);
|
2256
|
+
}
|
2257
|
+
|
2258
|
+
#previous::before {
|
2259
|
+
-webkit-mask-image: var(--toolbarButton-pageUp-icon);
|
2260
|
+
mask-image: var(--toolbarButton-pageUp-icon);
|
2261
|
+
}
|
2262
|
+
|
2263
|
+
#next::before {
|
2264
|
+
-webkit-mask-image: var(--toolbarButton-pageDown-icon);
|
2265
|
+
mask-image: var(--toolbarButton-pageDown-icon);
|
2266
|
+
}
|
2267
|
+
|
2268
|
+
#zoomOut::before {
|
2269
|
+
-webkit-mask-image: var(--toolbarButton-zoomOut-icon);
|
2270
|
+
mask-image: var(--toolbarButton-zoomOut-icon);
|
2271
|
+
}
|
2272
|
+
|
2273
|
+
#zoomIn::before {
|
2274
|
+
-webkit-mask-image: var(--toolbarButton-zoomIn-icon);
|
2275
|
+
mask-image: var(--toolbarButton-zoomIn-icon);
|
2276
|
+
}
|
2277
|
+
|
2278
|
+
#presentationMode::before {
|
2279
|
+
-webkit-mask-image: var(--toolbarButton-presentationMode-icon);
|
2280
|
+
mask-image: var(--toolbarButton-presentationMode-icon);
|
2281
|
+
}
|
2282
|
+
|
2283
|
+
#editorFreeText::before {
|
2284
|
+
-webkit-mask-image: var(--toolbarButton-editorFreeText-icon);
|
2285
|
+
mask-image: var(--toolbarButton-editorFreeText-icon);
|
2286
|
+
}
|
2287
|
+
|
2288
|
+
#editorInk::before {
|
2289
|
+
-webkit-mask-image: var(--toolbarButton-editorInk-icon);
|
2290
|
+
mask-image: var(--toolbarButton-editorInk-icon);
|
2291
|
+
}
|
2292
|
+
|
2293
|
+
#print::before,
|
2294
|
+
#secondaryPrint::before {
|
2295
|
+
-webkit-mask-image: var(--toolbarButton-print-icon);
|
2296
|
+
mask-image: var(--toolbarButton-print-icon);
|
2297
|
+
}
|
2298
|
+
|
2299
|
+
#openFile::before,
|
2300
|
+
#secondaryOpenFile::before {
|
2301
|
+
-webkit-mask-image: var(--toolbarButton-openFile-icon);
|
2302
|
+
mask-image: var(--toolbarButton-openFile-icon);
|
2303
|
+
}
|
2304
|
+
|
2305
|
+
#download::before,
|
2306
|
+
#secondaryDownload::before {
|
2307
|
+
-webkit-mask-image: var(--toolbarButton-download-icon);
|
2308
|
+
mask-image: var(--toolbarButton-download-icon);
|
2309
|
+
}
|
2310
|
+
|
2311
|
+
a.secondaryToolbarButton {
|
2312
|
+
padding-top: 5px;
|
2313
|
+
text-decoration: none;
|
2314
|
+
}
|
2315
|
+
a.toolbarButton[href="#"],
|
2316
|
+
a.secondaryToolbarButton[href="#"] {
|
2317
|
+
opacity: 0.5;
|
2318
|
+
pointer-events: none;
|
2319
|
+
}
|
2320
|
+
|
2321
|
+
#viewBookmark::before {
|
2322
|
+
-webkit-mask-image: var(--toolbarButton-bookmark-icon);
|
2323
|
+
mask-image: var(--toolbarButton-bookmark-icon);
|
2324
|
+
}
|
2325
|
+
|
2326
|
+
#viewThumbnail::before {
|
2327
|
+
-webkit-mask-image: var(--toolbarButton-viewThumbnail-icon);
|
2328
|
+
mask-image: var(--toolbarButton-viewThumbnail-icon);
|
2329
|
+
}
|
2330
|
+
|
2331
|
+
#viewOutline::before {
|
2332
|
+
-webkit-mask-image: var(--toolbarButton-viewOutline-icon);
|
2333
|
+
mask-image: var(--toolbarButton-viewOutline-icon);
|
2334
|
+
transform: scaleX(var(--dir-factor));
|
2335
|
+
}
|
2336
|
+
|
2337
|
+
#viewAttachments::before {
|
2338
|
+
-webkit-mask-image: var(--toolbarButton-viewAttachments-icon);
|
2339
|
+
mask-image: var(--toolbarButton-viewAttachments-icon);
|
2340
|
+
}
|
2341
|
+
|
2342
|
+
#viewLayers::before {
|
2343
|
+
-webkit-mask-image: var(--toolbarButton-viewLayers-icon);
|
2344
|
+
mask-image: var(--toolbarButton-viewLayers-icon);
|
2345
|
+
}
|
2346
|
+
|
2347
|
+
#currentOutlineItem::before {
|
2348
|
+
-webkit-mask-image: var(--toolbarButton-currentOutlineItem-icon);
|
2349
|
+
mask-image: var(--toolbarButton-currentOutlineItem-icon);
|
2350
|
+
transform: scaleX(var(--dir-factor));
|
2351
|
+
}
|
2352
|
+
|
2353
|
+
#viewFind::before {
|
2354
|
+
-webkit-mask-image: var(--toolbarButton-search-icon);
|
2355
|
+
mask-image: var(--toolbarButton-search-icon);
|
2356
|
+
}
|
2357
|
+
|
2358
|
+
[dir="ltr"] .pdfSidebarNotification::after {
|
2359
|
+
right: 2px;
|
2360
|
+
}
|
2361
|
+
|
2362
|
+
[dir="rtl"] .pdfSidebarNotification::after {
|
2363
|
+
left: 2px;
|
2364
|
+
}
|
2365
|
+
|
2366
|
+
.pdfSidebarNotification::after {
|
2367
|
+
position: absolute;
|
2368
|
+
display: inline-block;
|
2369
|
+
top: 2px;
|
2370
|
+
inset-inline-end: 2px;
|
2371
|
+
/* Create a filled circle, with a diameter of 9 pixels, using only CSS: */
|
2372
|
+
content: "";
|
2373
|
+
background-color: rgba(112, 219, 85, 1);
|
2374
|
+
height: 9px;
|
2375
|
+
width: 9px;
|
2376
|
+
border-radius: 50%;
|
2377
|
+
}
|
2378
|
+
|
2379
|
+
[dir="ltr"] .secondaryToolbarButton {
|
2380
|
+
padding-left: 36px;
|
2381
|
+
}
|
2382
|
+
|
2383
|
+
[dir="rtl"] .secondaryToolbarButton {
|
2384
|
+
padding-right: 36px;
|
2385
|
+
}
|
2386
|
+
|
2387
|
+
[dir="ltr"] .secondaryToolbarButton {
|
2388
|
+
text-align: left;
|
2389
|
+
}
|
2390
|
+
|
2391
|
+
[dir="rtl"] .secondaryToolbarButton {
|
2392
|
+
text-align: right;
|
2393
|
+
}
|
2394
|
+
|
2395
|
+
.secondaryToolbarButton {
|
2396
|
+
position: relative;
|
2397
|
+
margin: 0;
|
2398
|
+
padding: 0 0 1px;
|
2399
|
+
-webkit-padding-start: 36px;
|
2400
|
+
padding-inline-start: 36px;
|
2401
|
+
height: auto;
|
2402
|
+
min-height: 26px;
|
2403
|
+
width: auto;
|
2404
|
+
min-width: 100%;
|
2405
|
+
text-align: start;
|
2406
|
+
white-space: normal;
|
2407
|
+
border-radius: 0;
|
2408
|
+
box-sizing: border-box;
|
2409
|
+
display: inline-block;
|
2410
|
+
}
|
2411
|
+
[dir="ltr"] .secondaryToolbarButton > span {
|
2412
|
+
padding-right: 4px;
|
2413
|
+
}
|
2414
|
+
[dir="rtl"] .secondaryToolbarButton > span {
|
2415
|
+
padding-left: 4px;
|
2416
|
+
}
|
2417
|
+
.secondaryToolbarButton > span {
|
2418
|
+
-webkit-padding-end: 4px;
|
2419
|
+
padding-inline-end: 4px;
|
2420
|
+
}
|
2421
|
+
|
2422
|
+
#firstPage::before {
|
2423
|
+
-webkit-mask-image: var(--secondaryToolbarButton-firstPage-icon);
|
2424
|
+
mask-image: var(--secondaryToolbarButton-firstPage-icon);
|
2425
|
+
}
|
2426
|
+
|
2427
|
+
#lastPage::before {
|
2428
|
+
-webkit-mask-image: var(--secondaryToolbarButton-lastPage-icon);
|
2429
|
+
mask-image: var(--secondaryToolbarButton-lastPage-icon);
|
2430
|
+
}
|
2431
|
+
|
2432
|
+
#pageRotateCcw::before {
|
2433
|
+
-webkit-mask-image: var(--secondaryToolbarButton-rotateCcw-icon);
|
2434
|
+
mask-image: var(--secondaryToolbarButton-rotateCcw-icon);
|
2435
|
+
}
|
2436
|
+
|
2437
|
+
#pageRotateCw::before {
|
2438
|
+
-webkit-mask-image: var(--secondaryToolbarButton-rotateCw-icon);
|
2439
|
+
mask-image: var(--secondaryToolbarButton-rotateCw-icon);
|
2440
|
+
}
|
2441
|
+
|
2442
|
+
#cursorSelectTool::before {
|
2443
|
+
-webkit-mask-image: var(--secondaryToolbarButton-selectTool-icon);
|
2444
|
+
mask-image: var(--secondaryToolbarButton-selectTool-icon);
|
2445
|
+
}
|
2446
|
+
|
2447
|
+
#cursorHandTool::before {
|
2448
|
+
-webkit-mask-image: var(--secondaryToolbarButton-handTool-icon);
|
2449
|
+
mask-image: var(--secondaryToolbarButton-handTool-icon);
|
2450
|
+
}
|
2451
|
+
|
2452
|
+
#scrollPage::before {
|
2453
|
+
-webkit-mask-image: var(--secondaryToolbarButton-scrollPage-icon);
|
2454
|
+
mask-image: var(--secondaryToolbarButton-scrollPage-icon);
|
2455
|
+
}
|
2456
|
+
|
2457
|
+
#scrollVertical::before {
|
2458
|
+
-webkit-mask-image: var(--secondaryToolbarButton-scrollVertical-icon);
|
2459
|
+
mask-image: var(--secondaryToolbarButton-scrollVertical-icon);
|
2460
|
+
}
|
2461
|
+
|
2462
|
+
#scrollHorizontal::before {
|
2463
|
+
-webkit-mask-image: var(--secondaryToolbarButton-scrollHorizontal-icon);
|
2464
|
+
mask-image: var(--secondaryToolbarButton-scrollHorizontal-icon);
|
2465
|
+
}
|
2466
|
+
|
2467
|
+
#scrollWrapped::before {
|
2468
|
+
-webkit-mask-image: var(--secondaryToolbarButton-scrollWrapped-icon);
|
2469
|
+
mask-image: var(--secondaryToolbarButton-scrollWrapped-icon);
|
2470
|
+
}
|
2471
|
+
|
2472
|
+
#spreadNone::before {
|
2473
|
+
-webkit-mask-image: var(--secondaryToolbarButton-spreadNone-icon);
|
2474
|
+
mask-image: var(--secondaryToolbarButton-spreadNone-icon);
|
2475
|
+
}
|
2476
|
+
|
2477
|
+
#spreadOdd::before {
|
2478
|
+
-webkit-mask-image: var(--secondaryToolbarButton-spreadOdd-icon);
|
2479
|
+
mask-image: var(--secondaryToolbarButton-spreadOdd-icon);
|
2480
|
+
}
|
2481
|
+
|
2482
|
+
#spreadEven::before {
|
2483
|
+
-webkit-mask-image: var(--secondaryToolbarButton-spreadEven-icon);
|
2484
|
+
mask-image: var(--secondaryToolbarButton-spreadEven-icon);
|
2485
|
+
}
|
2486
|
+
|
2487
|
+
#documentProperties::before {
|
2488
|
+
-webkit-mask-image: var(--secondaryToolbarButton-documentProperties-icon);
|
2489
|
+
mask-image: var(--secondaryToolbarButton-documentProperties-icon);
|
2490
|
+
}
|
2491
|
+
|
2492
|
+
.verticalToolbarSeparator {
|
2493
|
+
display: block;
|
2494
|
+
margin: 5px 2px;
|
2495
|
+
width: 1px;
|
2496
|
+
height: 22px;
|
2497
|
+
background-color: var(--separator-color);
|
2498
|
+
}
|
2499
|
+
.horizontalToolbarSeparator {
|
2500
|
+
display: block;
|
2501
|
+
margin: 6px 0;
|
2502
|
+
height: 1px;
|
2503
|
+
width: 100%;
|
2504
|
+
background-color: var(--doorhanger-separator-color);
|
2505
|
+
}
|
2506
|
+
|
2507
|
+
.toolbarField {
|
2508
|
+
padding: 4px 7px;
|
2509
|
+
margin: 3px 0;
|
2510
|
+
border-radius: 2px;
|
2511
|
+
background-color: var(--field-bg-color);
|
2512
|
+
background-clip: padding-box;
|
2513
|
+
border: 1px solid var(--field-border-color);
|
2514
|
+
box-shadow: none;
|
2515
|
+
color: var(--field-color);
|
2516
|
+
font-size: 12px;
|
2517
|
+
line-height: 16px;
|
2518
|
+
outline: none;
|
2519
|
+
}
|
2520
|
+
|
2521
|
+
[dir="ltr"] .toolbarField[type="checkbox"] {
|
2522
|
+
margin-left: 7px;
|
2523
|
+
}
|
2524
|
+
|
2525
|
+
[dir="rtl"] .toolbarField[type="checkbox"] {
|
2526
|
+
margin-right: 7px;
|
2527
|
+
}
|
2528
|
+
|
2529
|
+
.toolbarField[type="checkbox"] {
|
2530
|
+
opacity: 0;
|
2531
|
+
position: absolute !important;
|
2532
|
+
left: 0;
|
2533
|
+
margin: 10px 0 3px;
|
2534
|
+
-webkit-margin-start: 7px;
|
2535
|
+
margin-inline-start: 7px;
|
2536
|
+
}
|
2537
|
+
|
2538
|
+
#pageNumber {
|
2539
|
+
-moz-appearance: textfield; /* hides the spinner in moz */
|
2540
|
+
text-align: right;
|
2541
|
+
width: 40px;
|
2542
|
+
}
|
2543
|
+
#pageNumber.visiblePageIsLoading {
|
2544
|
+
background-image: var(--loading-icon);
|
2545
|
+
background-repeat: no-repeat;
|
2546
|
+
background-position: 3px;
|
2547
|
+
}
|
2548
|
+
#pageNumber::-webkit-inner-spin-button {
|
2549
|
+
-webkit-appearance: none;
|
2550
|
+
}
|
2551
|
+
|
2552
|
+
.toolbarField:focus {
|
2553
|
+
border-color: #0a84ff;
|
2554
|
+
}
|
2555
|
+
|
2556
|
+
.toolbarLabel {
|
2557
|
+
min-width: 16px;
|
2558
|
+
padding: 7px;
|
2559
|
+
margin: 2px;
|
2560
|
+
border-radius: 2px;
|
2561
|
+
color: var(--main-color);
|
2562
|
+
font-size: 12px;
|
2563
|
+
line-height: 14px;
|
2564
|
+
text-align: left;
|
2565
|
+
-webkit-user-select: none;
|
2566
|
+
-moz-user-select: none;
|
2567
|
+
user-select: none;
|
2568
|
+
cursor: default;
|
2569
|
+
}
|
2570
|
+
|
2571
|
+
[dir="ltr"] #numPages.toolbarLabel {
|
2572
|
+
padding-left: 3px;
|
2573
|
+
}
|
2574
|
+
|
2575
|
+
[dir="rtl"] #numPages.toolbarLabel {
|
2576
|
+
padding-right: 3px;
|
2577
|
+
}
|
2578
|
+
|
2579
|
+
#numPages.toolbarLabel {
|
2580
|
+
-webkit-padding-start: 3px;
|
2581
|
+
padding-inline-start: 3px;
|
2582
|
+
}
|
2583
|
+
|
2584
|
+
#thumbnailView,
|
2585
|
+
#outlineView,
|
2586
|
+
#attachmentsView,
|
2587
|
+
#layersView {
|
2588
|
+
position: absolute;
|
2589
|
+
width: calc(100% - 8px);
|
2590
|
+
top: 0;
|
2591
|
+
bottom: 0;
|
2592
|
+
padding: 4px 4px 0;
|
2593
|
+
overflow: auto;
|
2594
|
+
-webkit-user-select: none;
|
2595
|
+
-moz-user-select: none;
|
2596
|
+
user-select: none;
|
2597
|
+
}
|
2598
|
+
#thumbnailView {
|
2599
|
+
width: calc(100% - 60px);
|
2600
|
+
padding: 10px 30px 0;
|
2601
|
+
}
|
2602
|
+
|
2603
|
+
#thumbnailView > a:active,
|
2604
|
+
#thumbnailView > a:focus {
|
2605
|
+
outline: 0;
|
2606
|
+
}
|
2607
|
+
|
2608
|
+
[dir="ltr"] .thumbnail {
|
2609
|
+
float: left;
|
2610
|
+
}
|
2611
|
+
|
2612
|
+
[dir="rtl"] .thumbnail {
|
2613
|
+
float: right;
|
2614
|
+
}
|
2615
|
+
|
2616
|
+
.thumbnail {
|
2617
|
+
float: inline-start;
|
2618
|
+
margin: 0 10px 5px;
|
2619
|
+
}
|
2620
|
+
|
2621
|
+
#thumbnailView > a:last-of-type > .thumbnail {
|
2622
|
+
margin-bottom: 10px;
|
2623
|
+
}
|
2624
|
+
#thumbnailView > a:last-of-type > .thumbnail:not([data-loaded]) {
|
2625
|
+
margin-bottom: 9px;
|
2626
|
+
}
|
2627
|
+
|
2628
|
+
.thumbnail:not([data-loaded]) {
|
2629
|
+
border: 1px dashed rgba(132, 132, 132, 1);
|
2630
|
+
margin: -1px 9px 4px;
|
2631
|
+
}
|
2632
|
+
|
2633
|
+
.thumbnailImage {
|
2634
|
+
border: 1px solid rgba(0, 0, 0, 0);
|
2635
|
+
box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.5), 0 2px 8px rgba(0, 0, 0, 0.3);
|
2636
|
+
opacity: 0.8;
|
2637
|
+
z-index: 99;
|
2638
|
+
background-color: rgba(255, 255, 255, 1);
|
2639
|
+
background-clip: content-box;
|
2640
|
+
}
|
2641
|
+
|
2642
|
+
.thumbnailSelectionRing {
|
2643
|
+
border-radius: 2px;
|
2644
|
+
padding: 7px;
|
2645
|
+
}
|
2646
|
+
|
2647
|
+
a:focus > .thumbnail > .thumbnailSelectionRing > .thumbnailImage,
|
2648
|
+
.thumbnail:hover > .thumbnailSelectionRing > .thumbnailImage {
|
2649
|
+
opacity: 0.9;
|
2650
|
+
}
|
2651
|
+
|
2652
|
+
a:focus > .thumbnail > .thumbnailSelectionRing,
|
2653
|
+
.thumbnail:hover > .thumbnailSelectionRing {
|
2654
|
+
background-color: var(--sidebaritem-bg-color);
|
2655
|
+
background-clip: padding-box;
|
2656
|
+
color: rgba(255, 255, 255, 0.9);
|
2657
|
+
}
|
2658
|
+
|
2659
|
+
.thumbnail.selected > .thumbnailSelectionRing > .thumbnailImage {
|
2660
|
+
opacity: 1;
|
2661
|
+
}
|
2662
|
+
|
2663
|
+
.thumbnail.selected > .thumbnailSelectionRing {
|
2664
|
+
background-color: var(--sidebaritem-bg-color);
|
2665
|
+
background-clip: padding-box;
|
2666
|
+
color: rgba(255, 255, 255, 1);
|
2667
|
+
}
|
2668
|
+
|
2669
|
+
[dir="ltr"] .treeWithDeepNesting > .treeItem,[dir="ltr"]
|
2670
|
+
.treeItem > .treeItems {
|
2671
|
+
margin-left: 20px;
|
2672
|
+
}
|
2673
|
+
|
2674
|
+
[dir="rtl"] .treeWithDeepNesting > .treeItem,[dir="rtl"]
|
2675
|
+
.treeItem > .treeItems {
|
2676
|
+
margin-right: 20px;
|
2677
|
+
}
|
2678
|
+
|
2679
|
+
.treeWithDeepNesting > .treeItem,
|
2680
|
+
.treeItem > .treeItems {
|
2681
|
+
-webkit-margin-start: 20px;
|
2682
|
+
margin-inline-start: 20px;
|
2683
|
+
}
|
2684
|
+
|
2685
|
+
[dir="ltr"] .treeItem > a {
|
2686
|
+
padding-left: 4px;
|
2687
|
+
}
|
2688
|
+
|
2689
|
+
[dir="rtl"] .treeItem > a {
|
2690
|
+
padding-right: 4px;
|
2691
|
+
}
|
2692
|
+
|
2693
|
+
.treeItem > a {
|
2694
|
+
text-decoration: none;
|
2695
|
+
display: inline-block;
|
2696
|
+
/* Subtract the right padding (left, in RTL mode) of the container: */
|
2697
|
+
min-width: calc(100% - 4px);
|
2698
|
+
height: auto;
|
2699
|
+
margin-bottom: 1px;
|
2700
|
+
padding: 2px 0 5px;
|
2701
|
+
-webkit-padding-start: 4px;
|
2702
|
+
padding-inline-start: 4px;
|
2703
|
+
border-radius: 2px;
|
2704
|
+
color: var(--treeitem-color);
|
2705
|
+
font-size: 13px;
|
2706
|
+
line-height: 15px;
|
2707
|
+
-webkit-user-select: none;
|
2708
|
+
-moz-user-select: none;
|
2709
|
+
user-select: none;
|
2710
|
+
white-space: normal;
|
2711
|
+
cursor: pointer;
|
2712
|
+
}
|
2713
|
+
|
2714
|
+
#layersView .treeItem > a * {
|
2715
|
+
cursor: pointer;
|
2716
|
+
}
|
2717
|
+
[dir="ltr"] #layersView .treeItem > a > label {
|
2718
|
+
padding-left: 4px;
|
2719
|
+
}
|
2720
|
+
[dir="rtl"] #layersView .treeItem > a > label {
|
2721
|
+
padding-right: 4px;
|
2722
|
+
}
|
2723
|
+
#layersView .treeItem > a > label {
|
2724
|
+
-webkit-padding-start: 4px;
|
2725
|
+
padding-inline-start: 4px;
|
2726
|
+
}
|
2727
|
+
[dir="ltr"] #layersView .treeItem > a > label > input {
|
2728
|
+
float: left;
|
2729
|
+
}
|
2730
|
+
[dir="rtl"] #layersView .treeItem > a > label > input {
|
2731
|
+
float: right;
|
2732
|
+
}
|
2733
|
+
#layersView .treeItem > a > label > input {
|
2734
|
+
float: inline-start;
|
2735
|
+
margin-top: 1px;
|
2736
|
+
}
|
2737
|
+
|
2738
|
+
[dir="ltr"] .treeItemToggler {
|
2739
|
+
float: left;
|
2740
|
+
}
|
2741
|
+
|
2742
|
+
[dir="rtl"] .treeItemToggler {
|
2743
|
+
float: right;
|
2744
|
+
}
|
2745
|
+
|
2746
|
+
.treeItemToggler {
|
2747
|
+
position: relative;
|
2748
|
+
float: inline-start;
|
2749
|
+
height: 0;
|
2750
|
+
width: 0;
|
2751
|
+
color: rgba(255, 255, 255, 0.5);
|
2752
|
+
}
|
2753
|
+
[dir="ltr"] .treeItemToggler::before {
|
2754
|
+
right: 4px;
|
2755
|
+
}
|
2756
|
+
[dir="rtl"] .treeItemToggler::before {
|
2757
|
+
left: 4px;
|
2758
|
+
}
|
2759
|
+
.treeItemToggler::before {
|
2760
|
+
inset-inline-end: 4px;
|
2761
|
+
-webkit-mask-image: var(--treeitem-expanded-icon);
|
2762
|
+
mask-image: var(--treeitem-expanded-icon);
|
2763
|
+
}
|
2764
|
+
.treeItemToggler.treeItemsHidden::before {
|
2765
|
+
-webkit-mask-image: var(--treeitem-collapsed-icon);
|
2766
|
+
mask-image: var(--treeitem-collapsed-icon);
|
2767
|
+
transform: scaleX(var(--dir-factor));
|
2768
|
+
}
|
2769
|
+
.treeItemToggler.treeItemsHidden ~ .treeItems {
|
2770
|
+
display: none;
|
2771
|
+
}
|
2772
|
+
|
2773
|
+
.treeItem.selected > a {
|
2774
|
+
background-color: var(--treeitem-selected-bg-color);
|
2775
|
+
color: var(--treeitem-selected-color);
|
2776
|
+
}
|
2777
|
+
|
2778
|
+
.treeItemToggler:hover,
|
2779
|
+
.treeItemToggler:hover + a,
|
2780
|
+
.treeItemToggler:hover ~ .treeItems,
|
2781
|
+
.treeItem > a:hover {
|
2782
|
+
background-color: var(--sidebaritem-bg-color);
|
2783
|
+
background-clip: padding-box;
|
2784
|
+
border-radius: 2px;
|
2785
|
+
color: var(--treeitem-hover-color);
|
2786
|
+
}
|
2787
|
+
|
2788
|
+
.dialogButton {
|
2789
|
+
width: auto;
|
2790
|
+
margin: 3px 4px 2px !important;
|
2791
|
+
padding: 2px 11px;
|
2792
|
+
color: var(--main-color);
|
2793
|
+
background-color: var(--dialog-button-bg-color);
|
2794
|
+
border: var(--dialog-button-border) !important;
|
2795
|
+
}
|
2796
|
+
|
2797
|
+
dialog {
|
2798
|
+
margin: auto;
|
2799
|
+
padding: 15px;
|
2800
|
+
border-spacing: 4px;
|
2801
|
+
color: var(--main-color);
|
2802
|
+
font: message-box;
|
2803
|
+
font-size: 12px;
|
2804
|
+
line-height: 14px;
|
2805
|
+
background-color: var(--doorhanger-bg-color);
|
2806
|
+
border: 1px solid rgba(0, 0, 0, 0.5);
|
2807
|
+
border-radius: 4px;
|
2808
|
+
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
|
2809
|
+
}
|
2810
|
+
dialog::-webkit-backdrop {
|
2811
|
+
background-color: rgba(0, 0, 0, 0.2);
|
2812
|
+
}
|
2813
|
+
dialog::backdrop {
|
2814
|
+
background-color: rgba(0, 0, 0, 0.2);
|
2815
|
+
}
|
2816
|
+
|
2817
|
+
dialog > .row {
|
2818
|
+
display: table-row;
|
2819
|
+
}
|
2820
|
+
|
2821
|
+
dialog > .row > * {
|
2822
|
+
display: table-cell;
|
2823
|
+
}
|
2824
|
+
|
2825
|
+
dialog .toolbarField {
|
2826
|
+
margin: 5px 0;
|
2827
|
+
}
|
2828
|
+
|
2829
|
+
dialog .separator {
|
2830
|
+
display: block;
|
2831
|
+
margin: 4px 0;
|
2832
|
+
height: 1px;
|
2833
|
+
width: 100%;
|
2834
|
+
background-color: var(--separator-color);
|
2835
|
+
}
|
2836
|
+
|
2837
|
+
dialog .buttonRow {
|
2838
|
+
text-align: center;
|
2839
|
+
vertical-align: middle;
|
2840
|
+
}
|
2841
|
+
|
2842
|
+
dialog :link {
|
2843
|
+
color: rgba(255, 255, 255, 1);
|
2844
|
+
}
|
2845
|
+
|
2846
|
+
#passwordDialog {
|
2847
|
+
text-align: center;
|
2848
|
+
}
|
2849
|
+
#passwordDialog .toolbarField {
|
2850
|
+
width: 200px;
|
2851
|
+
}
|
2852
|
+
|
2853
|
+
#documentPropertiesDialog {
|
2854
|
+
text-align: left;
|
2855
|
+
}
|
2856
|
+
[dir="ltr"] #documentPropertiesDialog .row > * {
|
2857
|
+
text-align: left;
|
2858
|
+
}
|
2859
|
+
[dir="rtl"] #documentPropertiesDialog .row > * {
|
2860
|
+
text-align: right;
|
2861
|
+
}
|
2862
|
+
#documentPropertiesDialog .row > * {
|
2863
|
+
min-width: 100px;
|
2864
|
+
text-align: start;
|
2865
|
+
}
|
2866
|
+
#documentPropertiesDialog .row > span {
|
2867
|
+
width: 125px;
|
2868
|
+
word-wrap: break-word;
|
2869
|
+
}
|
2870
|
+
#documentPropertiesDialog .row > p {
|
2871
|
+
max-width: 225px;
|
2872
|
+
word-wrap: break-word;
|
2873
|
+
}
|
2874
|
+
#documentPropertiesDialog .buttonRow {
|
2875
|
+
margin-top: 10px;
|
2876
|
+
}
|
2877
|
+
|
2878
|
+
.grab-to-pan-grab {
|
2879
|
+
cursor: grab !important;
|
2880
|
+
}
|
2881
|
+
.grab-to-pan-grab
|
2882
|
+
*:not(input):not(textarea):not(button):not(select):not(:link) {
|
2883
|
+
cursor: inherit !important;
|
2884
|
+
}
|
2885
|
+
.grab-to-pan-grab:active,
|
2886
|
+
.grab-to-pan-grabbing {
|
2887
|
+
cursor: grabbing !important;
|
2888
|
+
position: fixed;
|
2889
|
+
background: rgba(0, 0, 0, 0);
|
2890
|
+
display: block;
|
2891
|
+
top: 0;
|
2892
|
+
left: 0;
|
2893
|
+
right: 0;
|
2894
|
+
bottom: 0;
|
2895
|
+
overflow: hidden;
|
2896
|
+
z-index: 50000; /* should be higher than anything else in PDF.js! */
|
2897
|
+
}
|
2898
|
+
|
2899
|
+
@page {
|
2900
|
+
margin: 0;
|
2901
|
+
}
|
2902
|
+
|
2903
|
+
#printContainer {
|
2904
|
+
display: none;
|
2905
|
+
}
|
2906
|
+
|
2907
|
+
@media print {
|
2908
|
+
body {
|
2909
|
+
background: rgba(0, 0, 0, 0) none;
|
2910
|
+
}
|
2911
|
+
body[data-pdfjsprinting] #outerContainer {
|
2912
|
+
display: none;
|
2913
|
+
}
|
2914
|
+
body[data-pdfjsprinting] #printContainer {
|
2915
|
+
display: block;
|
2916
|
+
}
|
2917
|
+
#printContainer {
|
2918
|
+
height: 100%;
|
2919
|
+
}
|
2920
|
+
/* wrapper around (scaled) print canvas elements */
|
2921
|
+
#printContainer > .printedPage {
|
2922
|
+
page-break-after: always;
|
2923
|
+
page-break-inside: avoid;
|
2924
|
+
|
2925
|
+
/* The wrapper always cover the whole page. */
|
2926
|
+
height: 100%;
|
2927
|
+
width: 100%;
|
2928
|
+
|
2929
|
+
display: flex;
|
2930
|
+
flex-direction: column;
|
2931
|
+
justify-content: center;
|
2932
|
+
align-items: center;
|
2933
|
+
}
|
2934
|
+
|
2935
|
+
#printContainer > .xfaPrintedPage .xfaPage {
|
2936
|
+
position: absolute;
|
2937
|
+
}
|
2938
|
+
|
2939
|
+
#printContainer > .xfaPrintedPage {
|
2940
|
+
page-break-after: always;
|
2941
|
+
page-break-inside: avoid;
|
2942
|
+
width: 100%;
|
2943
|
+
height: 100%;
|
2944
|
+
position: relative;
|
2945
|
+
}
|
2946
|
+
|
2947
|
+
#printContainer > .printedPage canvas,
|
2948
|
+
#printContainer > .printedPage img {
|
2949
|
+
/* The intrinsic canvas / image size will make sure that we fit the page. */
|
2950
|
+
max-width: 100%;
|
2951
|
+
max-height: 100%;
|
2952
|
+
|
2953
|
+
direction: ltr;
|
2954
|
+
display: block;
|
2955
|
+
}
|
2956
|
+
}
|
2957
|
+
|
2958
|
+
.visibleLargeView,
|
2959
|
+
.visibleMediumView {
|
2960
|
+
display: none;
|
2961
|
+
}
|
2962
|
+
|
2963
|
+
@media all and (max-width: 900px) {
|
2964
|
+
#toolbarViewerMiddle {
|
2965
|
+
display: table;
|
2966
|
+
margin: auto;
|
2967
|
+
left: auto;
|
2968
|
+
position: inherit;
|
2969
|
+
transform: none;
|
2970
|
+
}
|
2971
|
+
}
|
2972
|
+
|
2973
|
+
@media all and (max-width: 840px) {
|
2974
|
+
#sidebarContainer {
|
2975
|
+
background-color: var(--sidebar-narrow-bg-color);
|
2976
|
+
}
|
2977
|
+
[dir="ltr"] #outerContainer.sidebarOpen #viewerContainer {
|
2978
|
+
left: 0 !important;
|
2979
|
+
}
|
2980
|
+
[dir="rtl"] #outerContainer.sidebarOpen #viewerContainer {
|
2981
|
+
right: 0 !important;
|
2982
|
+
}
|
2983
|
+
#outerContainer.sidebarOpen #viewerContainer {
|
2984
|
+
inset-inline-start: 0 !important;
|
2985
|
+
}
|
2986
|
+
}
|
2987
|
+
|
2988
|
+
@media all and (max-width: 820px) {
|
2989
|
+
#outerContainer .hiddenLargeView {
|
2990
|
+
display: none;
|
2991
|
+
}
|
2992
|
+
#outerContainer .visibleLargeView {
|
2993
|
+
display: inherit;
|
2994
|
+
}
|
2995
|
+
}
|
2996
|
+
|
2997
|
+
@media all and (max-width: 750px) {
|
2998
|
+
#outerContainer .hiddenMediumView {
|
2999
|
+
display: none;
|
3000
|
+
}
|
3001
|
+
#outerContainer .visibleMediumView {
|
3002
|
+
display: inherit;
|
3003
|
+
}
|
3004
|
+
}
|
3005
|
+
|
3006
|
+
@media all and (max-width: 690px) {
|
3007
|
+
.hiddenSmallView,
|
3008
|
+
.hiddenSmallView * {
|
3009
|
+
display: none;
|
3010
|
+
}
|
3011
|
+
.toolbarButtonSpacer {
|
3012
|
+
width: 0;
|
3013
|
+
}
|
3014
|
+
[dir="ltr"] .findbar {
|
3015
|
+
left: 34px;
|
3016
|
+
}
|
3017
|
+
[dir="rtl"] .findbar {
|
3018
|
+
right: 34px;
|
3019
|
+
}
|
3020
|
+
.findbar {
|
3021
|
+
inset-inline-start: 34px;
|
3022
|
+
}
|
3023
|
+
}
|
3024
|
+
|
3025
|
+
@media all and (max-width: 560px) {
|
3026
|
+
#scaleSelectContainer {
|
3027
|
+
display: none;
|
3028
|
+
}
|
3029
|
+
}
|