New loading screen

pull/1/head
yflory 4 years ago
parent 77d0a553df
commit d522e7fc8a

@ -1,5 +1,6 @@
// dark #326599 // bg #e7e7e7
// light #4591c4 // blue #0087FF
// text #3F4141
define(['/customize/messages.js'], function (Messages) { define(['/customize/messages.js'], function (Messages) {
var loadingStyle = (function(){/* var loadingStyle = (function(){/*
@font-face { @font-face {
@ -21,8 +22,8 @@ define(['/customize/messages.js'], function (Messages) {
bottom: 0px; bottom: 0px;
left: 0px; left: 0px;
right: 0px; right: 0px;
background: linear-gradient(to right, #326599 0%, #326599 50%, #4591c4 50%, #4591c4 100%); background-color: #e7e7e7;
color: #fafafa; color: #3F4141;
font-size: 1.3em; font-size: 1.3em;
line-height: 120%; line-height: 120%;
opacity: 1; opacity: 1;
@ -214,10 +215,11 @@ p.cp-password-info{
.cp-loading-progress-bar { .cp-loading-progress-bar {
height: 24px; height: 24px;
background: white; background: white;
border: 1px solid #0087FF;
} }
.cp-loading-progress-bar-value { .cp-loading-progress-bar-value {
height: 100%; height: 100%;
background: #5cb85c; background: #0087FF;
} }
@keyframes spin { @keyframes spin {
@ -234,7 +236,7 @@ p.cp-password-info{
box-sizing: border-box; box-sizing: border-box;
width: 80px; width: 80px;
height: 80px; height: 80px;
border: 11px solid white; border: 11px solid #3F4141;
border-radius: 50%; border-radius: 50%;
border-top-color: transparent; border-top-color: transparent;
animation: spin infinite 3s; animation: spin infinite 3s;
@ -263,7 +265,7 @@ button.primary:hover{
loadingStyle, loadingStyle,
'</style>', '</style>',
'<div class="cp-loading-logo">', '<div class="cp-loading-logo">',
'<img class="cp-loading-cryptofist" src="/customize/loading-logo.png?' + urlArgs + '">', '<img class="cp-loading-cryptofist" src="/customize/CryptPad_logo_grey.svg?' + urlArgs + '">',
'</div>', '</div>',
'<div class="cp-loading-container">', '<div class="cp-loading-container">',
'<div class="cp-loading-spinner-container">', '<div class="cp-loading-spinner-container">',

Loading…
Cancel
Save