webcimes-modal 2.0.2 → 2.2.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/README.md +83 -25
- package/demo/script_esm.js +51 -3
- package/demo/script_udm.js +51 -3
- package/dist/css/webcimes-modal.css +1 -1
- package/dist/css/webcimes-modal.css.map +1 -1
- package/dist/js/webcimes-modal.esm.d.ts +12 -8
- package/dist/js/webcimes-modal.esm.js +1 -1
- package/dist/js/webcimes-modal.esm.js.map +1 -1
- package/dist/js/webcimes-modal.udm.d.ts +12 -8
- package/dist/js/webcimes-modal.udm.js +1 -1
- package/dist/js/webcimes-modal.udm.js.map +1 -1
- package/package.json +42 -42
- package/src/css/webcimes-modal.css +337 -377
- package/src/ts/webcimes-modal.d.ts +12 -8
- package/src/ts/webcimes-modal.d.ts.map +1 -1
- package/src/ts/webcimes-modal.ts +212 -93
- package/test/script.js +31 -2
|
@@ -13,404 +13,364 @@
|
|
|
13
13
|
.webcimes-modals,
|
|
14
14
|
.webcimes-modals *,
|
|
15
15
|
.webcimes-modals *::before,
|
|
16
|
-
.webcimes-modals *::after
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
--webcimes-modals-background: rgba(0,0,0,0.8);
|
|
25
|
-
--webcimes-modals-z-index: 5;
|
|
16
|
+
.webcimes-modals *::after {
|
|
17
|
+
-webkit-box-sizing: border-box;
|
|
18
|
+
-moz-box-sizing: border-box;
|
|
19
|
+
box-sizing: border-box;
|
|
20
|
+
}
|
|
21
|
+
.webcimes-modals {
|
|
22
|
+
--webcimes-modals-background: rgba(0, 0, 0, 0.8);
|
|
23
|
+
--webcimes-modals-z-index: 5;
|
|
26
24
|
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
}
|
|
38
|
-
.webcimes-modal
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
position: absolute;
|
|
101
|
-
height: 20px;
|
|
102
|
-
width: 12px;
|
|
103
|
-
right: 15px;
|
|
104
|
-
top: 50%;
|
|
105
|
-
margin-top: -10px;
|
|
106
|
-
background-image: url("../images/times.svg");
|
|
25
|
+
position: fixed;
|
|
26
|
+
background: var(--webcimes-modals-background);
|
|
27
|
+
top: 0;
|
|
28
|
+
bottom: 0;
|
|
29
|
+
left: 0;
|
|
30
|
+
right: 0;
|
|
31
|
+
display: flex;
|
|
32
|
+
align-items: center;
|
|
33
|
+
justify-content: center;
|
|
34
|
+
z-index: var(--webcimes-modals-z-index);
|
|
35
|
+
}
|
|
36
|
+
.webcimes-modal {
|
|
37
|
+
--modal-color: inherit;
|
|
38
|
+
--modal-background: #fff;
|
|
39
|
+
--modal-border-color: #ddd;
|
|
40
|
+
--modal-box-shadow: 1px 1px 3px 0px #444;
|
|
41
|
+
--modal-header-padding: 20px 40px;
|
|
42
|
+
--modal-body-padding: 20px 40px;
|
|
43
|
+
--modal-footer-padding: 20px 40px;
|
|
44
|
+
--modal-title-font-size: 24px;
|
|
45
|
+
--modal-title-font-weight: 600;
|
|
46
|
+
--modal-button-cancel-background: rgba(102, 102, 102, 1);
|
|
47
|
+
--modal-button-cancel-background-hover: rgba(102, 102, 102, 0.7);
|
|
48
|
+
--modal-button-cancel-color: #fff;
|
|
49
|
+
--modal-button-cancel-color-hover: #fff;
|
|
50
|
+
--modal-button-confirm-background: rgba(0, 0, 0, 1);
|
|
51
|
+
--modal-button-confirm-background-hover: rgba(0, 0, 0, 0.7);
|
|
52
|
+
--modal-button-confirm-color: #fff;
|
|
53
|
+
--modal-button-confirm-color-hover: #fff;
|
|
54
|
+
|
|
55
|
+
position: absolute;
|
|
56
|
+
border-radius: 5px;
|
|
57
|
+
display: flex;
|
|
58
|
+
flex-direction: column;
|
|
59
|
+
max-width: 90vw;
|
|
60
|
+
max-height: 90vh;
|
|
61
|
+
overflow: hidden;
|
|
62
|
+
color: var(--modal-color);
|
|
63
|
+
background: var(--modal-background);
|
|
64
|
+
-webkit-box-shadow: var(--modal-box-shadow);
|
|
65
|
+
-moz-box-shadow: var(--modal-box-shadow);
|
|
66
|
+
-o-box-shadow: var(--modal-box-shadow);
|
|
67
|
+
box-shadow: var(--modal-box-shadow);
|
|
68
|
+
}
|
|
69
|
+
.webcimes-modal__button {
|
|
70
|
+
font-family: inherit;
|
|
71
|
+
font-size: inherit;
|
|
72
|
+
font-weight: inherit;
|
|
73
|
+
border: none;
|
|
74
|
+
background: none;
|
|
75
|
+
}
|
|
76
|
+
.webcimes-modal__header {
|
|
77
|
+
position: relative;
|
|
78
|
+
flex: 0 0 auto;
|
|
79
|
+
padding: var(--modal-header-padding);
|
|
80
|
+
border-bottom: 1px solid var(--modal-border-color);
|
|
81
|
+
}
|
|
82
|
+
.webcimes-modal__header--is-movable {
|
|
83
|
+
cursor: move;
|
|
84
|
+
touch-action: none;
|
|
85
|
+
}
|
|
86
|
+
.webcimes-modal__title {
|
|
87
|
+
overflow: hidden;
|
|
88
|
+
text-overflow: ellipsis;
|
|
89
|
+
font-weight: var(--modal-title-font-weight);
|
|
90
|
+
font-size: var(--modal-title-font-size);
|
|
91
|
+
}
|
|
92
|
+
.webcimes-modal__close-button {
|
|
93
|
+
position: absolute;
|
|
94
|
+
height: 20px;
|
|
95
|
+
width: 12.5px;
|
|
96
|
+
right: 15px;
|
|
97
|
+
top: 15px;
|
|
107
98
|
cursor: pointer;
|
|
108
|
-
|
|
99
|
+
opacity: 1;
|
|
100
|
+
padding: 0;
|
|
109
101
|
-webkit-transition: opacity 0.6s ease 0s;
|
|
110
102
|
-moz-transition: opacity 0.6s ease 0s;
|
|
111
103
|
-o-transition: opacity 0.6s ease 0s;
|
|
112
104
|
transition: opacity 0.6s ease 0s;
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
.
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
.
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
105
|
+
display: flex;
|
|
106
|
+
align-items: center;
|
|
107
|
+
justify-content: center;
|
|
108
|
+
}
|
|
109
|
+
.webcimes-modal__close-button:hover {
|
|
110
|
+
opacity: 0.5;
|
|
111
|
+
}
|
|
112
|
+
.webcimes-modal__close-button svg {
|
|
113
|
+
fill: currentColor;
|
|
114
|
+
height: 100%;
|
|
115
|
+
width: 100%;
|
|
116
|
+
}
|
|
117
|
+
.webcimes-modal__body {
|
|
118
|
+
flex: 1;
|
|
119
|
+
overflow: auto;
|
|
120
|
+
padding: var(--modal-body-padding);
|
|
121
|
+
}
|
|
122
|
+
.webcimes-modal__body--is-movable {
|
|
123
|
+
cursor: move;
|
|
124
|
+
}
|
|
125
|
+
.webcimes-modal__footer {
|
|
126
|
+
flex: 0 0 auto;
|
|
127
|
+
padding: var(--modal-footer-padding);
|
|
128
|
+
border-top: 1px solid var(--modal-border-color);
|
|
129
|
+
}
|
|
130
|
+
.webcimes-modal__footer--is-movable {
|
|
131
|
+
cursor: move;
|
|
132
|
+
touch-action: none;
|
|
133
|
+
}
|
|
134
|
+
.webcimes-modal__footer-buttons {
|
|
135
|
+
display: flex;
|
|
136
|
+
justify-content: center;
|
|
137
|
+
flex-wrap: wrap;
|
|
138
|
+
}
|
|
139
|
+
.webcimes-modal__footer-button {
|
|
140
|
+
max-width: 100%;
|
|
141
|
+
flex: 0 0 auto;
|
|
142
|
+
border-radius: 5px;
|
|
143
|
+
padding: 10px 30px;
|
|
144
|
+
margin: 5px;
|
|
145
|
+
cursor: pointer;
|
|
146
|
+
text-overflow: ellipsis;
|
|
147
|
+
overflow: hidden;
|
|
148
|
+
-webkit-transition:
|
|
149
|
+
color 0.6s ease 0s,
|
|
150
|
+
background 0.6s ease 0s;
|
|
151
|
+
-moz-transition:
|
|
152
|
+
color 0.6s ease 0s,
|
|
153
|
+
background 0.6s ease 0s;
|
|
154
|
+
-o-transition:
|
|
155
|
+
color 0.6s ease 0s,
|
|
156
|
+
background 0.6s ease 0s;
|
|
157
|
+
transition:
|
|
158
|
+
color 0.6s ease 0s,
|
|
159
|
+
background 0.6s ease 0s;
|
|
160
|
+
}
|
|
161
|
+
.webcimes-modal__footer-button--cancel {
|
|
162
|
+
background: var(--modal-button-cancel-background);
|
|
163
|
+
color: var(--modal-button-cancel-color);
|
|
164
|
+
}
|
|
165
|
+
.webcimes-modal__footer-button--cancel:hover {
|
|
166
|
+
background: var(--modal-button-cancel-background-hover);
|
|
167
|
+
color: var(--modal-button-cancel-color-hover);
|
|
168
|
+
}
|
|
169
|
+
.webcimes-modal__footer-button--confirm {
|
|
170
|
+
background: var(--modal-button-confirm-background);
|
|
171
|
+
color: var(--modal-button-confirm-color);
|
|
172
|
+
}
|
|
173
|
+
.webcimes-modal__footer-button--confirm:hover {
|
|
174
|
+
background: var(--modal-button-confirm-background-hover);
|
|
175
|
+
color: var(--modal-button-confirm-color-hover);
|
|
179
176
|
}
|
|
180
177
|
|
|
181
178
|
/* ANIMATIONS */
|
|
182
179
|
|
|
183
|
-
@-webkit-keyframes animFadeIn
|
|
184
|
-
{
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
{
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
{
|
|
207
|
-
-webkit-animation-duration: 0.5s;
|
|
208
|
-
animation-duration: 0.5s;
|
|
209
|
-
-webkit-animation-fill-mode: both;
|
|
210
|
-
animation-fill-mode: both;
|
|
211
|
-
-webkit-animation-name: animFadeIn;
|
|
212
|
-
animation-name: animFadeIn;
|
|
180
|
+
@-webkit-keyframes animFadeIn {
|
|
181
|
+
0% {
|
|
182
|
+
opacity: 0;
|
|
183
|
+
}
|
|
184
|
+
100% {
|
|
185
|
+
opacity: 1;
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
@keyframes animFadeIn {
|
|
189
|
+
0% {
|
|
190
|
+
opacity: 0;
|
|
191
|
+
}
|
|
192
|
+
100% {
|
|
193
|
+
opacity: 1;
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
.animFadeIn {
|
|
197
|
+
-webkit-animation-duration: 0.5s;
|
|
198
|
+
animation-duration: 0.5s;
|
|
199
|
+
-webkit-animation-fill-mode: both;
|
|
200
|
+
animation-fill-mode: both;
|
|
201
|
+
-webkit-animation-name: animFadeIn;
|
|
202
|
+
animation-name: animFadeIn;
|
|
213
203
|
}
|
|
214
204
|
|
|
215
|
-
@-webkit-keyframes animFadeOut
|
|
216
|
-
{
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
{
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
{
|
|
239
|
-
-webkit-animation-duration: 0.5s;
|
|
240
|
-
animation-duration: 0.5s;
|
|
241
|
-
-webkit-animation-fill-mode: both;
|
|
242
|
-
animation-fill-mode: both;
|
|
243
|
-
-webkit-animation-name: animFadeOut;
|
|
244
|
-
animation-name: animFadeOut;
|
|
205
|
+
@-webkit-keyframes animFadeOut {
|
|
206
|
+
0% {
|
|
207
|
+
opacity: 1;
|
|
208
|
+
}
|
|
209
|
+
100% {
|
|
210
|
+
opacity: 0;
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
@keyframes animFadeOut {
|
|
214
|
+
0% {
|
|
215
|
+
opacity: 1;
|
|
216
|
+
}
|
|
217
|
+
100% {
|
|
218
|
+
opacity: 0;
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
.animFadeOut {
|
|
222
|
+
-webkit-animation-duration: 0.5s;
|
|
223
|
+
animation-duration: 0.5s;
|
|
224
|
+
-webkit-animation-fill-mode: both;
|
|
225
|
+
animation-fill-mode: both;
|
|
226
|
+
-webkit-animation-name: animFadeOut;
|
|
227
|
+
animation-name: animFadeOut;
|
|
245
228
|
}
|
|
246
229
|
|
|
247
|
-
@-webkit-keyframes animDropDown
|
|
248
|
-
{
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
transform: translateY(0);
|
|
265
|
-
opacity: 1;
|
|
266
|
-
}
|
|
230
|
+
@-webkit-keyframes animDropDown {
|
|
231
|
+
0% {
|
|
232
|
+
-webkit-transform: translateY(-20vh);
|
|
233
|
+
-moz-transform: translateY(-20vh);
|
|
234
|
+
-ms-transform: translateY(-20vh);
|
|
235
|
+
-o-transform: translateY(-20vh);
|
|
236
|
+
transform: translateY(-20vh);
|
|
237
|
+
opacity: 0;
|
|
238
|
+
}
|
|
239
|
+
100% {
|
|
240
|
+
-webkit-transform: translateY(0);
|
|
241
|
+
-moz-transform: translateY(0);
|
|
242
|
+
-ms-transform: translateY(0);
|
|
243
|
+
-o-transform: translateY(0);
|
|
244
|
+
transform: translateY(0);
|
|
245
|
+
opacity: 1;
|
|
246
|
+
}
|
|
267
247
|
}
|
|
268
248
|
|
|
269
|
-
@keyframes animDropDown
|
|
270
|
-
{
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
-webkit-animation-fill-mode: both;
|
|
295
|
-
animation-fill-mode: both;
|
|
296
|
-
-webkit-animation-name: animDropDown;
|
|
297
|
-
animation-name: animDropDown;
|
|
249
|
+
@keyframes animDropDown {
|
|
250
|
+
0% {
|
|
251
|
+
-webkit-transform: translateY(-20vh);
|
|
252
|
+
-moz-transform: translateY(-20vh);
|
|
253
|
+
-ms-transform: translateY(-20vh);
|
|
254
|
+
-o-transform: translateY(-20vh);
|
|
255
|
+
transform: translateY(-20vh);
|
|
256
|
+
opacity: 0;
|
|
257
|
+
}
|
|
258
|
+
100% {
|
|
259
|
+
-webkit-transform: translateY(0);
|
|
260
|
+
-moz-transform: translateY(0);
|
|
261
|
+
-ms-transform: translateY(0);
|
|
262
|
+
-o-transform: translateY(0);
|
|
263
|
+
transform: translateY(0);
|
|
264
|
+
opacity: 1;
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
.animDropDown {
|
|
268
|
+
-webkit-animation-duration: 0.5s;
|
|
269
|
+
animation-duration: 0.5s;
|
|
270
|
+
-webkit-animation-fill-mode: both;
|
|
271
|
+
animation-fill-mode: both;
|
|
272
|
+
-webkit-animation-name: animDropDown;
|
|
273
|
+
animation-name: animDropDown;
|
|
298
274
|
}
|
|
299
275
|
|
|
300
|
-
@-webkit-keyframes animDropUp
|
|
301
|
-
{
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
transform: translateY(-20vh);
|
|
318
|
-
opacity: 0;
|
|
319
|
-
}
|
|
276
|
+
@-webkit-keyframes animDropUp {
|
|
277
|
+
0% {
|
|
278
|
+
-webkit-transform: translateY(0);
|
|
279
|
+
-moz-transform: translateY(0);
|
|
280
|
+
-ms-transform: translateY(0);
|
|
281
|
+
-o-transform: translateY(0);
|
|
282
|
+
transform: translateY(0);
|
|
283
|
+
opacity: 1;
|
|
284
|
+
}
|
|
285
|
+
100% {
|
|
286
|
+
-webkit-transform: translateY(-20vh);
|
|
287
|
+
-moz-transform: translateY(-20vh);
|
|
288
|
+
-ms-transform: translateY(-20vh);
|
|
289
|
+
-o-transform: translateY(-20vh);
|
|
290
|
+
transform: translateY(-20vh);
|
|
291
|
+
opacity: 0;
|
|
292
|
+
}
|
|
320
293
|
}
|
|
321
294
|
|
|
322
|
-
@keyframes animDropUp
|
|
323
|
-
{
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
-webkit-animation-fill-mode: both;
|
|
348
|
-
animation-fill-mode: both;
|
|
349
|
-
-webkit-animation-name: animDropUp;
|
|
350
|
-
animation-name: animDropUp;
|
|
295
|
+
@keyframes animDropUp {
|
|
296
|
+
0% {
|
|
297
|
+
-webkit-transform: translateY(0);
|
|
298
|
+
-moz-transform: translateY(0);
|
|
299
|
+
-ms-transform: translateY(0);
|
|
300
|
+
-o-transform: translateY(0);
|
|
301
|
+
transform: translateY(0);
|
|
302
|
+
opacity: 1;
|
|
303
|
+
}
|
|
304
|
+
100% {
|
|
305
|
+
-webkit-transform: translateY(-20vh);
|
|
306
|
+
-moz-transform: translateY(-20vh);
|
|
307
|
+
-ms-transform: translateY(-20vh);
|
|
308
|
+
-o-transform: translateY(-20vh);
|
|
309
|
+
transform: translateY(-20vh);
|
|
310
|
+
opacity: 0;
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
.animDropUp {
|
|
314
|
+
-webkit-animation-duration: 0.5s;
|
|
315
|
+
animation-duration: 0.5s;
|
|
316
|
+
-webkit-animation-fill-mode: both;
|
|
317
|
+
animation-fill-mode: both;
|
|
318
|
+
-webkit-animation-name: animDropUp;
|
|
319
|
+
animation-name: animDropUp;
|
|
351
320
|
}
|
|
352
321
|
|
|
353
|
-
@-webkit-keyframes animGrowShrink
|
|
354
|
-
{
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
-ms-transform: scale(1);
|
|
376
|
-
-o-transform: scale(1);
|
|
377
|
-
transform: scale(1);
|
|
378
|
-
}
|
|
322
|
+
@-webkit-keyframes animGrowShrink {
|
|
323
|
+
0% {
|
|
324
|
+
-webkit-transform: scale(1);
|
|
325
|
+
-moz-transform: scale(1);
|
|
326
|
+
-ms-transform: scale(1);
|
|
327
|
+
-o-transform: scale(1);
|
|
328
|
+
transform: scale(1);
|
|
329
|
+
}
|
|
330
|
+
50% {
|
|
331
|
+
-webkit-transform: scale(1.2);
|
|
332
|
+
-moz-transform: scale(1.2);
|
|
333
|
+
-ms-transform: scale(1.2);
|
|
334
|
+
-o-transform: scale(1.2);
|
|
335
|
+
transform: scale(1.2);
|
|
336
|
+
}
|
|
337
|
+
100% {
|
|
338
|
+
-webkit-transform: scale(1);
|
|
339
|
+
-moz-transform: scale(1);
|
|
340
|
+
-ms-transform: scale(1);
|
|
341
|
+
-o-transform: scale(1);
|
|
342
|
+
transform: scale(1);
|
|
343
|
+
}
|
|
379
344
|
}
|
|
380
345
|
|
|
381
|
-
@keyframes animGrowShrink
|
|
382
|
-
{
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
-webkit-animation-fill-mode: both;
|
|
413
|
-
animation-fill-mode: both;
|
|
414
|
-
-webkit-animation-name: animGrowShrink;
|
|
415
|
-
animation-name: animGrowShrink;
|
|
416
|
-
}
|
|
346
|
+
@keyframes animGrowShrink {
|
|
347
|
+
0% {
|
|
348
|
+
-webkit-transform: scale(1);
|
|
349
|
+
-moz-transform: scale(1);
|
|
350
|
+
-ms-transform: scale(1);
|
|
351
|
+
-o-transform: scale(1);
|
|
352
|
+
transform: scale(1);
|
|
353
|
+
}
|
|
354
|
+
50% {
|
|
355
|
+
-webkit-transform: scale(1.1);
|
|
356
|
+
-moz-transform: scale(1.1);
|
|
357
|
+
-ms-transform: scale(1.1);
|
|
358
|
+
-o-transform: scale(1.1);
|
|
359
|
+
transform: scale(1.1);
|
|
360
|
+
}
|
|
361
|
+
100% {
|
|
362
|
+
-webkit-transform: scale(1);
|
|
363
|
+
-moz-transform: scale(1);
|
|
364
|
+
-ms-transform: scale(1);
|
|
365
|
+
-o-transform: scale(1);
|
|
366
|
+
transform: scale(1);
|
|
367
|
+
}
|
|
368
|
+
}
|
|
369
|
+
.animGrowShrink {
|
|
370
|
+
-webkit-animation-duration: 0.5s;
|
|
371
|
+
animation-duration: 0.5s;
|
|
372
|
+
-webkit-animation-fill-mode: both;
|
|
373
|
+
animation-fill-mode: both;
|
|
374
|
+
-webkit-animation-name: animGrowShrink;
|
|
375
|
+
animation-name: animGrowShrink;
|
|
376
|
+
}
|