diff --git a/explorer/src/lib/components/__tests__/__snapshots__/BlocksCard.spec.js.snap b/explorer/src/lib/components/__tests__/__snapshots__/BlocksCard.spec.js.snap index 02bd6e2319..a24531e3f0 100644 --- a/explorer/src/lib/components/__tests__/__snapshots__/BlocksCard.spec.js.snap +++ b/explorer/src/lib/components/__tests__/__snapshots__/BlocksCard.spec.js.snap @@ -2643,11 +2643,14 @@ exports[`Blocks Card > should disable the \`Show More\` button is the card is in -
- Loading... -
+ + diff --git a/explorer/src/lib/components/__tests__/__snapshots__/DataCard.spec.js.snap b/explorer/src/lib/components/__tests__/__snapshots__/DataCard.spec.js.snap index 88631c2c95..2d89e5dd50 100644 --- a/explorer/src/lib/components/__tests__/__snapshots__/DataCard.spec.js.snap +++ b/explorer/src/lib/components/__tests__/__snapshots__/DataCard.spec.js.snap @@ -162,11 +162,14 @@ exports[`DataCard > should render the \`DataCard\` in the loading state 1`] = ` -- Loading... -
+ + diff --git a/explorer/src/lib/components/__tests__/__snapshots__/TransactionsCard.spec.js.snap b/explorer/src/lib/components/__tests__/__snapshots__/TransactionsCard.spec.js.snap index 61f813efca..e3b9268b10 100644 --- a/explorer/src/lib/components/__tests__/__snapshots__/TransactionsCard.spec.js.snap +++ b/explorer/src/lib/components/__tests__/__snapshots__/TransactionsCard.spec.js.snap @@ -27,11 +27,14 @@ exports[`Transactions Card > should disable the \`Show More\` button if the card -- Loading... -
+ + diff --git a/explorer/src/lib/components/data-card/DataCard.css b/explorer/src/lib/components/data-card/DataCard.css index 8ece50f1e4..c0a2efb286 100644 --- a/explorer/src/lib/components/data-card/DataCard.css +++ b/explorer/src/lib/components/data-card/DataCard.css @@ -21,3 +21,26 @@ font-size: 1.125rem; line-height: 32.2px; } + +.data-card__progress-bar.dusk-progress-bar { + background-color: transparent; + height: 0.125rem; +} + +.data-card__progress-bar .dusk-progress-bar__filler { + background-color: var(--primary-color); +} + +.data-card__progress-bar .dusk-progress-bar__filler--undetermined { + width: 100%; + animation: progressBarAnimationAlternate 2s infinite; +} + +@keyframes progressBarAnimationAlternate { + 0% { + left: -100%; + } + 100% { + left: 100%; + } +} diff --git a/explorer/src/lib/components/data-card/DataCard.svelte b/explorer/src/lib/components/data-card/DataCard.svelte index 14eecb5bf6..8ac865397b 100644 --- a/explorer/src/lib/components/data-card/DataCard.svelte +++ b/explorer/src/lib/components/data-card/DataCard.svelte @@ -2,7 +2,7 @@