loading screen
parent
c83847812d
commit
b7f05cb6f5
|
@ -466,7 +466,6 @@
|
|||
</head>
|
||||
|
||||
<body class="gradient{% if settings.animations_hover_elements != 'none' %} animate--hover-{{ settings.animations_hover_elements }}{% endif %}">
|
||||
<!-- Render HTML content -->
|
||||
{% render 'shx-loading-screen'
|
||||
, content_type: 'body' %}
|
||||
|
||||
|
|
|
@ -3,5 +3,18 @@
|
|||
{% if content_type == 'body' %}
|
||||
<div id="loading-screen"></div>
|
||||
{% elsif content_type == 'head' %}
|
||||
|
||||
<style>
|
||||
#loading-screen {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-color: white;
|
||||
z-index: 9999;
|
||||
transition: opacity 0.5s ease;
|
||||
opacity: 1;
|
||||
pointer-events: none;
|
||||
}
|
||||
</style>
|
||||
{% endif %}
|
Loading…
Reference in New Issue