Adjust pre-loading screen

This commit is contained in:
yflory 2025-10-08 16:31:44 +02:00
parent 3a8feaf7f8
commit daea2010eb
2 changed files with 7 additions and 6 deletions

View File

@ -4,9 +4,6 @@
(function () {
var logoPath = '/customize/CryptPad_logo_grey.svg';
if (location.pathname === '/' || location.pathname === '/index.html') {
logoPath = '/api/logo';
}
var elem = document.createElement('div');
elem.setAttribute('id', 'placeholder');
@ -17,7 +14,7 @@ elem.innerHTML = `
</div>
<div id="placeholder-loading-footer">
<div class="placeholder-logo-container">
<img class="placeholder-logo" alt="" aria-hidden="true" src="${logoPath}"><span>CryptPad</span>
<img class="placeholder-logo" alt="" aria-hidden="true" src="${logoPath}"><span>CryptPad</span>
</div>
<div id="placeholder-loading-status">
<i data-lucide="lock" aria-hidden="true"></i>

View File

@ -59,6 +59,7 @@ html #placeholder.dark-theme {
display: flex;
align-items: center;
gap: 1rem;
color: #939393;
}
#placeholder .placeholder-logo-container img {
margin: 0;
@ -93,9 +94,12 @@ html #placeholder.dark-theme {
}
#placeholder-loading-status {
font-size: 20px;
padding-top: 0.5rem;
font-size: 0.75em;
margin-top: 2rem;
font-family: "IBM Plex Mono";
svg {
margin: 0;
}
}
#placeholder-loading-footer {
margin-bottom: 2rem;