Skip to content

Commit b033fec

Browse files
committed
lv-dots are animated with color; they newly start by appearing
1 parent d42b0f9 commit b033fec

File tree

4 files changed

+16
-8
lines changed

4 files changed

+16
-8
lines changed

dist/main.css

Lines changed: 7 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/main.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "loading-visualization",
3-
"version": "1.2.10",
3+
"version": "1.2.11",
44
"description": "CSS and JavaScript library for determinate and indeterminate loading bars and spinners",
55
"license": "BSD-3-Clause",
66
"author": "Jakub Rada",

src/element-styles.scss

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -384,6 +384,7 @@
384384
height: 19%;
385385
top: 43.75%;
386386
border-radius: 50%;
387+
transform: scale(0.01);
387388
animation: lv-dots_pulsate_animation 1s ease-in-out infinite;
388389
&:nth-child(1) {
389390
left: 10%;
@@ -609,13 +610,16 @@
609610
}
610611
@keyframes lv-dots_pulsate_animation {
611612
0% {
612-
transform: scale(1);
613+
transform: scale(0.01);
614+
background-color: lighten($dots_color, $dots_scale * 3);
613615
}
614616
50% {
615-
transform: scale(0.01);
617+
transform: scale(1);
618+
background-color: $dots_color;
616619
}
617620
100% {
618-
transform: scale(1);
621+
transform: scale(0.01);
622+
background-color: lighten($dots_color, $dots_scale * 3);
619623
}
620624
}
621625
@keyframes lv-line_animation {

0 commit comments

Comments
 (0)