Skip to content

Commit

Permalink
Merge branch 'fix/universal-viewer-refinements' into experiment/image…
Browse files Browse the repository at this point in the history
…-viewer

* fix/universal-viewer-refinements:
  update icon, remove download and share options and remove click to zoom
  • Loading branch information
Jane committed Mar 18, 2024
2 parents e7a75b8 + 12ec7f7 commit e100255
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sass/includes/_iiif-viewer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -157,15 +157,15 @@
color: $color__black;

.expandButton {
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 -960 960 960' width='20'%3E%3Cpath d='M442-267.692 229.692-480 442-692.308 465.308-669 275.539-480l189.769 189L442-267.692Zm265 0L494.692-480 707-692.308 730.308-669 540.539-480l189.769 189L707-267.692Z'/%3E%3C/svg%3E");
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 -960 960 960' width='20'%3E%3Cpath d='M419.461-480 229.692-669 253-692.308 465.308-480 253-267.692 229.692-291l189.769-189Zm265 0L494.692-669 518-692.308 730.308-480 518-267.692 494.692-291l189.769-189Z'/%3E%3C/svg%3E");
background-position: center;
background-size: 25px 25px;
width: 20px;
height: 20px;
}

.collapseButton {
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 -960 960 960' width='20'%3E%3Cpath d='M419.461-480 229.692-669 253-692.308 465.308-480 253-267.692 229.692-291l189.769-189Zm265 0L494.692-669 518-692.308 730.308-480 518-267.692 494.692-291l189.769-189Z'/%3E%3C/svg%3E");
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 -960 960 960' width='20'%3E%3Cpath d='M442-267.692 229.692-480 442-692.308 465.308-669 275.539-480l189.769 189L442-267.692Zm265 0L494.692-480 707-692.308 730.308-669 540.539-480l189.769 189L707-267.692Z'/%3E%3C/svg%3E");
background-position: center;
background-size: 25px 25px;
width: 20px;
Expand Down
14 changes: 14 additions & 0 deletions scripts/src/iiif-viewer.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ document.addEventListener("DOMContentLoaded", () => {
footerPanelEnabled: true,
headerPanelEnabled: true,
leftPanelEnabled: true,
clickToZoomEnabled: false,
},
modules: {
pagingHeaderPanel: {
Expand All @@ -38,6 +39,19 @@ document.addEventListener("DOMContentLoaded", () => {
pagingToggleEnabled: true,
},
},
footerPanel: {
options: {
downloadEnabled: false,
embedEnabled: false,
feedbackEnabled: false,
fullscreenEnabled: true,
minimiseButtons: false,
moreInfoEnabled: false,
openEnabled: false,
printEnabled: false,
shareEnabled: false,
},
},
},
});
});
Expand Down

0 comments on commit e100255

Please sign in to comment.