mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-12 19:49:59 +05:00
Adjust pre-loading screen
This commit is contained in:
parent
3a8feaf7f8
commit
daea2010eb
@ -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>
|
||||
|
||||
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user