diva.js 6.0.2 → 7.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (131) hide show
  1. package/.clang-format +7 -0
  2. package/.github/workflows/npm-publish.yml +45 -0
  3. package/LICENSE +55 -0
  4. package/Makefile +75 -0
  5. package/README.md +15 -114
  6. package/elm.json +32 -0
  7. package/package.json +12 -59
  8. package/review/elm.json +52 -0
  9. package/review/src/ReviewConfig.elm +87 -0
  10. package/scripts/elm-esm.sh +40 -0
  11. package/scripts/minify-css.mjs +31 -0
  12. package/src/Filters.elm +1044 -0
  13. package/src/Main.elm +1217 -0
  14. package/src/Model.elm +213 -0
  15. package/src/Msg.elm +59 -0
  16. package/src/Utilities.elm +46 -0
  17. package/src/View/CollectionExplorer.elm +172 -0
  18. package/src/View/Helpers.elm +86 -0
  19. package/src/View/HtmlRenderer.elm +136 -0
  20. package/src/View/Icons.elm +159 -0
  21. package/src/View/ManifestInfoModal.elm +363 -0
  22. package/src/View/PageViewModal.elm +1046 -0
  23. package/src/View/Sidebar.elm +786 -0
  24. package/src/View/Toolbar.elm +189 -0
  25. package/src/View.elm +244 -0
  26. package/src/diva.ts +802 -0
  27. package/src/filters.ts +1843 -0
  28. package/src/styles/app.css +328 -0
  29. package/src/styles/collection.css +75 -0
  30. package/src/styles/modal.css +388 -0
  31. package/src/styles/sidebar.css +215 -0
  32. package/src/styles/theme.css +39 -0
  33. package/src/styles/toolbar.css +154 -0
  34. package/src/viewer-element.ts +1307 -0
  35. package/testing/index.html +52 -0
  36. package/testing/testing.html +231 -0
  37. package/tsconfig.json +12 -0
  38. package/AUTHORS +0 -22
  39. package/build/diva.css +0 -554
  40. package/build/diva.css.map +0 -1
  41. package/build/diva.js +0 -9
  42. package/build/diva.js.map +0 -1
  43. package/build/plugins/download.js +0 -2
  44. package/build/plugins/download.js.map +0 -1
  45. package/build/plugins/manipulation.js +0 -2
  46. package/build/plugins/manipulation.js.map +0 -1
  47. package/build/plugins/metadata.js +0 -2
  48. package/build/plugins/metadata.js.map +0 -1
  49. package/index.html +0 -28
  50. package/karma.conf.js +0 -87
  51. package/source/css/_mixins.scss +0 -43
  52. package/source/css/_variables.scss +0 -50
  53. package/source/css/_viewer.scss +0 -462
  54. package/source/css/diva.scss +0 -15
  55. package/source/css/plugins/_manipulation.scss +0 -228
  56. package/source/css/plugins/_metadata.scss +0 -31
  57. package/source/img/adjust.svg +0 -11
  58. package/source/img/book-view.svg +0 -6
  59. package/source/img/close.svg +0 -6
  60. package/source/img/download.svg +0 -6
  61. package/source/img/from-fullscreen.svg +0 -8
  62. package/source/img/grid-fewer.svg +0 -6
  63. package/source/img/grid-more.svg +0 -6
  64. package/source/img/grid-view.svg +0 -6
  65. package/source/img/link.svg +0 -6
  66. package/source/img/metadata.svg +0 -9
  67. package/source/img/page-view.svg +0 -6
  68. package/source/img/to-fullscreen.svg +0 -11
  69. package/source/img/zoom-in.svg +0 -6
  70. package/source/img/zoom-out.svg +0 -7
  71. package/source/js/composite-image.js +0 -174
  72. package/source/js/diva-global.js +0 -7
  73. package/source/js/diva.js +0 -1543
  74. package/source/js/document-handler.js +0 -180
  75. package/source/js/document-layout.js +0 -286
  76. package/source/js/exceptions.js +0 -26
  77. package/source/js/gesture-events.js +0 -190
  78. package/source/js/grid-handler.js +0 -122
  79. package/source/js/iiif-source-adapter.js +0 -63
  80. package/source/js/image-cache.js +0 -113
  81. package/source/js/image-manifest.js +0 -157
  82. package/source/js/image-request-handler.js +0 -76
  83. package/source/js/interpolate-animation.js +0 -122
  84. package/source/js/page-layouts/book-layout.js +0 -161
  85. package/source/js/page-layouts/grid-layout.js +0 -97
  86. package/source/js/page-layouts/index.js +0 -38
  87. package/source/js/page-layouts/page-dimensions.js +0 -9
  88. package/source/js/page-layouts/singles-layout.js +0 -27
  89. package/source/js/page-overlay-manager.js +0 -102
  90. package/source/js/page-tools-overlay.js +0 -95
  91. package/source/js/parse-iiif-manifest.js +0 -302
  92. package/source/js/plugins/_filters.js +0 -679
  93. package/source/js/plugins/download.js +0 -83
  94. package/source/js/plugins/manipulation.js +0 -837
  95. package/source/js/plugins/metadata.js +0 -190
  96. package/source/js/renderer.js +0 -584
  97. package/source/js/settings-view.js +0 -30
  98. package/source/js/tile-coverage-map.js +0 -25
  99. package/source/js/toolbar.js +0 -573
  100. package/source/js/utils/dragscroll.js +0 -106
  101. package/source/js/utils/elt.js +0 -94
  102. package/source/js/utils/events.js +0 -190
  103. package/source/js/utils/get-scrollbar-width.js +0 -29
  104. package/source/js/utils/hash-params.js +0 -86
  105. package/source/js/utils/parse-label-value.js +0 -34
  106. package/source/js/utils/vanilla.kinetic.js +0 -527
  107. package/source/js/validation-runner.js +0 -177
  108. package/source/js/viewer-core.js +0 -1514
  109. package/source/js/viewport.js +0 -143
  110. package/test/_setup.js +0 -13
  111. package/test/composite-image_test.js +0 -94
  112. package/test/diva_test.js +0 -43
  113. package/test/hash-params_test.js +0 -221
  114. package/test/image-cache_test.js +0 -106
  115. package/test/main.js +0 -6
  116. package/test/manifests/beromunsterManifest.json +0 -15514
  117. package/test/manifests/iiifv2.json +0 -11032
  118. package/test/manifests/iiifv2pages.json +0 -30437
  119. package/test/manifests/iiifv3.json +0 -10965
  120. package/test/navigation_test.js +0 -355
  121. package/test/parse-iiif-manifest_test.js +0 -68
  122. package/test/public_test.js +0 -881
  123. package/test/settings_test.js +0 -487
  124. package/test/utils/book-layout_test.js +0 -148
  125. package/test/utils/elt_test.js +0 -102
  126. package/test/utils/events_test.js +0 -245
  127. package/test/utils/hash-params_test.js +0 -79
  128. package/test/utils/parse-label-value_test.js +0 -45
  129. package/test/z_plugins_test.js +0 -180
  130. package/webpack.config.js +0 -58
  131. package/webpack.config.test.js +0 -45
package/build/diva.css DELETED
@@ -1,554 +0,0 @@
1
- .diva-wrapper {
2
- min-height: 95vh;
3
- width: 100%;
4
- flex-grow: 1; }
5
- .diva-wrapper.diva-wrapper-flexbox {
6
- display: flex;
7
- flex-direction: column; }
8
- .diva-wrapper > *:not(.diva-outer) {
9
- flex-shrink: 0; }
10
-
11
- .diva-title {
12
- text-align: center;
13
- font-weight: bold;
14
- font-size: 1.3em;
15
- max-width: 50em;
16
- margin: 0 auto; }
17
-
18
- .diva-button, .diva-input {
19
- box-sizing: border-box;
20
- outline: none;
21
- border-radius: 0;
22
- font: inherit;
23
- vertical-align: middle; }
24
- .diva-button::-moz-focus-inner, .diva-input::-moz-focus-inner {
25
- padding: 0; }
26
-
27
- .diva-button {
28
- display: inline-block;
29
- cursor: pointer;
30
- height: 34px;
31
- width: 34px;
32
- line-height: 34px;
33
- -webkit-appearance: none;
34
- padding: 3px;
35
- background-color: #F1F1F1;
36
- background-repeat: no-repeat;
37
- background-position: center;
38
- border: 1px solid #AAA; }
39
- .diva-button:hover, .diva-button:focus {
40
- background-color: #FDFDFD; }
41
- .diva-button.diva-button-text {
42
- width: auto;
43
- padding: 0 0.5em; }
44
-
45
- .diva-input {
46
- height: 34px;
47
- border: 1px solid #AAA;
48
- padding: 0 0.5em; }
49
- .diva-input:focus {
50
- border-color: #919191; }
51
-
52
- .diva-label {
53
- margin: 0 1em;
54
- line-height: 34px;
55
- vertical-align: top;
56
- white-space: nowrap;
57
- text-overflow: ellipsis; }
58
-
59
- .diva-tools-left, .diva-tools-right {
60
- margin-bottom: 1em; }
61
-
62
- .diva-tools-left {
63
- float: left;
64
- user-select: none; }
65
-
66
- .diva-zoom-in-button, .diva-grid-in-button {
67
- margin-left: -1px; }
68
-
69
- .diva-tools-right {
70
- float: right; }
71
- .diva-tools-right .diva-button {
72
- margin-left: -1px;
73
- user-select: none; }
74
-
75
- .diva-page-nav {
76
- white-space: nowrap;
77
- margin-right: 1em; }
78
-
79
- .diva-goto-form {
80
- display: inline-block;
81
- position: relative; }
82
-
83
- .diva-goto-page-input {
84
- width: 5em; }
85
-
86
- .diva-input-suggestions {
87
- display: none;
88
- box-sizing: border-box;
89
- position: absolute;
90
- width: 100%;
91
- background-color: white;
92
- border: solid 1px #aaa;
93
- border-top: none;
94
- z-index: 1; }
95
-
96
- .diva-input-suggestion {
97
- box-sizing: border-box;
98
- width: 100%;
99
- margin-top: 3px;
100
- padding: 2px;
101
- padding-left: 5px;
102
- white-space: nowrap;
103
- overflow: hidden;
104
- text-overflow: ellipsis;
105
- cursor: pointer; }
106
-
107
- .diva-input-suggestion.active, .diva-input-suggestion:hover {
108
- background-color: #dfefff; }
109
-
110
- .diva-view-menu {
111
- display: inline-block;
112
- position: relative; }
113
-
114
- .diva-view-options {
115
- position: absolute;
116
- top: 34px;
117
- z-index: 1;
118
- display: none;
119
- box-shadow: 1px 1px 4px 0 rgba(0, 0, 0, 0.1); }
120
-
121
- .diva-view-options .diva-button {
122
- margin-top: -1px;
123
- display: block; }
124
-
125
- .diva-zoom-label, .diva-grid-label, .diva-page-label {
126
- display: inline-block; }
127
-
128
- .diva-fullscreen-tools {
129
- position: fixed;
130
- top: 15px;
131
- right: 30px;
132
- z-index: 101;
133
- padding: 15px;
134
- border: 1px solid #DDD;
135
- background: #FFF;
136
- transition: opacity 0.5s;
137
- box-shadow: 2px 2px 4px 0 rgba(0, 0, 0, 0.5);
138
- /* prevent variable number of digits in labels from resizing .diva-fullscreen-tools */ }
139
- .diva-fullscreen-tools .diva-tools-left, .diva-fullscreen-tools .diva-tools-right {
140
- margin-bottom: 0; }
141
- .diva-fullscreen-tools .diva-tools-right {
142
- margin-left: 2em; }
143
- .diva-fullscreen-tools .diva-label, .diva-fullscreen-tools .diva-page-label {
144
- margin: 0; }
145
- .diva-fullscreen-tools .diva-zoom-label, .diva-fullscreen-tools .diva-grid-label, .diva-fullscreen-tools .diva-page-label {
146
- width: 8em;
147
- display: block; }
148
- .diva-fullscreen-tools .diva-page-nav {
149
- margin-right: 0; }
150
-
151
- .diva-outer {
152
- display: flex;
153
- clear: both;
154
- background: #F1F1F1;
155
- border: 1px solid #AAA;
156
- position: relative;
157
- overflow: hidden;
158
- min-height: 100px;
159
- min-width: 200px;
160
- flex-grow: 1; }
161
-
162
- .diva-viewer-canvas {
163
- position: absolute;
164
- top: 0;
165
- left: 0; }
166
-
167
- .diva-viewport {
168
- position: absolute;
169
- top: 0;
170
- bottom: 0;
171
- left: 0;
172
- right: 0;
173
- overflow: auto; }
174
-
175
- .diva-inner {
176
- cursor: move;
177
- /* fallback if grab cursor is unsupported */
178
- cursor: grab;
179
- cursor: -moz-grab;
180
- cursor: -webkit-grab;
181
- position: relative;
182
- overflow: hidden;
183
- margin: 0 auto; }
184
- .diva-inner.diva-grabbing {
185
- cursor: grabbing;
186
- cursor: -moz-grabbing;
187
- cursor: -webkit-grabbing; }
188
-
189
- .diva-page {
190
- box-shadow: 7px 7px 6px -6px rgba(0, 0, 0, 0.3);
191
- position: absolute;
192
- background-color: #FDFDFD; }
193
-
194
- .diva-page-tools-wrapper {
195
- position: absolute;
196
- z-index: 3; }
197
-
198
- .diva-page-tools {
199
- position: relative;
200
- top: -27px;
201
- height: 20px; }
202
- .diva-page-tools div {
203
- display: inline-block;
204
- height: 20px;
205
- width: 20px;
206
- cursor: pointer;
207
- padding: 3px; }
208
- .diva-page-tools div svg:hover .diva-pagetool-icon {
209
- fill: #006ebc; }
210
-
211
- .diva-page-labels-wrapper {
212
- position: absolute;
213
- z-index: 3; }
214
-
215
- .diva-page-labels {
216
- position: relative;
217
- top: -20px;
218
- height: 20px;
219
- font-size: 0.8em; }
220
-
221
- .diva-fullscreen {
222
- width: 100% !important;
223
- max-width: 100% !important;
224
- height: 100% !important;
225
- max-height: 100% !important;
226
- z-index: 100;
227
- position: fixed !important;
228
- top: 0;
229
- left: 0;
230
- margin: 0;
231
- border: 0; }
232
-
233
- .diva-popup {
234
- background: #FFF;
235
- border: 1px solid #AAA;
236
- padding: .6em;
237
- z-index: 101;
238
- position: absolute;
239
- box-shadow: 2px 2px 4px 0 rgba(0, 0, 0, 0.5); }
240
-
241
- .diva-link-popup {
242
- font-size: 10pt; }
243
- .diva-link-popup input {
244
- width: 18em; }
245
- .diva-link-popup input:focus {
246
- outline: none; }
247
- .diva-link-popup.in-fullscreen {
248
- top: 150px;
249
- right: 30px; }
250
-
251
- .diva-hide-scrollbar {
252
- overflow: hidden !important; }
253
-
254
- .diva-slider {
255
- position: relative;
256
- top: 0.6em;
257
- float: left; }
258
- @media (max-width: 480px) {
259
- .diva-slider {
260
- width: 100px; } }
261
-
262
- .diva-throbber {
263
- box-shadow: 2px 2px 4px 0 rgba(0, 0, 0, 0.5);
264
- width: 40px;
265
- height: 40px;
266
- margin: auto auto;
267
- padding: 20px;
268
- background-color: #fff;
269
- /*
270
- * Spinner positions
271
- * 1 2 3
272
- * 4 5 6
273
- * 7 8 9
274
- */ }
275
- .diva-throbber .cube {
276
- width: 33.33%;
277
- height: 33.33%;
278
- background-color: #333;
279
- float: left;
280
- animation: sk-cubeGridScaleDelay 1.3s infinite ease-in-out; }
281
- .diva-throbber .cube1 {
282
- animation-delay: 0.2s; }
283
- .diva-throbber .cube2 {
284
- animation-delay: 0.3s; }
285
- .diva-throbber .cube3 {
286
- animation-delay: 0.4s; }
287
- .diva-throbber .cube4 {
288
- animation-delay: 0.1s; }
289
- .diva-throbber .cube5 {
290
- animation-delay: 0.2s; }
291
- .diva-throbber .cube6 {
292
- animation-delay: 0.3s; }
293
- .diva-throbber .cube7 {
294
- animation-delay: 0.0s; }
295
- .diva-throbber .cube8 {
296
- animation-delay: 0.1s; }
297
- .diva-throbber .cube9 {
298
- animation-delay: 0.2s; }
299
-
300
- @keyframes sk-cubeGridScaleDelay {
301
- 0%, 70%, 100% {
302
- transform: scale3D(1, 1, 1); }
303
- 35% {
304
- transform: scale3D(0, 0, 1); } }
305
-
306
- .diva-error {
307
- position: absolute;
308
- width: 400px;
309
- height: 200px;
310
- background-color: #fff;
311
- border: 1px solid #ddd;
312
- box-shadow: 2px 2px 4px 0 rgba(0, 0, 0, 0.5);
313
- top: 50%;
314
- left: 50%;
315
- margin-left: -220px;
316
- margin-top: -120px;
317
- z-index: 120;
318
- padding: 0 1em; }
319
-
320
- .diva-error-close {
321
- width: 18px;
322
- height: 18px;
323
- border: none;
324
- position: absolute;
325
- top: 1em;
326
- right: 1em; }
327
- .diva-error-close:hover {
328
- cursor: hand; }
329
-
330
- .diva-modal {
331
- position: absolute;
332
- width: 32em;
333
- max-height: 26em;
334
- background-color: #fff;
335
- border: 1px solid #ddd;
336
- box-shadow: 2px 2px 4px 0 rgba(0, 0, 0, 0.5);
337
- top: 50%;
338
- left: 50%;
339
- transform: translate(-50%, -50%);
340
- z-index: 120;
341
- word-wrap: break-word; }
342
-
343
- .manipulation-fullscreen {
344
- width: 100% !important;
345
- max-width: 100% !important;
346
- height: 100% !important;
347
- max-height: 100% !important;
348
- z-index: 100;
349
- position: fixed !important;
350
- top: 0;
351
- left: 0;
352
- margin: 0;
353
- border: 0;
354
- background-color: rgba(0, 0, 0, 0.9);
355
- display: flex; }
356
-
357
- .manipulation-sidebar {
358
- width: 15%;
359
- overflow: scroll;
360
- text-align: center;
361
- padding: 10px; }
362
- .manipulation-sidebar .manipulation-sidebar-primary-image,
363
- .manipulation-sidebar .manipulation-sidebar-secondary-image {
364
- margin: 10px 0;
365
- padding-bottom: 10px;
366
- border-bottom: 1px solid #fff;
367
- color: #fff; }
368
-
369
- .manipulation-sidebar-mobile {
370
- width: 50%;
371
- text-align: center;
372
- padding: 10px;
373
- display: none; }
374
- .manipulation-sidebar-mobile .manipulation-sidebar-primary-image,
375
- .manipulation-sidebar-mobile .manipulation-sidebar-secondary-image {
376
- margin: 10px 0;
377
- padding-bottom: 10px;
378
- border-bottom: 1px solid #fff;
379
- color: #fff; }
380
-
381
- .manipulation-main-area {
382
- width: 70%;
383
- flex: 1 1 auto;
384
- background-color: rgba(255, 255, 255, 0.5);
385
- overflow: scroll;
386
- text-align: center;
387
- cursor: move;
388
- /* fallback if grab cursor is unsupported */
389
- cursor: grab;
390
- cursor: -moz-grab;
391
- cursor: -webkit-grab; }
392
- .manipulation-main-area.grabbing {
393
- cursor: grabbing;
394
- cursor: -moz-grabbing;
395
- cursor: -webkit-grabbing; }
396
- .manipulation-main-area canvas {
397
- margin: 0 auto; }
398
-
399
- .manipulation-main-area-mobile {
400
- width: 100%;
401
- background-color: rgba(255, 255, 255, 0.5);
402
- overflow: scroll;
403
- text-align: center;
404
- cursor: move;
405
- /* fallback if grab cursor is unsupported */
406
- cursor: grab;
407
- cursor: -moz-grab;
408
- cursor: -webkit-grab; }
409
- .manipulation-main-area-mobile.grabbing {
410
- cursor: grabbing;
411
- cursor: -moz-grabbing;
412
- cursor: -webkit-grabbing; }
413
- .manipulation-main-area-mobile canvas {
414
- margin: 0 auto; }
415
-
416
- .manipulation-tools {
417
- width: 15%;
418
- flex: 1 1 auto;
419
- overflow: auto; }
420
- .manipulation-tools .manipulation-tools-text {
421
- color: #FBF7F6;
422
- margin-bottom: 0.7em; }
423
-
424
- .manipulation-tools-mobile {
425
- width: 50%;
426
- flex: 1 1 auto;
427
- overflow: auto;
428
- display: none; }
429
- .manipulation-tools-mobile .manipulation-tools-text {
430
- color: #FBF7F6;
431
- margin-bottom: 0.7em; }
432
-
433
- .burger-menu {
434
- position: fixed;
435
- top: 0.5em;
436
- left: 0.5em;
437
- cursor: pointer; }
438
- .burger-menu .stripe {
439
- width: 2em;
440
- height: 0.3em;
441
- background-color: #fff5ef;
442
- margin: 0.2em 0; }
443
-
444
- input[type=range] {
445
- -webkit-appearance: none;
446
- width: 100%;
447
- margin: 4.5px 0; }
448
-
449
- input[type=range]:focus {
450
- outline: none; }
451
-
452
- input[type=range]::-webkit-slider-runnable-track {
453
- width: 100%;
454
- height: 5px;
455
- cursor: pointer;
456
- box-shadow: 0.4px 0.4px 2.4px rgba(0, 0, 0, 0.32), 0px 0px 0.4px rgba(13, 13, 13, 0.32);
457
- background: rgba(255, 255, 255, 0.66);
458
- border-radius: 25px;
459
- border: 0px solid rgba(1, 1, 1, 0); }
460
-
461
- input[type=range]::-webkit-slider-thumb {
462
- box-shadow: 1px 1px 6.2px rgba(0, 0, 49, 0.66), 0px 0px 1px rgba(0, 0, 75, 0.66);
463
- border: 0.9px solid rgba(0, 0, 30, 0.42);
464
- height: 13px;
465
- width: 13px;
466
- border-radius: 10px;
467
- background: #ffffff;
468
- cursor: pointer;
469
- -webkit-appearance: none;
470
- margin-top: -4.5px; }
471
-
472
- input[type=range]:focus::-webkit-slider-runnable-track {
473
- background: rgba(253, 133, 243, 0.66); }
474
-
475
- input[type=range]::-moz-range-track {
476
- width: 100%;
477
- height: 5px;
478
- cursor: pointer;
479
- box-shadow: 0.4px 0.4px 2.4px rgba(0, 0, 0, 0.32), 0px 0px 0.4px rgba(13, 13, 13, 0.32);
480
- background: rgba(255, 255, 255, 0.66);
481
- border-radius: 25px;
482
- border: 0px solid rgba(1, 1, 1, 0); }
483
-
484
- input[type=range]::-moz-range-thumb {
485
- box-shadow: 1px 1px 6.2px rgba(0, 0, 49, 0.66), 0px 0px 1px rgba(0, 0, 75, 0.66);
486
- border: 0.9px solid rgba(0, 0, 30, 0.42);
487
- height: 13px;
488
- width: 13px;
489
- border-radius: 10px;
490
- background: #ffffff;
491
- cursor: pointer; }
492
-
493
- input[type=range]::-ms-track {
494
- width: 100%;
495
- height: 4px;
496
- cursor: pointer;
497
- background: transparent;
498
- border-color: transparent;
499
- color: transparent; }
500
-
501
- input[type=range]::-ms-fill-lower {
502
- background: rgba(251, 83, 239, 0.66);
503
- border: 0px solid rgba(1, 1, 1, 0);
504
- border-radius: 50px;
505
- box-shadow: 0.4px 0.4px 2.4px rgba(0, 0, 0, 0.32), 0px 0px 0.4px rgba(13, 13, 13, 0.32); }
506
-
507
- input[type=range]::-ms-fill-upper {
508
- background: rgba(252, 108, 241, 0.66);
509
- border: 0px solid rgba(1, 1, 1, 0);
510
- border-radius: 50px;
511
- box-shadow: 0.4px 0.4px 2.4px rgba(0, 0, 0, 0.32), 0px 0px 0.4px rgba(13, 13, 13, 0.32); }
512
-
513
- input[type=range]::-ms-thumb {
514
- box-shadow: 1px 1px 6.2px rgba(0, 0, 49, 0.66), 0px 0px 1px rgba(0, 0, 75, 0.66);
515
- border: 0.9px solid rgba(0, 0, 30, 0.42);
516
- height: 13px;
517
- width: 13px;
518
- border-radius: 10px;
519
- background: #ffffff;
520
- cursor: pointer;
521
- height: 4px; }
522
-
523
- input[type=range]:focus::-ms-fill-lower {
524
- background: rgba(252, 108, 241, 0.66); }
525
-
526
- input[type=range]:focus::-ms-fill-upper {
527
- background: rgba(253, 133, 243, 0.66); }
528
-
529
- #metadata-content {
530
- overflow-y: auto;
531
- max-height: 20em;
532
- padding: 2em; }
533
-
534
- #metadata-content dl dt {
535
- font-weight: bold; }
536
-
537
- #metadata-content dl dd {
538
- margin-left: 0;
539
- margin-bottom: 1em; }
540
-
541
- #metadata-title {
542
- margin: 0;
543
- text-align: center; }
544
-
545
- .close-button {
546
- position: absolute;
547
- right: 1em;
548
- top: 1em; }
549
-
550
- .close-button:hover {
551
- color: tomato; }
552
-
553
-
554
- /*# sourceMappingURL=diva.css.map*/
@@ -1 +0,0 @@
1
- {"version":3,"file":"diva.css","sources":["webpack:///./source/css/diva.scss"],"sourcesContent":[".diva-wrapper {\n min-height: 95vh;\n width: 100%;\n flex-grow: 1; }\n .diva-wrapper.diva-wrapper-flexbox {\n display: flex;\n flex-direction: column; }\n .diva-wrapper > *:not(.diva-outer) {\n flex-shrink: 0; }\n\n.diva-title {\n text-align: center;\n font-weight: bold;\n font-size: 1.3em;\n max-width: 50em;\n margin: 0 auto; }\n\n.diva-button, .diva-input {\n box-sizing: border-box;\n outline: none;\n border-radius: 0;\n font: inherit;\n vertical-align: middle; }\n .diva-button::-moz-focus-inner, .diva-input::-moz-focus-inner {\n padding: 0; }\n\n.diva-button {\n display: inline-block;\n cursor: pointer;\n height: 34px;\n width: 34px;\n line-height: 34px;\n -webkit-appearance: none;\n padding: 3px;\n background-color: #F1F1F1;\n background-repeat: no-repeat;\n background-position: center;\n border: 1px solid #AAA; }\n .diva-button:hover, .diva-button:focus {\n background-color: #FDFDFD; }\n .diva-button.diva-button-text {\n width: auto;\n padding: 0 0.5em; }\n\n.diva-input {\n height: 34px;\n border: 1px solid #AAA;\n padding: 0 0.5em; }\n .diva-input:focus {\n border-color: #919191; }\n\n.diva-label {\n margin: 0 1em;\n line-height: 34px;\n vertical-align: top;\n white-space: nowrap;\n text-overflow: ellipsis; }\n\n.diva-tools-left, .diva-tools-right {\n margin-bottom: 1em; }\n\n.diva-tools-left {\n float: left;\n user-select: none; }\n\n.diva-zoom-in-button, .diva-grid-in-button {\n margin-left: -1px; }\n\n.diva-tools-right {\n float: right; }\n .diva-tools-right .diva-button {\n margin-left: -1px;\n user-select: none; }\n\n.diva-page-nav {\n white-space: nowrap;\n margin-right: 1em; }\n\n.diva-goto-form {\n display: inline-block;\n position: relative; }\n\n.diva-goto-page-input {\n width: 5em; }\n\n.diva-input-suggestions {\n display: none;\n box-sizing: border-box;\n position: absolute;\n width: 100%;\n background-color: white;\n border: solid 1px #aaa;\n border-top: none;\n z-index: 1; }\n\n.diva-input-suggestion {\n box-sizing: border-box;\n width: 100%;\n margin-top: 3px;\n padding: 2px;\n padding-left: 5px;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n cursor: pointer; }\n\n.diva-input-suggestion.active, .diva-input-suggestion:hover {\n background-color: #dfefff; }\n\n.diva-view-menu {\n display: inline-block;\n position: relative; }\n\n.diva-view-options {\n position: absolute;\n top: 34px;\n z-index: 1;\n display: none;\n box-shadow: 1px 1px 4px 0 rgba(0, 0, 0, 0.1); }\n\n.diva-view-options .diva-button {\n margin-top: -1px;\n display: block; }\n\n.diva-zoom-label, .diva-grid-label, .diva-page-label {\n display: inline-block; }\n\n.diva-fullscreen-tools {\n position: fixed;\n top: 15px;\n right: 30px;\n z-index: 101;\n padding: 15px;\n border: 1px solid #DDD;\n background: #FFF;\n transition: opacity 0.5s;\n box-shadow: 2px 2px 4px 0 rgba(0, 0, 0, 0.5);\n /* prevent variable number of digits in labels from resizing .diva-fullscreen-tools */ }\n .diva-fullscreen-tools .diva-tools-left, .diva-fullscreen-tools .diva-tools-right {\n margin-bottom: 0; }\n .diva-fullscreen-tools .diva-tools-right {\n margin-left: 2em; }\n .diva-fullscreen-tools .diva-label, .diva-fullscreen-tools .diva-page-label {\n margin: 0; }\n .diva-fullscreen-tools .diva-zoom-label, .diva-fullscreen-tools .diva-grid-label, .diva-fullscreen-tools .diva-page-label {\n width: 8em;\n display: block; }\n .diva-fullscreen-tools .diva-page-nav {\n margin-right: 0; }\n\n.diva-outer {\n display: flex;\n clear: both;\n background: #F1F1F1;\n border: 1px solid #AAA;\n position: relative;\n overflow: hidden;\n min-height: 100px;\n min-width: 200px;\n flex-grow: 1; }\n\n.diva-viewer-canvas {\n position: absolute;\n top: 0;\n left: 0; }\n\n.diva-viewport {\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n overflow: auto; }\n\n.diva-inner {\n cursor: move;\n /* fallback if grab cursor is unsupported */\n cursor: grab;\n cursor: -moz-grab;\n cursor: -webkit-grab;\n position: relative;\n overflow: hidden;\n margin: 0 auto; }\n .diva-inner.diva-grabbing {\n cursor: grabbing;\n cursor: -moz-grabbing;\n cursor: -webkit-grabbing; }\n\n.diva-page {\n box-shadow: 7px 7px 6px -6px rgba(0, 0, 0, 0.3);\n position: absolute;\n background-color: #FDFDFD; }\n\n.diva-page-tools-wrapper {\n position: absolute;\n z-index: 3; }\n\n.diva-page-tools {\n position: relative;\n top: -27px;\n height: 20px; }\n .diva-page-tools div {\n display: inline-block;\n height: 20px;\n width: 20px;\n cursor: pointer;\n padding: 3px; }\n .diva-page-tools div svg:hover .diva-pagetool-icon {\n fill: #006ebc; }\n\n.diva-page-labels-wrapper {\n position: absolute;\n z-index: 3; }\n\n.diva-page-labels {\n position: relative;\n top: -20px;\n height: 20px;\n font-size: 0.8em; }\n\n.diva-fullscreen {\n width: 100% !important;\n max-width: 100% !important;\n height: 100% !important;\n max-height: 100% !important;\n z-index: 100;\n position: fixed !important;\n top: 0;\n left: 0;\n margin: 0;\n border: 0; }\n\n.diva-popup {\n background: #FFF;\n border: 1px solid #AAA;\n padding: .6em;\n z-index: 101;\n position: absolute;\n box-shadow: 2px 2px 4px 0 rgba(0, 0, 0, 0.5); }\n\n.diva-link-popup {\n font-size: 10pt; }\n .diva-link-popup input {\n width: 18em; }\n .diva-link-popup input:focus {\n outline: none; }\n .diva-link-popup.in-fullscreen {\n top: 150px;\n right: 30px; }\n\n.diva-hide-scrollbar {\n overflow: hidden !important; }\n\n.diva-slider {\n position: relative;\n top: 0.6em;\n float: left; }\n @media (max-width: 480px) {\n .diva-slider {\n width: 100px; } }\n\n.diva-throbber {\n box-shadow: 2px 2px 4px 0 rgba(0, 0, 0, 0.5);\n width: 40px;\n height: 40px;\n margin: auto auto;\n padding: 20px;\n background-color: #fff;\n /*\n * Spinner positions\n * 1 2 3\n * 4 5 6\n * 7 8 9\n */ }\n .diva-throbber .cube {\n width: 33.33%;\n height: 33.33%;\n background-color: #333;\n float: left;\n animation: sk-cubeGridScaleDelay 1.3s infinite ease-in-out; }\n .diva-throbber .cube1 {\n animation-delay: 0.2s; }\n .diva-throbber .cube2 {\n animation-delay: 0.3s; }\n .diva-throbber .cube3 {\n animation-delay: 0.4s; }\n .diva-throbber .cube4 {\n animation-delay: 0.1s; }\n .diva-throbber .cube5 {\n animation-delay: 0.2s; }\n .diva-throbber .cube6 {\n animation-delay: 0.3s; }\n .diva-throbber .cube7 {\n animation-delay: 0.0s; }\n .diva-throbber .cube8 {\n animation-delay: 0.1s; }\n .diva-throbber .cube9 {\n animation-delay: 0.2s; }\n\n@keyframes sk-cubeGridScaleDelay {\n 0%, 70%, 100% {\n transform: scale3D(1, 1, 1); }\n 35% {\n transform: scale3D(0, 0, 1); } }\n\n.diva-error {\n position: absolute;\n width: 400px;\n height: 200px;\n background-color: #fff;\n border: 1px solid #ddd;\n box-shadow: 2px 2px 4px 0 rgba(0, 0, 0, 0.5);\n top: 50%;\n left: 50%;\n margin-left: -220px;\n margin-top: -120px;\n z-index: 120;\n padding: 0 1em; }\n\n.diva-error-close {\n width: 18px;\n height: 18px;\n border: none;\n position: absolute;\n top: 1em;\n right: 1em; }\n .diva-error-close:hover {\n cursor: hand; }\n\n.diva-modal {\n position: absolute;\n width: 32em;\n max-height: 26em;\n background-color: #fff;\n border: 1px solid #ddd;\n box-shadow: 2px 2px 4px 0 rgba(0, 0, 0, 0.5);\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n z-index: 120;\n word-wrap: break-word; }\n\n.manipulation-fullscreen {\n width: 100% !important;\n max-width: 100% !important;\n height: 100% !important;\n max-height: 100% !important;\n z-index: 100;\n position: fixed !important;\n top: 0;\n left: 0;\n margin: 0;\n border: 0;\n background-color: rgba(0, 0, 0, 0.9);\n display: flex; }\n\n.manipulation-sidebar {\n width: 15%;\n overflow: scroll;\n text-align: center;\n padding: 10px; }\n .manipulation-sidebar .manipulation-sidebar-primary-image,\n .manipulation-sidebar .manipulation-sidebar-secondary-image {\n margin: 10px 0;\n padding-bottom: 10px;\n border-bottom: 1px solid #fff;\n color: #fff; }\n\n.manipulation-sidebar-mobile {\n width: 50%;\n text-align: center;\n padding: 10px;\n display: none; }\n .manipulation-sidebar-mobile .manipulation-sidebar-primary-image,\n .manipulation-sidebar-mobile .manipulation-sidebar-secondary-image {\n margin: 10px 0;\n padding-bottom: 10px;\n border-bottom: 1px solid #fff;\n color: #fff; }\n\n.manipulation-main-area {\n width: 70%;\n flex: 1 1 auto;\n background-color: rgba(255, 255, 255, 0.5);\n overflow: scroll;\n text-align: center;\n cursor: move;\n /* fallback if grab cursor is unsupported */\n cursor: grab;\n cursor: -moz-grab;\n cursor: -webkit-grab; }\n .manipulation-main-area.grabbing {\n cursor: grabbing;\n cursor: -moz-grabbing;\n cursor: -webkit-grabbing; }\n .manipulation-main-area canvas {\n margin: 0 auto; }\n\n.manipulation-main-area-mobile {\n width: 100%;\n background-color: rgba(255, 255, 255, 0.5);\n overflow: scroll;\n text-align: center;\n cursor: move;\n /* fallback if grab cursor is unsupported */\n cursor: grab;\n cursor: -moz-grab;\n cursor: -webkit-grab; }\n .manipulation-main-area-mobile.grabbing {\n cursor: grabbing;\n cursor: -moz-grabbing;\n cursor: -webkit-grabbing; }\n .manipulation-main-area-mobile canvas {\n margin: 0 auto; }\n\n.manipulation-tools {\n width: 15%;\n flex: 1 1 auto;\n overflow: auto; }\n .manipulation-tools .manipulation-tools-text {\n color: #FBF7F6;\n margin-bottom: 0.7em; }\n\n.manipulation-tools-mobile {\n width: 50%;\n flex: 1 1 auto;\n overflow: auto;\n display: none; }\n .manipulation-tools-mobile .manipulation-tools-text {\n color: #FBF7F6;\n margin-bottom: 0.7em; }\n\n.burger-menu {\n position: fixed;\n top: 0.5em;\n left: 0.5em;\n cursor: pointer; }\n .burger-menu .stripe {\n width: 2em;\n height: 0.3em;\n background-color: #fff5ef;\n margin: 0.2em 0; }\n\ninput[type=range] {\n -webkit-appearance: none;\n width: 100%;\n margin: 4.5px 0; }\n\ninput[type=range]:focus {\n outline: none; }\n\ninput[type=range]::-webkit-slider-runnable-track {\n width: 100%;\n height: 5px;\n cursor: pointer;\n box-shadow: 0.4px 0.4px 2.4px rgba(0, 0, 0, 0.32), 0px 0px 0.4px rgba(13, 13, 13, 0.32);\n background: rgba(255, 255, 255, 0.66);\n border-radius: 25px;\n border: 0px solid rgba(1, 1, 1, 0); }\n\ninput[type=range]::-webkit-slider-thumb {\n box-shadow: 1px 1px 6.2px rgba(0, 0, 49, 0.66), 0px 0px 1px rgba(0, 0, 75, 0.66);\n border: 0.9px solid rgba(0, 0, 30, 0.42);\n height: 13px;\n width: 13px;\n border-radius: 10px;\n background: #ffffff;\n cursor: pointer;\n -webkit-appearance: none;\n margin-top: -4.5px; }\n\ninput[type=range]:focus::-webkit-slider-runnable-track {\n background: rgba(253, 133, 243, 0.66); }\n\ninput[type=range]::-moz-range-track {\n width: 100%;\n height: 5px;\n cursor: pointer;\n box-shadow: 0.4px 0.4px 2.4px rgba(0, 0, 0, 0.32), 0px 0px 0.4px rgba(13, 13, 13, 0.32);\n background: rgba(255, 255, 255, 0.66);\n border-radius: 25px;\n border: 0px solid rgba(1, 1, 1, 0); }\n\ninput[type=range]::-moz-range-thumb {\n box-shadow: 1px 1px 6.2px rgba(0, 0, 49, 0.66), 0px 0px 1px rgba(0, 0, 75, 0.66);\n border: 0.9px solid rgba(0, 0, 30, 0.42);\n height: 13px;\n width: 13px;\n border-radius: 10px;\n background: #ffffff;\n cursor: pointer; }\n\ninput[type=range]::-ms-track {\n width: 100%;\n height: 4px;\n cursor: pointer;\n background: transparent;\n border-color: transparent;\n color: transparent; }\n\ninput[type=range]::-ms-fill-lower {\n background: rgba(251, 83, 239, 0.66);\n border: 0px solid rgba(1, 1, 1, 0);\n border-radius: 50px;\n box-shadow: 0.4px 0.4px 2.4px rgba(0, 0, 0, 0.32), 0px 0px 0.4px rgba(13, 13, 13, 0.32); }\n\ninput[type=range]::-ms-fill-upper {\n background: rgba(252, 108, 241, 0.66);\n border: 0px solid rgba(1, 1, 1, 0);\n border-radius: 50px;\n box-shadow: 0.4px 0.4px 2.4px rgba(0, 0, 0, 0.32), 0px 0px 0.4px rgba(13, 13, 13, 0.32); }\n\ninput[type=range]::-ms-thumb {\n box-shadow: 1px 1px 6.2px rgba(0, 0, 49, 0.66), 0px 0px 1px rgba(0, 0, 75, 0.66);\n border: 0.9px solid rgba(0, 0, 30, 0.42);\n height: 13px;\n width: 13px;\n border-radius: 10px;\n background: #ffffff;\n cursor: pointer;\n height: 4px; }\n\ninput[type=range]:focus::-ms-fill-lower {\n background: rgba(252, 108, 241, 0.66); }\n\ninput[type=range]:focus::-ms-fill-upper {\n background: rgba(253, 133, 243, 0.66); }\n\n#metadata-content {\n overflow-y: auto;\n max-height: 20em;\n padding: 2em; }\n\n#metadata-content dl dt {\n font-weight: bold; }\n\n#metadata-content dl dd {\n margin-left: 0;\n margin-bottom: 1em; }\n\n#metadata-title {\n margin: 0;\n text-align: center; }\n\n.close-button {\n position: absolute;\n right: 1em;\n top: 1em; }\n\n.close-button:hover {\n color: tomato; }\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;","sourceRoot":""}