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

IMPR UI/UX: Loading spinner pre-styling #2718

Open
a2nt opened this issue Feb 2, 2022 · 0 comments
Open

IMPR UI/UX: Loading spinner pre-styling #2718

a2nt opened this issue Feb 2, 2022 · 0 comments

Comments

@a2nt
Copy link
Contributor

a2nt commented Feb 2, 2022

Affected Version

SilverStripe 4 and newer

Description

I think CMS needs some pre-styling to show spinner properly before CSS will be loaded and prevent screen flickering.

That's the way SS CMS looks like before CSS will be loaded.

Screenshot from 2022-02-02 13-37-50

It can be fixed by adding this snippet directly into html > head

<style>
.ss-loading-screen {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: #fafbfc;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
}
</style>

Screenshot from 2022-02-02 13-47-14

@a2nt a2nt changed the title IMPR: Loading spinner pre-styling IMPR UI/UX: Loading spinner pre-styling Feb 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants