Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an initial loading indicator with customization support #4045

Merged
merged 2 commits into from
Dec 9, 2019
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Make background darker to blend in with log in colour
  • Loading branch information
richard-cox committed Dec 5, 2019
commit 3808a2df334cfe3b3ed7b3c9f3a659bc9c72a5cc
7 changes: 5 additions & 2 deletions examples/custom-src/frontend/loading.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,16 @@
top: 0;
width: 100%;
}

.stratos-initial-load-spinner-logo {
position: absolute;
height: 60px;
}

.stratos-initial-load-spinner {
animation: stratos-initial-load-animate 1s infinite linear;
box-sizing: border-box;
border: 5px solid rgba(86, 107, 121,0.45);
border: 5px solid rgba(86, 107, 121, 0.45);
border-radius: 50%;
border-top-color: #00B2E2;
display: inline-block;
Expand All @@ -29,7 +31,8 @@
0% {
transform: rotate(0deg);
}

100% {
transform: rotate(359deg);
}
}
}
10 changes: 7 additions & 3 deletions src/frontend/packages/core/misc/custom/loading.css
Original file line number Diff line number Diff line change
@@ -1,25 +1,28 @@
.stratos-initial-load-spinner-container {
align-items: center;
background-color: #c2cdde;
background-color: #005699;
display: flex;
justify-content: center;

height: 100%;
left: 0;
position: absolute;
top: 0;
width: 100%;
}

.stratos-initial-load-spinner-logo {
position: absolute;
height: 60px;
}

.stratos-initial-load-spinner {
animation: stratos-initial-load-animate 1s infinite linear;
background-color: #fff;
box-sizing: border-box;
border: 5px solid rgba(16, 72, 156, 0.45);
border-radius: 50%;
border-top-color: #1960ca;
border-top-color: #c2cdde;
display: inline-block;
height: 128px;
margin: 0 auto;
Expand All @@ -30,7 +33,8 @@
0% {
transform: rotate(0deg);
}

100% {
transform: rotate(359deg);
}
}
}