Skip to content

Commit c0dd541

Browse files
authored
Merge pull request #13 from AyushG3112/spinner-fix
Fix spinner not showing on build and Live Demo
2 parents 918d1b6 + 08321a1 commit c0dd541

File tree

1 file changed

+16
-8
lines changed

1 file changed

+16
-8
lines changed

src/Loading.vue

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -169,9 +169,10 @@
169169
width: 100%;
170170
height: 100%;
171171
-webkit-animation: container-rotate 1568ms linear infinite;
172+
animation: container-rotate 1568ms linear infinite;
172173
}
173174
174-
@-webkit-keyframes container-rotate {
175+
@keyframes container-rotate {
175176
to {
176177
transform: rotate(360deg);
177178
}
@@ -189,24 +190,28 @@
189190
.spinner-layer--blue {
190191
border-color: #4285f4;
191192
-webkit-animation: fill-unfill-rotate 5332ms cubic-bezier(.4, 0, .2, 1) infinite both, blue-fade-in-out 5332ms cubic-bezier(.4, 0, .2, 1) infinite both;
193+
animation: fill-unfill-rotate 5332ms cubic-bezier(.4, 0, .2, 1) infinite both, blue-fade-in-out 5332ms cubic-bezier(.4, 0, .2, 1) infinite both;
192194
}
193195
194196
.spinner-layer--red {
195197
border-color: #db4437;
196198
-webkit-animation: fill-unfill-rotate 5332ms cubic-bezier(.4, 0, .2, 1) infinite both, red-fade-in-out 5332ms cubic-bezier(.4, 0, .2, 1) infinite both;
199+
animation: fill-unfill-rotate 5332ms cubic-bezier(.4, 0, .2, 1) infinite both, red-fade-in-out 5332ms cubic-bezier(.4, 0, .2, 1) infinite both;
197200
}
198201
199202
.spinner-layer--yellow {
200203
border-color: #f4b400;
201204
-webkit-animation: fill-unfill-rotate 5332ms cubic-bezier(.4, 0, .2, 1) infinite both, yellow-fade-in-out 5332ms cubic-bezier(.4, 0, .2, 1) infinite both;
205+
animation: fill-unfill-rotate 5332ms cubic-bezier(.4, 0, .2, 1) infinite both, yellow-fade-in-out 5332ms cubic-bezier(.4, 0, .2, 1) infinite both;
202206
}
203207
204208
.spinner-layer--green {
205209
border-color: #0f9d58;
206210
-webkit-animation: fill-unfill-rotate 5332ms cubic-bezier(.4, 0, .2, 1) infinite both, green-fade-in-out 5332ms cubic-bezier(.4, 0, .2, 1) infinite both;
211+
animation: fill-unfill-rotate 5332ms cubic-bezier(.4, 0, .2, 1) infinite both, green-fade-in-out 5332ms cubic-bezier(.4, 0, .2, 1) infinite both;
207212
}
208213
209-
@-webkit-keyframes fill-unfill-rotate {
214+
@keyframes fill-unfill-rotate {
210215
12.5% {
211216
transform: rotate(135deg);
212217
}
@@ -242,7 +247,7 @@
242247
;
243248
}
244249
245-
@-webkit-keyframes blue-fade-in-out {
250+
@keyframes blue-fade-in-out {
246251
from {
247252
opacity: 1;
248253
}
@@ -270,7 +275,7 @@
270275
;
271276
}
272277
273-
@-webkit-keyframes red-fade-in-out {
278+
@keyframes red-fade-in-out {
274279
from {
275280
opacity: 0;
276281
}
@@ -294,7 +299,7 @@
294299
;
295300
}
296301
297-
@-webkit-keyframes yellow-fade-in-out {
302+
@keyframes yellow-fade-in-out {
298303
from {
299304
opacity: 0;
300305
}
@@ -318,7 +323,7 @@
318323
;
319324
}
320325
321-
@-webkit-keyframes green-fade-in-out {
326+
@keyframes green-fade-in-out {
322327
from {
323328
opacity: 0;
324329
}
@@ -365,22 +370,25 @@
365370
border-width: 4px;
366371
border-radius: 50%;
367372
-webkit-animation: none;
373+
animation: none;
368374
}
369375
370376
.spinner-clipper--left .spinner-circle {
371377
border-right-color: transparent !important;
372378
transform: rotate(129deg);
373379
-webkit-animation: left-spin 1333ms cubic-bezier(.4, 0, .2, 1) infinite both;
380+
animation: left-spin 1333ms cubic-bezier(.4, 0, .2, 1) infinite both;
374381
}
375382
376383
.spinner-clipper--right .spinner-circle {
377384
left: -100%;
378385
border-left-color: transparent !important;
379386
transform: rotate(-129deg);
380387
-webkit-animation: right-spin 1333ms cubic-bezier(.4, 0, .2, 1) infinite both;
388+
animation: right-spin 1333ms cubic-bezier(.4, 0, .2, 1) infinite both;
381389
}
382390
383-
@-webkit-keyframes left-spin {
391+
@keyframes left-spin {
384392
from {
385393
transform: rotate(130deg);
386394
}
@@ -395,7 +403,7 @@
395403
396404
}
397405
398-
@-webkit-keyframes right-spin {
406+
@keyframes right-spin {
399407
from {
400408
transform: rotate(-130deg);
401409
}

0 commit comments

Comments
 (0)