+ "
basename: /chromeless-a/path
html:
Chromeless A
"
diff --git a/src/core/public/application/ui/app_container.tsx b/src/core/public/application/ui/app_container.tsx
index 089d1cf3f3ced..9821db5ba2666 100644
--- a/src/core/public/application/ui/app_container.tsx
+++ b/src/core/public/application/ui/app_container.tsx
@@ -25,7 +25,7 @@ import React, {
useState,
MutableRefObject,
} from 'react';
-import { EuiLoadingSpinner } from '@elastic/eui';
+import { EuiLoadingElastic } from '@elastic/eui';
import type { MountPoint } from '../../types';
import { AppLeaveHandler, AppStatus, AppUnmount, Mounter } from '../types';
@@ -120,7 +120,7 @@ export const AppContainer: FunctionComponent
= ({
{appNotFound && }
{showSpinner && (
-
+
)}
diff --git a/src/core/public/chrome/ui/__snapshots__/loading_indicator.test.tsx.snap b/src/core/public/chrome/ui/__snapshots__/loading_indicator.test.tsx.snap
index 3007be1e5dfe0..e6bf7e898d8c4 100644
--- a/src/core/public/chrome/ui/__snapshots__/loading_indicator.test.tsx.snap
+++ b/src/core/public/chrome/ui/__snapshots__/loading_indicator.test.tsx.snap
@@ -1,23 +1,19 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`kbnLoadingIndicator is hidden by default 1`] = `
-
+/>
`;
exports[`kbnLoadingIndicator is visible when loadingCount is > 0 1`] = `
-
+/>
`;
diff --git a/src/core/public/chrome/ui/_loading_indicator.scss b/src/core/public/chrome/ui/_loading_indicator.scss
index ad934717b4b76..ccf1ecc873fc5 100644
--- a/src/core/public/chrome/ui/_loading_indicator.scss
+++ b/src/core/public/chrome/ui/_loading_indicator.scss
@@ -1,55 +1,4 @@
-$kbnLoadingIndicatorBackgroundSize: $euiSizeXXL * 10;
-$kbnLoadingIndicatorColor1: tint($euiColorAccent, 15%);
-$kbnLoadingIndicatorColor2: tint($euiColorAccent, 60%);
-
-/**
- * 1. Position this loader on top of the content.
- * 2. Make sure indicator isn't wider than the screen.
- */
-.kbnLoadingIndicator {
- position: fixed; // 1
- top: 0; // 1
- left: 0; // 1
- right: 0; // 1
- z-index: $euiZLevel2; // 1
- overflow: hidden; // 2
- height: $euiSizeXS / 2;
-
- &.hidden {
- visibility: hidden;
- opacity: 0;
- transition-delay: 0.25s;
- }
-}
-
-.kbnLoadingIndicator__bar {
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- position: absolute;
- z-index: $euiZLevel2 + 1;
- visibility: visible;
- display: block;
- animation: kbn-animate-loading-indicator 2s linear infinite;
- background-color: $kbnLoadingIndicatorColor2;
- background-image: linear-gradient(
- to right,
- $kbnLoadingIndicatorColor1 0%,
- $kbnLoadingIndicatorColor1 50%,
- $kbnLoadingIndicatorColor2 50%,
- $kbnLoadingIndicatorColor2 100%
- );
- background-repeat: repeat-x;
- background-size: $kbnLoadingIndicatorBackgroundSize $kbnLoadingIndicatorBackgroundSize;
- width: 200%;
-}
-
-@keyframes kbn-animate-loading-indicator {
- from {
- transform: translateX(0);
- }
- to {
- transform: translateX(-$kbnLoadingIndicatorBackgroundSize);
- }
+.kbnLoadingIndicator-hidden {
+ visibility: hidden;
+ animation-play-state: paused;
}
diff --git a/src/core/public/chrome/ui/header/__snapshots__/header.test.tsx.snap b/src/core/public/chrome/ui/header/__snapshots__/header.test.tsx.snap
index 1a4d93aee9516..8937ecb4d9b4e 100644
--- a/src/core/public/chrome/ui/header/__snapshots__/header.test.tsx.snap
+++ b/src/core/public/chrome/ui/header/__snapshots__/header.test.tsx.snap
@@ -1690,66 +1690,6 @@ exports[`Header renders 1`] = `
}
}
>
-
-
-
,
+ ,
],
},
Object {
@@ -2971,6 +2963,81 @@ exports[`Header renders 1`] = `