From 61c65effc18270d3da6148c970b30c26b1f7ebcc Mon Sep 17 00:00:00 2001 From: Dixsie Wolmers Date: Tue, 6 Oct 2020 14:43:49 -0500 Subject: Add custom IBM progress loading bar - Current out of the box bootstrap did not meet IBM style guide - Custom gradient and animation added to loading bar to indicate progress Signed-off-by: Dixsie Wolmers Change-Id: I9d12c1709e7e344545a7ecfd211db0507fd40794 --- src/env/assets/styles/_ibm.scss | 33 ++++++++++++++++++++++++++++++++- 1 file changed, 32 insertions(+), 1 deletion(-) (limited to 'src/env/assets') diff --git a/src/env/assets/styles/_ibm.scss b/src/env/assets/styles/_ibm.scss index bd2bc73a..68395511 100644 --- a/src/env/assets/styles/_ibm.scss +++ b/src/env/assets/styles/_ibm.scss @@ -51,4 +51,35 @@ $warning: $yellow; // Validation icons $enable-validation-icons: true; $form-feedback-icon-valid: none; -$form-feedback-icon-invalid: url("data:image/svg+xml,"); \ No newline at end of file +$form-feedback-icon-invalid: url("data:image/svg+xml,"); + +// Progress loading bar variables +$loading-color-0: #552de5; +$loading-color-50: $primary; +$loading-color-100: #2dbde5; + +// Progress loading bar gradient +.progress { + height: 0.8rem!important; +} +.progress-bar { + background: linear-gradient( + 90deg, + $loading-color-0, + $loading-color-50, + $loading-color-100 + ); + background-size: 200% 200%; + animation: gradient 3s $standard-easing--productive infinite; +} +@keyframes gradient { + 0% { + background-position: 0% 50%; + } + 50% { + background-position: 100% 50%; + } + 100% { + background-position: 0% 50%; + } +} \ No newline at end of file -- cgit v1.2.3