viewerjs 1.10.5 → 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.5
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-04-05T08:21:00.150Z
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 {
@@ -339,7 +340,7 @@
339
340
  right: -40px;
340
341
  top: -40px;
341
342
  transition: background-color 0.15s;
342
- width: 80px
343
+ width: 80px;
343
344
  }
344
345
 
345
346
  .viewer-button:focus,
@@ -384,7 +385,6 @@
384
385
 
385
386
  .viewer-move {
386
387
  cursor: move;
387
- cursor: -webkit-grab;
388
388
  cursor: grab;
389
389
  }
390
390
 
@@ -400,16 +400,6 @@
400
400
  transition: all 0.3s;
401
401
  }
402
402
 
403
- @-webkit-keyframes viewer-spinner {
404
- 0% {
405
- transform: rotate(0deg);
406
- }
407
-
408
- 100% {
409
- transform: rotate(360deg);
410
- }
411
- }
412
-
413
403
  @keyframes viewer-spinner {
414
404
  0% {
415
405
  transform: rotate(0deg);
@@ -421,8 +411,7 @@
421
411
  }
422
412
 
423
413
  .viewer-loading::after {
424
- -webkit-animation: viewer-spinner 1s linear infinite;
425
- animation: viewer-spinner 1s linear infinite;
414
+ animation: viewer-spinner 1s linear infinite;
426
415
  border: 4px solid rgba(255, 255, 255, 10%);
427
416
  border-left-color: rgba(255, 255, 255, 50%);
428
417
  border-radius: 50%;