Skip to content

Commit

Permalink
core: update default loading animation
Browse files Browse the repository at this point in the history
The commit updates the default loading animation on startup.
The changes make use of an existing `codicon` icon (for application
consistency).

Signed-off-by: vince-fugnitto <vincent.fugnitto@ericsson.com>
Co-authored-by: Dmitry Sharshakov <d3dx12.xx@gmail.com>
  • Loading branch information
vince-fugnitto and dsseng committed Feb 16, 2022
1 parent f7dda08 commit fc035bd
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion packages/core/src/browser/style/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -99,12 +99,30 @@ blockquote {
bottom: 0;
z-index: 50000;
background: var(--theia-editor-background);
background-image: var(--theia-preloader);
background-size: 60px 60px;
background-repeat: no-repeat;
background-attachment: fixed;
background-position: center;
transition: opacity 0.8s;
display: flex;
justify-content: center;
align-items: center;
}

.theia-preload::after {
animation: 1s theia-preload-rotate infinite;
color: #777; /* color works on both light and dark themes */
content: "\ea77"; /* codicon-sync */
font: normal normal normal 72px/1 codicon;
}

@keyframes theia-preload-rotate {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}

.theia-preload.theia-hidden {
Expand Down

0 comments on commit fc035bd

Please sign in to comment.