viewerjs 1.9.2 → 1.10.3
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/README.md +9 -7
- package/dist/viewer.common.js +137 -70
- package/dist/viewer.css +163 -190
- package/dist/viewer.esm.js +138 -71
- package/dist/viewer.js +139 -72
- package/dist/viewer.min.css +3 -3
- package/dist/viewer.min.js +3 -3
- package/package.json +29 -43
- package/src/css/viewer.css +1 -1
- package/src/css/viewer.scss +1 -1
- package/src/index.css +1 -1
- package/src/index.scss +1 -1
- package/src/js/constants.js +1 -0
- package/src/js/defaults.js +2 -1
- package/src/js/handlers.js +9 -4
- package/src/js/methods.js +64 -17
- package/src/js/others.js +8 -2
- package/src/js/render.js +30 -7
- package/types/index.d.ts +2 -2
- package/CHANGELOG.md +0 -255
package/dist/viewer.css
CHANGED
|
@@ -1,106 +1,93 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Viewer.js v1.
|
|
2
|
+
* Viewer.js v1.10.3
|
|
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:
|
|
8
|
+
* Date: 2022-02-02T05:14:59.271Z
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
|
-
.viewer-zoom-in::before,
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
.viewer-fullscreen::before,
|
|
23
|
-
.viewer-fullscreen-exit::before,
|
|
24
|
-
.viewer-close::before {
|
|
25
|
-
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAARgAAAAUCAYAAABWOyJDAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABx0RVh0U29mdHdhcmUA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MXAgcs0FGXGFRcB9wCemF9PkbYqM/Bas7fxLwNeJPdTdpo4itQti8lPMqTpXuozVRVXPpbHI3KkNTB1NfkL81j2mvhDp91HgV9MKuRIqrykj3WPq4rHyL+axj8/qGPmTqi6F9YDlHOvJU6oYcTsh/TYSzWmTE6JT19CtLTJt32D6CmHe0eQn1O8z5AXgT4sx4Vcu0/EQecMydB8z0hUWkTd2t4CrwNEePqMBcAR4mrBbwyXLPWJa8zrXmmLEhNBmfpkuY2102xxrih+pb+ieAb6vGhuA97UcJ5KR8gZ77K+99xxeYBzH6Q3/Z0fHcXrDC4zjOL3hBcZxnN74F+zlvXFWXF9PAAAAAElFTkSuQmCC');
|
|
26
|
-
background-repeat: no-repeat;
|
|
27
|
-
background-size: 280px;
|
|
28
|
-
color: transparent;
|
|
29
|
-
display: block;
|
|
30
|
-
font-size: 0;
|
|
31
|
-
height: 20px;
|
|
32
|
-
line-height: 0;
|
|
33
|
-
width: 20px;
|
|
34
|
-
}
|
|
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 {
|
|
12
|
+
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAARgAAAAUCAYAAABWOyJDAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAQPSURBVHic7Zs/iFxVFMa/0U2UaJGksUgnIVhYxVhpjDbZCBmLdAYECxsRFBTUamcXUiSNncgKQbSxsxH8gzAP3FU2jY0kKKJNiiiIghFlccnP4p3nPCdv3p9778vsLOcHB2bfveeb7955c3jvvNkBIMdxnD64a94GHMfZu3iBcRynN7zAOI7TG15gHCeeN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4CrwNEePqMBcAR4mrBbwyXLPWJa8zrXmmLEhNBmfpkuY2102xxrih+pb+ieAb6vGhuA97UcJ5KR8gZ77K+99xxeYBzH6Q3/Z0fHcXrDC4zjOL3hBcZxnN74F+zlvXFWXF9PAAAAAElFTkSuQmCC");
|
|
13
|
+
background-repeat: no-repeat;
|
|
14
|
+
background-size: 280px;
|
|
15
|
+
color: transparent;
|
|
16
|
+
display: block;
|
|
17
|
+
font-size: 0;
|
|
18
|
+
height: 20px;
|
|
19
|
+
line-height: 0;
|
|
20
|
+
width: 20px;
|
|
21
|
+
}
|
|
35
22
|
|
|
36
23
|
.viewer-zoom-in::before {
|
|
37
24
|
background-position: 0 0;
|
|
38
|
-
content:
|
|
25
|
+
content: "Zoom In";
|
|
39
26
|
}
|
|
40
27
|
|
|
41
28
|
.viewer-zoom-out::before {
|
|
42
29
|
background-position: -20px 0;
|
|
43
|
-
content:
|
|
30
|
+
content: "Zoom Out";
|
|
44
31
|
}
|
|
45
32
|
|
|
46
33
|
.viewer-one-to-one::before {
|
|
47
34
|
background-position: -40px 0;
|
|
48
|
-
content:
|
|
35
|
+
content: "One to One";
|
|
49
36
|
}
|
|
50
37
|
|
|
51
38
|
.viewer-reset::before {
|
|
52
39
|
background-position: -60px 0;
|
|
53
|
-
content:
|
|
40
|
+
content: "Reset";
|
|
54
41
|
}
|
|
55
42
|
|
|
56
43
|
.viewer-prev::before {
|
|
57
44
|
background-position: -80px 0;
|
|
58
|
-
content:
|
|
45
|
+
content: "Previous";
|
|
59
46
|
}
|
|
60
47
|
|
|
61
48
|
.viewer-play::before {
|
|
62
49
|
background-position: -100px 0;
|
|
63
|
-
content:
|
|
50
|
+
content: "Play";
|
|
64
51
|
}
|
|
65
52
|
|
|
66
53
|
.viewer-next::before {
|
|
67
54
|
background-position: -120px 0;
|
|
68
|
-
content:
|
|
55
|
+
content: "Next";
|
|
69
56
|
}
|
|
70
57
|
|
|
71
58
|
.viewer-rotate-left::before {
|
|
72
59
|
background-position: -140px 0;
|
|
73
|
-
content:
|
|
60
|
+
content: "Rotate Left";
|
|
74
61
|
}
|
|
75
62
|
|
|
76
63
|
.viewer-rotate-right::before {
|
|
77
64
|
background-position: -160px 0;
|
|
78
|
-
content:
|
|
65
|
+
content: "Rotate Right";
|
|
79
66
|
}
|
|
80
67
|
|
|
81
68
|
.viewer-flip-horizontal::before {
|
|
82
69
|
background-position: -180px 0;
|
|
83
|
-
content:
|
|
70
|
+
content: "Flip Horizontal";
|
|
84
71
|
}
|
|
85
72
|
|
|
86
73
|
.viewer-flip-vertical::before {
|
|
87
74
|
background-position: -200px 0;
|
|
88
|
-
content:
|
|
75
|
+
content: "Flip Vertical";
|
|
89
76
|
}
|
|
90
77
|
|
|
91
78
|
.viewer-fullscreen::before {
|
|
92
79
|
background-position: -220px 0;
|
|
93
|
-
content:
|
|
80
|
+
content: "Enter Full Screen";
|
|
94
81
|
}
|
|
95
82
|
|
|
96
83
|
.viewer-fullscreen-exit::before {
|
|
97
84
|
background-position: -240px 0;
|
|
98
|
-
content:
|
|
85
|
+
content: "Exit Full Screen";
|
|
99
86
|
}
|
|
100
87
|
|
|
101
88
|
.viewer-close::before {
|
|
102
89
|
background-position: -260px 0;
|
|
103
|
-
content:
|
|
90
|
+
content: "Close";
|
|
104
91
|
}
|
|
105
92
|
|
|
106
93
|
.viewer-container {
|
|
@@ -114,38 +101,36 @@
|
|
|
114
101
|
right: 0;
|
|
115
102
|
-webkit-tap-highlight-color: transparent;
|
|
116
103
|
top: 0;
|
|
117
|
-
-ms-touch-action: none;
|
|
118
104
|
touch-action: none;
|
|
119
105
|
-webkit-touch-callout: none;
|
|
120
106
|
-webkit-user-select: none;
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
107
|
+
-moz-user-select: none;
|
|
108
|
+
-ms-user-select: none;
|
|
109
|
+
user-select: none
|
|
124
110
|
}
|
|
125
111
|
|
|
126
|
-
.viewer-container::-moz-selection,
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
}
|
|
112
|
+
.viewer-container::-moz-selection, .viewer-container *::-moz-selection {
|
|
113
|
+
background-color: transparent;
|
|
114
|
+
}
|
|
130
115
|
|
|
131
116
|
.viewer-container::selection,
|
|
132
|
-
.viewer-container *::selection {
|
|
133
|
-
|
|
134
|
-
}
|
|
117
|
+
.viewer-container *::selection {
|
|
118
|
+
background-color: transparent;
|
|
119
|
+
}
|
|
135
120
|
|
|
136
121
|
.viewer-container:focus {
|
|
137
|
-
|
|
138
|
-
}
|
|
122
|
+
outline: 0;
|
|
123
|
+
}
|
|
139
124
|
|
|
140
125
|
.viewer-container img {
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
}
|
|
126
|
+
display: block;
|
|
127
|
+
height: auto;
|
|
128
|
+
max-height: none !important;
|
|
129
|
+
max-width: none !important;
|
|
130
|
+
min-height: 0 !important;
|
|
131
|
+
min-width: 0 !important;
|
|
132
|
+
width: 100%;
|
|
133
|
+
}
|
|
149
134
|
|
|
150
135
|
.viewer-canvas {
|
|
151
136
|
bottom: 0;
|
|
@@ -153,15 +138,15 @@
|
|
|
153
138
|
overflow: hidden;
|
|
154
139
|
position: absolute;
|
|
155
140
|
right: 0;
|
|
156
|
-
top: 0
|
|
141
|
+
top: 0
|
|
157
142
|
}
|
|
158
143
|
|
|
159
144
|
.viewer-canvas > img {
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
}
|
|
145
|
+
height: auto;
|
|
146
|
+
margin: 15px auto;
|
|
147
|
+
max-width: 90% !important;
|
|
148
|
+
width: auto;
|
|
149
|
+
}
|
|
165
150
|
|
|
166
151
|
.viewer-footer {
|
|
167
152
|
bottom: 0;
|
|
@@ -173,63 +158,61 @@
|
|
|
173
158
|
}
|
|
174
159
|
|
|
175
160
|
.viewer-navbar {
|
|
176
|
-
background-color:
|
|
161
|
+
background-color: rgb(0 0 0 / 50%);
|
|
177
162
|
overflow: hidden;
|
|
178
163
|
}
|
|
179
164
|
|
|
180
165
|
.viewer-list {
|
|
181
|
-
-webkit-box-sizing: content-box;
|
|
182
166
|
box-sizing: content-box;
|
|
183
167
|
height: 50px;
|
|
184
168
|
margin: 0;
|
|
185
169
|
overflow: hidden;
|
|
186
|
-
padding: 1px 0
|
|
170
|
+
padding: 1px 0
|
|
187
171
|
}
|
|
188
172
|
|
|
189
173
|
.viewer-list > li {
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
}
|
|
174
|
+
color: transparent;
|
|
175
|
+
cursor: pointer;
|
|
176
|
+
float: left;
|
|
177
|
+
font-size: 0;
|
|
178
|
+
height: 50px;
|
|
179
|
+
line-height: 0;
|
|
180
|
+
opacity: 0.5;
|
|
181
|
+
overflow: hidden;
|
|
182
|
+
transition: opacity 0.15s;
|
|
183
|
+
width: 30px
|
|
184
|
+
}
|
|
202
185
|
|
|
203
186
|
.viewer-list > li:focus,
|
|
204
|
-
.viewer-list > li:hover {
|
|
205
|
-
|
|
206
|
-
}
|
|
187
|
+
.viewer-list > li:hover {
|
|
188
|
+
opacity: 0.75;
|
|
189
|
+
}
|
|
207
190
|
|
|
208
191
|
.viewer-list > li:focus {
|
|
209
|
-
|
|
210
|
-
}
|
|
192
|
+
outline: 0;
|
|
193
|
+
}
|
|
211
194
|
|
|
212
195
|
.viewer-list > li + li {
|
|
213
|
-
|
|
214
|
-
}
|
|
196
|
+
margin-left: 1px;
|
|
197
|
+
}
|
|
215
198
|
|
|
216
199
|
.viewer-list > .viewer-loading {
|
|
217
|
-
|
|
218
|
-
}
|
|
200
|
+
position: relative
|
|
201
|
+
}
|
|
219
202
|
|
|
220
203
|
.viewer-list > .viewer-loading::after {
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
}
|
|
204
|
+
border-width: 2px;
|
|
205
|
+
height: 20px;
|
|
206
|
+
margin-left: -10px;
|
|
207
|
+
margin-top: -10px;
|
|
208
|
+
width: 20px;
|
|
209
|
+
}
|
|
227
210
|
|
|
228
211
|
.viewer-list > .viewer-active,
|
|
229
|
-
.viewer-list > .viewer-active:focus,
|
|
230
|
-
.viewer-list > .viewer-active:hover {
|
|
231
|
-
|
|
232
|
-
}
|
|
212
|
+
.viewer-list > .viewer-active:focus,
|
|
213
|
+
.viewer-list > .viewer-active:hover {
|
|
214
|
+
opacity: 1;
|
|
215
|
+
}
|
|
233
216
|
|
|
234
217
|
.viewer-player {
|
|
235
218
|
background-color: #000;
|
|
@@ -240,79 +223,77 @@
|
|
|
240
223
|
position: absolute;
|
|
241
224
|
right: 0;
|
|
242
225
|
top: 0;
|
|
243
|
-
z-index: 1
|
|
226
|
+
z-index: 1
|
|
244
227
|
}
|
|
245
228
|
|
|
246
229
|
.viewer-player > img {
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
}
|
|
230
|
+
left: 0;
|
|
231
|
+
position: absolute;
|
|
232
|
+
top: 0;
|
|
233
|
+
}
|
|
251
234
|
|
|
252
235
|
.viewer-toolbar > ul {
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
}
|
|
236
|
+
display: inline-block;
|
|
237
|
+
margin: 0 auto 5px;
|
|
238
|
+
overflow: hidden;
|
|
239
|
+
padding: 6px 3px
|
|
240
|
+
}
|
|
258
241
|
|
|
259
242
|
.viewer-toolbar > ul > li {
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
}
|
|
243
|
+
background-color: rgb(0 0 0 / 50%);
|
|
244
|
+
border-radius: 50%;
|
|
245
|
+
cursor: pointer;
|
|
246
|
+
float: left;
|
|
247
|
+
height: 24px;
|
|
248
|
+
overflow: hidden;
|
|
249
|
+
transition: background-color 0.15s;
|
|
250
|
+
width: 24px
|
|
251
|
+
}
|
|
270
252
|
|
|
271
253
|
.viewer-toolbar > ul > li:focus,
|
|
272
|
-
.viewer-toolbar > ul > li:hover {
|
|
273
|
-
|
|
274
|
-
}
|
|
254
|
+
.viewer-toolbar > ul > li:hover {
|
|
255
|
+
background-color: rgb(0 0 0 / 80%);
|
|
256
|
+
}
|
|
275
257
|
|
|
276
258
|
.viewer-toolbar > ul > li:focus {
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
}
|
|
259
|
+
box-shadow: 0 0 3px #fff;
|
|
260
|
+
outline: 0;
|
|
261
|
+
position: relative;
|
|
262
|
+
z-index: 1;
|
|
263
|
+
}
|
|
283
264
|
|
|
284
265
|
.viewer-toolbar > ul > li::before {
|
|
285
|
-
|
|
286
|
-
}
|
|
266
|
+
margin: 2px;
|
|
267
|
+
}
|
|
287
268
|
|
|
288
269
|
.viewer-toolbar > ul > li + li {
|
|
289
|
-
|
|
290
|
-
}
|
|
270
|
+
margin-left: 1px;
|
|
271
|
+
}
|
|
291
272
|
|
|
292
273
|
.viewer-toolbar > ul > .viewer-small {
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
}
|
|
274
|
+
height: 18px;
|
|
275
|
+
margin-bottom: 3px;
|
|
276
|
+
margin-top: 3px;
|
|
277
|
+
width: 18px
|
|
278
|
+
}
|
|
298
279
|
|
|
299
280
|
.viewer-toolbar > ul > .viewer-small::before {
|
|
300
|
-
|
|
301
|
-
}
|
|
281
|
+
margin: -1px;
|
|
282
|
+
}
|
|
302
283
|
|
|
303
284
|
.viewer-toolbar > ul > .viewer-large {
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
}
|
|
285
|
+
height: 30px;
|
|
286
|
+
margin-bottom: -3px;
|
|
287
|
+
margin-top: -3px;
|
|
288
|
+
width: 30px
|
|
289
|
+
}
|
|
309
290
|
|
|
310
291
|
.viewer-toolbar > ul > .viewer-large::before {
|
|
311
|
-
|
|
312
|
-
}
|
|
292
|
+
margin: 5px;
|
|
293
|
+
}
|
|
313
294
|
|
|
314
295
|
.viewer-tooltip {
|
|
315
|
-
background-color:
|
|
296
|
+
background-color: rgb(0 0 0 / 80%);
|
|
316
297
|
border-radius: 10px;
|
|
317
298
|
color: #fff;
|
|
318
299
|
display: none;
|
|
@@ -332,23 +313,22 @@
|
|
|
332
313
|
color: #ccc;
|
|
333
314
|
display: inline-block;
|
|
334
315
|
font-size: 12px;
|
|
335
|
-
line-height: 1;
|
|
316
|
+
line-height: 1.2;
|
|
336
317
|
margin: 0 5% 5px;
|
|
337
318
|
max-width: 90%;
|
|
338
319
|
opacity: 0.8;
|
|
339
320
|
overflow: hidden;
|
|
340
321
|
text-overflow: ellipsis;
|
|
341
|
-
-webkit-transition: opacity 0.15s;
|
|
342
322
|
transition: opacity 0.15s;
|
|
343
|
-
white-space: nowrap
|
|
323
|
+
white-space: nowrap
|
|
344
324
|
}
|
|
345
325
|
|
|
346
326
|
.viewer-title:hover {
|
|
347
|
-
|
|
348
|
-
}
|
|
327
|
+
opacity: 1;
|
|
328
|
+
}
|
|
349
329
|
|
|
350
330
|
.viewer-button {
|
|
351
|
-
background-color:
|
|
331
|
+
background-color: rgb(0 0 0 / 50%);
|
|
352
332
|
border-radius: 50%;
|
|
353
333
|
cursor: pointer;
|
|
354
334
|
height: 80px;
|
|
@@ -356,27 +336,25 @@
|
|
|
356
336
|
position: absolute;
|
|
357
337
|
right: -40px;
|
|
358
338
|
top: -40px;
|
|
359
|
-
-webkit-transition: background-color 0.15s;
|
|
360
339
|
transition: background-color 0.15s;
|
|
361
|
-
width: 80px
|
|
340
|
+
width: 80px
|
|
362
341
|
}
|
|
363
342
|
|
|
364
343
|
.viewer-button:focus,
|
|
365
|
-
.viewer-button:hover {
|
|
366
|
-
|
|
367
|
-
}
|
|
344
|
+
.viewer-button:hover {
|
|
345
|
+
background-color: rgb(0 0 0 / 80%);
|
|
346
|
+
}
|
|
368
347
|
|
|
369
348
|
.viewer-button:focus {
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
}
|
|
349
|
+
box-shadow: 0 0 3px #fff;
|
|
350
|
+
outline: 0;
|
|
351
|
+
}
|
|
374
352
|
|
|
375
353
|
.viewer-button::before {
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
}
|
|
354
|
+
bottom: 15px;
|
|
355
|
+
left: 15px;
|
|
356
|
+
position: absolute;
|
|
357
|
+
}
|
|
380
358
|
|
|
381
359
|
.viewer-fixed {
|
|
382
360
|
position: fixed;
|
|
@@ -395,7 +373,7 @@
|
|
|
395
373
|
}
|
|
396
374
|
|
|
397
375
|
.viewer-backdrop {
|
|
398
|
-
background-color:
|
|
376
|
+
background-color: rgb(0 0 0 / 50%);
|
|
399
377
|
}
|
|
400
378
|
|
|
401
379
|
.viewer-invisible {
|
|
@@ -417,51 +395,46 @@
|
|
|
417
395
|
}
|
|
418
396
|
|
|
419
397
|
.viewer-transition {
|
|
420
|
-
-webkit-transition: all 0.3s;
|
|
421
398
|
transition: all 0.3s;
|
|
422
399
|
}
|
|
423
400
|
|
|
424
401
|
@-webkit-keyframes viewer-spinner {
|
|
425
402
|
0% {
|
|
426
|
-
-webkit-transform: rotate(0deg);
|
|
427
403
|
transform: rotate(0deg);
|
|
428
404
|
}
|
|
429
405
|
|
|
430
406
|
100% {
|
|
431
|
-
-webkit-transform: rotate(360deg);
|
|
432
407
|
transform: rotate(360deg);
|
|
433
408
|
}
|
|
434
409
|
}
|
|
435
410
|
|
|
436
411
|
@keyframes viewer-spinner {
|
|
437
412
|
0% {
|
|
438
|
-
-webkit-transform: rotate(0deg);
|
|
439
413
|
transform: rotate(0deg);
|
|
440
414
|
}
|
|
441
415
|
|
|
442
416
|
100% {
|
|
443
|
-
-webkit-transform: rotate(360deg);
|
|
444
417
|
transform: rotate(360deg);
|
|
445
418
|
}
|
|
446
419
|
}
|
|
447
420
|
|
|
448
421
|
.viewer-loading::after {
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
}
|
|
422
|
+
-webkit-animation: viewer-spinner 1s linear infinite;
|
|
423
|
+
animation: viewer-spinner 1s linear infinite;
|
|
424
|
+
border: 4px solid rgb(255 255 255 / 10%);
|
|
425
|
+
border-left-color: rgb(255 255 255 / 50%);
|
|
426
|
+
border-radius: 50%;
|
|
427
|
+
content: "";
|
|
428
|
+
display: inline-block;
|
|
429
|
+
height: 40px;
|
|
430
|
+
left: 50%;
|
|
431
|
+
margin-left: -20px;
|
|
432
|
+
margin-top: -20px;
|
|
433
|
+
position: absolute;
|
|
434
|
+
top: 50%;
|
|
435
|
+
width: 40px;
|
|
436
|
+
z-index: 1;
|
|
437
|
+
}
|
|
465
438
|
|
|
466
439
|
@media (max-width: 767px) {
|
|
467
440
|
.viewer-hide-xs-down {
|