Fix FOUC in the loading screen

pull/1/head
yflory 4 years ago
parent fffd4aff3c
commit b55566254f

@ -2,6 +2,17 @@
// light #4591c4 // light #4591c4
define(['/customize/messages.js'], function (Messages) { define(['/customize/messages.js'], function (Messages) {
var loadingStyle = (function(){/* var loadingStyle = (function(){/*
@font-face {
font-family: 'Open Sans';
src: url('/bower_components/open-sans-fontface/fonts/Regular/OpenSans-Regular.eot');
src: url('/bower_components/open-sans-fontface/fonts/Regular/OpenSans-Regular.eot?#iefix') format('embedded-opentype'),
url('/bower_components/open-sans-fontface/fonts/Regular/OpenSans-Regular.woff') format('woff'),
url('/bower_components/open-sans-fontface/fonts/Regular/OpenSans-Regular.ttf') format('truetype'),
url('/bower_components/open-sans-fontface/fonts/Regular/OpenSans-Regular.svg#OpenSansRegular') format('svg');
font-weight: normal;
font-style: normal;
}
#cp-loading { #cp-loading {
visibility: visible; visibility: visible;
position: fixed; position: fixed;
@ -19,6 +30,7 @@ define(['/customize/messages.js'], function (Messages) {
flex-flow: column; flex-flow: column;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
font: 20px 'Open Sans', 'Helvetica Neue', sans-serif !important;
} }
#cp-loading.cp-loading-hidden { #cp-loading.cp-loading-hidden {
opacity: 0; opacity: 0;
@ -199,6 +211,17 @@ p.cp-password-info{
white-space: nowrap; white-space: nowrap;
text-overflow: ellipsis; text-overflow: ellipsis;
} }
.cp-loading-progress-list ul {
list-style: none;
padding-left: 0;
}
.cp-loading-progress-list li {
padding: 0px 5px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.cp-loading-progress-list li i { .cp-loading-progress-list li i {
width: 22px; width: 22px;
} }

Loading…
Cancel
Save