vft 0.0.41 → 0.0.43

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.
@@ -0,0 +1,422 @@
1
+ .pswp {
2
+ --pswp-bg: #000;
3
+ --pswp-placeholder-bg: #222;
4
+
5
+
6
+ --pswp-root-z-index: 100000;
7
+
8
+ --pswp-preloader-color: rgba(79, 79, 79, 0.4);
9
+ --pswp-preloader-color-secondary: rgba(255, 255, 255, 0.9);
10
+
11
+ /* defined via js:
12
+ --pswp-transition-duration: 333ms; */
13
+
14
+ --pswp-icon-color: #fff;
15
+ --pswp-icon-color-secondary: #4f4f4f;
16
+ --pswp-icon-stroke-color: #4f4f4f;
17
+ --pswp-icon-stroke-width: 2px;
18
+
19
+ --pswp-error-text-color: var(--pswp-icon-color);
20
+ }
21
+
22
+
23
+ /*
24
+ Styles for basic PhotoSwipe (pswp) functionality (sliding area, open/close transitions)
25
+ */
26
+
27
+ .pswp {
28
+ position: fixed;
29
+ top: 0;
30
+ left: 0;
31
+ width: 100%;
32
+ height: 100%;
33
+ z-index: var(--pswp-root-z-index);
34
+ display: none;
35
+ touch-action: none;
36
+ outline: 0;
37
+ opacity: 0.003;
38
+ contain: layout style size;
39
+ -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
40
+ }
41
+
42
+ /* Prevents focus outline on the root element,
43
+ (it may be focused initially) */
44
+ .pswp:focus {
45
+ outline: 0;
46
+ }
47
+
48
+ .pswp * {
49
+ box-sizing: border-box;
50
+ }
51
+
52
+ .pswp img {
53
+ max-width: none;
54
+ }
55
+
56
+ .pswp--open {
57
+ display: block;
58
+ }
59
+
60
+ .pswp,
61
+ .pswp__bg {
62
+ transform: translateZ(0);
63
+ will-change: opacity;
64
+ }
65
+
66
+ .pswp__bg {
67
+ opacity: 0.005;
68
+ background: var(--pswp-bg);
69
+ }
70
+
71
+ .pswp,
72
+ .pswp__scroll-wrap {
73
+ overflow: hidden;
74
+ }
75
+
76
+ .pswp__scroll-wrap,
77
+ .pswp__bg,
78
+ .pswp__container,
79
+ .pswp__item,
80
+ .pswp__content,
81
+ .pswp__img,
82
+ .pswp__zoom-wrap {
83
+ position: absolute;
84
+ top: 0;
85
+ left: 0;
86
+ width: 100%;
87
+ height: 100%;
88
+ }
89
+
90
+ .pswp__img,
91
+ .pswp__zoom-wrap {
92
+ width: auto;
93
+ height: auto;
94
+ }
95
+
96
+ .pswp--click-to-zoom.pswp--zoom-allowed .pswp__img {
97
+ cursor: -webkit-zoom-in;
98
+ cursor: -moz-zoom-in;
99
+ cursor: zoom-in;
100
+ }
101
+
102
+ .pswp--click-to-zoom.pswp--zoomed-in .pswp__img {
103
+ cursor: move;
104
+ cursor: -webkit-grab;
105
+ cursor: -moz-grab;
106
+ cursor: grab;
107
+ }
108
+
109
+ .pswp--click-to-zoom.pswp--zoomed-in .pswp__img:active {
110
+ cursor: -webkit-grabbing;
111
+ cursor: -moz-grabbing;
112
+ cursor: grabbing;
113
+ }
114
+
115
+ /* :active to override grabbing cursor */
116
+ .pswp--no-mouse-drag.pswp--zoomed-in .pswp__img,
117
+ .pswp--no-mouse-drag.pswp--zoomed-in .pswp__img:active,
118
+ .pswp__img {
119
+ cursor: -webkit-zoom-out;
120
+ cursor: -moz-zoom-out;
121
+ cursor: zoom-out;
122
+ }
123
+
124
+
125
+ /* Prevent selection and tap highlights */
126
+ .pswp__container,
127
+ .pswp__img,
128
+ .pswp__button,
129
+ .pswp__counter {
130
+ -webkit-user-select: none;
131
+ -moz-user-select: none;
132
+ -ms-user-select: none;
133
+ user-select: none;
134
+ }
135
+
136
+ .pswp__item {
137
+ /* z-index for fade transition */
138
+ z-index: 1;
139
+ overflow: hidden;
140
+ }
141
+
142
+ .pswp__hidden {
143
+ display: none !important;
144
+ }
145
+
146
+ /* Allow to click through pswp__content element, but not its children */
147
+ .pswp__content {
148
+ pointer-events: none;
149
+ }
150
+
151
+ .pswp__content > * {
152
+ pointer-events: auto;
153
+ }
154
+
155
+
156
+ /*
157
+
158
+ PhotoSwipe UI
159
+
160
+ */
161
+
162
+ /*
163
+ Error message appears when image is not loaded
164
+ (JS option errorMsg controls markup)
165
+ */
166
+ .pswp__error-msg-container {
167
+ display: grid;
168
+ }
169
+
170
+ .pswp__error-msg {
171
+ margin: auto;
172
+ font-size: 1em;
173
+ line-height: 1;
174
+ color: var(--pswp-error-text-color);
175
+ }
176
+
177
+ /*
178
+ class pswp__hide-on-close is applied to elements that
179
+ should hide (for example fade out) when PhotoSwipe is closed
180
+ and show (for example fade in) when PhotoSwipe is opened
181
+ */
182
+ .pswp .pswp__hide-on-close {
183
+ opacity: 0.005;
184
+ will-change: opacity;
185
+ transition: opacity var(--pswp-transition-duration) cubic-bezier(0.4, 0, 0.22, 1);
186
+ z-index: 10; /* always overlap slide content */
187
+ pointer-events: none; /* hidden elements should not be clickable */
188
+ }
189
+
190
+ /* class pswp--ui-visible is added when opening or closing transition starts */
191
+ .pswp--ui-visible .pswp__hide-on-close {
192
+ opacity: 1;
193
+ pointer-events: auto;
194
+ }
195
+
196
+ /* <button> styles, including css reset */
197
+ .pswp__button {
198
+ position: relative;
199
+ display: block;
200
+ width: 50px;
201
+ height: 60px;
202
+ padding: 0;
203
+ margin: 0;
204
+ overflow: hidden;
205
+ cursor: pointer;
206
+ background: none;
207
+ border: 0;
208
+ box-shadow: none;
209
+ opacity: 0.85;
210
+ -webkit-appearance: none;
211
+ -webkit-touch-callout: none;
212
+ }
213
+
214
+ .pswp__button:hover,
215
+ .pswp__button:active,
216
+ .pswp__button:focus {
217
+ transition: none;
218
+ padding: 0;
219
+ background: none;
220
+ border: 0;
221
+ box-shadow: none;
222
+ opacity: 1;
223
+ }
224
+
225
+ .pswp__button:disabled {
226
+ opacity: 0.3;
227
+ cursor: auto;
228
+ }
229
+
230
+ .pswp__icn {
231
+ fill: var(--pswp-icon-color);
232
+ color: var(--pswp-icon-color-secondary);
233
+ }
234
+
235
+ .pswp__icn {
236
+ position: absolute;
237
+ top: 14px;
238
+ left: 9px;
239
+ width: 32px;
240
+ height: 32px;
241
+ overflow: hidden;
242
+ pointer-events: none;
243
+ }
244
+
245
+ .pswp__icn-shadow {
246
+ stroke: var(--pswp-icon-stroke-color);
247
+ stroke-width: var(--pswp-icon-stroke-width);
248
+ fill: none;
249
+ }
250
+
251
+ .pswp__icn:focus {
252
+ outline: 0;
253
+ }
254
+
255
+ /*
256
+ div element that matches size of large image,
257
+ large image loads on top of it,
258
+ used when msrc is not provided
259
+ */
260
+ div.pswp__img--placeholder,
261
+ .pswp__img--with-bg {
262
+ background: var(--pswp-placeholder-bg);
263
+ }
264
+
265
+ .pswp__top-bar {
266
+ position: absolute;
267
+ left: 0;
268
+ top: 0;
269
+ width: 100%;
270
+ height: 60px;
271
+ display: flex;
272
+ flex-direction: row;
273
+ justify-content: flex-end;
274
+ z-index: 10;
275
+
276
+ /* allow events to pass through top bar itself */
277
+ pointer-events: none !important;
278
+ }
279
+
280
+ .pswp__top-bar > * {
281
+ pointer-events: auto;
282
+ /* this makes transition significantly more smooth,
283
+ even though inner elements are not animated */
284
+ will-change: opacity;
285
+ }
286
+
287
+
288
+ /*
289
+
290
+ Close button
291
+
292
+ */
293
+ .pswp__button--close {
294
+ margin-right: 6px;
295
+ }
296
+
297
+
298
+ /*
299
+
300
+ Arrow buttons
301
+
302
+ */
303
+ .pswp__button--arrow {
304
+ position: absolute;
305
+ top: 0;
306
+ width: 75px;
307
+ height: 100px;
308
+ top: 50%;
309
+ margin-top: -50px;
310
+ }
311
+
312
+ .pswp__button--arrow:disabled {
313
+ display: none;
314
+ cursor: default;
315
+ }
316
+
317
+ .pswp__button--arrow .pswp__icn {
318
+ top: 50%;
319
+ margin-top: -30px;
320
+ width: 60px;
321
+ height: 60px;
322
+ background: none;
323
+ border-radius: 0;
324
+ }
325
+
326
+ .pswp--one-slide .pswp__button--arrow {
327
+ display: none;
328
+ }
329
+
330
+ /* hide arrows on touch screens */
331
+ .pswp--touch .pswp__button--arrow {
332
+ visibility: hidden;
333
+ }
334
+
335
+ /* show arrows only after mouse was used */
336
+ .pswp--has_mouse .pswp__button--arrow {
337
+ visibility: visible;
338
+ }
339
+
340
+ .pswp__button--arrow--prev {
341
+ right: auto;
342
+ left: 0px;
343
+ }
344
+
345
+ .pswp__button--arrow--next {
346
+ right: 0px;
347
+ }
348
+
349
+ .pswp__button--arrow--next .pswp__icn {
350
+ left: auto;
351
+ right: 14px;
352
+ /* flip horizontally */
353
+ transform: scale(-1, 1);
354
+ }
355
+
356
+ /*
357
+
358
+ Zoom button
359
+
360
+ */
361
+ .pswp__button--zoom {
362
+ display: none;
363
+ }
364
+
365
+ .pswp--zoom-allowed .pswp__button--zoom {
366
+ display: block;
367
+ }
368
+
369
+ /* "+" => "-" */
370
+ .pswp--zoomed-in .pswp__zoom-icn-bar-v {
371
+ display: none;
372
+ }
373
+
374
+
375
+ /*
376
+
377
+ Loading indicator
378
+
379
+ */
380
+ .pswp__preloader {
381
+ position: relative;
382
+ overflow: hidden;
383
+ width: 50px;
384
+ height: 60px;
385
+ margin-right: auto;
386
+ }
387
+
388
+ .pswp__preloader .pswp__icn {
389
+ opacity: 0;
390
+ transition: opacity 0.2s linear;
391
+ animation: pswp-clockwise 600ms linear infinite;
392
+ }
393
+
394
+ .pswp__preloader--active .pswp__icn {
395
+ opacity: 0.85;
396
+ }
397
+
398
+ @keyframes pswp-clockwise {
399
+ 0% { transform: rotate(0deg); }
400
+ 100% { transform: rotate(360deg); }
401
+ }
402
+
403
+
404
+ /*
405
+
406
+ "1 of 10" counter
407
+
408
+ */
409
+ .pswp__counter {
410
+ height: 30px;
411
+ margin-top: 15px;
412
+ margin-inline-start: 20px;
413
+ font-size: 14px;
414
+ line-height: 30px;
415
+ color: var(--pswp-icon-color);
416
+ text-shadow: 1px 1px 3px var(--pswp-icon-color-secondary);
417
+ opacity: 0.85;
418
+ }
419
+
420
+ .pswp--one-slide .pswp__counter {
421
+ display: none;
422
+ }
@@ -18,6 +18,7 @@ $name: md-code-demo;
18
18
  }
19
19
 
20
20
  .code-demo-jsfiddle, .code-demo-codepen {
21
+ cursor: pointer;
21
22
  button {
22
23
  border: none;
23
24
  background: none;
@@ -116,6 +117,7 @@ $name: md-code-demo;
116
117
  .codepen-button,
117
118
  .jsfiddle-button {
118
119
  position: relative;
120
+ cursor: pointer;
119
121
 
120
122
  box-sizing: content-box;
121
123