-
Notifications
You must be signed in to change notification settings - Fork 11k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
regression: Update
LoadingIndicator
colors (#29424)
- Loading branch information
1 parent
cde2539
commit 4e91e59
Showing
7 changed files
with
99 additions
and
14 deletions.
There are no files selected for viewing
61 changes: 61 additions & 0 deletions
61
apps/meteor/app/theme/client/imports/components/loading.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
.loading__animation { | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
} | ||
|
||
.loading__animation__bounce { | ||
display: inline-block; | ||
|
||
width: 1rem; | ||
height: 1rem; | ||
margin: 2px; | ||
|
||
animation: loading-bouncedelay 1.4s infinite ease-in-out both; | ||
|
||
-webkit-animation-delay: -0.32s; | ||
animation-delay: -0.32s; | ||
|
||
border-radius: 100%; | ||
background-color: var(--loading-bounce-color-light); | ||
|
||
@media (prefers-color-scheme: dark) { | ||
background: var(--loading-bounce-color-dark); | ||
} | ||
} | ||
|
||
.loading__animation__bounce--medium { | ||
display: inline-block; | ||
|
||
width: 1.25rem; | ||
height: 1.25rem; | ||
} | ||
|
||
.loading__animation__bounce--large { | ||
display: inline-block; | ||
|
||
width: 1.5rem; | ||
height: 1.5rem; | ||
} | ||
|
||
.loading__animation__bounce + .loading__animation__bounce { | ||
-webkit-animation-delay: -0.16s; | ||
animation-delay: -0.16s; | ||
} | ||
|
||
.loading__animation__bounce + .loading__animation__bounce + .loading__animation__bounce { | ||
-webkit-animation-delay: 0s; | ||
animation-delay: 0s; | ||
} | ||
|
||
@keyframes loading-bouncedelay { | ||
0%, | ||
80%, | ||
100% { | ||
transform: scale(0); | ||
} | ||
|
||
40% { | ||
transform: scale(1); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters