viewerjs 1.10.4 → 1.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/viewer.css CHANGED
@@ -1,11 +1,11 @@
1
1
  /*!
2
- * Viewer.js v1.10.4
2
+ * Viewer.js v1.11.0
3
3
  * https://fengyuanchen.github.io/viewerjs
4
4
  *
5
5
  * Copyright 2015-present Chen Fengyuan
6
6
  * Released under the MIT license
7
7
  *
8
- * Date: 2022-02-13T08:39:57.620Z
8
+ * Date: 2022-10-16T06:41:23.145Z
9
9
  */
10
10
 
11
11
  .viewer-zoom-in::before, .viewer-zoom-out::before, .viewer-one-to-one::before, .viewer-reset::before, .viewer-prev::before, .viewer-play::before, .viewer-next::before, .viewer-rotate-left::before, .viewer-rotate-right::before, .viewer-flip-horizontal::before, .viewer-flip-vertical::before, .viewer-fullscreen::before, .viewer-fullscreen-exit::before, .viewer-close::before {
@@ -107,7 +107,7 @@
107
107
  -webkit-user-select: none;
108
108
  -moz-user-select: none;
109
109
  -ms-user-select: none;
110
- user-select: none
110
+ user-select: none;
111
111
  }
112
112
 
113
113
  .viewer-container::-moz-selection, .viewer-container *::-moz-selection {
@@ -139,7 +139,7 @@
139
139
  overflow: hidden;
140
140
  position: absolute;
141
141
  right: 0;
142
- top: 0
142
+ top: 0;
143
143
  }
144
144
 
145
145
  .viewer-canvas > img {
@@ -168,7 +168,7 @@
168
168
  height: 50px;
169
169
  margin: 0;
170
170
  overflow: hidden;
171
- padding: 1px 0
171
+ padding: 1px 0;
172
172
  }
173
173
 
174
174
  .viewer-list > li {
@@ -181,7 +181,7 @@
181
181
  opacity: 0.5;
182
182
  overflow: hidden;
183
183
  transition: opacity 0.15s;
184
- width: 30px
184
+ width: 30px;
185
185
  }
186
186
 
187
187
  .viewer-list > li:focus,
@@ -198,7 +198,7 @@
198
198
  }
199
199
 
200
200
  .viewer-list > .viewer-loading {
201
- position: relative
201
+ position: relative;
202
202
  }
203
203
 
204
204
  .viewer-list > .viewer-loading::after {
@@ -224,7 +224,7 @@
224
224
  position: absolute;
225
225
  right: 0;
226
226
  top: 0;
227
- z-index: 1
227
+ z-index: 1;
228
228
  }
229
229
 
230
230
  .viewer-player > img {
@@ -237,7 +237,7 @@
237
237
  display: inline-block;
238
238
  margin: 0 auto 5px;
239
239
  overflow: hidden;
240
- padding: 6px 3px
240
+ padding: 6px 3px;
241
241
  }
242
242
 
243
243
  .viewer-toolbar > ul > li {
@@ -248,7 +248,7 @@
248
248
  height: 24px;
249
249
  overflow: hidden;
250
250
  transition: background-color 0.15s;
251
- width: 24px
251
+ width: 24px;
252
252
  }
253
253
 
254
254
  .viewer-toolbar > ul > li:focus,
@@ -275,7 +275,7 @@
275
275
  height: 18px;
276
276
  margin-bottom: 3px;
277
277
  margin-top: 3px;
278
- width: 18px
278
+ width: 18px;
279
279
  }
280
280
 
281
281
  .viewer-toolbar > ul > .viewer-small::before {
@@ -286,7 +286,7 @@
286
286
  height: 30px;
287
287
  margin-bottom: -3px;
288
288
  margin-top: -3px;
289
- width: 30px
289
+ width: 30px;
290
290
  }
291
291
 
292
292
  .viewer-toolbar > ul > .viewer-large::before {
@@ -315,13 +315,14 @@
315
315
  display: inline-block;
316
316
  font-size: 12px;
317
317
  line-height: 1.2;
318
- margin: 0 5% 5px;
318
+ margin: 5px 5%;
319
319
  max-width: 90%;
320
+ min-height: 14px;
320
321
  opacity: 0.8;
321
322
  overflow: hidden;
322
323
  text-overflow: ellipsis;
323
324
  transition: opacity 0.15s;
324
- white-space: nowrap
325
+ white-space: nowrap;
325
326
  }
326
327
 
327
328
  .viewer-title:hover {
@@ -329,6 +330,7 @@
329
330
  }
330
331
 
331
332
  .viewer-button {
333
+ -webkit-app-region: no-drag;
332
334
  background-color: rgba(0, 0, 0, 50%);
333
335
  border-radius: 50%;
334
336
  cursor: pointer;
@@ -338,7 +340,7 @@
338
340
  right: -40px;
339
341
  top: -40px;
340
342
  transition: background-color 0.15s;
341
- width: 80px
343
+ width: 80px;
342
344
  }
343
345
 
344
346
  .viewer-button:focus,
@@ -383,7 +385,6 @@
383
385
 
384
386
  .viewer-move {
385
387
  cursor: move;
386
- cursor: -webkit-grab;
387
388
  cursor: grab;
388
389
  }
389
390
 
@@ -399,16 +400,6 @@
399
400
  transition: all 0.3s;
400
401
  }
401
402
 
402
- @-webkit-keyframes viewer-spinner {
403
- 0% {
404
- transform: rotate(0deg);
405
- }
406
-
407
- 100% {
408
- transform: rotate(360deg);
409
- }
410
- }
411
-
412
403
  @keyframes viewer-spinner {
413
404
  0% {
414
405
  transform: rotate(0deg);
@@ -420,8 +411,7 @@
420
411
  }
421
412
 
422
413
  .viewer-loading::after {
423
- -webkit-animation: viewer-spinner 1s linear infinite;
424
- animation: viewer-spinner 1s linear infinite;
414
+ animation: viewer-spinner 1s linear infinite;
425
415
  border: 4px solid rgba(255, 255, 255, 10%);
426
416
  border-left-color: rgba(255, 255, 255, 50%);
427
417
  border-radius: 50%;