1 |
|
2 |
|
3 | .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 {
|
4 | background-image: url("data:img/jpg;base64,iVBORw0KGgoAAAANSUhEUgAAARgAAAAUCAYAAABWOyJDAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAQPSURBVHic7Zs/iFxVFMa/0U2UaJGksUgnIVhYxVhpjDbZCBmLdAYECxsRFBTUamcXUiSNncgKQbSxsxH8gzAP3FU2jY0kKKJNiiiIghFlccnP4p3nPCdv3p9778vsLOcHB2bfveeb7955c3jvvNkBIMdxnD64a94GHMfZu3iBcRynN7zAOI7TG15gHCeeNUkr8zaxG2lbYDYsdgMbktBsP03jdQwljSXdtBhLOmtjowC9Mg9L+knSlcD8TNKpSA9lBpK2JF2VdDSR5n5J64m0qli399hNFMUlpshQii5jbXTbHGviB0nLNeNDSd9VO4A2UdB2fp+x0eCnaXxWXGA2X0au/3HgN9P4LFCjIANOJdrLr0zzZ+BEpNYDwKbpnQMeAw4m8HjQtM6Z9qa917zPQwFr3M5KgA6J5rTJCdFZJj9/lyvGhsDvwFNVuV2MhhjrK6b9bFiE+j1r87eBl4HDwCF7/U/k+ofAX5b/EXBv5JoLMuILzf3Ap6Z3EzgdqHMCuF7hcQf4HDgeoHnccncqdK/TvSDWffFXI/exICY/xZyqc6XLWF1UFZna4gJ7q8BsRvgd2/xXpo6P+D9dfT7PpECtA3cnWPM0GXGFZh/wgWltA+cDNC7X+AP4GzjZQe+k5dRxuYPeiuXU7e1qwLpDz7dFjXKRaSwuMLvAlG8zZlG+YmiK1HoFqT7wP2z+4Q45TfEGcMt01xLoNZEBTwRqD4BLpnMLeC1A41UmVxsXgXeBayV/Wx20rpTyrpnWRft7p6O/FdqzGrDukPNtkaMoMo3FBdBSQMOnYBCReyf05s126fU9ytfX98+mY54Kxnp7S9K3kj6U9KYdG0h6UdLbkh7poFXMfUnSOyVvL0h6VtIXHbS6nOP+s/Zm9mvyXW1uuC9ohZ72E9uDmXWLJOB1GxsH+DxPftsB8B6wlGDN02TAkxG6+4D3TWsbeC5CS8CDFce+AW500LhhOW2020TRjK3b21HEmgti9m0RonxbdMZeVzV+/4tF3cBpP7E9mKHNL5q8h5g0eYsCMQz0epq8gQrwMXAgcs0FGXGFRcB9wCemF9PkbYqM/Bas7fxLwNeJPdTdpo4itQti8lPMqTpXuozVRVXPpbHI3KkNTB1NfkL81j2mvhDp91HgV9MKuRIqrykj3WPq4rHyL+axj8/qGPmTqi6F9YDlHOvJU6oYcTsh/TYSzWmTE6JT19CtLTJt32D6CmHe0eQn1O8z5AXgT4sx4Vcu0/EQecMydB8z0hUWkTd2t4CrwNEePqMBcAR4mrBbwyXLPWJa8zrXmmLEhNBmfpkuY2102xxrih+pb+ieAb6vGhuA97UcJ5KR8gZ77K+99xxeYBzH6Q3/Z0fHcXrDC4zjOL3hBcZxnN74F+zlvXFWXF9PAAAAAElFTkSuQmCC");
|
5 | background-repeat: no-repeat;
|
6 | color: transparent;
|
7 | display: block;
|
8 | font-size: 0;
|
9 | height: 20px;
|
10 | line-height: 0;
|
11 | width: 20px; }
|
12 |
|
13 | .viewer-zoom-in::before {
|
14 | background-position: 0 0;
|
15 | content: 'Zoom In'; }
|
16 |
|
17 | .viewer-zoom-out::before {
|
18 | background-position: -20px 0;
|
19 | content: 'Zoom Out'; }
|
20 |
|
21 | .viewer-one-to-one::before {
|
22 | background-position: -40px 0;
|
23 | content: 'One to One'; }
|
24 |
|
25 | .viewer-reset::before {
|
26 | background-position: -60px 0;
|
27 | content: 'Reset'; }
|
28 |
|
29 | .viewer-prev::before {
|
30 | background-position: -80px 0;
|
31 | content: 'Previous'; }
|
32 |
|
33 | .viewer-play::before {
|
34 | background-position: -100px 0;
|
35 | content: 'Play'; }
|
36 |
|
37 | .viewer-next::before {
|
38 | background-position: -120px 0;
|
39 | content: 'Next'; }
|
40 |
|
41 | .viewer-rotate-left::before {
|
42 | background-position: -140px 0;
|
43 | content: 'Rotate Left'; }
|
44 |
|
45 | .viewer-rotate-right::before {
|
46 | background-position: -160px 0;
|
47 | content: 'Rotate Right'; }
|
48 |
|
49 | .viewer-flip-horizontal::before {
|
50 | background-position: -180px 0;
|
51 | content: 'Flip Horizontal'; }
|
52 |
|
53 | .viewer-flip-vertical::before {
|
54 | background-position: -200px 0;
|
55 | content: 'Flip Vertical'; }
|
56 |
|
57 | .viewer-fullscreen::before {
|
58 | background-position: -220px 0;
|
59 | content: 'Enter Full Screen'; }
|
60 |
|
61 | .viewer-fullscreen-exit::before {
|
62 | background-position: -240px 0;
|
63 | content: 'Exit Full Screen'; }
|
64 |
|
65 | .viewer-close::before {
|
66 | background-position: -260px 0;
|
67 | content: 'Close'; }
|
68 |
|
69 | .viewer-container {
|
70 | bottom: 0;
|
71 | direction: ltr;
|
72 | font-size: 0;
|
73 | left: 0;
|
74 | line-height: 0;
|
75 | overflow: hidden;
|
76 | position: absolute;
|
77 | right: 0;
|
78 | -webkit-tap-highlight-color: transparent;
|
79 | top: 0;
|
80 | -webkit-touch-callout: none;
|
81 | touch-action: none;
|
82 | user-select: none; }
|
83 | .viewer-container::selection,
|
84 | .viewer-container *::selection {
|
85 | background-color: transparent; }
|
86 | .viewer-container img {
|
87 | display: block;
|
88 | height: auto;
|
89 | max-height: none !important;
|
90 | max-width: none !important;
|
91 | min-height: 0 !important;
|
92 | min-width: 0 !important;
|
93 | width: 100%; }
|
94 |
|
95 | .viewer-canvas {
|
96 | bottom: 0;
|
97 | left: 0;
|
98 | overflow: hidden;
|
99 | position: absolute;
|
100 | right: 0;
|
101 | top: 0; }
|
102 | .viewer-canvas > img {
|
103 | height: auto;
|
104 | margin: 15px auto;
|
105 | max-width: 90% !important;
|
106 | width: auto; }
|
107 |
|
108 | .viewer-footer {
|
109 | bottom: 0;
|
110 | left: 0;
|
111 | overflow: hidden;
|
112 | position: absolute;
|
113 | right: 0;
|
114 | text-align: center; }
|
115 |
|
116 | .viewer-navbar {
|
117 | background-color: rgba(0, 0, 0, 0.5);
|
118 | overflow: hidden; }
|
119 |
|
120 | .viewer-list {
|
121 | box-sizing: content-box;
|
122 | height: 50px;
|
123 | margin: 0;
|
124 | overflow: hidden;
|
125 | padding: 1px 0; }
|
126 | .viewer-list > li {
|
127 | color: transparent;
|
128 | cursor: pointer;
|
129 | float: left;
|
130 | font-size: 0;
|
131 | height: 50px;
|
132 | line-height: 0;
|
133 | opacity: .5;
|
134 | overflow: hidden;
|
135 | transition: opacity .15s;
|
136 | width: 30px; }
|
137 | .viewer-list > li:hover {
|
138 | opacity: .75; }
|
139 | .viewer-list > li + li {
|
140 | margin-left: 1px; }
|
141 | .viewer-list > .viewer-loading {
|
142 | position: relative; }
|
143 | .viewer-list > .viewer-loading::after {
|
144 | border-width: 2px;
|
145 | height: 20px;
|
146 | margin-left: -10px;
|
147 | margin-top: -10px;
|
148 | width: 20px; }
|
149 | .viewer-list > .viewer-active, .viewer-list > .viewer-active:hover {
|
150 | opacity: 1; }
|
151 |
|
152 | .viewer-player {
|
153 | background-color: #000;
|
154 | bottom: 0;
|
155 | cursor: none;
|
156 | display: none;
|
157 | left: 0;
|
158 | position: absolute;
|
159 | right: 0;
|
160 | top: 0; }
|
161 | .viewer-player > img {
|
162 | left: 0;
|
163 | position: absolute;
|
164 | top: 0; }
|
165 |
|
166 | .viewer-toolbar > ul {
|
167 | display: inline-block;
|
168 | margin: 0 auto 5px;
|
169 | overflow: hidden;
|
170 | padding: 3px 0; }
|
171 | .viewer-toolbar > ul > li {
|
172 | background-color: rgba(0, 0, 0, 0.5);
|
173 | border-radius: 50%;
|
174 | cursor: pointer;
|
175 | float: left;
|
176 | height: 24px;
|
177 | overflow: hidden;
|
178 | transition: background-color .15s;
|
179 | width: 24px; }
|
180 | .viewer-toolbar > ul > li:hover {
|
181 | background-color: rgba(0, 0, 0, 0.8); }
|
182 | .viewer-toolbar > ul > li::before {
|
183 | margin: 2px; }
|
184 | .viewer-toolbar > ul > li + li {
|
185 | margin-left: 1px; }
|
186 | .viewer-toolbar > ul > .viewer-small {
|
187 | height: 18px;
|
188 | margin-bottom: 3px;
|
189 | margin-top: 3px;
|
190 | width: 18px; }
|
191 | .viewer-toolbar > ul > .viewer-small::before {
|
192 | margin: -1px; }
|
193 | .viewer-toolbar > ul > .viewer-large {
|
194 | height: 30px;
|
195 | margin-bottom: -3px;
|
196 | margin-top: -3px;
|
197 | width: 30px; }
|
198 | .viewer-toolbar > ul > .viewer-large::before {
|
199 | margin: 5px; }
|
200 |
|
201 | .viewer-tooltip {
|
202 | background-color: rgba(0, 0, 0, 0.8);
|
203 | border-radius: 10px;
|
204 | color: #fff;
|
205 | display: none;
|
206 | font-size: 12px;
|
207 | height: 20px;
|
208 | left: 50%;
|
209 | line-height: 20px;
|
210 | margin-left: -25px;
|
211 | margin-top: -10px;
|
212 | position: absolute;
|
213 | text-align: center;
|
214 | top: 50%;
|
215 | width: 50px; }
|
216 |
|
217 | .viewer-title {
|
218 | color: #ccc;
|
219 | display: inline-block;
|
220 | font-size: 12px;
|
221 | line-height: 1;
|
222 | margin: 0 5% 5px;
|
223 | max-width: 90%;
|
224 | opacity: .8;
|
225 | overflow: hidden;
|
226 | text-overflow: ellipsis;
|
227 | transition: opacity .15s;
|
228 | white-space: nowrap; }
|
229 | .viewer-title:hover {
|
230 | opacity: 1; }
|
231 |
|
232 | .viewer-button {
|
233 | background-color: rgba(0, 0, 0, 0.5);
|
234 | border-radius: 50%;
|
235 | cursor: pointer;
|
236 | height: 80px;
|
237 | overflow: hidden;
|
238 | position: absolute;
|
239 | right: -40px;
|
240 | top: -40px;
|
241 | transition: background-color .15s;
|
242 | width: 80px; }
|
243 | .viewer-button:focus, .viewer-button:hover {
|
244 | background-color: rgba(0, 0, 0, 0.8); }
|
245 | .viewer-button::before {
|
246 | bottom: 15px;
|
247 | left: 15px;
|
248 | position: absolute; }
|
249 |
|
250 | .viewer-fixed {
|
251 | position: fixed; }
|
252 |
|
253 | .viewer-open {
|
254 | overflow: hidden; }
|
255 |
|
256 | .viewer-show {
|
257 | display: block; }
|
258 |
|
259 | .viewer-hide {
|
260 | display: none; }
|
261 |
|
262 | .viewer-backdrop {
|
263 | background-color: rgba(0, 0, 0, 0.5); }
|
264 |
|
265 | .viewer-invisible {
|
266 | visibility: hidden; }
|
267 |
|
268 | .viewer-move {
|
269 | cursor: move;
|
270 | cursor: grab; }
|
271 |
|
272 | .viewer-fade {
|
273 | opacity: 0; }
|
274 |
|
275 | .viewer-in {
|
276 | opacity: 1; }
|
277 |
|
278 | .viewer-transition {
|
279 | transition: all .3s; }
|
280 |
|
281 | @keyframes viewer-spinner {
|
282 | 0% {
|
283 | transform: rotate(0deg); }
|
284 | 100% {
|
285 | transform: rotate(360deg); } }
|
286 |
|
287 | .viewer-loading::after {
|
288 | animation: viewer-spinner 1s linear infinite;
|
289 | border: 4px solid rgba(255, 255, 255, 0.1);
|
290 | border-left-color: rgba(255, 255, 255, 0.5);
|
291 | border-radius: 50%;
|
292 | content: '';
|
293 | display: inline-block;
|
294 | height: 40px;
|
295 | left: 50%;
|
296 | margin-left: -20px;
|
297 | margin-top: -20px;
|
298 | position: absolute;
|
299 | top: 50%;
|
300 | width: 40px;
|
301 | z-index: 1; }
|
302 |
|
303 | @media (max-width: 767px) {
|
304 | .viewer-hide-xs-down {
|
305 | display: none; } }
|
306 |
|
307 | @media (max-width: 991px) {
|
308 | .viewer-hide-sm-down {
|
309 | display: none; } }
|
310 |
|
311 | @media (max-width: 1199px) {
|
312 | .viewer-hide-md-down {
|
313 | display: none; } }
|