shx-3d-render

main
Jan Umbach 2024-06-19 17:46:25 +02:00
parent 2c0636f007
commit 5612e1e33f
1 changed files with 32 additions and 1 deletions

View File

@ -2,12 +2,43 @@
{% if content_type == 'body' %} {% if content_type == 'body' %}
{% render 'shx-logo', class:"shx-loading-spinner-mainIcon" %} <div class="shx-loading-spinner-Container">
{% render 'shx-logo', class:"shx-loading-spinner-mainIcon", width:"200px"%}
</div>
{% elsif content_type == 'head' %} {% elsif content_type == 'head' %}
<style> <style>
@keyframes shx-spinner-pulse {
0% {
transform: scale(0.95);
}
50% {
transform: scale(1);
}
100% {
transform: scale(0.95);
}
}
.shx-loading-spinner-Container {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(255, 255, 255, 0.8);
z-index: 9999;
display: flex;
justify-content: center;
align-items: center;
backdrop-filter: blur(10px);
}
.shx-loading-spinner-mainIcon {
animation: shx-spinner-pulse 2s linear infinite;
}
</style> </style>